Ruby  2.0.0p598(2014-11-13revision48408)
Data Structures | Macros | Enumerations | Functions | Variables
tcltklib.c File Reference
#include "ruby.h"
#include "ruby/encoding.h"
#include <stdio.h>
#include <varargs.h>
#include <string.h>
#include <tcl.h>
#include <tk.h>
#include "stubs.h"

Go to the source code of this file.

Data Structures

struct  invoke_queue
 
struct  eval_queue
 
struct  call_queue
 
struct  cmd_body_arg
 
struct  tcltkip
 
struct  evloop_params
 
struct  thread_call_proc_arg
 
struct  th_update_param
 
struct  th_vwait_param
 
struct  invoke_info
 

Macros

#define TCLTKLIB_RELEASE_DATE   "2010-08-25"
 
#define RUBY_VERSION   "(unknown version)"
 
#define RUBY_RELEASE_DATE   "unknown release-date"
 
#define RbTk_OBJ_UNTRUST(x)   do {OBJ_TAINT(x); OBJ_UNTRUST(x);} while (0)
 
#define RbTk_ALLOC_N(type, n)   (type *)ckalloc((int)(sizeof(type) * (n)))
 
#define va_init_list(a, b)   va_start(a)
 
#define ruby_native_thread_p()   is_ruby_native_thread()
 
#define rb_errinfo()   (ruby_errinfo+0) /* cannot be l-value */
 
#define rb_safe_level()   (ruby_safe_level+0)
 
#define rb_sourcefile()   (ruby_sourcefile+0)
 
#define TCL_ALPHA_RELEASE   0 /* "alpha" */
 
#define TCL_BETA_RELEASE   1 /* "beta" */
 
#define TCL_FINAL_RELEASE   2 /* "final" */
 
#define CONST
 
#define CONST84
 
#define CONST86   CONST84
 
#define TAG_RETURN   0x1
 
#define TAG_BREAK   0x2
 
#define TAG_NEXT   0x3
 
#define TAG_RETRY   0x4
 
#define TAG_REDO   0x5
 
#define TAG_RAISE   0x6
 
#define TAG_THROW   0x7
 
#define TAG_FATAL   0x8
 
#define DUMP1(ARG1)   if (ruby_debug) { fprintf(stderr, "tcltklib: %s\n", ARG1); fflush(stderr); }
 
#define DUMP2(ARG1, ARG2)
 
#define DUMP3(ARG1, ARG2, ARG3)
 
#define rb_hash_lookup   rb_hash_aref
 
#define Tcl_Eval   tcl_eval
 
#define Tcl_GlobalEval   tcl_global_eval
 
#define Tcl_IncrRefCount(obj)   (1)
 
#define Tcl_DecrRefCount(obj)   (1)
 
#define Tcl_GetStringResult(interp)   ((interp)->result)
 
#define CONTROL_BY_STATUS_OF_RB_THREAD_WAITING_FOR_VALUE   1
 
#define USE_TOGGLE_WINDOW_MODE_FOR_IDLE   0
 
#define DO_THREAD_SCHEDULE_AT_CALLBACK_DONE   0
 
#define DEFAULT_EVENT_LOOP_MAX   800/*counts*/
 
#define DEFAULT_NO_EVENT_TICK   10/*counts*/
 
#define DEFAULT_NO_EVENT_WAIT   20/*milliseconds ( 1 -- 999 ) */
 
#define WATCHDOG_INTERVAL   10/*milliseconds ( 1 -- 999 ) */
 
#define DEFAULT_TIMER_TICK   0/*milliseconds ( 0 -- 999 ) */
 
#define NO_THREAD_INTERRUPT_TIME   100/*milliseconds ( 1 -- 999 ) */
 
#define EVENT_HANDLER_TIMEOUT   100/*milliseconds*/
 
#define TCL_NAMESPACE_DEBUG   0
 
#define USE_RUBY_ALLOC   0
 
#define USE_EVLOOP_THREAD_ALONE_CHECK_FLAG   0
 
#define TRAP_CHECK()
 
#define EVLOOP_WAKEUP_CHANCE   3
 
#define SUPPORT_NESTED_CONST_AS_IP_RUBY_CMD_RECEIVER   1
 
#define TKWAIT_MODE_VISIBILITY   1
 
#define TKWAIT_MODE_DESTROY   2
 
#define TCL_CANCEL_UNWIND   0x100000
 
#define TK_WINDOWING_SYSTEM   "x11"
 
#define DEFAULT_EVENTLOOP_DEPTH   7
 

Enumerations

enum  updateOptions { REGEXP_IDLETASKS, REGEXP_IDLETASKS }
 
enum  updateOptions { REGEXP_IDLETASKS, REGEXP_IDLETASKS }
 
enum  options {
  TKWAIT_VARIABLE, TKWAIT_VISIBILITY, TKWAIT_WINDOW, TKWAIT_VARIABLE,
  TKWAIT_VISIBILITY, TKWAIT_WINDOW
}
 
enum  options {
  TKWAIT_VARIABLE, TKWAIT_VISIBILITY, TKWAIT_WINDOW, TKWAIT_VARIABLE,
  TKWAIT_VISIBILITY, TKWAIT_WINDOW
}
 

Functions

int rb_thread_check_trap_pending ()
 
static void set_tcltk_version ()
 
static void ip_finalize _ ((Tcl_Interp *))
 
static VALUE
create_dummy_encoding_for_tk_core 
_ ((VALUE, VALUE, VALUE))
 
static VALUE
create_dummy_encoding_for_tk 
_ ((VALUE, VALUE))
 
static VALUE create_encoding_table _ ((VALUE))
 
static VALUE ip_invoke_real _ ((int, VALUE *, VALUE))
 
static VALUE
ip_invoke_with_position 
_ ((int, VALUE *, VALUE, Tcl_QueuePosition))
 
static VALUE tk_funcall _ ((VALUE(), int, VALUE *, VALUE))
 
 Tcl_AllowExceptions (interp)
 
 free (buf)
 
int matherr ()
 
void invoke_queue_mark (struct invoke_queue *q)
 
void eval_queue_mark (struct eval_queue *q)
 
void call_queue_mark (struct call_queue *q)
 
static int ip_ruby_eval _ ((ClientData, Tcl_Interp *, int, char **))
 
 Data_Get_Struct (self, struct tcltkip, ptr)
 
 if (ptr==0)
 
 if (ptr->ip==(Tcl_Interp *) NULL)
 
 return (ptr->ref_count)
 
 if (ptr->ref_count< 0)
 
 va_init_list (args, fmt)
 
 va_end (args)
 
 rb_ivar_set (einfo, ID_at_interp, interp)
 
static void tcl_stubs_check ()
 
 DUMP1 ("Tk_Init")
 
 if (ruby_tk_stubs_init(ptr->ip)!=TCLTK_STUBS_OK)
 
static int pending_exception_check0 ()
 
 if (!NIL_P(exc)&&rb_obj_is_kind_of(exc, rb_eException))
 
 DUMP1 ("original_exit is called")
 
 if (!ptr->has_orig_exit)
 
 DUMP1 ("complete original_exit")
 
static void _timer_for_tcl _ ((ClientData))
 
 DUMP1 ("call _timer_for_tcl")
 
 Tcl_DeleteTimerHandler (timer_token)
 
 if (timer_tick > 0)
 
 if (RTEST(mode))
 
 rb_secure (4)
 
 if (deleted_ip(ptr))
 
 if (Tcl_GetMaster(ptr->ip)!=(Tcl_Interp *) NULL)
 
return set_eventloop_tick (self, tick)
 
 if (t_wait<=0)
 
return set_no_event_wait (self, wait)
 
 if (lpmax<=0||no_ev<=0)
 
return rb_ary_new3 (2, loop_max, no_event)
 
return set_eventloop_weight (self, loop_max, no_event)
 
 switch (TYPE(time))
 
 if (RTEST(val))
 
else if (NIL_P(val))
 
return lib_evloop_abort_on_exc (self)
 
return lib_evloop_abort_on_exc_set (self, val)
 
void rbtk_EventSetupProc (ClientData clientData, int flag)
 
void rbtk_EventCheckProc (ClientData clientData, int flag)
 
 if (Tcl_DoOneEvent(flag))
 
static int trap_check (int *check_var)
 
static int check_eventloop_interp ()
 
 if (update_flag)
 
 for (;;)
 
 Tcl_CreateEventSource (rbtk_EventSetupProc, rbtk_EventCheckProc,(ClientData) args)
 
 if (lib_eventloop_core(params->check_root, params->update_flag, params->check_var, params->interp))
 
 Tcl_DeleteEventSource (rbtk_EventSetupProc, rbtk_EventCheckProc,(ClientData) args)
 
 DUMP2 ("eventloop_ensure: current-thread : %lx", current_evloop)
 
 DUMP2 ("eventloop_ensure: eventloop-thread : %lx", eventloop_thread)
 
 if (eventloop_thread!=current_evloop)
 
 while ((eventloop_thread=rb_ary_pop(eventloop_stack)))
 
 xfree (ptr)
 
 DUMP2 ("finish current eventloop %lx", current_evloop)
 
 if (parent_evloop==eventloop_thread)
 
 if (!NIL_P(parent_evloop)&&parent_evloop!=eventloop_thread)
 
 rb_ary_push (eventloop_stack, parent_evloop)
 
 DUMP3 ("tcltklib: eventloop-thread : %lx -> %lx\n", parent_evloop, eventloop_thread)
 
return rb_ensure (lib_eventloop_main_core,(VALUE) args, lib_eventloop_ensure,(VALUE) args)
 
 if (rb_scan_args(argc, argv,"01",&check_rootwidget)==0)
 
else if (RTEST(check_rootwidget))
 
return lib_eventloop_launcher (RTEST(check_rootwidget), 0,(int *) NULL,(Tcl_Interp *) NULL)
 
 if (!NIL_P(watchdog_thread))
 
 rb_raise (rb_eNotImpError,"eventloop_watchdog is not implemented on Ruby VM.")
 
return rb_ensure (lib_watchdog_core, check_rootwidget, lib_watchdog_ensure, Qnil)
 
return lib_mainloop_watchdog (argc, argv, self)
 
void _thread_call_proc_arg_mark (struct thread_call_proc_arg *q)
 
return rb_funcall (q->proc, ID_call, 0)
 
return rb_ensure (_thread_call_proc_core,(VALUE) q, _thread_call_proc_ensure,(VALUE) q)
 
 if (rb_scan_args(argc, argv,"01",&proc)==0)
 
 rb_thread_schedule ()
 
 if (RTEST(rb_funcall(th, ID_alive_p, 0)))
 
 xfree (q->done)
 
 xfree (q)
 
 if (NIL_P(rbtk_pending_exception))
 
 rb_exc_raise (exc)
 
 if (!NIL_P(eventloop_thread))
 
 if (rb_scan_args(argc, argv,"01",&vflags)==0)
 
 if (rb_safe_level() >=4||(rb_safe_level() >=1 &&OBJ_TAINTED(vflags)))
 
 if (is_ip)
 
 if (pending_exception_check0())
 
 if (found_event)
 
 StringValue (msg)
 
 Tcl_AppendResult (interp, RSTRING_PTR(msg),(char *) NULL)
 
static int tcl_protect_core (Tcl_Interp *interp, VALUE(*proc)(), VALUE data)
 
 if (!ruby_native_thread_p())
 
 if (interp==(Tcl_Interp *) NULL)
 
 if (argc!=2)
 
 DUMP2 ("rb_eval_string(%s)", arg)
 
 DUMP1 ("call ip_ruby_cmd_core")
 
 DUMP2 ("rb_apply return:%lx", ret)
 
 DUMP1 ("finish ip_ruby_cmd_core")
 
 if (state)
 
 if (str[0]== ':'||('A'<=str[0]&&str[0]<= 'Z'))
 
 memcpy (buf+1, str, len)
 
 xfree (buf)
 
 DUMP2 ("receiver:%s", str)
 
 if (NIL_P(receiver))
 
 for (i=3;i< argc;i++)
 
 if (old_gc==Qfalse)
 
 DUMP1 ("start ip_RubyExitCommand")
 
 if (argc< 1||argc > 2)
 
 switch (argc)
 
static int ip_rbUpdateCommand _ ((ClientData, Tcl_Interp *, int, char *[]))
 
 DUMP1 ("Ruby's 'update' is called")
 
 Tcl_ResetResult (interp)
 
 if (objc==1)
 
 Tcl_Preserve (interp)
 
 if (!NIL_P(rbtk_pending_exception))
 
 if (rb_thread_check_trap_pending())
 
 DUMP2 ("last result '%s'", Tcl_GetStringResult(interp))
 
 Tcl_Release (interp)
 
 DUMP1 ("finish Ruby's 'update'")
 
 DUMP1 ("threadUpdateProc is called")
 
 rb_thread_wakeup (param->thread)
 
 DUMP1 ("Ruby's 'thread_update' is called")
 
 NIL_P (eventloop_thread)
 
 DUMP1 ("start Ruby's 'thread_update' body")
 
 DUMP1 ("pass argument check")
 
 DUMP1 ("set idle proc")
 
 Tcl_DoWhenIdle (rb_threadUpdateProc,(ClientData) param)
 
 while (!param->done)
 
 ckfree ((char *) param)
 
 DUMP1 ("finish Ruby's 'thread_update'")
 
static char *VwaitVarProc _ ((ClientData, Tcl_Interp *, char *, char *, int))
 
 return (char *)
 
static void WaitWindowProc _ ((ClientData, XEvent *))
 
 if (eventPtr->type==DestroyNotify)
 
 DUMP1 ("Ruby's 'tkwait' is called")
 
 if (objc!=3)
 
 if ((c== 'v')&&(strncmp(objv[1],"variable", length)==0)&&(length >=2))
 
else if ((c== 'v')&&(strncmp(objv[1],"visibility", length)==0)&&(length >=2))
 
else if ((c== 'w')&&(strncmp(objv[1],"window", length)==0))
 
 switch ((enum options) index)
 
 if (flags &(TCL_INTERP_DESTROYED|TCL_TRACE_DESTROYED))
 
 if (param->done!=0)
 
 DUMP1 ("Ruby's 'thread_tkwait' is called")
 
 if (rb_thread_alone()||eventloop_thread==current_thread)
 
 Tcl_Preserve (tkwin)
 
 Tcl_Release (tkwin)
 
 Tcl_Preserve ((ClientData) param)
 
 Tcl_Release ((ClientData) param)
 
return ip_invoke_with_position (2, argv, self, TCL_QUEUE_TAIL)
 
return ip_invoke_with_position (3, argv, self, TCL_QUEUE_TAIL)
 
 DUMP1 ("delete slaves")
 
 if (!Tcl_InterpDeleted(ip)&&Tcl_Eval(ip,"interp slaves")==TCL_OK)
 
 DUMP1 ("start ip_finalize")
 
 if (ip==(Tcl_Interp *) NULL)
 
 if (Tcl_InterpDeleted(ip))
 
 Tcl_Preserve (ip)
 
 delete_slaves (ip)
 
 if (at_exit)
 
 DUMP1 ("destroy root widget")
 
 if (tk_stubs_init_p()&&Tk_MainWindow(ip)!=(Tk_Window) NULL)
 
 DUMP1 ("check `finalize-hook-proc'")
 
 if (Tcl_GetCommandInfo(ip, finalize_hook_name,&info))
 
 DUMP1 ("check `foreach' & `after'")
 
&& Tcl_GetCommandInfo (ip,"after",&info))
 
 Tcl_Release (ip)
 
 DUMP1 ("finish ip_finalize")
 
 DUMP2 ("free Tcl Interp %lx",(unsigned long) ptr->ip)
 
 DUMP1 ("complete freeing Tcl Interp")
 
 Tcl_CreateCommand (interp,"vwait", ip_rbVwaitCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"tkwait\")")
 
 Tcl_CreateCommand (interp,"tkwait", ip_rbTkWaitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"thread_vwait\")")
 
 Tcl_CreateCommand (interp,"thread_vwait", ip_rb_threadVwaitCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"thread_tkwait\")")
 
 Tcl_CreateCommand (interp,"thread_tkwait", ip_rb_threadTkWaitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"update\")")
 
 Tcl_CreateCommand (interp,"update", ip_rbUpdateCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"thread_update\")")
 
 Tcl_CreateCommand (interp,"thread_update", ip_rb_threadUpdateCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 if (slave==NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"exit\") --> \"interp_exit\"")
 
 Tcl_CreateCommand (slave,"exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 ip_replace_wait_commands (slave, mainWin)
 
 DUMP1 ("start ip_CallWhenDeleted")
 
 ip_finalize (ip)
 
 DUMP1 ("finish ip_CallWhenDeleted")
 
 if (rb_safe_level() >=4)
 
 DATA_PTR (self)
 
 DUMP1 ("Tcl_CreateInterp")
 
 rbtk_preserve_ip (ptr)
 
 DUMP2 ("IP ref_count = %d", ptr->ref_count)
 
 Tcl_Eval (ptr->ip,"set argc 0; set argv {}; set argv0 tcltklib.so")
 
 switch (cnt)
 
 DUMP1 ("Tcl_Init")
 
 if (Tcl_Init(ptr->ip)==TCL_ERROR)
 
 if (with_tk)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby", ip_ruby_eval,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby_eval\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby_eval", ip_ruby_eval,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby_cmd\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby_cmd", ip_ruby_cmd,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"interp_exit\")")
 
 Tcl_CreateCommand (ptr->ip,"interp_exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"ruby_exit\")")
 
 Tcl_CreateCommand (ptr->ip,"ruby_exit", ip_RubyExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 DUMP1 ("Tcl_CreateCommand(\"exit\") --> \"ruby_exit\"")
 
 Tcl_CreateCommand (ptr->ip,"exit", ip_RubyExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 ip_replace_wait_commands (ptr->ip, mainWin)
 
 ip_wrap_namespace_command (ptr->ip)
 
 Tcl_CreateCommand (ptr->ip,"__replace_slave_tk_commands__", ip_rb_replaceSlaveTkCmdsCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 Tcl_CallWhenDeleted (ptr->ip, ip_CallWhenDeleted,(ClientData) mainWin)
 
 if (mainWin!=(Tk_Window) NULL)
 
 if (deleted_ip(master))
 
 if (Tcl_IsSafe(master->ip)==1)
 
else if (safemode==Qfalse||NIL_P(safemode))
 
 if (slave->ip==NULL)
 
 rbtk_preserve_ip (slave)
 
 Tcl_CreateCommand (slave->ip,"exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
 ip_replace_wait_commands (slave->ip, mainWin)
 
 ip_wrap_namespace_command (slave->ip)
 
 Tcl_CreateCommand (slave->ip,"__replace_slave_tk_commands__", ip_rb_replaceSlaveTkCmdsCommand,(ClientData) NULL,(Tcl_CmdDeleteProc *) NULL)
 
 Tcl_CallWhenDeleted (slave->ip, ip_CallWhenDeleted,(ClientData) mainWin)
 
return Data_Wrap_Struct (CLASS_OF(interp), 0, ip_free, slave)
 
 if (rb_scan_args(argc, argv,"11",&name,&safemode)==1)
 
 if (Tcl_IsSafe(master->ip)!=1 &&(safemode==Qfalse||NIL_P(safemode)))
 
 StringValue (name)
 
return tk_funcall (ip_create_slave_core, 2, callargv, self)
 
 if (Tcl_GetVar(ptr->ip,"tcl_interactive", TCL_GLOBAL_ONLY)==(char *) NULL)
 
 rb_notimplement ()
 
return tk_funcall (ip_create_console_core, 0,(VALUE *) NULL, self)
 
 if (Tcl_MakeSafe(ptr->ip)==TCL_ERROR)
 
 Tcl_CreateCommand (ptr->ip,"exit", ip_InterpExitCommand,(ClientData) mainWin,(Tcl_CmdDeleteProc *) NULL)
 
return tk_funcall (ip_make_safe_core, 0,(VALUE *) NULL, self)
 
 if (Tcl_IsSafe(ptr->ip))
 
 DUMP1 ("delete interp")
 
 if (!Tcl_InterpDeleted(ptr->ip))
 
 if (deleted_ip(ptr)||!tk_stubs_init_p())
 
else if (Tk_MainWindow(ptr->ip)==(Tk_Window) NULL)
 
 Data_Get_Struct (callq, struct call_queue, q)
 
 rb_set_safe_level (q->safe_level)
 
 return ((q->func)(q->interp, q->argc, q->argv))
 
static int call_queue_handler _ ((Tcl_Event *, int))
 
 DUMP2 ("call_queue_handler thread : %lx", rb_thread_current())
 
 DUMP2 ("added by thread : %lx", thread)
 
&& !RTEST (rb_funcall(thread, ID_stop_p, 0)))
 
 if (rb_safe_level()!=q->safe_level)
 
 DUMP2 ("call function (current thread:%lx)", rb_thread_current())
 
 RARRAY_PTR (q->result)[0] = ret
 
 if (RTEST(rb_funcall(thread, ID_alive_p, 0, 0)))
 
 DUMP2 (" (current thread:%lx)", rb_thread_current())
 
 if (!NIL_P(ip_obj)&&rb_obj_is_kind_of(ip_obj, tcltkip_class))
 
 if (is_tk_evloop_thread &&(NIL_P(eventloop_thread)||current==eventloop_thread))
 
 DUMP2 ("tk_funcall from thread %lx (NOT current eventloop)", current)
 
 if (argv)
 
 DUMP1 ("add handler")
 
 Tcl_QueueEvent ((Tcl_Event *) callq, TCL_QUEUE_HEAD)
 
 DUMP2 ("callq wait for handler (current thread:%lx)", current)
 
 rb_thread_wait_for (t)
 
 DUMP2 ("*** callq wakeup (current thread:%lx)", current)
 
 DUMP2 ("*** (eventloop thread:%lx)", eventloop_thread)
 
 if (NIL_P(eventloop_thread))
 
 DUMP2 ("back from handler (current thread:%lx)", current)
 
 if (rb_obj_is_kind_of(ret, rb_eException))
 
 DUMP1 ("exit tk_funcall")
 
 DUMP2 ("Tcl_Eval(%s)", cmd_str)
 
 if (pending_exception_check1(thr_crit_bup, ptr))
 
 if (ptr->return_value!=TCL_OK)
 
 DUMP2 ("(TCL_Eval result) %d", ptr->return_value)
 
 rbtk_release_ip (ptr)
 
 Data_Get_Struct (evq, struct eval_queue, q)
 
return ip_eval_real (q->interp, q->str, q->len)
 
 DUMP2 ("eval_queue_thread : %lx", rb_thread_current())
 
 StringValue (str)
 
 DUMP2 ("status: Tcl_GetCurrentThread %p", Tcl_GetCurrentThread())
 
 DUMP2 ("status: eventloopt_thread %lx", eventloop_thread)
 
 if ((NIL_P(eventloop_thread)||current==eventloop_thread))
 
 DUMP2 ("eval from thread %lx (NOT current eventloop)", current)
 
 memcpy (eval_str, RSTRING_PTR(str), RSTRING_LEN(str))
 
 Tcl_QueueEvent ((Tcl_Event *) evq, position)
 
 DUMP2 ("evq wait for handler (current thread:%lx)", current)
 
 DUMP2 ("*** evq wakeup (current thread:%lx)", current)
 
 ckfree (eval_str)
 
 if (rb_scan_args(argc, argv,"01",&retval)==0)
 
 if (ip_cancel_eval_core(get_ip(self) ->ip, retval, 0)==TCL_OK)
 
 if (ip_cancel_eval_core(get_ip(self) ->ip, retval, flag)==TCL_OK)
 
 Tcl_ResetResult (ptr->ip)
 
 if (!NIL_P(exc))
 
return tk_funcall (lib_restart_core, 0,(VALUE *) NULL, self)
 
return lib_restart (self)
 
 if (NIL_P(src))
 
 if (rb_scan_args(argc, argv,"11",&str,&encodename)==1)
 
return lib_toUTF8_core (Qnil, str, encodename)
 
return lib_toUTF8_core (self, str, encodename)
 
return lib_fromUTF8_core (Qnil, str, encodename)
 
return lib_fromUTF8_core (self, str, encodename)
 
 Tcl_ResetResult (inf->ptr->ip)
 
 DUMP2 ("call Tcl_GetCommandInfo, %s", cmd)
 
 if (!Tcl_GetCommandInfo(ptr->ip, cmd,&info))
 
 DUMP1 ("end Tcl_GetCommandInfo")
 
 switch (status)
 
 if (unknown_flag)
 
return ip_get_result_string_obj (ptr->ip)
 
 DUMP2 ("invoke_real called by thread:%lx", rb_thread_current())
 
 free_invoke_arguments (argc, av)
 
 Data_Get_Struct (ivq, struct invoke_queue, q)
 
return ip_invoke_core (q->interp, q->argc, q->argv)
 
 DUMP2 ("invoke queue_thread : %lx", rb_thread_current())
 
 DUMP2 ("call invoke_real (current thread:%lx)", rb_thread_current())
 
 DUMP2 ("invoke from thread %lx (NOT current eventloop)", current)
 
 DUMP2 ("ivq wait for handler (current thread:%lx)", current)
 
 DUMP2 ("*** ivq wakeup (current thread:%lx)", current)
 
 DUMP1 ("exit ip_invoke")
 
 return (INT2FIX(ptr->return_value))
 
return ip_invoke_with_position (argc, argv, obj, TCL_QUEUE_HEAD)
 
 if (ret==(char *) NULL)
 
 return (strval)
 
 StringValue (varname)
 
 if (!NIL_P(index)) StringValue(index)
 
 if (NIL_P(retval))
 
 StringValue (value)
 
 if (NIL_P(ip_obj))
 
else if (get_ip(ip_obj)==(struct tcltkip *) NULL)
 
 StringValue (list_str)
 
 if (Tcl_SplitList(interp, RSTRING_PTR(list_str),&argc,&argv)==TCL_ERROR)
 
 if (taint_flag)
 
 if (num< argc==0)
 
 if (dst==result)
 
return rb_ary_new3 (4, INT2NUM(tcltk_version.major), INT2NUM(tcltk_version.minor), INT2NUM(tcltk_version.type), INT2NUM(tcltk_version.patchlevel))
 
 switch (tcltk_version.type)
 
static VALUE tcltklib_compile_info ()
 
 if (RTEST(rb_define_dummy_encoding(RSTRING_PTR(name))))
 
 if (NIL_P(interp))
 
 Tcl_DecrRefCount (enc_list)
 
 if (!NIL_P(interp))
 
 if (ptr &&NIL_P(enc))
 
 if (NIL_P(enc))
 
 if (RTEST(rb_obj_is_kind_of(enc, cRubyEncoding)))
 
 if (!NIL_P(rb_hash_lookup(table, name)))
 
 if (idx >=0)
 
 if (RTEST(error_mode))
 
 if (RTEST(rb_obj_is_kind_of(obj, cRubyEncoding)))
 
 rb_set_safe_level (0)
 
 rb_hash_aset (table, ENCODING_NAME_BINARY, encobj)
 
 rb_hash_aset (table, encobj, ENCODING_NAME_BINARY)
 
 Tcl_GetEncodingNames (ptr->ip)
 
 Tcl_IncrRefCount (enc_list)
 
 if (Tcl_ListObjGetElements(ptr->ip, enc_list,&objc,&objv)!=TCL_OK)
 
 rb_ivar_set (table, ID_at_interp, interp)
 
 rb_ivar_set (interp, ID_encoding_table, table)
 
 if (NIL_P(table))
 
return tk_funcall (ip_make_menu_embeddable_core, 1, argv, interp)
 
void Init_tcltklib ()
 

Variables

static int rb_thread_critical = thr_crit_bup
 
struct {
   int   major
 
   int   minor
 
   int   type
 
   int   patchlevel
 
tcltk_version = {0, 0, 0, 0}
 
static const char tcltklib_release_date [] = TCLTKLIB_RELEASE_DATE
 
static const char finalize_hook_name [] = "INTERP_FINALIZE_HOOK"
 
static int at_exit = 0
 
static VALUE cRubyEncoding
 
static int ENCODING_INDEX_UTF8
 
static int ENCODING_INDEX_BINARY
 
static VALUE ENCODING_NAME_UTF8
 
static VALUE ENCODING_NAME_BINARY
 
static VALUE eTkCallbackReturn
 
static VALUE eTkCallbackBreak
 
static VALUE eTkCallbackContinue
 
static VALUE eLocalJumpError
 
static VALUE eTkLocalJumpError
 
static VALUE eTkCallbackRetry
 
static VALUE eTkCallbackRedo
 
static VALUE eTkCallbackThrow
 
static VALUE tcltkip_class
 
static ID ID_at_enc
 
static ID ID_at_interp
 
static ID ID_encoding_name
 
static ID ID_encoding_table
 
static ID ID_stop_p
 
static ID ID_alive_p
 
static ID ID_kill
 
static ID ID_join
 
static ID ID_value
 
static ID ID_call
 
static ID ID_backtrace
 
static ID ID_message
 
static ID ID_at_reason
 
static ID ID_return
 
static ID ID_break
 
static ID ID_next
 
static ID ID_to_s
 
static ID ID_inspect
 
static int Tcl_Interp * interp = interp
 
const char * cmd
 
int ret
 
inttclDummyMathPtr = (int *) matherr
 
static VALUE eventloop_thread = rb_thread_current()
 
static Tcl_Interp * eventloop_interp = ptr->ip
 
static VALUE eventloop_stack
 
static int window_event_mode = ~0
 
static VALUE watchdog_thread = rb_thread_current()
 
Tcl_Interp * current_interp = ptr->ip
 
static int have_rb_thread_waiting_for_value = 0
 
static int event_loop_max = DEFAULT_EVENT_LOOP_MAX
 
static int no_event_tick = DEFAULT_NO_EVENT_TICK
 
static int no_event_wait = DEFAULT_NO_EVENT_WAIT
 
static int timer_tick = DEFAULT_TIMER_TICK
 
static int req_timer_tick = DEFAULT_TIMER_TICK
 
static int run_timer_flag = 0
 
static int event_loop_wait_event = 0
 
static int event_loop_abort_on_exc = 1
 
static int loop_counter = 0
 
static int check_rootwidget_flag = 0
 
static struct tcltkip *VALUE self
 
return ptr
 
 else
 
const char * fmt
 
 va_dcl
 
VALUE msg = rb_vsprintf(fmt, args)
 
VALUE einfo = rb_exc_new3(exc, msg)
 
return Qnil
 
static VALUE rbtk_pending_exception = Qnil
 
static int rbtk_eventloop_depth = 0
 
static int rbtk_internal_eventloop_handler = 0
 
static int int thr_crit_bup = rb_thread_critical
 
 UNREACHABLE
 
int state
 
Tcl_CmdInfo * info
 
static Tcl_TimerToken timer_token = (Tcl_TimerToken)NULL
 
static void ClientData clientData
 
VALUE mode
 
VALUE tick
 
VALUE wait
 
VALUE loop_max
 
VALUE no_event
 
int no_ev = NUM2INT(no_event)
 
VALUE time
 
VALUE divmod
 
Tcl_SetMaxBlockTime & tcl_time
 
static VALUE VALUE val
 
int argc
 
VALUEargv = cmd_str
 
static VALUE VALUE flag_val
 
 flag = FIX2INT(flag_val)
 
static int int check_root = check_root
 
int update_flag = update_flag
 
intcheck_var = check_var
 
int found_event = 1
 
int event_flag
 
struct timeval t
 
int status
 
int depth = rbtk_eventloop_depth
 
 return
 
VALUE VALUE args
 
volatile VALUE current_evloop = rb_thread_current()
 
static VALUE VALUE check_rootwidget
 
int prev_val = -1
 
int chance = 0
 
int check = RTEST(check_rootwidget)
 
struct timeval t0 t1
 
t0 tv_sec = 0
 
t0 tv_usec = (long)((NO_THREAD_INTERRUPT_TIME)*1000.0)
 
 do
 
VALUE VALUE arg = argv[1]
 
*q done = 1
 
static VALUE VALUE th = rb_thread_create(_thread_call_proc, (void*)q)
 
VALUE proc
 
int foundEvent
 
 q = (struct thread_call_proc_arg *)ALLOC(struct thread_call_proc_arg)
 
int is_ip
 
int flags
 
VALUE exc = tcltkip_init_tk(interp)
 
Tcl_DString dstr
 
static VALUE VALUE obj
 
VALUE data
 
 code = tcl_protect_core(interp, proc, data)
 
static VALUE char * name = argv[0]
 
 klass = rb_eval_string_protect(name, &state)
 
static VALUE char * str = argv[1]
 
size_t len = strlen(str)
 
 buf = ALLOC_N(char, len + 2)
 
 receiver = rb_gv_get(buf)
 
volatile ID method
 
int i
 
VALUE old_gc = rb_gc_disable()
 
char * param = RbTk_ALLOC_N(struct th_update_param, 1)
 
char * endptr
 
int objc
 
char * objv []
 
static CONST char * updateOptions [] = {"idletasks", (char *) NULL}
 
return TCL_ERROR
 
return TCL_OK
 
volatile VALUE current_thread = rb_thread_current()
 
param thread = current_thread
 
char * name1
 
char * name2
 
donePtr = 1
 
XEvent * eventPtr
 
Tk_Window window
 
int index = argv[1]
 
static CONST char * optionStrings []
 
char * nameString = objv[2]
 
int dummy
 
size_t length = strlen(objv[1])
 
Tk_Window tkwin = (Tk_Window) clientData
 
VALUE var
 
volatile VALUE cmd_str = rb_str_new2("thread_vwait")
 
VALUE target
 
static void Tcl_Interp * ip
 
Tcl_Interp * slave
 
char * slave_list
 
char * slave_name = objv[1]
 
VALUE rb_debug_bup = ruby_debug
 
VALUE rb_verbose_bup = ruby_verbose
 
 ruby_debug = rb_debug_bup
 
 ruby_verbose = rb_verbose_bup
 
Tk_Window mainWin = Tk_MainWindow(slave)
 
VALUE argv0
 
VALUE opts
 
int cnt = rb_scan_args(argc, argv, "02", &argv0, &opts)
 
int st = ruby_tcl_stubs_init()
 
int with_tk = 1
 
ptr ref_count = 0
 
ptr allow_ruby_exit = 1
 
ptr return_value = 0
 
ptr has_orig_exit = Tcl_GetCommandInfo(ptr->ip, "exit", &(ptr->orig_exit_info))
 
VALUE safemode = argv[1]
 
int safe
 
VALUE callargv [2] = name
 
static VALUE VALUE master
 
return Qfalse
 
VALUE callq = RbTk_ALLOC_N(struct call_queue, 1)
 
static int Tcl_Event * evPtr
 
volatile VALUE q_dat
 
q result = (VALUE)NULL
 
static VALUE VALUE(* func )() = func
 
intalloc_done = RbTk_ALLOC_N(int, 1)
 
int is_tk_evloop_thread = 1
 
volatile VALUE current = rb_thread_current()
 
volatile VALUE ip_obj = obj
 
callq safe_level = rb_safe_level()
 
int cmd_len
 
VALUE evq = RbTk_ALLOC_N(struct eval_queue, 1)
 
char * eval_str
 
Tcl_QueuePosition position = TCL_QUEUE_TAIL
 
VALUE retval
 
VALUE src
 
VALUE encodename
 
int all_bs
 
VALUE enc_name
 
int unknown_flag = 0
 
struct invoke_info inf
 
inf cmdinfo = info
 
char ** av = RbTk_ALLOC_N(char *, (argc+1))
 
 v = ip_invoke_core(interp, argc, av)
 
VALUE ivq = RbTk_ALLOC_N(struct invoke_queue, 1)
 
volatile VALUE varname = argv[0]
 
volatile VALUE strval
 
volatile VALUE value = argv[2]
 
return Qtrue
 
VALUE list_str
 
volatile VALUE ary
 
volatile VALUE elem
 
int idx = rb_enc_find_index(StringValueCStr(name))
 
int taint_flag = OBJ_TAINTED(list_str)
 
int list_enc_idx = rb_enc_get_index(list_str)
 
volatile VALUE list_ivar_enc = rb_ivar_get(list_str, ID_at_enc)
 
intflagPtr
 
char * dst = result
 
VALUE error_mode
 
static int VALUE table
 
int retry = 0
 
Tcl_Obj * enc_list = Tcl_GetObjResult(ptr->ip)
 
volatile VALUE encname = Qnil
 
volatile VALUE encobj = Qnil
 
VALUE enc_arg
 
volatile VALUE tmp = Qnil
 
VALUE enc
 
VALUE menu_path
 

Macro Definition Documentation

#define CONST

Definition at line 142 of file tcltklib.c.

Referenced by tcltklib_compile_info().

#define CONST84

Definition at line 143 of file tcltklib.c.

#define CONST86   CONST84

Definition at line 151 of file tcltklib.c.

#define CONTROL_BY_STATUS_OF_RB_THREAD_WAITING_FOR_VALUE   1

Definition at line 493 of file tcltklib.c.

#define DEFAULT_EVENT_LOOP_MAX   800/*counts*/

Definition at line 517 of file tcltklib.c.

#define DEFAULT_EVENTLOOP_DEPTH   7

Referenced by Init_tcltklib().

#define DEFAULT_NO_EVENT_TICK   10/*counts*/

Definition at line 518 of file tcltklib.c.

#define DEFAULT_NO_EVENT_WAIT   20/*milliseconds ( 1 -- 999 ) */

Definition at line 519 of file tcltklib.c.

#define DEFAULT_TIMER_TICK   0/*milliseconds ( 0 -- 999 ) */

Definition at line 521 of file tcltklib.c.

#define DO_THREAD_SCHEDULE_AT_CALLBACK_DONE   0

Definition at line 495 of file tcltklib.c.

#define DUMP1 (   ARG1)    if (ruby_debug) { fprintf(stderr, "tcltklib: %s\n", ARG1); fflush(stderr); }
#define DUMP2 (   ARG1,
  ARG2 
)
Value:
if (ruby_debug) { fprintf(stderr, "tcltklib: ");\
fprintf(stderr, ARG1, ARG2); fprintf(stderr, "\n"); fflush(stderr); }
ruby_debug
Definition: tcltklib.c:5816

Definition at line 167 of file tcltklib.c.

Referenced by check_eventloop_interp(), for(), if(), tcl_protect_core(), and while().

#define DUMP3 (   ARG1,
  ARG2,
  ARG3 
)
Value:
if (ruby_debug) { fprintf(stderr, "tcltklib: ");\
fprintf(stderr, ARG1, ARG2, ARG3); fprintf(stderr, "\n"); fflush(stderr); }
ruby_debug
Definition: tcltklib.c:5816

Definition at line 169 of file tcltklib.c.

#define EVENT_HANDLER_TIMEOUT   100/*milliseconds*/

Definition at line 525 of file tcltklib.c.

#define EVLOOP_WAKEUP_CHANCE   3

Definition at line 2787 of file tcltklib.c.

#define NO_THREAD_INTERRUPT_TIME   100/*milliseconds ( 1 -- 999 ) */

Definition at line 522 of file tcltklib.c.

Referenced by for().

#define rb_errinfo (   void)    (ruby_errinfo+0) /* cannot be l-value */
#define rb_hash_lookup   rb_hash_aref
#define rb_safe_level (   void)    (ruby_safe_level+0)
#define rb_sourcefile (   void)    (ruby_sourcefile+0)
#define RbTk_ALLOC_N (   type,
  n 
)    (type *)ckalloc((int)(sizeof(type) * (n)))

Definition at line 47 of file tcltklib.c.

Referenced by if().

#define RbTk_OBJ_UNTRUST (   x)    do {OBJ_TAINT(x); OBJ_UNTRUST(x);} while (0)

Definition at line 43 of file tcltklib.c.

Referenced by Init_tcltklib().

#define ruby_native_thread_p (   void)    is_ruby_native_thread()
#define RUBY_RELEASE_DATE   "unknown release-date"

Definition at line 19 of file tcltklib.c.

Referenced by tcltklib_compile_info().

#define RUBY_VERSION   "(unknown version)"

Definition at line 16 of file tcltklib.c.

Referenced by Init_dl(), and tcltklib_compile_info().

#define SUPPORT_NESTED_CONST_AS_IP_RUBY_CMD_RECEIVER   1

Definition at line 3490 of file tcltklib.c.

#define TAG_BREAK   0x2

Definition at line 157 of file tcltklib.c.

Referenced by tcl_protect_core().

#define TAG_FATAL   0x8

Definition at line 163 of file tcltklib.c.

Referenced by for(), switch(), and tcl_protect_core().

#define TAG_NEXT   0x3

Definition at line 158 of file tcltklib.c.

Referenced by tcl_protect_core().

#define TAG_RAISE   0x6

Definition at line 161 of file tcltklib.c.

Referenced by for(), switch(), and tcl_protect_core().

#define TAG_REDO   0x5

Definition at line 160 of file tcltklib.c.

Referenced by if(), pending_exception_check0(), and tcl_protect_core().

#define TAG_RETRY   0x4

Definition at line 159 of file tcltklib.c.

Referenced by if(), pending_exception_check0(), and tcl_protect_core().

#define TAG_RETURN   0x1

Definition at line 156 of file tcltklib.c.

Referenced by tcl_protect_core().

#define TAG_THROW   0x7

Definition at line 162 of file tcltklib.c.

Referenced by if(), pending_exception_check0(), and tcl_protect_core().

#define TCL_ALPHA_RELEASE   0 /* "alpha" */

Definition at line 103 of file tcltklib.c.

Referenced by Init_tcltklib(), and switch().

#define TCL_BETA_RELEASE   1 /* "beta" */

Definition at line 104 of file tcltklib.c.

Referenced by Init_tcltklib(), and switch().

#define TCL_CANCEL_UNWIND   0x100000

Definition at line 7822 of file tcltklib.c.

#define Tcl_DecrRefCount (   obj)    (1)

Definition at line 317 of file tcltklib.c.

Referenced by if(), and switch().

#define Tcl_Eval   tcl_eval

Definition at line 291 of file tcltklib.c.

Referenced by switch().

#define TCL_FINAL_RELEASE   2 /* "final" */

Definition at line 105 of file tcltklib.c.

Referenced by Init_tcltklib(), and switch().

#define Tcl_GetStringResult (   interp)    ((interp)->result)

Definition at line 322 of file tcltklib.c.

Referenced by if(), and switch().

#define Tcl_GlobalEval   tcl_global_eval

Definition at line 312 of file tcltklib.c.

Referenced by if(), and Tcl_GetCommandInfo().

#define Tcl_IncrRefCount (   obj)    (1)

Definition at line 316 of file tcltklib.c.

Referenced by if().

#define TCL_NAMESPACE_DEBUG   0

Definition at line 560 of file tcltklib.c.

#define TCLTKLIB_RELEASE_DATE   "2010-08-25"

Definition at line 7 of file tcltklib.c.

Referenced by tcltklib_compile_info().

#define TK_WINDOWING_SYSTEM   "x11"

Referenced by Init_tcltklib().

#define TKWAIT_MODE_DESTROY   2
#define TKWAIT_MODE_VISIBILITY   1
#define TRAP_CHECK ( )
Value:
do { \
} while (0)
return
Definition: bigdecimal.c:5821
int * check_var
Definition: tcltklib.c:2188
while(a->frac[0]/shift==0)
Definition: bigdecimal.c:5138
static int trap_check(int *check_var)
Definition: tcltklib.c:2142
if(RB_TYPE_P(r, T_FLOAT))
Definition: bigdecimal.c:1200

Definition at line 2137 of file tcltklib.c.

Referenced by for().

#define USE_EVLOOP_THREAD_ALONE_CHECK_FLAG   0

Definition at line 2099 of file tcltklib.c.

#define USE_RUBY_ALLOC   0
#define USE_TOGGLE_WINDOW_MODE_FOR_IDLE   0

Definition at line 494 of file tcltklib.c.

#define va_init_list (   a,
  b 
)    va_start(a)
#define WATCHDOG_INTERVAL   10/*milliseconds ( 1 -- 999 ) */

Definition at line 520 of file tcltklib.c.

Enumeration Type Documentation

enum options
Enumerator
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 

Definition at line 4480 of file tcltklib.c.

enum options
Enumerator
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 
TKWAIT_VARIABLE 
TKWAIT_VISIBILITY 
TKWAIT_WINDOW 

Definition at line 5094 of file tcltklib.c.

enum static CONST char * updateOptions = {"idletasks", (char *) NULL}
Enumerator
REGEXP_IDLETASKS 
REGEXP_IDLETASKS 

Definition at line 3894 of file tcltklib.c.

Enumerator
REGEXP_IDLETASKS 
REGEXP_IDLETASKS 

Definition at line 4048 of file tcltklib.c.

Function Documentation

&& !RTEST ( rb_funcall(thread, ID_stop_p, 0)  )
static void ip_finalize _ ( (Tcl_Interp *)  )
static
static VALUE encoding_table_get_obj_core _ ( (VALUE, VALUE, VALUE )
static
static VALUE callq_safelevel_handler _ ( (VALUE, VALUE )
static
static VALUE ip_alloc _ ( (VALUE )
static
static VALUE ip_invoke _ ( (int, VALUE *, VALUE )
static
static VALUE ip_invoke_with_position _ ( (int, VALUE *, VALUE, Tcl_QueuePosition)  )
static
static VALUE tk_funcall _ ( (VALUE(), int, VALUE *, VALUE )
static
static int ip_ruby_cmd _ ( (ClientData, Tcl_Interp *, int, char **)  )
static
static void rb_threadUpdateProc _ ( (ClientData)  )
static
static int ip_rb_threadTkWaitCommand _ ( (ClientData, Tcl_Interp *, int, char *[])  )
static
static char *rb_threadVwaitProc _ ( (ClientData, Tcl_Interp *, char *, char *, int )
static
static void rb_threadWaitWindowProc _ ( (ClientData, XEvent *)  )
static
int invoke_queue_handler _ ( (Tcl_Event *, int )
static
void _thread_call_proc_arg_mark ( struct thread_call_proc_arg q)

Definition at line 2910 of file tcltklib.c.

References thread_call_proc_arg::proc, and rb_gc_mark().

void call_queue_mark ( struct call_queue q)
static int check_eventloop_interp ( )
static

Definition at line 2172 of file tcltklib.c.

References DUMP1, DUMP2, and NULL.

Referenced by for().

ckfree ( (char *)  param)

Referenced by if().

ckfree ( eval_str  )
Data_Get_Struct ( self  ,
struct tcltkip  ,
ptr   
)
Data_Get_Struct ( callq  ,
struct call_queue  ,
q   
)
Data_Get_Struct ( evq  ,
struct eval_queue  ,
q   
)
Data_Get_Struct ( ivq  ,
struct invoke_queue  ,
q   
)
DATA_PTR ( self  )
return Data_Wrap_Struct ( CLASS_OF(interp ,
,
ip_free  ,
slave   
)
delete_slaves ( ip  )
DUMP1 ( "Tk_Init"  )
DUMP1 ( "original_exit is called"  )
DUMP1 ( "complete original_exit"  )
DUMP1 ( "call _timer_for_tcl"  )
DUMP1 ( "call ip_ruby_cmd_core"  )
DUMP1 ( "finish ip_ruby_cmd_core"  )
DUMP1 ( "start ip_RubyExitCommand"  )
DUMP1 ( "Ruby's 'update' is called"  )
DUMP1 ( "finish Ruby's 'update'"  )
DUMP1 ( "threadUpdateProc is called"  )
DUMP1 ( "Ruby's 'thread_update' is called"  )
DUMP1 ( "start Ruby's 'thread_update' body"  )
DUMP1 ( "pass argument check )
DUMP1 ( "set idle proc )
DUMP1 ( "finish Ruby's 'thread_update'"  )
DUMP1 ( "Ruby's 'tkwait' is called"  )
DUMP1 ( "Ruby's 'thread_tkwait' is called"  )
DUMP1 ( "delete slaves"  )
DUMP1 ( "start ip_finalize )
DUMP1 ( "destroy root widget"  )
DUMP1 ( "check `finalize-hook-proc'"  )
DUMP1 ( "check `foreach' & `after'"  )
DUMP1 ( "finish ip_finalize )
DUMP1 ( "complete freeing Tcl Interp"  )
DUMP1 ( "Tcl_CreateCommand(\"tkwait\")"  )
DUMP1 ( "Tcl_CreateCommand(\"thread_vwait\")"  )
DUMP1 ( "Tcl_CreateCommand(\"thread_tkwait\")"  )
DUMP1 ( "Tcl_CreateCommand(\"update\")"  )
DUMP1 ( "Tcl_CreateCommand(\"thread_update\")"  )
DUMP1 ( "Tcl_CreateCommand(\"exit\") --> \"interp_exit\""  )
DUMP1 ( "start ip_CallWhenDeleted"  )
DUMP1 ( "finish ip_CallWhenDeleted"  )
DUMP1 ( "Tcl_CreateInterp"  )
DUMP1 ( "Tcl_Init"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby\")"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby_eval\")"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby_cmd\")"  )
DUMP1 ( "Tcl_CreateCommand(\"interp_exit\")"  )
DUMP1 ( "Tcl_CreateCommand(\"ruby_exit\")"  )
DUMP1 ( "Tcl_CreateCommand(\"exit\") --> \"ruby_exit\""  )
DUMP1 ( "delete interp )
DUMP1 ( "add handler"  )
DUMP1 ( "exit tk_funcall )
DUMP1 ( "end Tcl_GetCommandInfo )
DUMP1 ( "exit ip_invoke"  )
DUMP2 ( "eventloop_ensure: current-thread : %lx"  ,
current_evloop   
)
DUMP2 ( "eventloop_ensure: eventloop-thread : %lx"  ,
eventloop_thread   
)
DUMP2 ( "finish current eventloop %lx"  ,
current_evloop   
)
DUMP2 ( "rb_eval_string(%s)"  ,
arg   
)
DUMP2 ( "rb_apply return:%lx"  ,
ret   
)
DUMP2 ( "receiver:%s ,
str   
)
DUMP2 ( "last result '%s'"  ,
Tcl_GetStringResult(interp  
)
DUMP2 ( "free Tcl Interp %lx"  ,
(unsigned long) ptr->  ip 
)
DUMP2 ( )
DUMP2 ( "call_queue_handler thread : %lx"  ,
rb_thread_current()   
)
DUMP2 ( "added by thread : %lx"  ,
thread   
)
DUMP2 ( "call function (current thread:%lx)"  ,
rb_thread_current()   
)
DUMP2 ( " (current thread:%lx)"  ,
rb_thread_current()   
)
DUMP2 ( "tk_funcall from thread %lx (NOT current eventloop)"  ,
current   
)
DUMP2 ( "callq wait for handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** callq wakeup (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** (eventloop thread:%lx)"  ,
eventloop_thread   
)
DUMP2 ( "back from handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "Tcl_Eval(%s)"  ,
cmd_str   
)
DUMP2 ( "(TCL_Eval result) %d ,
ptr->  return_value 
)
DUMP2 ( "eval_queue_thread : %lx"  ,
rb_thread_current()   
)
DUMP2 ( "status: Tcl_GetCurrentThread %p ,
Tcl_GetCurrentThread()   
)
DUMP2 ( "status: eventloopt_thread %lx"  ,
eventloop_thread   
)
DUMP2 ( "eval from thread %lx (NOT current eventloop)"  ,
current   
)
DUMP2 ( "evq wait for handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** evq wakeup (current thread:%lx)"  ,
current   
)
DUMP2 ( "call  Tcl_GetCommandInfo,
%s ,
cmd   
)
DUMP2 ( "invoke_real called by thread:%lx"  ,
rb_thread_current()   
)
DUMP2 ( "invoke queue_thread : %lx"  ,
rb_thread_current()   
)
DUMP2 ( "call invoke_real (current thread:%lx)"  ,
rb_thread_current()   
)
DUMP2 ( "invoke from thread %lx (NOT current eventloop)"  ,
current   
)
DUMP2 ( "ivq wait for handler (current thread:%lx)"  ,
current   
)
DUMP2 ( "*** ivq wakeup (current thread:%lx)"  ,
current   
)
DUMP3 ( "tcltklib: eventloop-thread : %lx -> %lx\n ,
parent_evloop  ,
eventloop_thread   
)
void eval_queue_mark ( struct eval_queue q)

Definition at line 448 of file tcltklib.c.

References eval_queue::interp, rb_gc_mark(), eval_queue::result, and eval_queue::thread.

for ( ;;  )
for ( )

Definition at line 3667 of file tcltklib.c.

References DUMP2, i, RARRAY, rb_ary_push(), rb_tainted_str_new(), rb_tainted_str_new2, and s.

free ( buf  )
free_invoke_arguments ( argc  ,
av   
)
if ( ptr  = = 0)
Initial value:
{
struct tcltkip *ptr = get_ip(self)
return ptr
Definition: tcltklib.c:784

Definition at line 776 of file tcltklib.c.

References NULL.

if ( ptr->  ip = = (Tcl_Interp*)NULL)
Initial value:
{
ptr->ref_count++
return ptr
Definition: tcltklib.c:784

Definition at line 780 of file tcltklib.c.

References NULL.

if ( )

Definition at line 822 of file tcltklib.c.

Definition at line 1360 of file tcltklib.c.

References tcltkip::ip, rb_eRuntimeError, and rb_exc_new2().

if ( NIL_Pexc)&&rb_obj_is_kind_of(exc, rb_eException)
if ( ptr->has_orig_exit)

Definition at line 1471 of file tcltklib.c.

if ( timer_tick  ,
 
)

Definition at line 1627 of file tcltklib.c.

References timer_token.

if ( RTEST(mode )

Definition at line 1667 of file tcltklib.c.

if ( deleted_ip(ptr )
Initial value:
{
struct tcltkip *ptr = get_ip(self)
return ptr
Definition: tcltklib.c:784

Definition at line 1737 of file tcltklib.c.

if ( Tcl_GetMaster(ptr->ip)!  = (Tcl_Interp*)NULL)

Definition at line 1741 of file tcltklib.c.

if ( t_wait<=  0)

Definition at line 1764 of file tcltklib.c.

References rb_eArgError, and rb_raise().

if ( lpmax<=0||no_ev<=  0)

Definition at line 1818 of file tcltklib.c.

References rb_eArgError, and rb_raise().

if ( RTEST(val )

Definition at line 1936 of file tcltklib.c.

else if ( NIL_P(val )

Definition at line 1938 of file tcltklib.c.

if ( Tcl_DoOneEvent(flag )

Definition at line 2048 of file tcltklib.c.

References Qtrue.

if ( update_flag  )

Definition at line 2202 of file tcltklib.c.

if ( lib_eventloop_core(params->check_root,params->update_flag,params->check_var,params->interp )

Definition at line 2568 of file tcltklib.c.

References Qtrue.

if ( eventloop_thread!  = current_evloop)

Definition at line 2624 of file tcltklib.c.

References DUMP2, Qnil, rb_thread_critical, evloop_params::thr_crit_bup, and xfree.

if ( parent_evloop  = eventloop_thread)

Definition at line 2697 of file tcltklib.c.

References DUMP2, and rbtk_eventloop_depth.

if ( !NIL_P(parent_evloop)&&parent_evloop!  = eventloop_thread)

Definition at line 2702 of file tcltklib.c.

References DUMP1, DUMP2, rb_funcall(), rb_thread_run(), and RTEST.

if ( rb_scan_args(argc, argv,"01",&check_rootwidget = = 0)

Definition at line 2741 of file tcltklib.c.

References Qtrue.

Definition at line 2743 of file tcltklib.c.

if ( NIL_Pwatchdog_thread)

Definition at line 2805 of file tcltklib.c.

References Qnil, rb_funcall(), and RTEST.

if ( rb_scan_args(argc, argv,"01",&proc = = 0)

Definition at line 2963 of file tcltklib.c.

References rb_block_proc().

if ( RTEST(rb_funcall(th, ID_alive_p, 0))  )

Definition at line 2999 of file tcltklib.c.

References rb_errinfo, and rb_exc_raise().

if ( NIL_Peventloop_thread)

Definition at line 3027 of file tcltklib.c.

References rb_eRuntimeError, and rb_raise().

if ( rb_scan_args(argc, argv,"01",&vflags)  = = 0)

Definition at line 3033 of file tcltklib.c.

if ( rb_safe_level() >=4||(rb_safe_level() >=1 &&OBJ_TAINTED(vflags))  )

Definition at line 3040 of file tcltklib.c.

if ( is_ip  )

Definition at line 3044 of file tcltklib.c.

References tcltkip::ip, NULL, and Qfalse.

Definition at line 3062 of file tcltklib.c.

References Qfalse.

if ( found_event  )

Definition at line 3066 of file tcltklib.c.

References Qtrue.

if ( ruby_native_thread_p())
Initial value:
{
struct tcltkip *ptr = get_ip(interp)
static int Tcl_Interp * interp
Definition: tcltklib.c:277
return ptr
Definition: tcltklib.c:784

Definition at line 3373 of file tcltklib.c.

References rb_bug().

if ( interp  = = (Tcl_Interp*)NULL)

Definition at line 3412 of file tcltklib.c.

References rb_eRuntimeError, rb_exc_new2(), rbtk_pending_exception, and TCL_ERROR.

if ( argc!  = 2)
if ( state  )

Definition at line 3504 of file tcltklib.c.

References Qnil.

else if ( str  [0] = = ':' || ('A' <= str[0] && str[0] <= 'Z'))

Definition at line 3553 of file tcltklib.c.

References Qnil, and rb_protect().

if ( NIL_P(receiver )
if ( old_gc  = Qfalse)

Definition at line 3684 of file tcltklib.c.

if ( argc< 1||argc 2)

Definition at line 3792 of file tcltklib.c.

References NULL, Tcl_AppendResult(), and TCL_ERROR.

else if ( objc  = = 1)

Definition at line 3912 of file tcltklib.c.

if ( NIL_Prbtk_pending_exception)

Definition at line 3979 of file tcltklib.c.

References DUMP1, DUMP2, Tcl_GetStringResult, Tcl_Release(), and Tcl_ResetResult().

if ( eventPtr->  type = = DestroyNotify)
Initial value:
{
pure parser lex param
Definition: ripper.y:688
static void ClientData clientData
Definition: tcltklib.c:1611

Definition at line 4454 of file tcltklib.c.

if ( objc!  = 3)
if ( (c== 'v')&&(strncmp(objv[1],"variable", length)==0)&&(length >=2)  )

Definition at line 4560 of file tcltklib.c.

References TKWAIT_VARIABLE.

else if ( (c== 'v')&&(strncmp(objv[1],"visibility", length)==0)&&(length >=2)  )

Definition at line 4563 of file tcltklib.c.

else if ( (c== 'w')&&(strncmp(objv[1],"window", length)==0)  )

Definition at line 4566 of file tcltklib.c.

if ( flags TCL_INTERP_DESTROYED|TCL_TRACE_DESTROYED)

Definition at line 4871 of file tcltklib.c.

References th_vwait_param::done.

if ( param->done!  = 0)

Definition at line 4876 of file tcltklib.c.

if ( rb_thread_alone()||  eventloop_thread = current_thread)

Definition at line 5108 of file tcltklib.c.

References DUMP1, and DUMP2.

if ( Tcl_InterpDeletedip)&&Tcl_Eval(ip,"interp slaves" = TCL_OK)

Definition at line 5614 of file tcltklib.c.

References argc, DUMP2, i, ip_finalize(), and TCL_OK.

if ( ip  = = (Tcl_Interp*)NULL)

Definition at line 5698 of file tcltklib.c.

References DUMP1.

if ( Tcl_InterpDeleted(ip )

Definition at line 5703 of file tcltklib.c.

References DUMP2.

if ( at_exit  )

Definition at line 5727 of file tcltklib.c.

References Tcl_CreateCommand().

if ( tk_stubs_init_p()&&Tk_MainWindow(ip)!  = (Tk_Window)NULL)

Definition at line 5765 of file tcltklib.c.

References DUMP1, Qfalse, Qnil, rb_debug_bup, rb_verbose_bup, ruby_debug, and ruby_verbose.

Definition at line 5793 of file tcltklib.c.

References DUMP2, Qfalse, Qnil, rb_debug_bup, rb_verbose_bup, ruby_debug, ruby_verbose, and Tcl_GlobalEval.

if ( slave  = NULL)

Definition at line 5998 of file tcltklib.c.

References Tcl_AppendResult(), and TCL_ERROR.

if ( rb_safe_level() >=  4)

Definition at line 6154 of file tcltklib.c.

References rb_eSecurityError, rb_raise(), and rb_safe_level.

if ( Tcl_Init(ptr->ip = TCL_ERROR)

Definition at line 6277 of file tcltklib.c.

References tcltkip::ip, rb_eRuntimeError, rb_raise(), and Tcl_GetStringResult.

if ( with_tk  )
if ( mainWin!  = (Tk_Window)NULL)

Definition at line 6385 of file tcltklib.c.

if ( deleted_ip(master )

Definition at line 6408 of file tcltklib.c.

References rb_eRuntimeError, and rb_exc_new2().

if ( Tcl_IsSafe(master->ip = = 1)

Definition at line 6416 of file tcltklib.c.

else if ( safemode  = Qfalse || NIL_P(safemode))

Definition at line 6418 of file tcltklib.c.

if ( slave->  ip = NULL)

Definition at line 6452 of file tcltklib.c.

References rb_eRuntimeError, rb_exc_new2(), rb_thread_critical, and thr_crit_bup.

if ( rb_scan_args(argc, argv,"11",&name,&safemode = = 1)

Definition at line 6522 of file tcltklib.c.

References Qfalse.

if ( Tcl_IsSafe(master->ip)!  = 1 && (safemode == Qfalse || NIL_P(safemode)))

Definition at line 6525 of file tcltklib.c.

References rb_secure().

if ( Tcl_GetVar(ptr->ip,"tcl_interactive", TCL_GLOBAL_ONLY)  = = (char*)NULL)

Definition at line 6585 of file tcltklib.c.

References tcltkip::ip.

if ( Tcl_MakeSafe(ptr->ip = TCL_ERROR)

Definition at line 6650 of file tcltklib.c.

References tcltkip::ip, rb_eRuntimeError, and Tcl_GetStringResult.

if ( Tcl_IsSafe(ptr->ip )

Definition at line 6700 of file tcltklib.c.

References Qtrue.

if ( Tcl_InterpDeletedptr->ip)

Definition at line 6800 of file tcltklib.c.

References DUMP1, tcltkip::ip, ip_finalize(), and Tcl_Release().

if ( deleted_ip(ptr)||!tk_stubs_init_p()  )

Definition at line 6858 of file tcltklib.c.

References Qnil.

else if ( Tk_MainWindow(ptr->ip = = (Tk_Window)NULL)

Definition at line 6860 of file tcltklib.c.

if ( rb_safe_level()!  = q->safe_level)
if ( RTEST(rb_funcall(thread, ID_alive_p, 0, 0))  )
if ( NIL_Pip_obj)&&rb_obj_is_kind_of(ip_obj, tcltkip_class)

Definition at line 7117 of file tcltklib.c.

References Qnil.

if ( is_tk_evloop_thread &&  NIL_P(eventloop_thread)||current==eventloop_thread)

Definition at line 7138 of file tcltklib.c.

References DUMP2, func, NIL_P(), rb_eException, rb_exc_raise(), rb_obj_is_kind_of(), and result.

if ( argv  )

Definition at line 7159 of file tcltklib.c.

References MEMCPY, RbTk_ALLOC_N, and Tcl_Preserve().

Definition at line 7236 of file tcltklib.c.

References DUMP1.

Definition at line 7281 of file tcltklib.c.

References DUMP1, rb_exc_new3(), rb_exc_raise(), rb_funcall(), and rb_obj_class().

if ( pending_exception_check1(thr_crit_bup, ptr )

Definition at line 7443 of file tcltklib.c.

References rbtk_pending_exception, and rbtk_release_ip().

if ( ptr->return_value!  = TCL_OK)

Definition at line 7449 of file tcltklib.c.

References exc, tcltkip::ip, rb_eRuntimeError, rbtk_release_ip(), and tcltkip::return_value.

if ( rb_scan_args(argc, argv,"01",&retval = = 0)

Definition at line 7811 of file tcltklib.c.

References Qnil.

if ( ip_cancel_eval_core(get_ip(self) ->ip, retval, 0)  = TCL_OK)

Definition at line 7814 of file tcltklib.c.

References Qtrue.

if ( ip_cancel_eval_core(get_ip(self) ->ip, retval, flag = TCL_OK)

Definition at line 7838 of file tcltklib.c.

References Qtrue.

if ( NIL_Pexc)

Definition at line 7893 of file tcltklib.c.

References exc, rb_thread_critical, rbtk_release_ip(), and thr_crit_bup.

if ( NIL_P(src )

Definition at line 7969 of file tcltklib.c.

References rb_str_new2.

if ( rb_scan_args(argc, argv,"11",&str,&encodename = = 1)
Initial value:
{
VALUE encodename
Definition: tcltklib.c:7953
static VALUE char * str
Definition: tcltklib.c:3546
unsigned long VALUE
Definition: ripper.y:104

Definition at line 8111 of file tcltklib.c.

References Qnil.

if ( Tcl_GetCommandInfoptr->ip, cmd,&info)
if ( unknown_flag  )

Definition at line 8766 of file tcltklib.c.

References ckfree(), free, Tcl_DecrRefCount, and Tcl_Release().

if ( ret  = = (char*)NULL)
if ( NIL_Pindex)
if ( NIL_P(retval )

Definition at line 9417 of file tcltklib.c.

References rb_tainted_str_new2.

if ( NIL_P(ip_obj )

Definition at line 9726 of file tcltklib.c.

else if ( get_ip(ip_obj = = (struct tcltkip *)NULL)

Definition at line 9728 of file tcltklib.c.

if ( Tcl_SplitList(interp, RSTRING_PTR(list_str),&argc,&argv = TCL_ERROR)

Definition at line 9809 of file tcltklib.c.

References rb_eRuntimeError, and rb_raise().

if ( taint_flag  )

Definition at line 9819 of file tcltklib.c.

if ( num <  argc = = 0)

Definition at line 9873 of file tcltklib.c.

if ( dst  = result)

Definition at line 9920 of file tcltklib.c.

if ( NIL_P(interp )

Definition at line 10158 of file tcltklib.c.

if ( NIL_Pinterp)

Definition at line 10214 of file tcltklib.c.

if ( ptr &&  NIL_Penc)

Definition at line 10223 of file tcltklib.c.

References rb_funcall(), and rb_respond_to().

if ( NIL_P(enc )

Definition at line 10229 of file tcltklib.c.

References rb_enc_default_internal().

Definition at line 10245 of file tcltklib.c.

References name, NIL_P(), and rb_hash_lookup.

if ( NIL_Prb_hash_lookup(table, name))

Definition at line 10270 of file tcltklib.c.

References name.

if ( idx >=  0)

Definition at line 10277 of file tcltklib.c.

References NIL_P(), rb_enc_from_encoding(), rb_enc_from_index(), rb_hash_lookup, and tmp.

if ( RTEST(error_mode )

Definition at line 10301 of file tcltklib.c.

References rb_eArgError, rb_funcall(), rb_raise(), and RSTRING_PTR.

Definition at line 10317 of file tcltklib.c.

References obj.

if ( Tcl_ListObjGetElements(ptr->ip, enc_list,&objc,&objv)!  = TCL_OK)

Definition at line 10483 of file tcltklib.c.

References rb_eRuntimeError, rb_raise(), and Tcl_DecrRefCount.

if ( NIL_P(table )

Definition at line 10617 of file tcltklib.c.

References rb_define_singleton_method().

void Init_tcltklib ( )
void invoke_queue_mark ( struct invoke_queue q)
return ip_eval_real ( q->  interp,
q->  str,
q->  len 
)

Referenced by if().

ip_finalize ( ip  )

Referenced by if().

return ip_get_result_string_obj ( ptr->  ip)
return ip_invoke_core ( q->  interp,
q->  argc,
q->  argv 
)
return ip_invoke_with_position ( ,
argv  ,
self  ,
TCL_QUEUE_TAIL   
)
return ip_invoke_with_position ( ,
argv  ,
self  ,
TCL_QUEUE_TAIL   
)
return ip_invoke_with_position ( argc  ,
argv  ,
obj  ,
TCL_QUEUE_HEAD   
)
ip_replace_wait_commands ( slave  ,
mainWin   
)
ip_replace_wait_commands ( ptr->  ip,
mainWin   
)
ip_replace_wait_commands ( slave->  ip,
mainWin   
)
ip_wrap_namespace_command ( ptr->  ip)
ip_wrap_namespace_command ( slave->  ip)
return lib_eventloop_launcher ( RTEST(check_rootwidget ,
,
(int *)  NULL,
(Tcl_Interp *)  NULL 
)

Referenced by switch().

return lib_evloop_abort_on_exc ( self  )

Referenced by Init_tcltklib().

return lib_evloop_abort_on_exc_set ( self  ,
val   
)

Referenced by Init_tcltklib().

return lib_fromUTF8_core ( Qnil  ,
str  ,
encodename   
)
return lib_fromUTF8_core ( self  ,
str  ,
encodename   
)
return lib_mainloop_watchdog ( argc  ,
argv  ,
self   
)

Referenced by Init_tcltklib().

return lib_restart ( self  )
return lib_toUTF8_core ( Qnil  ,
str  ,
encodename   
)
return lib_toUTF8_core ( self  ,
str  ,
encodename   
)
int matherr ( )
memcpy ( buf 1,
str  ,
len   
)

Referenced by addrinfo_mload(), allocate_converted_string(), append_fspath(), date_strftime_with_tmx(), dlhandle_sym(), dln_find_1(), EVP_CIPHER_CTX_copy(), fiddle_handle_sym(), flo_to_s(), get_addr(), getaddrinfo(), getrusage_time(), glob_helper(), glob_make_pattern(), global_id(), gzfile_readpartial(), HMAC_CTX_copy(), if(), inet_ntop(), inet_pton(), init_addrinfo(), inspect_errno(), inspect_int(), inspect_timeval_as_interval(), int_sip_post_update(), int_sip_pre_update(), io_reader(), ip_s_getaddress(), join_argv(), join_path(), load_transcoder_entry(), makroom(), md5_process(), MD5_Update(), moreswitches(), nl_langinfo_codeset(), ole_val2olevariantdata(), opendir_internal(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_buf2str(), ossl_cipher_init(), ossl_pem_passwd_cb(), ossl_x509ext_set_value(), pack_unpack(), parse_ddd_cb(), parse_mode_enc(), PEM_def_callback(), pruby_var_to_cstr(), putpair(), r_byte1_buffered(), r_bytes1_buffered(), rb_digest_base_copy(), rb_dlptr_aset(), rb_econv_convert0(), rb_econv_insert_output(), rb_econv_putback(), rb_fiddle_ptr_aset(), rb_file_expand_path_internal(), rb_home_dir(), rb_quad_pack(), rb_quad_unpack(), rb_reg_quote(), rb_str_append(), rb_str_cat(), rb_str_concat(), rb_str_format(), rb_str_justify(), rb_str_plus(), rb_str_reverse(), rb_str_shared_replace(), rb_str_sub_bang(), rb_str_times(), rb_strftime_with_timespec(), rb_w32_cmdvector(), rb_w32_conv_from_wstr(), rb_w32_fd_copy(), rb_w32_fd_dup(), rb_w32_inet_ntop(), rb_w32_spawn(), rb_w32_system_tmpdir(), read_digits(), RMD160_Finish(), RMD160_Update(), ruby_brace_expand(), ruby_strdup(), s3e(), SHA1_Transform(), SHA1_Update(), sock_s_getnameinfo(), sockopt_bool(), sockopt_int(), sockopt_linger(), splpage(), str_buf_cat(), str_make_independent_expand(), str_new(), str_replace_shared_without_enc(), strio_ungetbyte(), stub_sysinit(), sym_inspect(), VpAsgn(), w_float(), yaml_document_add_scalar(), yaml_parser_parse_node(), yaml_parser_scan_tag_uri(), yaml_scalar_event_initialize(), yaml_string_join(), yaml_string_read_handler(), yaml_string_write_handler(), and zstream_append_buffer().

memcpy ( eval_str  ,
RSTRING_PTR(str ,
RSTRING_LEN(str  
)
NIL_P ( eventloop_thread  )

Definition at line 4067 of file tcltklib.c.

References DUMP1.

Referenced by add_activated_refinement(), add_event_call_back(), addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_inspect(), addrinfo_mload(), alias(), append_fspath(), appendline(), argf_getbyte(), argf_getc(), argf_getline(), argf_getpartial(), argf_next_argv(), argf_read(), argf_readbyte(), argf_readchar(), argf_readline(), ary_join_0(), ary_join_1(), big_op(), BigDecimal_mode(), BigDecimal_new(), BigDecimal_power(), call_getaddrinfo(), check_exec_env_i(), check_exec_options_i_extract(), check_exec_redirect(), check_exec_redirect1(), check_exec_redirect_fd(), chunk_i(), chunk_ii(), classname(), cmp_eq(), code_page(), collect_caller_bindings(), compile_dstr_fragments(), constant_arg(), convert_mb_to_wchar(), convert_type(), copy_stream_body(), copy_stream_fallback_body(), cParser_initialize(), cState_configure(), cState_from_state_s(), cState_initialize(), cto_i(), curry(), curses_addstr(), d_new_by_frags(), date__parse(), date__strptime(), date__strptime_internal(), date_s__parse_internal(), date_s__strptime_internal(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), date_zone_to_diff(), dir_initialize(), dir_inspect(), dir_path(), dir_s_glob(), dir_s_home(), divmodv(), do_deflate(), do_inflate(), do_writeconv(), dt_new_by_frags(), econv_args(), econv_description(), econv_init(), econv_last_error(), econv_opts(), econv_primitive_convert(), econv_putback(), econv_s_search_convpath(), enc_register_at(), enc_set_default_encoding(), enum_cycle(), enum_find(), enum_zip(), enumerator_initialize(), enumerator_with_index(), env_aset(), env_delete_m(), env_has_value(), env_rassoc(), env_reject_bang(), env_select(), env_select_bang(), errat_getter(), errat_setter(), error_print(), esignal_init(), ev_on_event(), eval_string_with_cref(), eval_under(), EVENTSINK_Invoke(), exc_to_s(), exit_initialize(), exit_success_p(), extract_binmode(), extract_user_token(), f_current_dirname(), fdbm_fetch_m(), fdbm_initialize(), fdbm_s_open(), features_index_add_single(), fev_off_event(), fgdbm_fetch(), fgdbm_fetch_m(), fgdbm_has_value(), fgdbm_initialize(), fgdbm_key(), fgdbm_s_open(), fgdbm_shift(), fiber_switch(), fill_cbuf(), find_refinement(), flat_map_i(), flatten(), fole_initialize(), for(), fptr_finalize(), fsdbm_fetch_m(), fsdbm_initialize(), fsdbm_s_open(), function_call(), get_backtrace(), get_digest_base_metadata(), get_freefunc(), get_hash(), get_pat(), goruby_run_node(), gzfile_error_inspect(), gzfile_getc(), gzfile_make_header(), gzfile_raise(), gzfile_read(), gzfile_read_all(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_rescue(), gzfile_read_raw_until_zero(), gzfile_reader_get_unused(), gzfile_reader_rewind(), gzfile_readpartial(), gzreader_gets(), host_str(), if(), init_inetsock_internal(), initialize(), initialize_params(), inspect_enumerator(), int_downto(), int_upto(), io_encoding_set(), io_puts_ary(), io_read(), io_read_nonblock(), io_reader(), io_readpartial(), io_s_foreach(), io_s_write(), io_setstrbuf(), io_shift_cbuf(), io_strip_bom(), io_wait_readable(), io_wait_writable(), io_write(), iseq_build_from_ary_body(), iseq_load(), iseq_s_compile(), iseq_s_disasm(), iso8601_bas_datetime_cb(), iso8601_ext_datetime_cb(), iso8601_ext_time_cb(), jisx0301_cb(), JSON_parse_array(), JSON_parse_object(), JSON_parse_string(), lazy_drop_func(), lazy_drop_size(), lazy_drop_while_func(), lazy_flat_map_to_ary(), lazy_set_method(), lazy_take_func(), lazy_take_size(), lazy_zip(), lazy_zip_arrays_func(), lazy_zip_func(), lep_svar_get(), lep_svar_place(), lep_svar_set(), lex_getline(), literal_concat0(), literal_concat_gen(), load_encoding(), load_file_internal(), make_errno_exc_str(), make_exception(), make_inspectname(), marshal_dump(), marshal_load(), match(), match_aref(), match_getter(), match_setter(), match_to_s(), month_arg(), mSyslog_open(), name_err_mesg_to_str(), name_err_to_s(), nucomp_s_convert(), num_exact(), num_to_asn1integer(), nurat_s_convert(), obj_to_asn1bool(), obj_to_asn1null(), oldbt_bugreport(), oldbt_print(), ole_search_event(), ole_search_event_at(), open_key_args(), ossl_asn1_get_asn1type(), ossl_asn1_initialize(), ossl_asn1_is_explicit(), ossl_asn1_tag(), ossl_asn1_tag_class(), ossl_bn_is_prime_fasttest(), ossl_bn_s_generate_prime(), ossl_buf2str(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_call_tmp_dh_callback(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_dh_initialize(), ossl_digest_finish(), ossl_digest_initialize(), ossl_dsa_export(), ossl_dsa_initialize(), ossl_make_error(), ossl_pkcs12_initialize(), ossl_pkcs12_s_create(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_pkey_new_from_data(), ossl_rsa_export(), ossl_rsa_initialize(), ossl_rsa_s_generate(), ossl_ssl_read_internal(), ossl_ssl_setup(), ossl_sslctx_flush_sessions(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_start_ssl(), ossl_verify_cb(), ossl_x509extfactory_create_ext(), ossl_x509extfactory_initialize(), ossl_x509name_add_entry(), ossl_x509name_init_i(), ossl_x509name_initialize(), ossl_x509name_to_s(), ossl_x509stctx_initialize(), pack_pack(), parse_ddd_cb(), parse_eu_cb(), parse_frag_cb(), parse_iso21_cb(), parse_iso23_cb(), parse_iso24_cb(), parse_iso25(), parse_iso26(), parse_main(), parse_time2_cb(), parse_time_cb(), parse_us_cb(), parser_here_document(), parser_nextc(), pending_exception_check0(), pipe_open(), port_str(), power_cache_get_power0(), prepare_getline_args(), prepare_iseq_build(), proc_curry(), proc_wait(), proc_wait2(), pst_inspect(), r_byte(), r_byte1_buffered(), r_bytes1(), r_bytes1_buffered(), r_le(), r_lt(), r_object0(), rand_random(), rand_range(), range_each(), range_include(), range_init(), range_step(), range_values(), rawmode_opt(), rb_alias(), rb_Array(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_compact_bang(), rb_ary_cycle(), rb_ary_fill(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_ary_initialize(), rb_ary_join(), rb_ary_join_m(), rb_ary_permutation(), rb_ary_product(), rb_ary_times(), rb_ary_to_ary(), rb_ary_zip(), rb_big_lshift(), rb_big_rshift(), rb_builtin_class_name(), rb_check_argv(), rb_check_backtrace(), rb_check_convert_type(), rb_check_id(), rb_class_path(), rb_class_path_no_cache(), rb_cmpint(), rb_compile_warn(), rb_const_set(), rb_convert_to_integer(), rb_deflate_init_copy(), rb_digest_instance_equal(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_econv_check_error(), rb_econv_init_by_convpath(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_econv_substr_append(), rb_enc_aliases_enc_i(), rb_enc_from_encoding_index(), rb_enc_get_index(), rb_enc_set_default_external(), rb_env_clear(), rb_exc_fatal(), rb_exc_raise(), rb_exec_async_signal_safe(), rb_exec_end_proc(), rb_exec_fillarg(), rb_exec_getargs(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_execarg_setenv(), rb_f_abort(), rb_f_autoload(), rb_f_autoload_p(), rb_f_backquote(), rb_f_eval(), rb_f_kill(), rb_f_open(), rb_f_raise(), rb_f_rand(), rb_f_require_relative(), rb_f_select(), rb_f_trace_var(), rb_f_untrace_var(), rb_feature_p(), rb_fiber_start(), rb_fiddle_handle_initialize(), rb_file_chmod(), rb_file_chown(), rb_file_expand_path_internal(), rb_file_initialize(), rb_file_join(), rb_file_lstat(), rb_file_path(), rb_file_s_basename(), rb_file_s_chown(), rb_file_s_utime(), rb_funcall_with_block(), rb_gets(), rb_gzfile_closed_p(), rb_gzfile_comment(), rb_gzfile_ecopts(), rb_gzfile_orig_name(), rb_gzreader_each(), rb_gzreader_each_byte(), rb_gzreader_each_char(), rb_gzreader_getbyte(), rb_gzreader_gets(), rb_gzreader_read(), rb_gzreader_readbyte(), rb_gzreader_readchar(), rb_gzreader_readline(), rb_gzreader_readlines(), rb_gzreader_readpartial(), rb_gzwriter_initialize(), rb_Hash(), rb_hash_fetch_m(), rb_hash_s_create(), rb_hash_set_default_proc(), rb_inflate_addstr(), rb_inflate_inflate(), rb_invcmp(), rb_io_advise(), rb_io_each_char(), rb_io_each_line(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_init_copy(), rb_io_initialize(), rb_io_inspect(), rb_io_open(), rb_io_print(), rb_io_readbyte(), rb_io_readchar(), rb_io_readline(), rb_io_readlines(), rb_io_reopen(), rb_io_s_binread(), rb_io_s_copy_stream(), rb_io_s_foreach(), rb_io_s_pipe(), rb_io_s_popen(), rb_io_s_read(), rb_io_s_readlines(), rb_io_s_sysopen(), rb_io_ungetbyte(), rb_io_ungetc(), rb_load_internal(), rb_locale_encindex(), rb_marshal_dump(), rb_method_call_with_block(), rb_method_entry_make(), rb_mod_cmp(), rb_mod_name(), rb_mod_nesting(), rb_mod_refine(), rb_mod_s_constants(), rb_mod_to_s(), rb_mutex_sleep(), rb_num2long(), rb_num2ulong(), rb_num_coerce_relop(), rb_obj_respond_to(), rb_proc_call_with_block(), rb_realpath_internal(), rb_reg_eqq(), rb_reg_initialize_m(), rb_reg_match_last(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_reg_s_last_match(), rb_reg_s_union(), rb_reg_s_union_m(), rb_reg_search(), rb_require_safe(), rb_resolve_refined_method(), rb_scan_args(), rb_scan_open_args(), rb_set_errinfo(), rb_stat(), rb_str_aref(), rb_str_chomp_bang(), rb_str_enumerate_lines(), rb_str_format(), rb_str_format_m(), rb_str_index_m(), rb_str_justify(), rb_str_match_m(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_scan(), rb_str_setter(), rb_str_slice_bang(), rb_str_split_m(), rb_str_strip_bang(), rb_str_sub_bang(), rb_str_upto(), rb_strftime_alloc(), rb_String(), rb_struct_s_def(), rb_struct_s_members(), rb_thread_local_aset(), rb_thread_status(), rb_time_num_new(), rb_tmp_class_path(), rb_to_encoding_index(), rb_to_float(), rb_to_id(), rb_undef(), rb_using_module(), rb_using_refinement(), rb_vm_jump_tag_but_local_jump(), rb_w32_conv_from_wstr(), rb_warn(), rb_warn_m(), rb_yield_splat(), rb_zstream_avail_in(), read_all(), read_num(), readline_attempted_completion_function(), readline_s_set_completion_proc(), realpath_rec(), recursive_check(), recursive_list_access(), reduce0(), reg_compile_gen(), reg_match_pos(), return_fiber(), rfc2822_cb(), rfc3339_cb(), rsock_bsock_send(), rt__valid_date_frags_p(), rt_complete_frags(), rt_rewrite_frags(), s3e(), scalar(), select_internal(), set_trace_func(), setup_exception(), setup_narg(), singleton_class_of(), slicebefore_i(), slicebefore_ii(), sock_initialize(), sock_s_getaddrinfo(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_getservbyname(), sock_s_getservbyport(), sockopt_s_linger(), specific_eval(), ssl_renegotiation_cb(), start_mapping(), start_sequence(), str_byte_aref(), str_gsub(), str_transcode(), str_transcode0(), str_transcode_enc_args(), strio_each(), strio_each_char(), strio_getline(), strio_read(), strio_readbyte(), strio_readchar(), strio_readline(), strio_readlines(), strio_seek(), strio_set_encoding(), strio_size(), strio_sysread(), strio_ungetbyte(), strio_ungetc(), strscan_inspect(), subx(), switch(), syserr_eqq(), syserr_initialize(), take_items(), tcl_protect_core(), thread_initialize(), thread_join_m(), thread_set_trace_func_m(), time_arg(), time_getlocaltime(), time_init_1(), time_localtime_m(), time_mload(), time_round(), time_timespec(), tr_find(), tr_setup_table(), tr_trans(), tracepoint_inspect(), transcode_io(), transcode_loop(), trap_handler(), uscore_get(), utc_offset_arg(), validate_labels(), validate_vtm(), vm_backtrace_to_ary(), vm_call_method(), vm_call_super(), vm_callee_setup_keyword_arg(), vm_caller_setup_args(), vm_cref_push(), vm_define_method(), vm_get_cvar_base(), vm_get_ev_const(), vm_search_super_method(), vm_yield_setup_block_args(), VpGetException(), VpGetPrecLimit(), VpGetRoundMode(), w_object(), warn_print(), wdivmod(), while(), window_addstr(), window_box(), xmlschema_datetime_cb(), xmlschema_time_cb(), xmlschema_trunc_cb(), zip_ary(), zip_i(), zstream_append_buffer(), zstream_append_input(), zstream_buffer_ungetbyte(), zstream_buffer_ungets(), zstream_detach_buffer(), zstream_detach_input(), zstream_discard_input(), zstream_expand_buffer(), zstream_expand_buffer_into(), zstream_passthrough_input(), zstream_run(), and zstream_sync().

static int pending_exception_check0 ( )
static
RARRAY_PTR ( q->  result) = ret

Referenced by append_extmod(), apply2files(), ary2sv(), ary_add_hash(), ary_ensure_room_for_push(), ary_ensure_room_for_unshift(), ary_join_0(), ary_join_1(), ary_make_partial(), ary_make_shared(), ary_make_substitution(), ary_reject(), ary_reject_bang(), ary_resize_capa(), BigDecimal_to_i(), BigDecimal_to_r(), bmcall(), callback(), check_exec_fds(), check_exec_fds_1(), check_exec_redirect1(), check_funcall_exec(), clear_coverage_i(), code_page(), coverage(), curry(), d_lite_marshal_load(), decorate_convpath(), dir_s_glob(), do_coerce(), enum_cycle(), enum_cycle_size(), enum_each_cons_size(), enum_each_slice_size(), enum_reverse_each(), enum_sort_by(), enum_zip(), enumerator_block_call(), env_each_key(), env_each_pair(), env_each_value(), env_reject_bang(), env_replace(), env_select(), env_select_bang(), error_print(), eval_string_with_cref(), fdbm_delete_if(), fgdbm_delete_if(), flatten(), fsdbm_delete_if(), function_call(), get_stack_tail(), if(), initialize(), initialize_params(), inspect_ary(), inspect_enumerator(), inspect_struct(), int_downto_size(), int_upto_size(), io_puts_ary(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_data_to_ary(), iseq_set_arguments(), iseq_set_exception_table(), lazy_drop_size(), lazy_flat_map_func(), lazy_flat_map_to_ary(), lazy_init_iterator(), lazy_take_size(), lazy_zip_arrays_func(), lazy_zip_func(), loaded_feature_path(), m_core_hash_merge_ary(), make_addrinfo(), method_missing(), nucomp_marshal_load(), num_step_size(), nurat_marshal_load(), open_key_args(), ossl_sslctx_setup(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), pack_pack(), pack_unpack(), parse_main(), parser_set_encode(), path_entries(), path_s_glob(), process_options(), process_sflag(), r_object0(), random_load(), range_step_size(), rb_apply(), rb_ary_assoc(), rb_ary_cat(), rb_ary_collect(), rb_ary_collect_bang(), rb_ary_combination(), rb_ary_combination_size(), rb_ary_compact_bang(), rb_ary_count(), rb_ary_cycle(), rb_ary_cycle_size(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_delete_same(), rb_ary_diff(), rb_ary_drop_while(), rb_ary_dup(), rb_ary_each(), rb_ary_elt(), rb_ary_fetch(), rb_ary_fill(), rb_ary_first(), rb_ary_includes(), rb_ary_index(), rb_ary_initialize(), rb_ary_join(), rb_ary_last(), rb_ary_modify(), rb_ary_new3(), rb_ary_new4(), rb_ary_permutation(), rb_ary_permutation_size(), rb_ary_plus(), rb_ary_pop(), rb_ary_product(), rb_ary_push(), rb_ary_rassoc(), rb_ary_repeated_combination(), rb_ary_repeated_combination_size(), rb_ary_repeated_permutation(), rb_ary_repeated_permutation_size(), rb_ary_replace(), rb_ary_resize(), rb_ary_resurrect(), rb_ary_reverse(), rb_ary_reverse_each(), rb_ary_reverse_m(), rb_ary_rindex(), rb_ary_rotate(), rb_ary_rotate_m(), rb_ary_s_create(), rb_ary_sample(), rb_ary_select(), rb_ary_select_bang(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_shuffle_bang(), rb_ary_slice_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_store(), rb_ary_take_while(), rb_ary_times(), rb_ary_unshift_m(), rb_check_argv(), rb_check_backtrace(), rb_construct_expanded_load_path(), rb_dlcfunc_call(), rb_env_clear(), rb_eval_cmd(), rb_execarg_fixup(), rb_execarg_run_options(), rb_feature_p(), rb_fiber_start(), rb_file_join(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_hash_s_create(), rb_io_s_popen(), rb_iseq_build_from_ary(), rb_obj_respond_to(), rb_proc_call(), rb_reg_preprocess_dregexp(), rb_str_format_m(), rb_str_split_m(), rb_struct_alloc(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_initialize(), rb_struct_new(), rb_struct_s_def(), rb_struct_set(), rb_threadptr_pending_interrupt_check_mask(), rb_threadptr_pending_interrupt_deque(), rb_threadptr_pending_interrupt_include_p(), rb_vm_bugreport(), rb_yield_splat(), readline_attempted_completion_function(), recursive_equal(), recursive_hash(), reduce0(), rt_complete_frags(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), run_finalizer(), select_internal(), setup_struct(), sock_s_getnameinfo(), sort_by_i(), start_document(), switch(), sym_to_proc(), thread_initialize(), thread_start_func_2(), update_coverage(), update_i(), vm_call0_body(), vm_caller_setup_args(), vm_expandarray(), vm_yield_setup_block_args(), w_object(), wmap_finalize(), yield_indexed_values(), yield_under(), zip_ary(), and zip_i().

return rb_ary_new3 ( ,
loop_max  ,
no_event   
)
rb_ary_push ( eventloop_stack  ,
parent_evloop   
)
return rb_ensure ( lib_eventloop_main_core  ,
(VALUE args,
lib_eventloop_ensure  ,
(VALUE args 
)
return rb_ensure ( lib_watchdog_core  ,
check_rootwidget  ,
lib_watchdog_ensure  ,
Qnil   
)
return rb_ensure ( _thread_call_proc_core  ,
(VALUE q,
_thread_call_proc_ensure  ,
(VALUE q 
)
rb_exc_raise ( exc  )
return rb_funcall ( q->  proc,
ID_call  ,
 
)
rb_hash_aset ( table  ,
ENCODING_NAME_BINARY  ,
encobj   
)
rb_hash_aset ( table  ,
encobj  ,
ENCODING_NAME_BINARY   
)
rb_ivar_set ( einfo  ,
ID_at_interp  ,
interp   
)
rb_ivar_set ( table  ,
ID_at_interp  ,
interp   
)
rb_ivar_set ( interp  ,
ID_encoding_table  ,
table   
)
rb_notimplement ( )
rb_raise ( rb_eNotImpError  ,
"eventloop_watchdog is not implemented on Ruby VM."   
)
rb_secure ( )
Initial value:
{
int t_wait = NUM2INT(wait)
VALUE wait
Definition: tcltklib.c:1758
#define NUM2INT(x)
rb_set_safe_level ( q->  safe_level)
rb_set_safe_level ( )
int rb_thread_check_trap_pending ( )

Definition at line 1105 of file thread.c.

Referenced by switch(), and trap_check().

rb_thread_schedule ( )

Definition at line 1143 of file thread.c.

rb_thread_wait_for ( t  )
rb_thread_wakeup ( param->  thread)
void rbtk_EventCheckProc ( ClientData  clientData,
int  flag 
)

Definition at line 2000 of file tcltklib.c.

References rb_thread_schedule().

void rbtk_EventSetupProc ( ClientData  clientData,
int  flag 
)

Definition at line 1991 of file tcltklib.c.

References tcl_time.

rbtk_preserve_ip ( ptr  )
rbtk_preserve_ip ( slave  )
rbtk_release_ip ( ptr  )

Referenced by if().

return ( ptr->  ref_count)
return ( char *  )

Definition at line 4212 of file tcltklib.c.

return ( (q->func)(q->interp, q->argc, q->argv )
return ( INT2FIX(ptr->return_value )
return ( strval  )
return set_eventloop_tick ( self  ,
tick   
)

Referenced by Init_tcltklib().

return set_eventloop_weight ( self  ,
loop_max  ,
no_event   
)

Referenced by Init_tcltklib().

return set_no_event_wait ( self  ,
wait   
)

Referenced by Init_tcltklib().

static void set_tcltk_version ( )
static

Definition at line 116 of file tcltklib.c.

References tcltk_version.

StringValue ( msg  )
StringValue ( name  )
StringValue ( str  )
StringValue ( varname  )
StringValue ( value  )
StringValue ( list_str  )
switch ( TYPE(time )
switch ( argc  )
switch ( (enum options index)
switch ( cnt  )

Definition at line 6234 of file tcltklib.c.

References tcltkip::ip, NIL_P(), Qfalse, StringValuePtr, and Tcl_Eval.

switch ( status  )
switch ( tcltk_version.  type)
Tcl_AllowExceptions ( interp  )
Tcl_AppendResult ( interp  ,
RSTRING_PTR(msg ,
(char *)  NULL 
)

Referenced by if(), switch(), and tcl_protect_core().

Tcl_CallWhenDeleted ( ptr->  ip,
ip_CallWhenDeleted  ,
(ClientData)  mainWin 
)
Tcl_CallWhenDeleted ( slave->  ip,
ip_CallWhenDeleted  ,
(ClientData)  mainWin 
)
Tcl_CreateCommand ( interp  ,
"vwait"  ,
ip_rbVwaitCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)

Referenced by if().

Tcl_CreateCommand ( interp  ,
"tkwait"  ,
ip_rbTkWaitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"thread_vwait"  ,
ip_rb_threadVwaitCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"thread_tkwait"  ,
ip_rb_threadTkWaitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"update"  ,
ip_rbUpdateCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( interp  ,
"thread_update"  ,
ip_rb_threadUpdateCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( slave  ,
"exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby"  ,
ip_ruby_eval  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby_eval"  ,
ip_ruby_eval  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby_cmd"  ,
ip_ruby_cmd  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"interp_exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"ruby_exit"  ,
ip_RubyExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"exit"  ,
ip_RubyExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"__replace_slave_tk_commands__"  ,
ip_rb_replaceSlaveTkCmdsCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( slave->  ip,
"exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( slave->  ip,
"__replace_slave_tk_commands__"  ,
ip_rb_replaceSlaveTkCmdsCommand  ,
(ClientData)  NULL,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateCommand ( ptr->  ip,
"exit"  ,
ip_InterpExitCommand  ,
(ClientData)  mainWin,
(Tcl_CmdDeleteProc *)  NULL 
)
Tcl_CreateEventSource ( rbtk_EventSetupProc  ,
rbtk_EventCheckProc  ,
(ClientData)  args 
)
Tcl_DecrRefCount ( enc_list  )
Tcl_DeleteEventSource ( rbtk_EventSetupProc  ,
rbtk_EventCheckProc  ,
(ClientData)  args 
)
Tcl_DeleteTimerHandler ( timer_token  )

Referenced by while().

Tcl_DoWhenIdle ( rb_threadUpdateProc  ,
(ClientData)  param 
)
Tcl_Eval ( ptr->  ip,
"set argc 0; set argv {}; set argv0 tcltklib.so"   
)
&& Tcl_GetCommandInfo ( ip  ,
"after"  ,
info 
)

Definition at line 5804 of file tcltklib.c.

References DUMP1, Qfalse, Qnil, rb_debug_bup, rb_verbose_bup, ruby_debug, ruby_verbose, and Tcl_GlobalEval.

Referenced by if().

Tcl_GetEncodingNames ( ptr->  ip)
Tcl_IncrRefCount ( enc_list  )
Tcl_Preserve ( interp  )

Referenced by if().

Tcl_Preserve ( tkwin  )
Tcl_Preserve ( (ClientData)  param)
Tcl_Preserve ( ip  )
static int tcl_protect_core ( Tcl_Interp *  interp,
VALUE (*)()  proc,
VALUE  data 
)
static
Tcl_QueueEvent ( (Tcl_Event *)  callq,
TCL_QUEUE_HEAD   
)
Tcl_QueueEvent ( (Tcl_Event *)  evq,
position   
)
Tcl_Release ( interp  )

Referenced by if(), and switch().

Tcl_Release ( tkwin  )
Tcl_Release ( (ClientData)  param)
Tcl_Release ( ip  )
Tcl_ResetResult ( interp  )

Referenced by if(), switch(), and tcl_protect_core().

Tcl_ResetResult ( ptr->  ip)
Tcl_ResetResult ( inf->ptr->  ip)
tcl_stubs_check ( )
static
Initial value:
{
volatile VALUE str = src
static VALUE char * str
Definition: tcltklib.c:3546
VALUE src
Definition: tcltklib.c:7952
unsigned long VALUE
Definition: ripper.y:104

Definition at line 1279 of file tcltklib.c.

References FAIL_CreateInterp, FAIL_Tcl_InitStubs, NO_CreateInterp, NO_DeleteInterp, NO_FindExecutable, NO_TCL_DLL, rb_eLoadError, rb_eRuntimeError, rb_raise(), ruby_tcl_stubs_init(), st, tcl_stubs_init_p(), and TCLTK_STUBS_OK.

Referenced by Init_tcltklib().

static VALUE tcltklib_compile_info ( )
static
return tk_funcall ( ip_create_slave_core  ,
,
callargv  ,
self   
)
return tk_funcall ( ip_create_console_core  ,
,
(VALUE *)  NULL,
self   
)
return tk_funcall ( ip_make_safe_core  ,
,
(VALUE *)  NULL,
self   
)
return tk_funcall ( lib_restart_core  ,
,
(VALUE *)  NULL,
self   
)
return tk_funcall ( ip_make_menu_embeddable_core  ,
,
argv  ,
interp   
)
static int trap_check ( int check_var)
static
va_end ( args  )
va_init_list ( args  ,
fmt   
)
while ( !param->  done)

Definition at line 4141 of file tcltklib.c.

References DUMP1, NIL_P(), rb_thread_wait_for(), and t.

xfree ( ptr  )
xfree ( q->  done)
xfree ( q  )
xfree ( buf  )

Variable Documentation

int all_bs

Definition at line 8337 of file tcltklib.c.

while alloc_done = RbTk_ALLOC_N(int, 1)

Definition at line 7108 of file tcltklib.c.

ptr allow_ruby_exit = 1

Definition at line 6169 of file tcltklib.c.

VALUE VALUE arg = argv[1]

Definition at line 2848 of file tcltklib.c.

static VALUE int argc
Initial value:
{
return rb_funcall(th, ID_value, 0)
static VALUE VALUE th
Definition: tcltklib.c:2947
static ID ID_value
Definition: tcltklib.c:232
VALUE rb_funcall(VALUE, ID, int,...)
Calls a method.
Definition: vm_eval.c:773

Definition at line 1969 of file tcltklib.c.

Referenced by argf_getpartial(), ary_ensure_room_for_unshift(), call_cfunc_m1(), callback(), check_funcall_missing(), compat_init_setproctitle(), core_hash_merge(), dir_globs(), enum_zip(), enumerator_initialize(), env_values_at(), exit_initialize(), fdbm_values_at(), fgdbm_values_at(), fiber_switch(), flock_winnt(), fsdbm_values_at(), function_call(), gzfile_wrap(), if(), initialize(), invoke_block_from_c(), iseq_build_from_ary_body(), iseq_compile_each(), lazy_to_enum(), lazy_zip(), main(), moreswitches(), new_callinfo(), new_insn_body(), new_insn_core(), obj_to_enum(), open_key_args(), pipe_open(), pipe_open_s(), proc_options(), rb_add_method_cfunc(), rb_apply(), rb_ary_zip(), rb_block_call(), rb_check_argv(), rb_check_block_call(), rb_check_funcall_with_hook(), rb_cont_call(), rb_exec_fillarg(), rb_f_kill(), rb_f_p(), rb_f_p_internal(), rb_fiber_start(), rb_get_values_at(), rb_hash_s_create(), rb_hash_values_at(), rb_io_print(), rb_io_puts(), rb_io_s_foreach(), rb_io_s_popen(), rb_iseq_disasm(), rb_marshal_dump(), rb_mod_attr_accessor(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_include(), rb_mod_modfunc(), rb_mod_prepend(), rb_mod_remove_method(), rb_mod_undef_method(), rb_obj_extend(), rb_proc_exec_n(), rb_reg_s_union(), rb_scan_args(), rb_spawn_process(), rb_str_count(), rb_str_delete_bang(), rb_str_encode(), rb_str_end_with(), rb_str_format(), rb_str_slice_bang(), rb_str_squeeze_bang(), rb_str_start_with(), rb_struct_s_def(), rb_w32_asynchronize(), ruby_set_argv(), ruby_sysinit(), set_const_visibility(), set_method_visibility(), setup_args(), setup_method_cfunc_struct(), stub_sysinit(), tracepoint_new_s(), vm_call0(), vm_call0_cfunc_with_frame(), vm_call_cfunc_with_frame(), vm_callee_setup_arg_complex(), vm_callee_setup_keyword_arg(), vm_yield_setup_args(), and vm_yield_setup_block_args().

VALUE args
Initial value:
{
return lib_eventloop_main_core(args)
VALUE VALUE args
Definition: tcltklib.c:2560

Definition at line 2560 of file tcltklib.c.

Referenced by ary2sv(), ary_join_1(), assoc_i(), autoload_const_set(), basic_obj_respond_to(), bind_eval(), bmcall(), check_exec_options_i_extract(), check_funcall_respond_to(), chown_internal(), console_dev(), copy_stream_body(), date_strftime_with_tmx(), deflate_run(), dvar_defined_gen(), enc_names(), enum_zip(), enumerator_each(), ev_on_event(), EVENTSINK_Invoke(), gc_mark_children(), generator_each(), GetVpValueWithPrec(), glob_func_caller(), inflate_run(), initialize(), int_ossl_asn1_decode0_cons(), int_ossl_asn1_decode0_prim(), interrupt_init(), iseq_compile_each(), iseq_data_to_ary(), iseq_load(), iseq_set_arguments(), key_i(), lazy_drop_func(), lazy_init_iterator(), lazy_take_func(), local_id_gen(), make_curry_proc(), make_no_method_exception(), mark(), name_err_mesg_to_str(), new_args_gen(), new_args_tail_gen(), next_ii(), nometh_err_initialize(), obj_respond_to(), objspace_each_objects(), ole_raise(), onig_syntax_warn(), open_key_args(), ossl_debug(), ossl_exc_new(), ossl_raise(), ossl_tmp_dh_callback(), ossl_x509name_initialize(), parse(), path_binread(), path_each_entry(), path_each_line(), path_open(), path_opendir(), path_read(), path_readlines(), path_s_glob(), path_sysopen(), pipe_open(), process_sflag(), protected_alias(), protected_end_document(), protected_scalar(), protected_start_document(), protected_start_mapping(), protected_start_sequence(), protected_start_stream(), range_each(), range_init(), range_step(), rassoc_i(), rb_autoload_load(), rb_bug(), rb_compile_bug(), rb_compile_error(), rb_compile_error_append(), rb_compile_error_with_enc(), rb_compile_warn(), rb_compile_warning(), rb_deflate_s_deflate(), rb_enc_raise(), rb_execarg_extract_options(), rb_exit(), rb_f_abort(), rb_fatal(), rb_fiber_start(), rb_glob_caller(), rb_hash_assoc(), rb_hash_key(), rb_hash_rassoc(), rb_inflate_s_inflate(), rb_io_s_pipe(), rb_iseq_parameters(), rb_loaderror(), rb_loaderror_with_path(), rb_name_error(), rb_name_error_str(), rb_obj_respond_to(), rb_proc_exec_n(), rb_raise(), rb_reg_s_union(), rb_rescue2(), rb_str_upto(), rb_strftime_with_timespec(), rb_struct_new(), rb_sys_warning(), rb_warn(), rb_warning(), rb_yield_values(), run_finalizer(), run_single_final(), switch(), take_items(), thread_create_core(), thread_start_func_2(), warn_printf(), zip_ary(), zip_i(), zstream_run_func(), and zstream_unblock_func().

VALUE * argv = cmd_str
VALUE argv0
Initial value:
{
struct tcltkip *ptr
return ptr
Definition: tcltklib.c:784

Definition at line 6145 of file tcltklib.c.

VALUE ary
Initial value:
{
Tcl_Interp *interp
static int Tcl_Interp * interp
Definition: tcltklib.c:277

Definition at line 9712 of file tcltklib.c.

Referenced by argf_readlines(), ary_alloc(), ary_make_shared(), ary_new(), ary_reject_bang(), check_exec_fds(), check_exec_redirect1(), class_instance_method_list(), collect_values(), compile_array_(), cvar_list(), dir_globs(), dir_s_glob(), divmodv(), do_coerce(), each_cons_i(), each_slice_i(), econv_primitive_errinfo(), enc_list(), enum_collect(), enum_cycle(), enum_each_slice(), enum_find_all(), enum_flat_map(), enum_grep(), enum_minmax(), enum_reject(), enum_reverse_each(), enum_sort_by(), enum_take_while(), enum_to_a(), enum_zip(), env_each_pair(), env_keys(), env_to_a(), env_values(), EVENTSINK_Invoke(), fdbm_delete_if(), fdbm_keys(), fdbm_to_a(), fdbm_values(), fgdbm_delete_if(), fgdbm_keys(), fgdbm_to_a(), fgdbm_values(), fsdbm_delete_if(), fsdbm_keys(), fsdbm_to_a(), fsdbm_values(), gvar_i(), Init_ossl_asn1(), Init_ossl_ssl(), insn_operand_intern(), int_ossl_asn1_decode0_cons(), iseq_data_to_ary(), ivar_i(), lazy_flat_map_to_ary(), lazy_zip(), lazy_zip_arrays_func(), lazy_zip_func(), lep_svar_get(), lep_svar_set(), make_addrinfo(), make_hostent_internal(), match_array(), mString_Extend_json_create(), mString_to_json_raw_object(), nsdr(), ossl_asn1_decode_all(), ossl_asn1cons_to_der(), ossl_call_client_cert_cb(), ossl_generate_cb(), ossl_get_errors(), ossl_pkcs7_get_recipient(), ossl_pkcs7_get_signer(), ossl_pkcs7_set_certificates(), ossl_pkcs7_set_crls(), ossl_ssl_cipher_to_ary(), ossl_ssl_get_peer_cert_chain(), ossl_sslctx_get_ciphers(), ossl_sslctx_session_get_cb(), ossl_sslctx_session_new_cb(), ossl_sslctx_session_remove_cb(), ossl_x509_get_extensions(), ossl_x509_set_extensions(), ossl_x509crl_get_extensions(), ossl_x509crl_get_revoked(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509name_to_a(), ossl_x509req_get_attributes(), ossl_x509req_set_attributes(), ossl_x509revoked_get_extensions(), ossl_x509revoked_set_extensions(), ossl_x509stctx_get_chain(), pack_unpack(), partition_i(), path_entries(), path_s_glob(), path_split(), push_glob(), random_load(), range_first(), rb_ary_cat(), rb_ary_clear(), rb_ary_collect_bang(), rb_ary_combination(), rb_ary_compact(), rb_ary_compact_bang(), rb_ary_delete_if(), rb_ary_each(), rb_ary_each_index(), rb_ary_fill(), rb_ary_flatten_bang(), rb_ary_initialize(), rb_ary_insert(), rb_ary_keep_if(), rb_ary_new3(), rb_ary_new4(), rb_ary_permutation(), rb_ary_product(), rb_ary_push(), rb_ary_repeated_combination(), rb_ary_repeated_permutation(), rb_ary_resize(), rb_ary_reverse(), rb_ary_reverse_each(), rb_ary_rotate(), rb_ary_rotate_bang(), rb_ary_s_create(), rb_ary_select_bang(), rb_ary_shuffle(), rb_ary_shuffle_bang(), rb_ary_sort(), rb_ary_sort_bang(), rb_ary_sort_by_bang(), rb_ary_to_a(), rb_ary_to_ary_m(), rb_ary_uniq_bang(), rb_ary_unshift_m(), rb_const_list(), rb_construct_expanded_load_path(), rb_enc_aliases_enc_i(), rb_enc_name_list(), rb_enc_name_list_i(), rb_execarg_addopt(), rb_execarg_fixup(), rb_f_global_variables(), rb_f_local_variables(), rb_f_untrace_var(), rb_gc_register_mark_object(), rb_hash_flatten(), rb_hash_keys(), rb_hash_to_a(), rb_hash_values(), rb_insns_name_array(), rb_io_readlines(), rb_mod_ancestors(), rb_mod_included_modules(), rb_mod_nesting(), rb_obj_instance_variables(), rb_obj_singleton_methods(), rb_push_glob(), rb_reg_names(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_freeze(), rb_str_scan(), rb_struct_define(), rb_sym_all_symbols(), rb_thread_keys(), rb_thread_list(), rb_thread_variables(), readline_attempted_completion_function(), recursive_join(), reg_named_captures_iter(), reg_names_iter(), rsock_ipaddr(), save_env(), sock_s_gethostbyaddr(), sort_by_cmp(), sort_by_i(), strio_readlines(), switch(), thgroup_list(), thgroup_list_i(), thread_list_i(), time_timespec(), vm_caller_setup_args(), vm_yield_setup_block_args(), vm_yield_setup_block_args_complex(), wdivmod(), and wmap_final_func().

int at_exit = 0
static

Definition at line 185 of file tcltklib.c.

Referenced by ruby_vm_at_exit().

char ** av = RbTk_ALLOC_N(char *, (argc+1))
buf[len+1] = ALLOC_N(char, len + 2)

Definition at line 3570 of file tcltklib.c.

callargv[1] = name

Definition at line 6513 of file tcltklib.c.

callq = RbTk_ALLOC_N(struct call_queue, 1)

Definition at line 6985 of file tcltklib.c.

int chance = 0

Definition at line 2795 of file tcltklib.c.

Definition at line 2796 of file tcltklib.c.

args check_root = check_root
static

Definition at line 2186 of file tcltklib.c.

static VALUE VALUE check_rootwidget
static

Definition at line 2781 of file tcltklib.c.

check_rootwidget_flag = 0
static

Definition at line 538 of file tcltklib.c.

args check_var = check_var

Definition at line 2188 of file tcltklib.c.

static int ClientData clientData
static
Initial value:
{
at_exit = 1
static int at_exit
Definition: tcltklib.c:185

Definition at line 1611 of file tcltklib.c.

char * cmd
int cmd_len

Definition at line 7321 of file tcltklib.c.

char * cmd_str = rb_str_new2("thread_vwait")

Definition at line 5519 of file tcltklib.c.

inf cmdinfo = info

Definition at line 8677 of file tcltklib.c.

cnt = rb_scan_args(argc, argv, "02", &argv0, &opts)
VALUE cRubyEncoding
static

Definition at line 188 of file tcltklib.c.

volatile VALUE current = rb_thread_current()

Definition at line 7111 of file tcltklib.c.

Referenced by rb_str_upto().

volatile VALUE current_evloop = rb_thread_current()

Definition at line 2618 of file tcltklib.c.

current_interp = ptr->ip

Definition at line 480 of file tcltklib.c.

volatile VALUE current_thread = rb_thread_current()

Definition at line 4049 of file tcltklib.c.

VALUE data

Definition at line 3367 of file tcltklib.c.

Referenced by accept_blocking(), add_code_range_to_buf0(), alloc_event_hook(), asciicompat_encoding_i(), bm_free(), bm_mark(), cdhash_set_label_i(), chfunc(), cleanup_iseq_build(), collect_caller_bindings_cfunc(), collect_caller_bindings_iseq(), connect_blocking(), constat_handle(), constat_reset(), cvar_list(), define_final0(), dlcfunc_free(), dlcfunc_mark(), dlcfunc_memsize(), dlptr_free(), dlptr_mark(), dlptr_memsize(), enc_check_encoding(), enum_sort_by(), eql_i(), ev_on_event(), fiddle_ptr_free(), fiddle_ptr_mark(), fiddle_ptr_memsize(), generic_ivar_defined(), generic_ivar_remove(), generic_ivar_set(), Instance_DidCreate(), Instance_DidDestroy(), int_sip_update(), is_onechar_cclass(), iseq_compile_each(), iseq_s_load(), line_trace_specify(), load_lock(), MD5_Finish(), md5_process(), MD5_Update(), method_arity(), method_clone(), method_get_def(), method_inspect(), method_min_max_arity(), method_name(), method_owner(), method_receiver(), method_unbind(), mnew(), mod_cvar_at(), mod_cvar_of(), not_code_range_buf(), obj_alloc_by_klass(), obj_ivar_each(), obj_ivar_i(), ole_vstr2wc(), onig_is_in_code_range(), opt_W_getter(), ossl_cipher_update(), ossl_digest_initialize(), ossl_pkcs7_add_data(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_read_smime(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_pkey_new_from_data(), ossl_spki_to_pem(), ossl_ssl_session_initialize(), ossl_x509ext_set_value(), pruby_register_instance(), push_mark_stack(), r_leave(), r_object0(), rb_catch_obj(), rb_const_get_0(), rb_const_list(), rb_copy_generic_ivar(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_debug_inspector_open(), rb_dlcfunc2ptr(), rb_dlcfunc_initialize(), rb_dlcfunc_new(), rb_dlcfunc_s_allocate(), rb_dlptr2cptr(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_free_set(), rb_dlptr_initialize(), rb_dlptr_inspect(), rb_dlptr_new2(), rb_dlptr_null_p(), rb_dlptr_ptr(), rb_dlptr_ref(), rb_dlptr_s_allocate(), rb_dlptr_to_i(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_dlptr_to_value(), rb_f_untrace_var(), rb_feature_p(), rb_fiddle_ptr2cptr(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_free_set(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_inspect(), rb_fiddle_ptr_new2(), rb_fiddle_ptr_null_p(), rb_fiddle_ptr_ptr(), rb_fiddle_ptr_ref(), rb_fiddle_ptr_s_allocate(), rb_fiddle_ptr_to_i(), rb_fiddle_ptr_to_s(), rb_fiddle_ptr_to_str(), rb_fiddle_ptr_to_value(), rb_gc_copy_finalizer(), rb_global_entry(), rb_hash_has_value(), rb_hash_search_value(), rb_id2str(), rb_intern3(), rb_iseq_line_trace_each(), rb_ivar_count(), rb_method_call_with_block(), rb_method_entry_make(), rb_mod_const_at(), rb_mod_const_of(), rb_mod_s_constants(), rb_objspace_each_objects(), rb_objspace_reachable_objects_from(), rb_set_end_proc(), rb_thread_flock(), rb_undefine_final(), rb_waitpid_blocking(), reachable_object_from_i(), recursive_eql(), recvfrom_blocking(), remove_method(), rsock_send_blocking(), rsock_sendto_blocking(), socklist_delete(), socklist_lookup(), sockopt_bool(), sockopt_int(), sockopt_linger(), sort_1(), sort_2(), sort_by_i(), st_hash(), syserr_initialize(), sysopen_func(), thgroup_add(), thgroup_enclose(), thgroup_enclosed_p(), thgroup_s_alloc(), time_mload(), total_i(), tracepoint_new(), umethod_bind(), val2dispatch(), val_getter(), val_marker(), var_getter(), verbose_setter(), vm_get_ev_const(), wmap_aref(), wmap_aset(), wmap_finalize(), yaml_emitter_anchor_node(), yaml_emitter_dump_mapping(), yaml_emitter_dump_sequence(), yaml_emitter_set_output(), yaml_file_read_handler(), yaml_file_write_handler(), yaml_parser_register_anchor(), yaml_parser_set_input(), yaml_string_read_handler(), and yaml_string_write_handler().

VALUE divmod
Initial value:
{
struct Tcl_Time tcl_time
Tcl_SetMaxBlockTime & tcl_time
Definition: tcltklib.c:1893

Definition at line 1866 of file tcltklib.c.

do
Initial value:
{
DUMP2("eventloop thread %lx is sleeping or dead",
evloop = rb_thread_create(watchdog_evloop_launcher,
(void*)&check_rootwidget);
DUMP2("create new eventloop thread %lx", evloop);
chance = 0;
rb_thread_run(evloop);
} else {
++chance;
} else {
chance = 0;
}
} else {
}
}
} while(!check || !tk_stubs_init_p() || Tk_GetNumMainWindows() != 0)
int chance
Definition: tcltklib.c:2795
static VALUE VALUE check_rootwidget
Definition: tcltklib.c:2781
VALUE rb_funcall(VALUE, ID, int,...)
Calls a method.
Definition: vm_eval.c:773
static VALUE eventloop_thread
Definition: tcltklib.c:470
int prev_val
Definition: tcltklib.c:2794
#define RTEST(v)
int check
Definition: tcltklib.c:2796
VALUE rb_thread_run(VALUE)
Definition: thread.c:2269
#define DUMP2(ARG1, ARG2)
Definition: tcltklib.c:167
struct timeval t0 t1
Definition: tcltklib.c:2797
void rb_thread_wait_for(struct timeval)
Definition: thread.c:1071
static ID ID_stop_p
Definition: tcltklib.c:228
static int event_loop_wait_event
Definition: tcltklib.c:534
VALUE rb_thread_create(VALUE(*)(ANYARGS), void *)
Definition: thread.c:727
int tk_stubs_init_p()
Definition: stubs.c:498
static int loop_counter
Definition: tcltklib.c:536
#define EVLOOP_WAKEUP_CHANCE
Definition: tcltklib.c:2787

Definition at line 2815 of file tcltklib.c.

ivq done = 1
* donePtr = 1

Definition at line 4211 of file tcltklib.c.

volatile VALUE dst = result
Tcl_DString dstr
Initial value:
{
char *buf
unsigned char buf[MIME_BUF_SIZE]
Definition: nkf.c:4308

Definition at line 3096 of file tcltklib.c.

int dummy

Definition at line 4482 of file tcltklib.c.

Referenced by BigDecimal_dump(), readdir_internal(), sort_1(), and sort_2().

Definition at line 847 of file tcltklib.c.

Referenced by error_print(), make_regexp(), and rb_reg_prepare_re().

volatile VALUE elem

Definition at line 9712 of file tcltklib.c.

Referenced by ADD_ELEM(), APPEND_ELEM(), ole_invoke2(), ossl_sslctx_set_ciphers(), and POP_ELEMENT().

VALUE eLocalJumpError
static

Definition at line 213 of file tcltklib.c.

else
Initial value:
{
Tcl_Preserve((ClientData)ptr->ip)
return ptr
Definition: tcltklib.c:784
Tcl_Preserve(interp)

Definition at line 811 of file tcltklib.c.

VALUE enc

Definition at line 10310 of file tcltklib.c.

Referenced by and_cclass(), check_dirname(), check_path_encoding(), chopped_length(), compile_length_string_node(), compile_string_node(), dir_initialize(), econv_get_replacement(), econv_set_replacement(), enc_arg(), enc_compatible_p(), enc_find(), fetch_escaped_value(), fetch_name(), fetch_name_with_level(), fetch_range_quantifier(), fetch_token_in_cc(), file_s_fnmatch(), find_encoding(), fnmatch_brace(), gzreader_gets(), Init_id(), int_chr(), intern_str(), io_encoding_set(), lex_get_str(), load_file_internal(), make_dummy_encoding(), make_encoding(), make_writeconv(), must_be_ascii_compatible(), nkf_default_encoding(), nkf_locale_encoding(), ole_vstr2wc(), onigenc_set_default_encoding(), options(), or_cclass(), parser_here_document(), parser_parse_string(), parser_set_encode(), parser_tokadd_string(), parser_yylex(), path_check_0(), process_options(), push_glob(), rb_define_dummy_encoding(), rb_econv_open_opts(), rb_enc_aliases_enc_i(), rb_enc_check(), rb_enc_find_index(), rb_enc_from_encoding_index(), rb_enc_str_asciionly_p(), rb_enc_str_coderange(), rb_encdb_dummy(), rb_file_dirname(), rb_file_expand_path_internal(), rb_file_join(), rb_file_s_basename(), rb_glob2(), rb_home_dir(), rb_io_each_char(), rb_io_each_codepoint(), rb_io_extract_modeenc(), rb_io_getc(), rb_io_getline_1(), rb_mod_const_get(), rb_must_asciicompat(), rb_path_to_class(), rb_realpath_internal(), rb_reg_adjust_startpos(), rb_reg_check_preprocess(), rb_reg_desc(), rb_reg_initialize_m(), rb_reg_initialize_str(), rb_reg_prepare_enc(), rb_reg_prepare_re(), rb_reg_preprocess(), rb_reg_quote(), rb_reg_s_union(), rb_reg_to_s(), rb_str_append(), rb_str_buf_cat_ascii(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_concat(), rb_str_count(), rb_str_delete_bang(), rb_str_downcase_bang(), rb_str_dump(), rb_str_each_char_size(), rb_str_ellipsize(), rb_str_encode_ospath(), rb_str_end_with(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_format(), rb_str_index(), rb_str_inspect(), rb_str_justify(), rb_str_lstrip_bang(), rb_str_plus(), rb_str_quote_unprintable(), rb_str_reverse(), rb_str_rindex(), rb_str_rindex_m(), rb_str_rstrip_bang(), rb_str_shared_replace(), rb_str_splice(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_sub_bang(), rb_str_subpat_set(), rb_str_subpos(), rb_str_succ(), rb_str_swapcase_bang(), rb_str_symname_p(), rb_str_upcase_bang(), rb_str_upto(), read_all(), readline_attempted_completion_function(), realpath_rec(), reg_named_capture_assign_iter(), ruby__sfvextra(), ruby_brace_expand(), scan_once(), set_base_encoding(), single_byte_optimizable(), str_end_with_asciichar(), strio_each_codepoint(), strio_getc(), strio_set_encoding(), strio_substr(), strio_ungetc(), strio_write(), swallow(), sym_inspect(), time_strftime(), tr_trans(), transcode_search_path(), unescape_escaped_nonascii(), unescape_nonascii(), update_char_offset(), and w_encoding().

VALUE enc_arg
Tcl_Obj * enc_list = Tcl_GetObjResult(ptr->ip)

Definition at line 10153 of file tcltklib.c.

Referenced by Init_Encoding().

VALUE enc_name

Definition at line 8444 of file tcltklib.c.

Referenced by code_page(), enc_dump(), Init_Encoding(), ole_cp2encoding(), and proc_options().

volatile VALUE encname = Qnil

Definition at line 10154 of file tcltklib.c.

Referenced by nkf_locale_encoding(), parse_mode_enc(), and rb_econv_set_replacement().

volatile VALUE encobj = Qnil

Definition at line 10155 of file tcltklib.c.

Referenced by readline_attempted_completion_function().

VALUE encodename

Definition at line 7953 of file tcltklib.c.

int ENCODING_INDEX_BINARY
static

Definition at line 192 of file tcltklib.c.

int ENCODING_INDEX_UTF8
static

Definition at line 191 of file tcltklib.c.

VALUE ENCODING_NAME_BINARY
static

Definition at line 195 of file tcltklib.c.

VALUE ENCODING_NAME_UTF8
static

Definition at line 194 of file tcltklib.c.

char* endptr

Definition at line 3781 of file tcltklib.c.

VALUE error_mode

Definition at line 10096 of file tcltklib.c.

VALUE eTkCallbackBreak
static

Definition at line 210 of file tcltklib.c.

Referenced by tcl_protect_core().

VALUE eTkCallbackContinue
static

Definition at line 211 of file tcltklib.c.

Referenced by tcl_protect_core().

VALUE eTkCallbackRedo
static

Definition at line 217 of file tcltklib.c.

VALUE eTkCallbackRetry
static

Definition at line 216 of file tcltklib.c.

VALUE eTkCallbackReturn
static

Definition at line 209 of file tcltklib.c.

Referenced by tcl_protect_core().

VALUE eTkCallbackThrow
static

Definition at line 218 of file tcltklib.c.

VALUE eTkLocalJumpError
static

Definition at line 215 of file tcltklib.c.

eval_str[RSTRING_LEN(str)]
Initial value:
{
struct eval_queue *evq
VALUE evq
Definition: tcltklib.c:7481

Definition at line 7603 of file tcltklib.c.

int event_flag

Definition at line 2193 of file tcltklib.c.

int event_loop_abort_on_exc = 1
static

Definition at line 535 of file tcltklib.c.

event_loop_max = DEFAULT_EVENT_LOOP_MAX
static

Definition at line 527 of file tcltklib.c.

Referenced by for().

int event_loop_wait_event = 0
static

Definition at line 534 of file tcltklib.c.

eventloop_interp = ptr->ip
static

Definition at line 471 of file tcltklib.c.

VALUE eventloop_stack
static

Definition at line 475 of file tcltklib.c.

eventloop_thread = rb_thread_current()
static

Definition at line 470 of file tcltklib.c.

XEvent * eventPtr

Definition at line 4450 of file tcltklib.c.

int Tcl_Event * evPtr
static

Definition at line 6998 of file tcltklib.c.

evq = RbTk_ALLOC_N(struct eval_queue, 1)

Definition at line 7481 of file tcltklib.c.

exc = tcltkip_init_tk(interp)
const char finalize_hook_name[] = "INTERP_FINALIZE_HOOK"
static

Definition at line 181 of file tcltklib.c.

VALUE VALUE flag_val
static

Definition at line 2042 of file tcltklib.c.

int* flagPtr
Initial value:
{
int num, len
size_t len
Definition: tcltklib.c:3567

Definition at line 9864 of file tcltklib.c.

int flags
Initial value:
{
volatile VALUE vflags
unsigned long VALUE
Definition: ripper.y:104

Definition at line 3022 of file tcltklib.c.

Referenced by addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_s_getaddrinfo(), BSD_vfprintf(), check_class(), check_exec_redirect(), cloexec_accept(), date_strftime_with_tmx(), dir_s_glob(), dln_load(), econv_primitive_convert(), fd_set_cloexec(), fdbm_initialize(), fgdbm_initialize(), file_s_fnmatch(), find_coclass(), find_default_source_from_typeinfo(), get_device_once(), gzfile_make_header(), gzfile_read_header(), insn_operand_intern(), iseq_compile_each(), make_fd_nonblock(), memsize_of(), obj_free(), ole_method_event(), ole_type_impl_ole_types(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_x509stctx_set_flags(), ossl_x509store_set_flags(), overlapped_socket_io(), parser_tokadd_escape(), path_fnmatch(), proc_wait(), range_initialize(), rb_big_realloc(), rb_check_copyable(), rb_check_inheritable(), rb_class_real(), rb_file_expand_path_internal(), rb_getnameinfo(), rb_hash_dup(), rb_maygvl_fd_fix_cloexec(), rb_method_entry_get_without_cache(), rb_obj_copy_ivar(), rb_reg_desc(), rb_reg_initialize_m(), rb_reg_options(), rb_reg_prepare_enc(), rb_search_method_entry(), rb_singleton_class_clone_and_attach(), rb_str_format(), rb_str_new_frozen(), rb_str_shared_replace(), rb_strftime_with_timespec(), rb_transcoding_open_by_transcoder(), rb_w32_getsockname(), rb_waitpid(), recvmsg(), rsock_addrinfo(), rsock_bsock_send(), rsock_s_recvfrom_nonblock(), ruby_brace_glob0(), sock_s_getaddrinfo(), sock_s_getnameinfo(), strio_init(), trans_sweep(), and udp_send().

const char* fmt
int found_event = 1

Definition at line 2192 of file tcltklib.c.

Referenced by for().

foundEvent
Initial value:
q->done, (Tcl_Interp*)NULL))
#define RTEST(v)
return lib_eventloop_launcher(RTEST(check_rootwidget), 0,(int *) NULL,(Tcl_Interp *) NULL)
#define NULL
Definition: _sdbm.c:103
q
Definition: tcltklib.c:2967

Definition at line 2961 of file tcltklib.c.

callq func = func
static

Definition at line 7101 of file tcltklib.c.

slave has_orig_exit = Tcl_GetCommandInfo(ptr->ip, "exit", &(ptr->orig_exit_info))

Definition at line 6211 of file tcltklib.c.

int have_rb_thread_waiting_for_value = 0
static

Definition at line 499 of file tcltklib.c.

int i
Initial value:
{
struct invoke_info *inf = (struct invoke_info *)arg
struct invoke_info inf
Definition: tcltklib.c:8573
arg
Definition: ripper.y:1317

Definition at line 3603 of file tcltklib.c.

ID ID_alive_p
static

Definition at line 229 of file tcltklib.c.

ID ID_at_enc
static

Definition at line 222 of file tcltklib.c.

ID ID_at_interp
static

Definition at line 223 of file tcltklib.c.

ID ID_at_reason
static

Definition at line 238 of file tcltklib.c.

ID ID_backtrace
static

Definition at line 235 of file tcltklib.c.

ID ID_break
static

Definition at line 240 of file tcltklib.c.

ID ID_call
static

Definition at line 234 of file tcltklib.c.

ID ID_encoding_name
static

Definition at line 225 of file tcltklib.c.

ID ID_encoding_table
static

Definition at line 226 of file tcltklib.c.

ID ID_inspect
static

Definition at line 244 of file tcltklib.c.

ID ID_join
static

Definition at line 231 of file tcltklib.c.

ID ID_kill
static

Definition at line 230 of file tcltklib.c.

ID ID_message
static

Definition at line 236 of file tcltklib.c.

ID ID_next
static

Definition at line 241 of file tcltklib.c.

ID ID_return
static

Definition at line 239 of file tcltklib.c.

ID ID_stop_p
static

Definition at line 228 of file tcltklib.c.

ID ID_to_s
static

Definition at line 243 of file tcltklib.c.

ID ID_value
static

Definition at line 232 of file tcltklib.c.

VALUE index = argv[1]
struct invoke_info inf

Definition at line 8573 of file tcltklib.c.

Referenced by allocate_cbsubst_info(), Init_process(), isinf(), and X509_CRL_add0_revoked().

Tcl_CmdInfo info
Initial value:
{
static int int thr_crit_bup
Definition: tcltklib.c:1415

Definition at line 1462 of file tcltklib.c.

Referenced by Init_Cont(), Init_syslog(), rb_w32_fstat(), rb_w32_fstati64(), and tcltklib_compile_info().

static VALUE VALUE interp = interp
static

Definition at line 277 of file tcltklib.c.

slave ip
static

Definition at line 5600 of file tcltklib.c.

Referenced by Init_tcltklib().

static VALUE VALUE ip_obj = obj

Definition at line 7112 of file tcltklib.c.

int is_ip

Definition at line 3021 of file tcltklib.c.

is_tk_evloop_thread = 1

Definition at line 7110 of file tcltklib.c.

ivq = RbTk_ALLOC_N(struct invoke_queue, 1)

Definition at line 8973 of file tcltklib.c.

Definition at line 3503 of file tcltklib.c.

Referenced by add_activated_refinement(), check_redefined_method(), coverage(), enum_sort_by(), exc_inspect(), find_class_path(), flatten(), fole_s_const_load(), generate_json(), get_klass(), gzfile_wrap(), Init_VM(), int_ossl_asn1_decode0_cons(), int_ossl_asn1_decode0_prim(), is_live_object(), JSON_parse_object(), JSON_parse_string(), make_singleton_class(), mnew(), path_entries(), proc_new(), r_object0(), range_loader(), rb_alias(), rb_any_cmp(), rb_ary_subseq(), rb_check_copyable(), rb_check_funcall(), rb_check_funcall_with_hook(), rb_class_boot(), rb_class_initialize(), rb_const_defined_0(), rb_const_get_0(), rb_cvar_get(), rb_cvar_set(), rb_define_class(), rb_define_class_id(), rb_define_class_id_under(), rb_f_autoload(), rb_f_autoload_p(), rb_get_alloc_func(), rb_include_class_new(), rb_io_fdopen(), rb_io_s_pipe(), rb_io_s_popen(), rb_ivar_set(), rb_method_call_status(), rb_method_entry_get_without_cache(), rb_method_entry_make(), rb_method_name_error(), rb_mod_ancestors(), rb_mod_init_copy(), rb_mod_nesting(), rb_mod_refine(), rb_mod_s_constants(), rb_module_s_alloc(), rb_obj_alloc(), rb_obj_define_method(), rb_obj_instance_eval(), rb_obj_instance_exec(), rb_obj_singleton_methods(), rb_raise_jump(), rb_search_method_entry(), rb_singleton_class(), rb_singleton_class_clone_and_attach(), rb_str_new_frozen(), rb_str_vcatf(), rb_struct_define_without_accessor(), rb_struct_initialize_m(), rb_threadptr_pending_interrupt_check_mask(), rb_undef(), rb_using_refinement(), remove_method(), rsock_s_recvfrom(), ruby__sfvwrite(), search_method(), singleton_class_of(), sort_by_i(), sort_reentered(), syserr_initialize(), top_define_method(), vm_call_method(), vm_call_super(), vm_define_method(), vm_get_cbase(), vm_get_const_base(), vm_get_cvar_base(), vm_get_ev_const(), vm_get_iclass(), vm_getivar(), vm_push_frame(), vm_rewrite_ep_in_errinfo(), vm_search_method(), vm_setivar(), w_class(), w_object(), and w_uclass().

register unsigned int len = strlen(str)

Definition at line 3567 of file tcltklib.c.

Referenced by add_compile_string_length(), addrinfo_mload(), allocate_converted_string(), alt_merge_opt_exact_info(), append_utf8(), appendline(), ary_ensure_room_for_unshift(), ary_len_of_dim(), ary_resize_capa(), Balloc(), big2str_karatsuba(), big2str_orig(), big2ulong(), big_lshift(), bigadd(), BigDecimal_split(), bigfixize(), bignew_1(), bigsqr_fast(), bigtrunc(), BSD__sfvwrite(), bsock_getpeername(), bsock_getsockname(), bsock_getsockopt(), bsock_local_address(), bsock_remote_address(), check_dirname(), clsid_from_remote(), coderange_scan(), compile_anchor_node(), compile_array_(), compile_enclose_node(), compile_length_anchor_node(), compile_length_cclass_node(), compile_length_enclose_node(), compile_length_quantifier_node(), compile_length_string_node(), compile_length_tree(), compile_string_node(), compile_tree(), concat_opt_exact_info(), concat_opt_exact_info_str(), CONF_get1_default_config_file(), constat_parse(), convert_encoding(), convert_mb_to_wchar(), convert_UTF32_to_UTF8(), convert_UTF8_to_JSON(), convert_wchar_to_mb(), copy_stream_body(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), date_strftime_alloc(), date_strftime_internal(), decode_bstr(), decorate_convpath(), dimension(), dlhandle_sym(), enum_cycle(), enum_drop(), enum_take(), env_has_value(), env_key(), env_rassoc(), envix(), error_print(), etc_systmpdir(), expand_case_fold_string(), expand_case_fold_string_alt(), fbuffer_append(), fdbm_delete(), fdbm_fetch(), fdbm_has_key(), fdbm_has_value(), fdbm_key(), fgdbm_has_key(), fiddle_handle_sym(), flo_to_s(), fnmatch_brace(), fole_s_create_guid(), foletypelib_guid(), foletypelib_initialize(), folevariant_initialize(), fun_so_universal_newline(), get_char_length_tree1(), get_system_directory(), getnameinfo(), glob_helper(), global_id(), gzfile_getc(), gzfile_read_header(), gzfile_ungets(), hash2ptr_dispparams(), home_dir(), i_apply_case_fold(), if(), init_addrinfo(), init_env(), inspect1(), inspect2(), inspect_struct(), int_pair_to_real_inclusive(), intern_str(), io_binwrite(), io_bufread(), io_fread(), io_fwrite(), io_getpartial(), io_nread(), io_read(), io_shift_cbuf(), io_ungetbyte(), ioctl_narg_len(), ip_addr(), ip_peeraddr(), ip_s_getaddress(), is_batch(), is_not_included(), iseq_build_from_ary_body(), iseq_data_to_ary(), iseq_set_sequence(), ivar_get(), join_argv(), join_path(), JSON_parse_float(), JSON_parse_integer(), lazy_drop(), lazy_drop_size(), lazy_init_iterator(), lazy_take(), lazy_take_size(), limited_big_rand(), load_transcoder_entry(), loaded_feature_path(), make_replacement(), make_seed_value(), match_at(), match_inspect(), mbstr_to_wstr(), memcmp(), mime_putc(), mk_ary_of_str(), more_output_buffer(), moreswitches(), nfc_getc(), nkf_buf_at(), nogvl_copy_stream_read_write(), ole_const_load(), ole_mb2wc(), ole_method_params(), ole_search_event(), ole_search_event_at(), ole_type_guid(), ole_val2olevariantdata(), ole_variables(), ole_vstr2wc(), oleparam_ole_param_from_index(), onig_is_code_in_cc(), onig_strcpy(), onigenc_mbn_mbc_case_fold(), onigenc_mbn_mbc_to_code(), onigenc_minimum_property_name_to_ctype(), onigenc_str_bytelen_null(), onigenc_strlen_null(), open_dir_handle(), opendir_internal(), ossl_asn1_decode(), ossl_asn1_decode0(), ossl_asn1_decode_all(), ossl_asn1_traverse(), ossl_asn1prim_to_der(), ossl_bn_to_s(), ossl_dh_compute_key(), ossl_dh_to_der(), ossl_dsa_to_der(), ossl_pem_passwd_cb(), ossl_pkcs12_to_der(), ossl_pkcs7_add_data(), ossl_pkcs7_to_der(), ossl_rsa_to_der(), ossl_spki_to_der(), ossl_ssl_read_internal(), ossl_ssl_session_to_der(), ossl_x509_to_der(), ossl_x509attr_to_der(), ossl_x509ext_to_der(), ossl_x509name_to_der(), ossl_x509req_to_der(), overlapped_socket_io(), pack_pack(), pack_unpack(), parse_char_class(), parse_exp(), parse_mode_enc(), parser_encode_length(), parser_here_document(), parser_heredoc_identifier(), parser_magic_comment(), parser_tokadd_mbchar(), parser_tokaddmbc(), parser_whole_match_p(), parser_yyerror(), pruby_var_equal_to_cstr_p(), pruby_var_prefixed_p(), pruby_var_to_cstr(), quad_buf_complement(), r_bytes0(), r_bytes1_buffered(), r_ivar(), r_object0(), rand_init(), random_load(), rb_ary_aref(), rb_ary_aset(), rb_ary_cmp(), rb_ary_combination(), rb_ary_delete_at(), rb_ary_fill(), rb_ary_initialize(), rb_ary_join(), rb_ary_length(), rb_ary_modify(), rb_ary_plus(), rb_ary_repeated_combination(), rb_ary_reverse_each(), rb_ary_reverse_m(), rb_ary_rotate(), rb_ary_rotate_m(), rb_ary_sample(), rb_ary_slice_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_take(), rb_ary_times(), rb_ary_unshift_m(), rb_ary_zip(), rb_big2str0(), rb_big_clone(), rb_big_pack(), rb_big_unpack(), rb_check_id_cstr(), rb_cstr_to_inum(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_econv_convert0(), rb_econv_insert_output(), rb_econv_set_replacement(), rb_econv_substr_append(), rb_enc_symname_type(), rb_execarg_fixup(), rb_execarg_run_options(), rb_feature_p(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_to_s(), rb_fiddle_ptr_to_str(), rb_file_expand_path_internal(), rb_file_join(), rb_file_s_extname(), rb_gdbm_delete(), rb_gdbm_fetch2(), rb_gdbm_nextkey(), rb_get_values_at(), rb_gzreader_read(), rb_gzreader_readpartial(), rb_intern3(), rb_io_advise(), rb_io_getline_fast(), rb_io_s_popen(), rb_io_sysread(), rb_io_ungetc(), rb_iseq_disasm_insn(), rb_iseq_translate_threaded_code(), rb_ivar_set(), rb_load_file(), rb_mod_const_get(), rb_obj_copy_ivar(), rb_quad_pack(), rb_random_bytes(), rb_range_beg_len(), rb_realpath_internal(), rb_reg_expr_str(), rb_reg_init_copy(), rb_reg_initialize_m(), rb_reg_nth_match(), rb_reg_to_s(), rb_str_append(), rb_str_aref(), rb_str_aset(), rb_str_casecmp(), rb_str_cat(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_concat(), rb_str_drop_bytes(), rb_str_dump(), rb_str_each_char_size(), rb_str_enumerate_chars(), rb_str_enumerate_lines(), rb_str_format(), rb_str_hash_cmp(), rb_str_index(), rb_str_justify(), rb_str_length(), rb_str_quote_unprintable(), rb_str_resize(), rb_str_rindex(), rb_str_rindex_m(), rb_str_rstrip_bang(), rb_str_set_len(), rb_str_split_m(), rb_str_sub_bang(), rb_str_subpat_set(), rb_str_subpos(), rb_str_substr(), rb_str_sum(), rb_str_symname_p(), rb_str_symname_type(), rb_str_times(), rb_str_to_dbl(), rb_str_to_inum(), rb_strftime_alloc(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_set(), rb_vm_bugreport(), rb_w32_aspawn_flags(), rb_w32_cmdvector(), rb_w32_conv_from_wstr(), rb_w32_getcwd(), rb_w32_getenv(), rb_w32_getppid(), rb_w32_read(), rb_w32_spawn(), rb_w32_ugetenv(), rb_w32_wrap_io_handle(), rb_w32_write(), rb_w32_write_console(), rb_write_error_str(), read_escaped_byte(), recursive_cmp(), recursive_eql(), recursive_equal(), recursive_hash(), recvmsg(), reduce0(), reg_get_val(), reg_named_capture_assign_iter(), report_bug(), rotate_count(), rsock_connect(), rsock_s_accept(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), ruby__sfvwrite(), RUBY_ALIAS_FUNCTION(), ruby_brace_expand(), ruby_each_words(), ruby_setenv(), ruby_strdup(), ruby_strtoul(), sendmsg(), set_bm_backward_skip(), set_bm_skip(), set_encoding_const(), setproctitle(), setup_look_behind(), setup_narg(), setup_struct(), setup_tree(), SHA1_Update(), sock_accept(), sock_accept_nonblock(), sock_sysaccept(), socketpair_internal(), str_buf_cat(), str_byte_substr(), str_end_with_asciichar(), str_gsub(), str_make_independent_expand(), str_new(), str_replace(), str_strlen(), strftimev(), string2hex(), strio_getc(), strio_read(), strio_truncate(), strio_ungetc(), strio_write(), strscan_getch(), strscan_peek(), swap_node(), switch(), sym_inspect(), time_mload(), time_strftime(), to_ascii(), trans_sweep(), unescape_unicode_bmp(), unescape_unicode_list(), universal_newline_finish(), update_string_node_case_fold(), vm_backtrace_to_ary(), vm_call_cfunc_with_frame(), vm_caller_setup_args(), vm_expandarray(), vm_getivar(), vm_setivar(), vm_yield_setup_block_args_complex(), w_long(), w_object(), w_objivar(), wstati64(), wstr_to_mbstr(), xmalloc2_size(), zstream_append_buffer(), zstream_buffer_ungets(), zstream_expand_buffer_without_gvl(), and zstream_shift_buffer().

size_t length = strlen(objv[1])
list_enc_idx = rb_enc_get_index(list_str)

Definition at line 9718 of file tcltklib.c.

list_ivar_enc = rb_ivar_get(list_str, ID_at_enc)

Definition at line 9719 of file tcltklib.c.

VALUE list_str

Definition at line 9711 of file tcltklib.c.

int loop_counter = 0
static

Definition at line 536 of file tcltklib.c.

VALUE loop_max

Definition at line 1810 of file tcltklib.c.

Tk_Window mainWin = Tk_MainWindow(slave)

Definition at line 5886 of file tcltklib.c.

int major
VALUE VALUE master
static

Definition at line 6541 of file tcltklib.c.

Referenced by chfunc(), and establishShell().

VALUE menu_path

Definition at line 10757 of file tcltklib.c.

method
int minor
VALUE mode
volatile VALUE name = argv[0]
static

Definition at line 3494 of file tcltklib.c.

char * name1

Definition at line 4204 of file tcltklib.c.

Referenced by ossl_x509name_cmp0(), and rb_alias_variable().

char * name2

Definition at line 4205 of file tcltklib.c.

Referenced by ossl_x509name_cmp0().

char * nameString = objv[2]

Definition at line 4481 of file tcltklib.c.

int no_ev = NUM2INT(no_event)

Definition at line 1814 of file tcltklib.c.

VALUE no_event

Definition at line 1811 of file tcltklib.c.

no_event_tick = DEFAULT_NO_EVENT_TICK
static

Definition at line 528 of file tcltklib.c.

Referenced by for().

no_event_wait = DEFAULT_NO_EVENT_WAIT
static

Definition at line 529 of file tcltklib.c.

VALUE obj
static
Initial value:
encoding_table_get_name_core(table, enc, error_mode))
VALUE error_mode
Definition: tcltklib.c:10096
#define rb_hash_lookup
Definition: tcltklib.c:268
static int VALUE table
Definition: tcltklib.c:10137
VALUE enc
Definition: tcltklib.c:10310

Definition at line 3157 of file tcltklib.c.

Referenced by append_extmod(), ary_new_dim(), ary_store_dim(), backtrace_alloc(), BigDecimal_coerce(), BigDecimal_inspect(), BigDecimal_prec(), BigDecimal_split(), boot_defclass(), class_alloc(), create_win32ole_object(), cState_init_copy(), cvar_front_klass(), d_complex_new_internal(), d_simple_new_internal(), date_s__load(), decode_obj(), define_final(), dh_instance(), dir_s_alloc(), dsa_instance(), enum_each_entry(), enum_each_with_index(), enum_reverse_each(), enumerator_each(), enumerator_init(), enumerator_init_copy(), enumerator_rewind(), enumerator_size(), env_alloc(), etc_each_passwd(), EVENTSINK_Invoke(), exc_backtrace(), exec_recursive(), fdbm_clear(), fdbm_delete_if(), fdbm_each_key(), fdbm_each_pair(), fdbm_each_value(), fdbm_initialize(), fdbm_replace(), fdbm_s_open(), fdbm_update(), fev_s_allocate(), fgdbm_clear(), fgdbm_delete_if(), fgdbm_each_key(), fgdbm_each_pair(), fgdbm_each_value(), fgdbm_initialize(), fgdbm_reorganize(), fgdbm_replace(), fgdbm_s_open(), fgdbm_sync(), fgdbm_update(), fole_method_help(), fole_s_allocate(), folemethod_initialize(), folemethod_s_allocate(), foleparam_s_allocate(), foletype_s_allocate(), foletype_s_ole_classes(), foletypelib_s_allocate(), folevariant_s_allocate(), folevariant_s_array(), fsdbm_clear(), fsdbm_delete_if(), fsdbm_each_key(), fsdbm_each_pair(), fsdbm_each_value(), fsdbm_initialize(), fsdbm_replace(), fsdbm_s_open(), fsdbm_update(), gc_mark_children(), gc_mark_stacked_objects(), generator_allocate(), generator_init(), generator_init_copy(), get_digest_base_metadata(), givar_i(), gzfile_wrap(), hide_obj(), if(), iow_inspect(), iow_internal_object_id(), iow_size(), iow_type(), iseq_build_from_ary_body(), lazy_initialize(), lazy_lazy(), location_create(), markable_object_p(), marshal_dump(), match_init_copy(), mnew(), mString_to_json_raw(), mutex_alloc(), newobj(), nucomp_s_new_internal(), nurat_s_new_internal(), obj2vint(), obj_alloc_by_klass(), obj_ivar_each(), obj_resurrect(), ole_ary_m_entry(), ole_each_sub(), ole_invoke(), ole_invoke2(), ole_variant2val(), ossl_bn_alloc(), ossl_bn_new(), ossl_bn_s_generate_prime(), ossl_cipher_alloc(), ossl_client_cert_cb(), ossl_dh_new(), ossl_dh_s_generate(), ossl_dh_to_public_key(), ossl_digest_alloc(), ossl_dsa_new(), ossl_dsa_s_generate(), ossl_dsa_to_public_key(), ossl_hmac_alloc(), ossl_pkcs12_s_allocate(), ossl_pkcs12_s_create(), ossl_pkcs7_alloc(), ossl_pkcs7ri_alloc(), ossl_pkcs7ri_new(), ossl_pkcs7si_alloc(), ossl_pkcs7si_new(), ossl_pkey_alloc(), ossl_protect_obj2bio(), ossl_rsa_new(), ossl_rsa_s_generate(), ossl_rsa_to_public_key(), ossl_spki_alloc(), ossl_ssl_get_peer_cert(), ossl_to_der_if_possible(), ossl_x509_alloc(), ossl_x509_new(), ossl_x509_new_from_file(), ossl_x509attr_alloc(), ossl_x509attr_new(), ossl_x509attr_set_oid(), ossl_x509crl_alloc(), ossl_x509crl_new(), ossl_x509ext_alloc(), ossl_x509ext_new(), ossl_x509ext_set_oid(), ossl_x509extfactory_alloc(), ossl_x509extfactory_create_ext(), ossl_x509name_alloc(), ossl_x509name_new(), ossl_x509req_alloc(), ossl_x509req_new(), ossl_x509revoked_alloc(), ossl_x509revoked_new(), ossl_x509stctx_alloc(), ossl_x509stctx_clear_ptr(), ossl_x509stctx_new(), ossl_x509store_alloc(), ossl_x509store_new(), predefined_dlhandle(), predefined_fiddle_handle(), prep_window(), pruby_obj_to_var(), pruby_register_instance(), random_alloc(), random_copy(), random_init(), random_load(), rb_ary_count(), rb_binding_alloc(), rb_block_call(), rb_check_block_call(), rb_class_allocate_instance(), rb_class_new_instance(), rb_deflate_addstr(), rb_deflate_initialize(), rb_digest_base_alloc(), rb_digest_class_s_digest(), rb_dlcfunc_s_allocate(), rb_dlhandle_s_allocate(), rb_dlptr_s_allocate(), rb_dlptr_s_malloc(), rb_enc_associate_index(), rb_execarg_run_options(), rb_fiddle_handle_s_allocate(), rb_fiddle_ptr_s_allocate(), rb_fiddle_ptr_s_malloc(), rb_gdbm_delete(), rb_get_path_check_to_string(), rb_gzreader_each(), rb_gzreader_initialize(), rb_gzwriter_flush(), rb_gzwriter_initialize(), rb_hash_assoc(), rb_hash_rassoc(), rb_inflate_add_dictionary(), rb_inflate_addstr(), rb_inflate_initialize(), rb_marshal_dump(), rb_method_name_error(), rb_mod_extend_object(), rb_mod_private_constant(), rb_mod_private_method(), rb_mod_public_constant(), rb_mod_public_method(), rb_newobj_of(), rb_obj_alloc(), rb_obj_as_string(), rb_obj_extend(), rb_obj_freeze(), rb_obj_init_copy(), rb_obj_init_dup_clone(), rb_obj_taint(), rb_obj_tap(), rb_obj_trust(), rb_obj_untaint(), rb_obj_untrust(), rb_objspace_call_finalizer(), rb_undef(), rb_undefine_final(), reachable_object_from_i(), rmpd_power_by_big_decimal(), rsa_instance(), rsock_sockopt_new(), ruby_debug_print_value(), select_internal(), strio_s_open(), sym_call(), thread_alloc(), time_s_alloc(), w_object(), window_addstr2(), window_initialize(), wmap_allocate(), wmap_aref(), wmap_finalize(), yielder_allocate(), yielder_init(), yielder_yield_push(), and zstream_new().

int objc

Definition at line 3886 of file tcltklib.c.

Referenced by if().

Tcl_Obj ** objv

Definition at line 3887 of file tcltklib.c.

VALUE old_gc = rb_gc_disable()

Definition at line 3607 of file tcltklib.c.

Referenced by tcl_protect_core().

static CONST char * optionStrings
static
Initial value:
= { "variable", "visibility", "window",
(char *) NULL }
#define NULL
Definition: _sdbm.c:103

Definition at line 4478 of file tcltklib.c.

VALUE opts
param = RbTk_ALLOC_N(struct th_update_param, 1)

Definition at line 3777 of file tcltklib.c.

int patchlevel

Definition at line 112 of file tcltklib.c.

Tcl_QueuePosition position = TCL_QUEUE_TAIL

Definition at line 7615 of file tcltklib.c.

Referenced by get_line_info().

int prev_val = -1

Definition at line 2794 of file tcltklib.c.

ivq ev proc
* ptr
Initial value:
{
) {
DUMP1("ip is deleted");
return 1;
}
return 0
#define DUMP1(ARG1)
Definition: tcltklib.c:166

Definition at line 784 of file tcltklib.c.

Referenced by add_pointer(), addrinfo_mark(), argf_free(), argf_mark(), argf_memsize(), ary_resize_capa(), atomic_size_exchange(), autoload_i_free(), autoload_i_mark(), autoload_memsize(), BigDecimal_memsize(), binding_free(), binding_mark(), bm_free(), bm_mark(), code_status(), compile_data_alloc(), constant_arg(), constat_parse(), cont_free(), cont_mark(), cont_memsize(), convert_encoding(), convert_UTF8_to_JSON(), deallocate(), dir_free(), dir_mark(), dlcfunc_free(), dlcfunc_mark(), dlcfunc_memsize(), dlhandle_free(), dlptr_free(), dlptr_mark(), dlptr_memsize(), e2s_conv(), econv_free(), enumerator_allocate(), enumerator_init(), enumerator_mark(), enumerator_ptr(), env_free(), env_mark(), env_memsize(), error_print(), fiber_free(), fiber_mark(), fiber_memsize(), fiddle_handle_free(), fiddle_ptr_free(), fiddle_ptr_mark(), fiddle_ptr_memsize(), find_entry(), flo_to_s(), function_memsize(), gc_with_gvl(), generator_allocate(), generator_each(), generator_init(), generator_mark(), generator_ptr(), get_proc_address(), get_rnd(), get_strio(), get_system_directory(), get_thread_errinfo(), get_wsa_extension_function(), has_redirection(), id2ref(), initialize(), inspect_struct(), internal_read_func(), internal_write_func(), internal_write_func2(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_free(), iseq_mark(), iseq_memsize(), iseq_set_exception_table(), ivar_get(), mark_dump_arg(), mark_exec_arg(), mark_load_arg(), match_backref_number(), match_inspect(), mbstr_to_wstr(), memsize_of(), mutex_free(), name_err_mesg_mark(), name_err_mesg_to_str(), name_to_backref_number(), nkf_xmalloc(), nkf_xrealloc(), nogvl_close(), nogvl_fclose(), nogvl_getaddrinfo(), nogvl_getnameinfo(), nogvl_ioctl(), ossl_asn1_get_asn1type(), ossl_sslctx_session_get_cb(), ossl_sslctx_session_new_cb(), ossl_sslctx_session_remove_cb(), pack_pack(), pack_unpack(), proc_mark(), r_object0(), rb_ary_modify(), rb_ary_replace(), rb_ary_rotate(), rb_ary_rotate_m(), rb_ary_sample(), rb_ary_shuffle_bang(), rb_ary_times(), rb_big2str0(), rb_big_stop(), rb_dl_free(), rb_dl_malloc(), rb_dl_realloc(), rb_dlhandle_initialize(), rb_dlptr2cptr(), rb_dlptr_initialize(), rb_dlptr_malloc(), rb_dlptr_minus(), rb_dlptr_new2(), rb_dlptr_plus(), rb_dlptr_s_to_ptr(), rb_fiddle_free(), rb_fiddle_handle_initialize(), rb_fiddle_malloc(), rb_fiddle_ptr2cptr(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_malloc(), rb_fiddle_ptr_minus(), rb_fiddle_ptr_new2(), rb_fiddle_ptr_plus(), rb_fiddle_ptr_s_to_ptr(), rb_fiddle_realloc(), rb_gc_guarded_ptr(), rb_ivar_set(), rb_name_err_mesg_new(), rb_obj_copy_ivar(), rb_parser_calloc(), rb_parser_malloc(), rb_parser_realloc(), rb_random_bytes(), rb_realpath_internal(), rb_reg_casefold_p(), rb_reg_check(), rb_reg_desc(), rb_reg_equal(), rb_reg_initialize_m(), rb_reg_inspect(), rb_reg_named_captures(), rb_reg_names(), rb_reg_prepare_enc(), rb_reg_regsub(), rb_reg_search(), rb_reg_to_s(), rb_str_drop_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_quote_unprintable(), rb_str_split_m(), rb_str_sum(), rb_str_symname_p(), rb_str_symname_type(), rb_string_value(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_set(), rb_thread_mark(), rb_vm_mark(), rb_w32_cmdvector(), rb_w32_conv_from_wstr(), rb_w32_write_console(), rb_wait_for_single_fd(), readable(), recursive_eql(), recursive_equal(), recursive_hash(), reg_named_capture_assign_gen(), rehash(), ruby_atomic_compare_and_swap(), ruby_atomic_exchange(), skipspace(), sock_sockaddr(), ssl_renegotiation_cb(), st_cleanup_safe(), st_clear(), st_copy(), st_delete(), st_delete_safe(), st_foreach(), st_foreach_check(), st_get_key(), st_hash(), st_insert(), st_insert2(), st_lookup(), st_update(), str_make_independent_expand(), strio_alloc(), strio_copy(), strio_each_byte(), strio_each_codepoint(), strio_eof(), strio_finalize(), strio_free(), strio_getbyte(), strio_getc(), strio_initialize(), strio_mark(), strio_memsize(), strio_putc(), strio_read(), strio_rewind(), strio_seek(), strio_set_pos(), strio_set_string(), strio_ungetbyte(), strio_ungetc(), strio_write(), strscan_do_scan(), strscan_free(), strscan_mark(), strscan_memsize(), sym_inspect(), sysopen_func(), thread_free(), thread_memsize(), time_mark(), time_mload(), transcode_char_start(), vm_caller_setup_args(), vm_expandarray(), vm_getivar(), vm_memsize(), vm_setivar(), w_objivar(), wmap_free(), wmap_mark(), wmap_memsize(), writable(), wstr_to_mbstr(), yielder_allocate(), yielder_init(), yielder_mark(), yielder_ptr(), and yielder_yield().

volatile VALUE q_dat

Definition at line 7003 of file tcltklib.c.

return Qfalse

Definition at line 6778 of file tcltklib.c.

Referenced by addrinfo_ip_p(), addrinfo_ipv4_loopback_p(), addrinfo_ipv4_multicast_p(), addrinfo_ipv4_p(), addrinfo_ipv4_private_p(), addrinfo_ipv6_p(), addrinfo_unix_p(), argf_binmode_p(), argf_eof(), basic_obj_respond_to(), big_op(), big_sparse_p(), BigDecimal_DoDivmod(), BigDecimal_IsFinite(), BigDecimal_IsNaN(), BigDecimal_mode(), BigDecimal_zero(), BigDecimalCmp(), bigdivrem(), bsock_do_not_rev_lookup(), bsock_do_not_reverse_lookup(), canonical(), check_definition(), check_exec_fds_1(), check_exec_redirect1(), cmp_between(), cmp_eq(), cmp_eq_recursive(), cmp_failed(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), compile_cpath(), console_echo_p(), convert_type(), cParser_quirks_mode_p(), cState_allow_nan_p(), cState_ascii_only_p(), cState_check_circular_p(), cState_quirks_mode_p(), cState_to_h(), curses_bkgd(), curses_resizeterm(), curses_scrl(), curses_setscrreg(), d_lite_eql_p(), d_lite_equal(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), decode_bool(), DEFINE_ENUMFUNCS(), defined_expr(), dh_instance(), double_cmp_ge(), double_cmp_gt(), double_cmp_le(), double_cmp_lt(), dsa_instance(), econv_equal(), enc_ascii_compatible_p(), enc_dummy_p(), enum_any(), enum_member(), enum_one(), enumerable_lazy(), enumerator_init(), enumerator_rewind(), env_empty_p(), env_has_key(), env_has_value(), eql_i(), EVENTSINK_Invoke(), exc_equal(), exit_initialize(), exit_status_code(), exit_success_p(), extract_user_token(), f_minus_one_p(), f_odd_p(), f_one_p(), f_zero_p(), false_and(), false_or(), false_value(), false_xor(), fdbm_closed(), fdbm_empty_p(), fdbm_has_key(), fdbm_has_value(), fev_on_event(), fgdbm_closed(), fgdbm_empty_p(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_set_syncmode(), file_s_fnmatch(), fix_equal(), fix_even_p(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_odd_p(), fix_zero_p(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_is_finite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_zero_p(), fole_respond_to(), folemethod_event(), foletype_initialize(), foletypelib_initialize(), foletypelib_visible(), fsdbm_closed(), fsdbm_empty_p(), fsdbm_has_key(), fsdbm_has_value(), gc_prepare_free_objects(), gc_profile_enable_get(), gc_stress_get(), generate_json(), generic_ivar_defined(), hash_equal(), hist_empty_p(), id2encidx(), id2ref(), if(), ignorecase_getter(), Init_Exception(), Init_fiddle(), Init_Object(), Init_openssl(), Init_ossl_pkcs12(), Init_ossl_pkcs7(), Init_ossl_ssl(), Init_ossl_x509ext(), Init_ossl_x509store(), inspect_enumerator(), int_even_p(), int_odd_p(), int_ossl_asn1_decode0_cons(), io_puts_ary(), io_ready_p(), io_wait_readable(), is_all_index_under(), is_one(), is_zero(), iseq_compile_each(), iseq_s_compile_file(), JSON_parse_value(), lazy_set_method(), load_encoding(), load_lock(), make_compile_option(), make_econv_exception(), match_equal(), method_eq(), mnew(), mSyslog_isopen(), name_err_mesg_equal(), name_err_mesg_to_str(), nucomp_eql_p(), nucomp_false(), num_eql(), num_int_p(), num_zero_p(), nurat_eqeq_p(), obj_respond_to(), obj_respond_to_missing(), ole_method_event(), ole_method_visible(), ole_param_flag_mask(), ole_type_visible(), ole_variable_visible(), ole_variant2val(), oleclass_from_typelib(), oletypelib_search_registry(), oletypelib_search_registry2(), opt_eq_func(), opt_W_getter(), ossl_asn1_decode0(), ossl_asn1_initialize(), ossl_asn1data_initialize(), ossl_asn1eoc_initialize(), ossl_bn_eql(), ossl_bn_is_bit_set(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_s_generate_prime(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_dh_check_params(), ossl_dh_is_private(), ossl_dh_is_public(), ossl_dh_new(), ossl_dh_s_generate(), ossl_dh_to_public_key(), ossl_dsa_is_private(), ossl_dsa_is_public(), ossl_dsa_new(), ossl_dsa_s_generate(), ossl_dsa_to_public_key(), ossl_dsa_verify(), ossl_pem_passwd_cb(), ossl_pkcs7_detached_p(), ossl_pkcs7_get_detached(), ossl_pkcs7_set_detached(), ossl_pkcs7_verify(), ossl_pkey_verify(), ossl_rand_status(), ossl_rsa_is_private(), ossl_rsa_new(), ossl_rsa_s_generate(), ossl_rsa_to_public_key(), ossl_spki_verify(), ossl_ssl_initialize(), ossl_ssl_session_eq(), ossl_ssl_session_reused(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_verify_cb(), ossl_x509_check_private_key(), ossl_x509_verify(), ossl_x509crl_verify(), ossl_x509ext_get_critical(), ossl_x509extfactory_create_ext(), ossl_x509name_eql(), ossl_x509req_verify(), ossl_x509stctx_verify(), p_gid_exchangeable(), p_gid_have_saved_id(), p_uid_exchangeable(), p_uid_have_saved_id(), parse(), parse_ddd_cb(), parse_main(), parser_initialize(), path_eq(), pipe_open(), prepare_iseq_build(), proc_options(), process_options(), pst_success_p(), pst_wcoredump(), pst_wifexited(), pst_wifsignaled(), pst_wifstopped(), r_le(), r_lt(), r_object0(), rand_random(), rand_range(), random_equal(), range_cover(), range_each(), range_each_func(), range_eq(), range_eql(), range_exclude_end_p(), range_include(), range_step(), range_values(), rb_add_method(), rb_ary_aref(), rb_ary_bsearch(), rb_ary_empty_p(), rb_ary_eql(), rb_ary_equal(), rb_ary_frozen_p(), rb_ary_includes(), rb_ary_shared_with_p(), rb_autoload_load(), rb_big_eq(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_class_inherited_p(), rb_const_defined_0(), rb_cvar_defined(), rb_digest_instance_equal(), rb_dlhandle_close_enabled_p(), rb_dlptr_eql(), rb_dlptr_null_p(), rb_equal(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_execarg_setenv(), rb_f_block_given_p(), rb_f_rand(), rb_f_system(), rb_f_test(), rb_false(), rb_fiber_alive_p(), rb_fiddle_handle_close_enabled_p(), rb_fiddle_ptr_eql(), rb_fiddle_ptr_null_p(), rb_file_blockdev_p(), rb_file_chardev_p(), rb_file_directory_p(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_exist_p(), rb_file_file_p(), rb_file_flock(), rb_file_grpowned_p(), rb_file_identical_p(), rb_file_owned_p(), rb_file_pipe_p(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_rowned_p(), rb_file_sgid_p(), rb_file_socket_p(), rb_file_suid_p(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_file_zero_p(), rb_gc_disable(), rb_gc_enable(), rb_gvar_defined(), rb_gzfile_closed_p(), rb_gzfile_eof_p(), rb_gzfile_sync(), rb_hash_compare_by_id_p(), rb_hash_empty_p(), rb_hash_has_key(), rb_hash_has_value(), rb_inflate_sync_point_p(), rb_integer_float_eq(), rb_io_autoclose_p(), rb_io_binmode_p(), rb_io_closed(), rb_io_eof(), rb_io_initialize(), rb_io_isatty(), rb_io_sync(), rb_iseq_compile_with_option(), rb_iseq_line_trace_specify(), rb_iseq_new_with_opt(), rb_ivar_defined(), rb_load_internal(), rb_mod_attr(), rb_mod_const_defined(), rb_mod_cvar_defined(), rb_mod_gt(), rb_mod_include_p(), rb_mod_lt(), rb_mod_method_defined(), rb_mutex_abandon_locking_mutex(), rb_mutex_lock(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_equal(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_ivar_defined(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_tainted(), rb_obj_untrusted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_proc_exec(), rb_proc_lambda_p(), rb_range_beg_len(), rb_range_values(), rb_reg_casefold_p(), rb_reg_eqq(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_nth_defined(), rb_require_safe(), rb_reset_coverages(), rb_stat_b(), rb_stat_c(), rb_stat_d(), rb_stat_f(), rb_stat_grpowned(), rb_stat_l(), rb_stat_owned(), rb_stat_p(), rb_stat_r(), rb_stat_R(), rb_stat_rowned(), rb_stat_S(), rb_stat_sgid(), rb_stat_sticky(), rb_stat_suid(), rb_stat_w(), rb_stat_W(), rb_stat_x(), rb_stat_X(), rb_stat_z(), rb_str_aref(), rb_str_associated(), rb_str_empty(), rb_str_end_with(), rb_str_eql(), rb_str_equal(), rb_str_include(), rb_str_is_ascii_only_p(), rb_str_start_with(), rb_str_valid_encoding_p(), rb_struct_eql(), rb_struct_equal(), rb_thread_abort_exc(), rb_thread_alive_p(), rb_thread_key_p(), rb_thread_pending_interrupt_p(), rb_thread_s_abort_exc(), rb_thread_shield_destroy(), rb_thread_shield_release(), rb_thread_shield_wait(), rb_thread_status(), rb_thread_stop_p(), rb_thread_variable_p(), rb_to_float(), rb_tracepoint_enabled_p(), rb_zstream_closed_p(), rb_zstream_finished_p(), recursive_check(), recursive_eql(), recursive_equal(), rsa_instance(), rsock_revlookup_flag(), ruby_executable_node(), s3e(), save_env(), save_redirect_fd(), setup_args(), setup_narg(), sockopt_bool(), sockopt_linger(), special_singleton_class_of(), str_byte_aref(), str_eql(), strio_closed(), strio_closed_read(), strio_closed_write(), strio_eof(), strio_false(), strscan_bol_p(), strscan_eos_p(), strscan_matched_p(), strscan_rest_p(), switch(), sym_equal(), sym_to_proc(), syserr_eqq(), Tcl_GetCommandInfo(), tcl_protect_core(), thgroup_enclosed_p(), thread_cleanup_func(), thread_create_core(), thread_free(), thread_join_sleep(), thread_start_func_2(), time_eql(), time_isdst(), time_to_a(), time_utc_p(), tracepoint_disable_m(), tracepoint_enable_m(), true_and(), true_xor(), udp_connect_internal(), vm_backtrace_to_ary(), w_encoding(), w_object(), window_bkgd(), window_resize(), window_scrl(), window_scroll(), window_setscrreg(), and zstream_sync().

return Qnil
Initial value:
{
static VALUE eventloop_thread
Definition: tcltklib.c:470
#define Qnil
Definition: tcltklib.c:1895

Definition at line 1369 of file tcltklib.c.

return Qtrue

Definition at line 9609 of file tcltklib.c.

Referenced by addrinfo_ip_p(), addrinfo_ipv4_loopback_p(), addrinfo_ipv4_multicast_p(), addrinfo_ipv4_p(), addrinfo_ipv4_private_p(), addrinfo_ipv6_p(), addrinfo_unix_p(), argf_binmode_p(), argf_eof(), ary_add_hash(), asn1integer_to_num(), basic_obj_respond_to(), big_op(), big_sparse_p(), BigDecimal_DoDivmod(), BigDecimal_IsFinite(), BigDecimal_IsNaN(), BigDecimal_mode(), BigDecimal_zero(), BigDecimalCmp(), bigdivrem(), bsock_do_not_rev_lookup(), bsock_do_not_reverse_lookup(), canonical(), check_definition(), check_exec_fds(), check_exec_fds_1(), check_funcall_respond_to(), cleanup_iseq_build(), cmp_between(), cmp_eq(), cmp_equal(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), compile_cpath(), console_echo_p(), convert_type(), cParser_quirks_mode_p(), cState_allow_nan_p(), cState_ascii_only_p(), cState_check_circular_p(), cState_quirks_mode_p(), cState_to_h(), curses_bkgd(), curses_resizeterm(), curses_scrl(), curses_setscrreg(), d_lite_equal(), date_s__parse_internal(), date_s_parse(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), datetime_s_parse(), decode_bool(), DEFINE_ENUMFUNCS(), defined_expr(), double_cmp_ge(), double_cmp_gt(), double_cmp_le(), double_cmp_lt(), DupPrivPKeyPtr(), econv_equal(), enc_ascii_compatible_p(), enc_dummy_p(), enum_all(), enum_none(), env_empty_p(), env_has_key(), env_has_value(), EVENTSINK_Invoke(), exc_equal(), exit_initialize(), exit_status_code(), exit_success_p(), f_odd_p(), false_or(), false_xor(), fdbm_closed(), fdbm_empty_p(), fdbm_has_key(), fdbm_has_value(), fev_on_event_with_outargs(), fgdbm_closed(), fgdbm_empty_p(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_set_syncmode(), file_s_fnmatch(), finish_writeconv(), fix_equal(), fix_even_p(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_odd_p(), fix_zero_p(), flatten(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_is_finite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_zero_p(), fole_respond_to(), folemethod_event_interface(), foletypelib_initialize(), foletypelib_visible(), fptr_finalize(), fsdbm_closed(), fsdbm_empty_p(), fsdbm_has_key(), fsdbm_has_value(), garbage_collect(), gc_prepare_free_objects(), gc_profile_enable_get(), gc_stress_get(), generate_json(), generic_ivar_defined(), GetPrivPKeyPtr(), goruby_run_node(), hash_equal(), hist_empty_p(), id2encidx(), id2ref(), if(), Init_fiddle(), Init_Object(), Init_openssl(), Init_ossl_asn1(), initialize(), int_even_p(), int_int_p(), int_odd_p(), int_ossl_asn1_decode0_cons(), io_puts_ary(), io_ready_p(), io_wait_readable(), is_all_index_under(), iseq_compile_each(), JSON_parse_value(), lazy_drop_while_func(), make_compile_option(), make_econv_exception(), match_equal(), member_i(), method_eq(), mnew(), mSyslog_isopen(), name_err_mesg_equal(), name_err_mesg_to_str(), num_equal(), num_real_p(), num_zero_p(), nurat_eqeq_p(), obj_respond_to(), ole_method_event(), ole_method_visible(), ole_param_flag_mask(), ole_set_safe_array(), ole_type_visible(), ole_variable_visible(), ole_variant2val(), oleclass_from_typelib(), oletypelib_search_registry(), oletypelib_search_registry2(), opt_eq_func(), opt_W_getter(), ossl_asn1_decode0(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_asn1obj_s_register(), ossl_bn_eql(), ossl_bn_is_bit_set(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_to_i(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_debug(), ossl_debug_set(), ossl_dh_check_params(), ossl_dh_is_private(), ossl_dh_is_public(), ossl_dsa_is_private(), ossl_dsa_is_public(), ossl_dsa_verify(), ossl_make_error(), ossl_pem_passwd_cb(), ossl_pkcs7_detached_p(), ossl_pkcs7_get_detached(), ossl_pkcs7_set_detached(), ossl_pkcs7_verify(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_rand_egd(), ossl_rand_egd_bytes(), ossl_rand_load_file(), ossl_rand_status(), ossl_rand_write_file(), ossl_rsa_is_private(), ossl_rsa_is_public(), ossl_spki_verify(), ossl_ssl_session_eq(), ossl_ssl_session_reused(), ossl_ssl_setup(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_sslctx_setup(), ossl_verify_cb(), ossl_x509_check_private_key(), ossl_x509_verify(), ossl_x509crl_verify(), ossl_x509ext_get_critical(), ossl_x509name_eql(), ossl_x509req_verify(), ossl_x509stctx_verify(), p_gid_exchangeable(), p_gid_have_saved_id(), p_uid_exchangeable(), p_uid_have_saved_id(), parse(), parse_bc_cb(), parser_nextc(), parser_yylex(), prepare_iseq_build(), proc_options(), process_options(), process_sflag(), pst_equal(), pst_success_p(), pst_wcoredump(), pst_wifexited(), pst_wifsignaled(), pst_wifstopped(), r_le(), r_lt(), r_object0(), random_equal(), range_cover(), range_each(), range_eq(), range_eql(), range_exclude_end_p(), range_include(), range_step(), rb_ary_bsearch(), rb_ary_empty_p(), rb_ary_eql(), rb_ary_equal(), rb_ary_frozen_p(), rb_ary_includes(), rb_ary_shared_with_p(), rb_ary_slice_bang(), rb_big_eq(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_big_stop(), rb_class_inherited_p(), rb_const_defined_0(), rb_cvar_defined(), rb_digest_instance_equal(), rb_dlhandle_close_enabled_p(), rb_dlptr_eql(), rb_dlptr_null_p(), rb_equal(), rb_execarg_addopt(), rb_f_block_given_p(), rb_f_load(), rb_f_system(), rb_f_test(), rb_fiber_alive_p(), rb_fiddle_handle_close_enabled_p(), rb_fiddle_ptr_eql(), rb_fiddle_ptr_null_p(), rb_file_blockdev_p(), rb_file_chardev_p(), rb_file_directory_p(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_exist_p(), rb_file_file_p(), rb_file_grpowned_p(), rb_file_identical_p(), rb_file_owned_p(), rb_file_pipe_p(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_rowned_p(), rb_file_socket_p(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_file_zero_p(), rb_gc_disable(), rb_gc_enable(), rb_get_expanded_load_path(), rb_gvar_defined(), rb_gzfile_closed_p(), rb_gzfile_eof_p(), rb_gzfile_sync(), rb_hash_compare_by_id_p(), rb_hash_empty_p(), rb_hash_has_key(), rb_hash_search_value(), rb_inflate_sync_point_p(), rb_integer_float_eq(), rb_io_autoclose_p(), rb_io_binmode_p(), rb_io_closed(), rb_io_eof(), rb_io_isatty(), rb_io_sync(), rb_iseq_line_trace_specify(), rb_ivar_defined(), rb_mod_attr(), rb_mod_class_variables(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_constants(), rb_mod_include_p(), rb_mod_method_defined(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_equal(), rb_obj_freeze(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_respond_to(), rb_obj_singleton_methods(), rb_obj_tainted(), rb_obj_untrusted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_proc_lambda_p(), rb_range_beg_len(), rb_range_values(), rb_reg_casefold_p(), rb_reg_eqq(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_nth_defined(), rb_require_safe(), rb_stat_b(), rb_stat_c(), rb_stat_d(), rb_stat_f(), rb_stat_grpowned(), rb_stat_l(), rb_stat_owned(), rb_stat_p(), rb_stat_r(), rb_stat_R(), rb_stat_rowned(), rb_stat_S(), rb_stat_sgid(), rb_stat_sticky(), rb_stat_suid(), rb_stat_w(), rb_stat_W(), rb_stat_x(), rb_stat_X(), rb_stat_z(), rb_str_empty(), rb_str_end_with(), rb_str_eql(), rb_str_equal(), rb_str_include(), rb_str_is_ascii_only_p(), rb_str_start_with(), rb_str_valid_encoding_p(), rb_struct_eql(), rb_struct_equal(), rb_thread_abort_exc(), rb_thread_alive_p(), rb_thread_key_p(), rb_thread_pending_interrupt_p(), rb_thread_s_abort_exc(), rb_thread_shield_destroy(), rb_thread_shield_release(), rb_thread_shield_wait(), rb_thread_stop_p(), rb_thread_variable_p(), rb_to_float(), rb_tracepoint_enabled_p(), rb_true(), rb_zstream_closed_p(), rb_zstream_finished_p(), recursive_check(), recursive_eql(), recursive_equal(), recursive_push(), rsock_revlookup_flag(), ruby_executable_node(), s3e(), set_canonical(), setup_narg(), sockopt_bool(), sockopt_linger(), special_singleton_class_of(), str_eql(), strio_closed(), strio_closed_read(), strio_closed_write(), strio_eof(), strio_get_sync(), strscan_bol_p(), strscan_eos_p(), strscan_matched_p(), strscan_rest_p(), switch(), sym_equal(), syserr_eqq(), tcl_protect_core(), thgroup_enclosed_p(), thread_join_sleep(), time_isdst(), time_to_a(), time_utc_p(), tr_setup_table(), tr_trans(), tracepoint_disable_m(), tracepoint_enable_m(), trap(), trap_handler(), true_and(), true_or(), true_value(), true_xor(), udp_connect_internal(), verbose_setter(), w_encoding(), w_object(), window_attroff(), window_attron(), window_attrset(), window_bkgd(), window_resize(), window_scrl(), window_scroll(), window_setscrreg(), and zstream_sync().

rb_debug_bup = ruby_debug

Definition at line 5688 of file tcltklib.c.

Referenced by if(), and Tcl_GetCommandInfo().

rb_thread_critical = thr_crit_bup
static

Definition at line 23 of file tcltklib.c.

Referenced by if(), switch(), tcl_protect_core(), and while().

rb_verbose_bup = ruby_verbose

Definition at line 5688 of file tcltklib.c.

Referenced by if(), and Tcl_GetCommandInfo().

int rbtk_eventloop_depth = 0
static

Definition at line 1375 of file tcltklib.c.

Referenced by for(), if(), pending_exception_check0(), and while().

rbtk_internal_eventloop_handler = 0
static

Definition at line 1376 of file tcltklib.c.

Referenced by !RTEST(), if(), and pending_exception_check0().

rbtk_pending_exception = Qnil
static

Definition at line 1374 of file tcltklib.c.

Referenced by for(), if(), Init_tcltklib(), pending_exception_check0(), switch(), and tcl_protect_core().

return receiver = rb_gv_get(buf)

Definition at line 3575 of file tcltklib.c.

Referenced by lazy_drop_size(), and lazy_take_size().

slave ref_count = 0

Definition at line 6168 of file tcltklib.c.

int req_timer_tick = DEFAULT_TIMER_TICK
static

Definition at line 531 of file tcltklib.c.

Referenced by for().

char * result = (VALUE)NULL

Definition at line 7069 of file tcltklib.c.

Referenced by ary_join_1(), ary_make_partial(), ary_reject(), ary_reject_bang(), check_funcall_respond_to(), code_status(), collect_caller_bindings(), collect_trace(), cParser_parse_quirks_mode(), cParser_parse_strict(), cState_generate(), cState_to_h(), date_strftime_with_tmx(), DEFINE_ENUMFUNCS(), do_select(), econv_convpath(), enum_drop(), enum_drop_while(), enum_max(), enum_min(), enum_one(), enum_take(), enum_zip(), enumerable_lazy(), env_rassoc(), env_select(), env_shift(), env_values_at(), eval_string_with_cref(), EVENTSINK_Invoke(), exec_recursive(), exec_recursive_i(), filename_completion_proc_call(), finish_overlapped_socket(), fix_string_encoding(), flatten(), fole_each(), fstrndup(), get_param(), get_user_from_path(), gmtime_with_leapsecond(), gmtimew(), h_conv(), if(), init_leap_second_info(), initialize(), io_flush_buffer_sync2(), json_string_unescape(), kanji_convert(), lazy_flat_map_func(), lazy_grep_func(), lazy_grep_iter(), lazy_init_iterator(), lazy_map_func(), lazy_take_while_func(), load_file_internal(), load_ok_internal(), localtime_with_gmtoff_zone(), localtimew(), method_missing(), mString_included_s(), mString_to_json_raw_object(), next_i(), num_interval_step_size(), ole_invoke(), ole_invoke2(), onig_st_insert_strend(), ossl_bn_s_generate_prime(), ossl_pkey_verify(), ossl_x509name_cmp(), ossl_x509name_eql(), ossl_x509stctx_verify(), ossl_x509store_verify(), p_gamma(), parser_yylex(), proc_waitall(), pruby_async_return_int(), pruby_async_return_str(), pruby_eval(), q_gamma(), rb_ary_drop(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_ary_join(), rb_ary_pop_m(), rb_ary_product(), rb_ary_sample(), rb_ary_select(), rb_ary_shift_m(), rb_ary_transpose(), rb_ary_zip(), rb_autoload_load(), rb_cstr_to_inum(), rb_debug_inspector_open(), rb_dlcfunc_call(), rb_enc_sprintf(), rb_enc_vsprintf(), rb_ensure(), rb_equal(), rb_f_backquote(), rb_file_expand_path_internal(), rb_file_join(), rb_get_values_at(), rb_gmtime_r2(), rb_hash_select(), rb_hash_values_at(), rb_home_dir(), rb_invcmp(), rb_io_inspect(), rb_iseq_line_trace_all(), rb_localtime_r2(), rb_method_call_with_block(), rb_name_err_mesg_new(), rb_obj_not_equal(), rb_obj_not_match(), rb_protect(), rb_reg_match_m(), rb_reg_preprocess_dregexp(), rb_reg_search(), rb_require_safe(), rb_rescue2(), rb_sprintf(), rb_str_cmp_m(), rb_str_crypt(), rb_str_dump(), rb_str_format(), rb_str_inspect(), rb_str_match_m(), rb_str_scan(), rb_str_slice_bang(), rb_str_split_m(), rb_strftime_with_timespec(), rb_struct_select(), rb_suppress_tracing(), rb_thread_wait_fd_rw(), rb_vm_make_jump_tag_but_local_jump(), rb_waitpid(), rb_waitpid_blocking(), readline_attempted_completion_function(), readline_readline(), recursive_join(), ruby__sfvextra(), ruby__sfvwrite(), scan_once(), strtol(), take_items(), time_add(), ttymode(), unescape_unicode(), username_completion_proc_call(), vm_default_params(), vm_exec(), yield_indexed_values(), zip_ary(), and zip_i().

return ret
Initial value:
{
char *buf = strdup(cmd)
unsigned char buf[MIME_BUF_SIZE]
Definition: nkf.c:4308
#define strdup(s)
Definition: util.h:69
const char * cmd
Definition: tcltklib.c:278

Definition at line 280 of file tcltklib.c.

Referenced by addrinfo_firstonly_new(), addrinfo_inspect(), addrinfo_ip_address(), addrinfo_ip_unpack(), addrinfo_list_new(), addrinfo_s_ip(), addrinfo_to_sockaddr(), BigDecimal_save_exception_mode(), BigDecimal_save_limit(), BigDecimal_save_rounding_mode(), BigDecimal_to_i(), bmcall(), BSD_vfprintf(), call_asynchronous(), callback(), check_if_dir(), cloexec_accept(), coderange_scan(), compare_posix_sh(), constant_arg(), date_s_civil(), date_s_commercial(), date_s_jd(), date_s_ordinal(), date_s_today(), datetime_s_civil(), datetime_s_commercial(), datetime_s_jd(), datetime_s_now(), datetime_s_ordinal(), decode_bstr(), decode_enum(), decode_int(), decode_obj(), decode_time(), do_lstat(), do_stat(), dupfd(), econv_convert(), econv_finish(), econv_get_replacement(), econv_insert_output(), econv_set_replacement(), enc_succ_alnum_char(), fcntl(), fd_set_cloexec(), fdbm_delete_if(), fgdbm_delete_if(), fsdbm_delete_if(), goruby_options(), h_conv(), hash2result(), Init_tcltklib(), initialize(), insn_operand_intern(), inspect_sockaddr(), io_flush_buffer_async2(), io_read_nonblock(), io_readpartial(), is_console(), is_pipe(), is_readable_console(), is_readable_pipe(), iseq_s_of(), kill(), link(), make_inspectname(), maygvl_copy_stream_wait_read(), new_child_iseq(), nogvl_copy_stream_func(), nogvl_copy_stream_read_write(), nogvl_copy_stream_wait_write(), nogvl_getaddrinfo(), ole_param_flag_mask(), ole_search_event_at(), onigenc_mbclen_approximate(), ossl_asn1_decode(), ossl_asn1_get_asn1type(), ossl_asn1_is_explicit(), ossl_asn1_tag_class(), ossl_asn1obj_get_ln(), ossl_asn1obj_get_sn(), ossl_cipher_new(), ossl_digest_new(), ossl_dsa_verify(), ossl_membio2str(), ossl_membio2str0(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_read_smime(), ossl_pkcs7_s_sign(), ossl_pkcs7_sym2typeid(), ossl_protect_obj2bio(), ossl_ssl_get_state(), ossl_start_ssl(), ossl_verify_cb(), ossl_x509attr_get_oid(), ossl_x509crl_verify(), ossl_x509ext_get_oid(), ossl_x509ext_get_value(), ossl_x509name_to_a(), output_hex_charref(), output_replacement_character(), overlapped_socket_io(), parse_comp(), quo(), rand_int(), rb_apply(), rb_chsize(), rb_cloexec_dup2(), rb_cloexec_fcntl_dupfd(), rb_cloexec_open(), rb_cloexec_pipe(), rb_dlhandle_close(), rb_econv_convert(), rb_econv_init_by_convpath(), rb_econv_init_by_convpath_i(), rb_econv_open_by_transcoder_entries(), rb_econv_open_opts(), rb_enc_strlen_cr(), rb_exec(), rb_exec_without_timer_thread(), rb_execarg_init(), rb_f_p_internal(), rb_f_system(), rb_fiddle_handle_close(), rb_file_load_ok(), rb_getaddrinfo(), rb_getnameinfo(), rb_hash_dup(), rb_hash_to_h(), rb_io_s_pipe(), rb_iseq_compile_node(), rb_maygvl_fd_fix_cloexec(), rb_pipe(), rb_proc_exec(), rb_proc_exec_n(), rb_reg_initialize_str(), rb_spawn_internal(), rb_str_coderange_scan_restartable(), rb_str_ellipsize(), rb_str_to_dbl(), rb_str_to_inum(), rb_thread_flock(), rb_w32_aspawn_flags(), rb_w32_fdisset(), rb_w32_fstat(), rb_w32_fstati64(), rb_w32_mkdir(), rb_w32_open(), rb_w32_opendir(), rb_w32_pipe(), rb_w32_read(), rb_w32_rename(), rb_w32_rmdir(), rb_w32_spawn(), rb_w32_stati64(), rb_w32_truncate(), rb_w32_uchdir(), rb_w32_uchmod(), rb_w32_ulink(), rb_w32_umkdir(), rb_w32_unlink(), rb_w32_uopen(), rb_w32_uopendir(), rb_w32_urename(), rb_w32_urmdir(), rb_w32_ustati64(), rb_w32_utime(), rb_w32_uunlink(), rb_w32_uutime(), rb_w32_write(), reachable_objects_from(), read_digits(), realpath_rec(), recvmsg(), remove_event_hook(), rsock_fd_socket_addrinfo(), rsock_socket0(), RUBY_ALIAS_FUNCTION(), ruby_dtoa(), ruby_snprintf(), ruby_strtod(), ruby_strtoul(), ruby_vsnprintf(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), s_iconv(), scan_digits(), sendmsg(), setfl(), sip_hash_final(), sock_s_getaddrinfo(), socketpair_internal(), socklist_delete(), socklist_lookup(), sockopt_inspect(), stack_check(), strscan_do_scan(), subexp_inf_recursive_check(), subexp_recursive_check_trav(), tcl_protect_core(), tcltklib_compile_info(), time_to_date(), time_to_datetime(), timegmw_noleapsecond(), transcode_loop(), u8to64_le(), udp_connect(), unicode_iconv(), unicode_to_jis_common(), validate_label(), vm_call0_body(), w16e_conv(), w2e_conv(), w_iconv(), w_iconv_nocombine(), wait_connectable(), waitpid(), weeknumber(), wmkdir(), wquo(), wrmdir(), wstati64(), wunlink(), wutime(), x0212_shift(), x0212_unshift(), yaml_document_add_mapping(), yaml_document_add_scalar(), yaml_document_add_sequence(), and zone_str_update().

return retry = 0
return

Definition at line 2546 of file tcltklib.c.

ptr return_value = 0

Definition at line 6170 of file tcltklib.c.

VALUE retval
ruby_debug = rb_debug_bup
ruby_verbose = rb_verbose_bup
run_timer_flag = 0
static

Definition at line 532 of file tcltklib.c.

int safe
ivq safe_level = rb_safe_level()

Definition at line 7195 of file tcltklib.c.

Referenced by safe_setter().

VALUE safemode = argv[1]

Definition at line 6401 of file tcltklib.c.

static VALUE VALUE self
static
Initial value:
{
static int timer_tick
Definition: tcltklib.c:530
#define INT2NUM(x)

Definition at line 769 of file tcltklib.c.

Referenced by strscan_init_copy().

struct tcltkip * slave
Initial value:
{
static int int thr_crit_bup
Definition: tcltklib.c:1415

Definition at line 5601 of file tcltklib.c.

Referenced by chfunc(), and establishShell().

char* slave_list

Definition at line 5606 of file tcltklib.c.

slave_name = objv[1]

Definition at line 5607 of file tcltklib.c.

VALUE src

Definition at line 6149 of file tcltklib.c.

int state
Initial value:
{
volatile VALUE klass = rb_cObject
RUBY_EXTERN VALUE rb_cObject
Definition: ripper.y:1426
klass
Definition: tcltklib.c:3503
unsigned long VALUE
Definition: ripper.y:104

Definition at line 1461 of file tcltklib.c.

Referenced by BigDecimal_save_exception_mode(), BigDecimal_save_limit(), BigDecimal_save_rounding_mode(), cState_allow_nan_p(), cState_array_nl(), cState_array_nl_set(), cState_ascii_only_p(), cState_buffer_initial_length(), cState_buffer_initial_length_set(), cState_check_circular_p(), cState_configure(), cState_depth(), cState_depth_set(), cState_generate(), cState_indent(), cState_indent_set(), cState_initialize(), cState_max_nesting(), cState_max_nesting_set(), cState_object_nl(), cState_object_nl_set(), cState_partial_generate(), cState_prepare_buffer(), cState_quirks_mode_p(), cState_quirks_mode_set(), cState_s_allocate(), cState_space(), cState_space_before(), cState_space_before_set(), cState_space_set(), cState_to_h(), eval_string_with_cref(), EVENTSINK_Invoke(), exec_hooks(), exec_recursive_i(), goruby_run_node(), gzfile_wrap(), init_libraries(), io_s_write(), iseq_set_sequence_stackcaching(), mObject_to_json(), name_err_mesg_to_str(), ossl_sslctx_session_get_cb(), ossl_sslctx_session_new_cb(), ossl_sslctx_session_remove_cb(), ossl_verify_cb(), parse(), parse_char_class(), parser_yylex(), pruby_eval(), pruby_obj_to_var(), raise_from_check(), random_load(), rb_autoload_load(), rb_catch_obj(), rb_debug_inspector_open(), rb_ensure(), rb_eval_cmd(), rb_fiber_start(), rb_io_s_pipe(), rb_io_s_read(), rb_iseq_compile_with_option(), rb_iterate(), rb_load_internal(), rb_method_call_with_block(), rb_require_safe(), rb_rescue2(), rb_suppress_tracing(), rb_thread_io_blocking_region(), rb_thread_s_handle_interrupt(), rb_thread_terminate_all(), rb_threadptr_exec_event_hooks_orig(), ruby_cleanup(), ruby_exec_internal(), ruby_init(), ruby_options(), ruby_setup(), signal_exec(), State_allocate(), thread_start_func_2(), vm_exec(), vm_invoke_proc(), vm_throw(), zstream_expand_buffer(), zstream_expand_buffer_protect(), and zstream_run_func().

return status
volatile VALUE str = argv[1]
static

Definition at line 3546 of file tcltklib.c.

Referenced by add_id(), allocate_converted_string(), appendline(), argf_getpartial(), argf_next_argv(), argf_read(), backtrace_dump_data(), backtrace_load_data(), BigDecimal_split(), BigDecimal_to_f(), BigDecimal_to_s(), bubblebabble_str_new(), cannot_be_coerced_into_BigDecimal(), compile_err_append(), compile_snprintf(), compile_warn_print(), constant_arg(), copy_stream_body(), date_s__strptime_internal(), date_s_httpdate(), date_s_iso8601(), date_s_jisx0301(), date_s_parse(), date_s_rfc2822(), date_s_rfc3339(), date_s_strptime(), date_s_xmlschema(), date_strftime_internal(), date_zone_to_diff(), datetime_s_httpdate(), datetime_s_iso8601(), datetime_s_jisx0301(), datetime_s_parse(), datetime_s_rfc2822(), datetime_s_rfc3339(), datetime_s_strptime(), datetime_s_xmlschema(), defined_expr(), dir_globs(), dir_inspect(), dir_s_glob(), do_writeconv(), dump_disasm_list(), econv_inspect(), econv_putback(), enc_inspect(), enc_names_i(), env_inspect(), env_key(), env_str_new(), exc_inspect(), gc_profile_result(), GetConfigPtr(), gzfile_error_inspect(), gzfile_newstr(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), gzfile_read_raw_until_zero(), gzfile_reader_get_unused(), gzfile_write_raw(), gzreader_skip_linebreaks(), hexencode_str_new(), hist_push_method(), id_to_name(), infect(), insn_data_to_s_detail(), inspect1(), inspect2(), inspect_ary(), inspect_enumerator(), inspect_hash(), inspect_i(), inspect_obj(), inspect_range(), inspect_struct(), io_binwrite(), io_enc_str(), io_getc(), io_getpartial(), io_read(), io_reader(), io_s_foreach(), io_shift_cbuf(), iseq_compile_each(), iseq_setup(), join_der(), make_inspect(), match_array(), match_at(), match_equal(), match_hash(), match_inspect(), match_to_s(), method_inspect(), mime_putc(), name_err_mesg_load(), name_err_to_s(), obj_to_asn1derstr(), obj_to_asn1str(), ole_typedesc2val(), onig_match(), onig_search_gpos(), option_to_str(), ossl_asn1cons_to_der(), ossl_asn1prim_to_der(), ossl_bn_initialize(), ossl_bn_to_s(), ossl_buf2str(), ossl_cipher_final(), ossl_cipher_update(), ossl_dh_compute_key(), ossl_dh_export(), ossl_dh_to_der(), ossl_dh_to_text(), ossl_digest_finish(), ossl_dsa_export(), ossl_dsa_sign(), ossl_dsa_to_der(), ossl_dsa_to_text(), ossl_make_error(), ossl_pkcs12_to_der(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_to_der(), ossl_pkcs7_to_pem(), ossl_pkey_sign(), ossl_rand_bytes(), ossl_rand_pseudo_bytes(), ossl_rand_seed(), ossl_rsa_export(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_to_der(), ossl_rsa_to_text(), ossl_spki_print(), ossl_spki_set_challenge(), ossl_spki_to_der(), ossl_spki_to_pem(), ossl_ssl_read_internal(), ossl_ssl_session_to_der(), ossl_ssl_session_to_pem(), ossl_ssl_session_to_text(), ossl_sslctx_set_ciphers(), ossl_x509_get_signature_algorithm(), ossl_x509_to_der(), ossl_x509_to_pem(), ossl_x509_to_text(), ossl_x509attr_get_value(), ossl_x509attr_to_der(), ossl_x509crl_get_signature_algorithm(), ossl_x509crl_to_der(), ossl_x509crl_to_pem(), ossl_x509crl_to_text(), ossl_x509ext_to_der(), ossl_x509name_initialize(), ossl_x509name_to_der(), ossl_x509name_to_s(), ossl_x509name_to_s_old(), ossl_x509req_get_signature_algorithm(), ossl_x509req_to_der(), ossl_x509req_to_pem(), ossl_x509req_to_text(), parser_magic_comment(), parser_str_new(), path_basename(), path_dirname(), path_entries(), path_expand_path(), path_extname(), path_fnmatch(), path_initialize(), path_inspect(), path_mkdir(), path_readlink(), path_realdirpath(), path_realpath(), path_s_getwd(), path_split(), path_sub(), path_sub_ext(), path_unlink(), proc_exec_sh(), proc_to_s(), pruby_cstr_to_var(), pruby_str_to_var(), pst_inspect(), pst_to_s(), r_byte1_buffered(), r_bytes0(), r_bytes1(), r_bytes1_buffered(), r_object0(), range_to_s(), rb_any_to_s(), rb_check_string_type(), rb_compile_error(), rb_compile_error_append(), rb_compile_error_with_enc(), rb_cstr_to_inum(), rb_digest_base_finish(), rb_digest_class_s_digest(), rb_digest_instance_digest(), rb_digest_instance_hexdigest(), rb_digest_instance_inspect(), rb_dlptr_s_to_ptr(), rb_econv_insert_output(), rb_enc_aliases_enc_i(), rb_enc_cr_str_buf_cat(), rb_enc_name_list_i(), rb_enc_str_new(), rb_enc_uint_chr(), rb_external_str_new_with_enc(), rb_f_chomp(), rb_f_chop(), rb_f_getenv(), rb_f_gsub(), rb_f_kill(), rb_f_sub(), rb_fiddle_ptr_s_to_ptr(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_gdbm_fetch(), rb_gdbm_firstkey(), rb_gdbm_nextkey(), rb_gzfile_comment(), rb_gzfile_orig_name(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_gzreader_each(), rb_gzreader_readlines(), rb_id2str(), rb_inspect(), rb_intern3(), rb_io_each_line(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_gets_m(), rb_io_putc(), rb_io_sysread(), rb_iseq_defined_string(), rb_iseq_disasm(), rb_iseq_disasm_insn(), rb_load_file(), rb_name_error_str(), rb_obj_as_string(), rb_obj_inspect(), rb_p(), rb_reg_desc(), rb_reg_initialize_m(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_match(), rb_reg_preprocess_dregexp(), rb_reg_regcomp(), rb_reg_regsub(), rb_reg_source(), rb_reg_to_s(), rb_set_class_path(), rb_set_class_path_string(), rb_stat_inspect(), rb_str_append(), rb_str_aref(), rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat_ascii(), rb_str_buf_new(), rb_str_buf_new_cstr(), rb_str_capitalize(), rb_str_capitalize_bang(), rb_str_cat(), rb_str_catf(), rb_str_chomp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_clear(), rb_str_delete(), rb_str_delete_bang(), rb_str_downcase(), rb_str_downcase_bang(), rb_str_drop_bytes(), rb_str_ellipsize(), rb_str_encode(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_force_encoding(), rb_str_format(), rb_str_init(), rb_str_insert(), rb_str_lstrip(), rb_str_lstrip_bang(), rb_str_match_m(), rb_str_new_frozen(), rb_str_prepend(), rb_str_quote_unprintable(), rb_str_replace(), rb_str_resize(), rb_str_reverse_bang(), rb_str_rstrip(), rb_str_rstrip_bang(), rb_str_scan(), rb_str_squeeze(), rb_str_squeeze_bang(), rb_str_strip(), rb_str_strip_bang(), rb_str_sub(), rb_str_sub_bang(), rb_str_succ(), rb_str_succ_bang(), rb_str_swapcase(), rb_str_swapcase_bang(), rb_str_to_s(), rb_str_tr(), rb_str_tr_s(), rb_str_unlocktmp(), rb_str_upcase(), rb_str_upcase_bang(), rb_str_vcatf(), rb_strftime_with_timespec(), rb_tainted_str_new_cstr(), rb_thread_current_status(), rb_thread_inspect(), rb_usascii_str_new(), rb_zlib_version(), read_all(), reg_match_pos(), remove_sign_bits(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), RUBY_ALIAS_FUNCTION(), ruby_brace_expand(), ruby_debug_print_value(), ruby_each_words(), ruby_setenv(), ruby_strtoul(), scan_digits(), set_file_encoding(), str_alloc(), str_buf_cat(), str_byte_aref(), str_encode(), str_encode_associate(), str_encode_bang(), str_gsub(), str_new(), str_replace(), str_replace_shared_without_enc(), str_shrink(), str_transcode0(), strftimev(), strio_getline(), strio_gets(), strio_putc(), strio_read(), strio_set_encoding(), strio_substr(), strio_ungetbyte(), strscan_do_scan(), strscan_initialize(), strscan_set_string(), sym_inspect(), sys_fail2(), syserr_initialize(), syslog_write(), tcl_protect_core(), time_dump(), time_mdump(), time_strftime(), tr_trans(), update_char_offset(), usage(), vm_check_if_namespace(), warn_print(), warn_printf(), and writer().

volatile VALUE strval
Initial value:
{
char *ret
int ret
Definition: tcltklib.c:280

Definition at line 9364 of file tcltklib.c.

struct timeval t

Definition at line 2194 of file tcltklib.c.

struct timeval t0 t1
return table
static
Initial value:
{
return create_dummy_encoding_for_tk_core(interp, name, Qtrue)
static int Tcl_Interp * interp
Definition: tcltklib.c:277
return Qtrue
Definition: tcltklib.c:9609
const char * name
Definition: nkf.c:208

Definition at line 10137 of file tcltklib.c.

Referenced by define_final0(), get_line_info(), insn_make_insn_table(), rb_gc_copy_finalizer(), rb_iseq_translate_threaded_code(), rb_str_count(), run_final(), scan_digits(), st_foreach_safe(), tr_find(), tr_setup_table(), and unpack_entries().

int taint_flag = OBJ_TAINTED(list_str)

Definition at line 9716 of file tcltklib.c.

VALUE target
return TCL_ERROR

Definition at line 3953 of file tcltklib.c.

Referenced by if(), switch(), and tcl_protect_core().

return TCL_OK
Initial value:
{
static int Tcl_Interp * interp
Definition: tcltklib.c:277
Tcl_ResetResult(interp)

Definition at line 3998 of file tcltklib.c.

Referenced by if(), switch(), and tcl_protect_core().

Tcl_SetMaxBlockTime& tcl_time

Definition at line 1893 of file tcltklib.c.

Referenced by rbtk_EventSetupProc().

int* tclDummyMathPtr = (int *) matherr

Definition at line 395 of file tcltklib.c.

struct { ... } tcltk_version

Referenced by set_tcltk_version().

VALUE tcltkip_class
static

Definition at line 220 of file tcltklib.c.

const char tcltklib_release_date[] = TCLTKLIB_RELEASE_DATE
static

Definition at line 178 of file tcltklib.c.

VALUE th = rb_thread_create(_thread_call_proc, (void*)q)
static

Definition at line 2947 of file tcltklib.c.

Referenced by call_trace_func(), call_without_gvl(), check_deadlock_i(), clear_trace_func_i(), compile_err_append(), cont_capture(), cont_mark(), cont_new(), cont_restore_thread(), cont_save_thread(), do_select(), error_handle(), error_print(), exec_interrupts(), gc_marks(), GET_THREAD(), Init_BareVM(), init_heap(), Init_VM(), location_to_str(), lock_func(), m_core_set_postexe(), method_entry_of_iseq(), proc_new(), process_options(), rb_add_method(), rb_binding_new(), rb_block_given_p(), rb_debug_inspector_open(), rb_dvar_defined(), rb_ensure(), rb_errinfo(), rb_exec_end_proc(), rb_fiber_reset_root_local_storage(), rb_frame_pop(), rb_iseq_compile_with_option(), rb_iseq_eval(), rb_iseq_eval_main(), rb_iseq_new_main(), rb_last_status_set(), rb_load_internal(), rb_local_defined(), rb_longjmp(), rb_memerror(), rb_method_call_with_block(), rb_mod_refine(), rb_mutex_lock(), rb_protect(), rb_raise_jump(), rb_require_safe(), rb_rescue2(), rb_set_end_proc(), rb_set_safe_level(), rb_sourcefile(), rb_sourcefilename(), rb_sourceline(), rb_suppress_tracing(), rb_thread_abort_exc(), rb_thread_abort_exc_set(), rb_thread_alive_p(), rb_thread_atfork_internal(), rb_thread_blocking_region_begin(), rb_thread_blocking_region_end(), rb_thread_call_with_gvl(), rb_thread_execute_interrupts(), rb_thread_exit(), rb_thread_group(), rb_thread_inspect(), rb_thread_interrupted(), rb_thread_io_blocking_region(), rb_thread_key_p(), rb_thread_keys(), rb_thread_kill(), rb_thread_local_aref(), rb_thread_local_aset(), rb_thread_mark(), rb_thread_polling(), rb_thread_priority(), rb_thread_priority_set(), rb_thread_s_handle_interrupt(), rb_thread_safe_level(), rb_thread_schedule_limits(), rb_thread_status(), rb_thread_stop_p(), rb_thread_terminate_all(), rb_thread_variable_get(), rb_thread_variable_set(), rb_thread_wait_for(), rb_thread_wakeup_alive(), rb_threadptr_exec_event_hooks_orig(), rb_vm_call_cfunc(), rb_vm_cbase(), rb_vm_cref(), rb_vm_pop_cfunc_frame(), rb_vm_set_progname(), rb_vmdebug_stack_dump_raw_current(), rb_vmdebug_stack_dump_th(), rb_vmdebug_thread_dump_regs(), rb_vmdebug_thread_dump_state(), remove_from_join_list(), require_libraries(), ruby_cleanup(), ruby_exec_internal(), ruby_stack_length(), ruby_thread_has_gvl_p(), ruby_thread_init(), ruby_vm_destruct(), safe_setter(), set_relation(), slot_sweep(), stack_check(), terminate_atfork_before_exec_i(), terminate_atfork_i(), terminate_i(), thgroup_add(), thgroup_list_i(), thread_add_trace_func_m(), thread_alloc(), thread_backtrace_to_ary(), thread_cleanup_func(), thread_cleanup_func_before_exec(), thread_create_core(), thread_fd_close_i(), thread_free(), thread_initialize(), thread_join(), thread_join_sleep(), thread_list_i(), thread_memsize(), thread_raise_m(), thread_s_new(), thread_set_trace_func_m(), thread_value(), thval2thread_t(), top_define_method(), top_include(), vm_svar_get(), and vm_svar_set().

int thr_crit_bup = rb_thread_critical
static

Definition at line 1415 of file tcltklib.c.

Referenced by if(), switch(), and tcl_protect_core().

ivq thread = current_thread
VALUE tick
Initial value:
{
return Qfalse;
} else {
return Qtrue;
}
}
static VALUE
VALUE self
return Qtrue
Definition: tcltklib.c:9609
return Qfalse
Definition: tcltklib.c:6778
static int window_event_mode
Definition: tcltklib.c:476
unsigned long VALUE
Definition: ripper.y:104

Definition at line 1679 of file tcltklib.c.

VALUE time
timer_tick = DEFAULT_TIMER_TICK
static

Definition at line 530 of file tcltklib.c.

Tcl_TimerToken timer_token = (Tcl_TimerToken)NULL
static

Definition at line 1605 of file tcltklib.c.

Referenced by for(), if(), and while().

Tk_Window tkwin = (Tk_Window) clientData

Definition at line 5089 of file tcltklib.c.

volatile VALUE tmp = Qnil

Definition at line 10208 of file tcltklib.c.

Referenced by allocate_converted_string(), argf_getpartial(), argf_read(), ary_join_1(), ary_reverse(), BigDecimal_inspect(), check_exec_redirect(), check_exec_redirect_fd(), constant_arg(), control_frame_dump(), cParser_initialize(), cState_configure(), d_lite_plus(), divmodv(), do_opendir(), dyna_pop_1(), fc_path(), filetime_to_timeval(), finalize_list(), find_class_path(), fix_string_encoding(), flat_map_i(), flatten(), generate_json(), generate_json_bignum(), generate_json_float(), get_hash(), get_user_from_path(), glob_free_pattern(), glob_helper(), glob_make_pattern(), gmtime_r(), gzreader_gets(), hypot(), if(), init_heap(), Init_strscan(), io_encoding_set(), io_puts_ary(), io_write(), is_not_included(), localtime_r(), make_metaclass(), memcmp(), minmax_by_i(), minmax_i(), minmax_ii(), mod_cvar_of(), num_exact(), onig_region_resize(), opendir_internal(), ossl_asn1_decode(), ossl_asn1_decode_all(), ossl_asn1_traverse(), ossl_to_der(), ossl_x509crl_new(), ossl_x509name_initialize(), pack_unpack(), parse_comp(), parse_exp(), parse_main(), parser_yylex(), pipe_atexit(), pipe_del_fptr(), prepare_getline_args(), r_bytes1_buffered(), r_object0(), range_each(), range_step(), rb_Array(), rb_ary_join(), rb_ary_resize(), rb_ary_shuffle_bang(), rb_ary_sort_bang(), rb_ary_times(), rb_ary_to_ary(), rb_ary_transpose(), rb_ary_zip(), rb_big_pack(), rb_check_argv(), rb_check_id(), rb_const_defined_0(), rb_const_get_0(), rb_convert_to_integer(), rb_cvar_get(), rb_cvar_set(), rb_define_hooked_variable(), rb_enc_compatible(), rb_enc_get_index(), rb_execarg_addopt(), rb_f_open(), rb_file_expand_path_internal(), rb_file_join(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_gc_register_address(), rb_gc_unregister_address(), rb_get_path_check(), rb_get_path_check_to_string(), rb_Hash(), rb_hash_flatten(), rb_hash_rehash(), rb_hash_s_create(), rb_io_extract_encoding_option(), rb_io_reopen(), rb_io_s_popen(), rb_load(), rb_memcicmp(), rb_mod_const_of(), rb_nkf_convert(), rb_quad_unpack(), rb_reg_quote(), rb_stat(), rb_str_aref(), rb_str_cmp_m(), rb_str_end_with(), rb_str_format(), rb_str_format_m(), rb_str_index_m(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_split_m(), rb_str_start_with(), rb_String(), rb_to_id(), rb_w32_spawn(), rb_w32_wrap_io_handle(), rb_yield_splat(), read_digits(), readline_readline(), reduce0(), register_label(), ruby_scan_hex(), ruby_strdup(), search_required(), setup_args(), setup_narg(), sock_s_getnameinfo(), sockopt_s_linger(), st_cleanup_safe(), st_foreach(), st_foreach_check(), st_update(), strio_getline(), switch(), time_overflow_p(), tr_trans(), unixtime_to_filetime(), utc_offset_arg(), vm_caller_setup_args(), vm_search_const_defined_class(), wdivmod(), yaml_parser_scan_tag(), zip_ary(), and zip_i().

t tv_sec = 0

Definition at line 2799 of file tcltklib.c.

t tv_usec = (long)((NO_THREAD_INTERRUPT_TIME)*1000.0)

Definition at line 2800 of file tcltklib.c.

int type

Definition at line 111 of file tcltklib.c.

Referenced by callback(), check_type_tree(), compile_length_tree(), compile_tree(), count_objects(), count_objects_size(), defined_expr(), find_iid(), fixup_nodes(), fole_type(), function_call(), generic_to_value(), get_head_value_node(), init_inetsock_internal(), initialize(), insn_data_to_s_detail(), insn_operand_intern(), int_to_ffi_type(), invoke_block_from_c(), iow_inspect(), iseq_build_from_ary_exception(), iseq_compile_each(), iseq_data_to_ary(), iseq_load(), iseq_set_sequence(), method_entry_i(), method_entry_set(), next_setup(), node_new_ctype(), node_new_enclose(), ole_method_invoke_kind(), ole_method_return_type(), ole_method_return_type_detail(), ole_ole_type(), ole_param_ole_type(), ole_ptrtype2val(), ole_type_from_itypeinfo(), ole_type_impl_ole_types(), ole_types_from_typelib(), ole_usertype2val(), ole_variable_ole_type(), ole_variable_ole_type_detail(), onig_node_new_anchor(), optimize_node_left(), ossl_digest_initialize(), ossl_pkcs7_set_type(), ossl_x509name_add_entry(), pack_pack(), pack_unpack(), prepare_iseq_build(), r_object0(), r_symbol(), range_op(), rb_add_method(), rb_data_typed_object_alloc(), rb_dlcfunc_initialize(), rb_dlcfunc_new(), rb_enc_symname_type(), rb_feature_p(), rb_search_method_entry(), rb_str_symname_type(), rsock_init_inetsock(), search_required(), set_relation(), setup_subexp_call(), setup_tree(), singleton_class_of(), sock_initialize(), st_init_table_with_size(), subexp_inf_recursive_check(), subexp_inf_recursive_check_trav(), subexp_recursive_check_trav(), tcl_protect_core(), type2sym(), typeinfo_from_ole(), vm_exec(), vm_invoke_block(), and vm_push_frame().

int unknown_flag = 0

Definition at line 8570 of file tcltklib.c.

UNREACHABLE
Initial value:
{
"cancel_eval is supported Tcl/Tk8.6 or later.")
void rb_raise(VALUE exc, const char *fmt,...)
Definition: error.c:1788
VALUE rb_eNotImpError
Definition: error.c:526

Definition at line 1453 of file tcltklib.c.

args update_flag = update_flag

Definition at line 2187 of file tcltklib.c.

Referenced by for().

CONST char* updateOptions[] = {"idletasks", (char *) NULL}
static

Definition at line 3893 of file tcltklib.c.

Definition at line 8962 of file tcltklib.c.

va_dcl
Initial value:
{
va_list args
VALUE VALUE args
Definition: tcltklib.c:2560

Definition at line 844 of file tcltklib.c.

VALUE VALUE val
static

Definition at line 1927 of file tcltklib.c.

static int VALUE value = argv[2]

Definition at line 9441 of file tcltklib.c.

Referenced by autoload_defined_p(), cont_capture(), env_aset(), env_delete(), fc_i(), fdbm_delete(), fdbm_fetch(), fiber_switch(), flo_is_finite_p(), flo_is_infinite_p(), flo_is_nan_p(), flo_to_s(), fsdbm_delete(), fsdbm_fetch(), generate_json_float(), givar_mark_i(), hash2named_arg(), inspect_i(), int_ossl_asn1_decode0_cons(), int_ossl_asn1_decode0_prim(), new_entry(), NOINSERT_UPDATE_CALLBACK(), ossl_asn1_get_asn1type(), ossl_asn1_initialize(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_asn1eoc_initialize(), ossl_x509attr_initialize(), ossl_x509attr_set_value(), ossl_x509ext_initialize(), ossl_x509extfactory_create_ext(), ossl_x509name_add_entry(), pruby_async_return_value(), pruby_post_value(), r_object0(), r_value(), rb_autoload(), rb_const_defined_0(), rb_const_get_0(), rb_const_set(), rb_cvar_get(), rb_digest_instance_digest(), rb_digest_instance_digest_bang(), rb_digest_instance_hexdigest(), rb_digest_instance_hexdigest_bang(), rb_f_throw(), rb_fiber_terminate(), rb_hash_key(), rb_mod_const_set(), rb_str_setbyte(), rb_struct_each_pair(), rb_throw_obj(), ruby__sfvextra(), set_state_ivars(), shift_i(), shift_i_safe(), st_insert(), st_insert2(), st_update(), start_document(), w_obj_each(), wmap_final_func(), yaml_check_utf8(), yaml_document_append_mapping_pair(), yaml_document_initialize(), yaml_document_start_event_initialize(), yaml_emitter_analyze_scalar(), yaml_emitter_flush(), yaml_emitter_write_double_quoted_scalar(), yaml_emitter_write_tag_content(), yaml_parser_parse_node(), yaml_parser_process_directives(), yaml_parser_process_empty_scalar(), yaml_parser_scan_flow_scalar(), yaml_parser_scan_version_directive_number(), yaml_parser_set_reader_error(), and yaml_parser_update_buffer().

VALUE var
VALUE varname = argv[0]

Definition at line 9310 of file tcltklib.c.

VALUE wait
watchdog_thread = rb_thread_current()
static

Definition at line 478 of file tcltklib.c.

Tk_Window window
Initial value:
{
Tk_Window tkwin = (Tk_Window) clientData
static void ClientData clientData
Definition: tcltklib.c:1611
Tk_Window tkwin
Definition: tcltklib.c:5089

Definition at line 4474 of file tcltklib.c.

Referenced by prep_window(), window_initialize(), and window_subwin().

int window_event_mode = ~0
static

Definition at line 476 of file tcltklib.c.

int with_tk = 1

Definition at line 6150 of file tcltklib.c.