Ruby 1.9.3p327(2012-11-10revision37606)
|
Go to the source code of this file.
#define RCLASS_CONST_TBL | ( | c | ) | (RCLASS_EXT(c)->const_tbl) |
Referenced by autoload_delete(), autoload_node_id(), class_alloc(), fc_i(), find_class_path(), gc_mark_children(), include_class_new(), init_copy(), obj_free(), rb_autoload(), rb_const_defined_0(), rb_const_get_0(), rb_const_remove(), rb_const_set(), rb_mod_const_at(), rb_mod_init_copy(), rb_singleton_class_clone(), set_const_visibility(), and vm_get_ev_const().
#define RCLASS_CONST_TBL | ( | c | ) | (RCLASS_EXT(c)->const_tbl) |
Definition at line 36 of file internal.h.
#define RCLASS_CONST_TBL | ( | c | ) | (RCLASS_EXT(c)->const_tbl) |
#define RCLASS_EXT | ( | c | ) | (RCLASS(c)->ptr) |
#define RCLASS_EXT | ( | c | ) | (RCLASS(c)->ptr) |
Definition at line 33 of file internal.h.
#define RCLASS_EXT | ( | c | ) | (RCLASS(c)->ptr) |
#define RCLASS_IV_INDEX_TBL | ( | c | ) | (RCLASS(c)->iv_index_tbl) |
#define RCLASS_IV_INDEX_TBL | ( | c | ) | (RCLASS(c)->iv_index_tbl) |
Definition at line 38 of file internal.h.
#define RCLASS_IV_INDEX_TBL | ( | c | ) | (RCLASS(c)->iv_index_tbl) |
Referenced by class_alloc(), memsize_of(), obj_free(), and rb_ivar_set().
#define RCLASS_IV_TBL | ( | c | ) | (RCLASS_EXT(c)->iv_tbl) |
#define RCLASS_IV_TBL | ( | c | ) | (RCLASS_EXT(c)->iv_tbl) |
Definition at line 35 of file internal.h.
#define RCLASS_IV_TBL | ( | c | ) | (RCLASS_EXT(c)->iv_tbl) |
Referenced by autoload_delete(), autoload_node(), class_alloc(), classname(), fc_path(), find_class_path(), gc_mark_children(), include_class_new(), init_copy(), ivar_get(), memsize_of(), obj_free(), rb_autoload(), rb_class_path(), rb_cvar_get(), rb_cvar_set(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_set(), rb_mod_class_variables(), rb_mod_init_copy(), rb_mod_remove_cvar(), rb_obj_remove_instance_variable(), rb_singleton_class_attached(), rb_singleton_class_clone(), and w_extended().
#define RCLASS_M_TBL | ( | c | ) | (RCLASS(c)->m_tbl) |
Referenced by add_opt_method(), class_alloc(), class_instance_method_list(), gc_mark_children(), include_class_new(), memsize_of(), obj_free(), rb_class_boot(), rb_class_inherited_p(), rb_include_module(), rb_method_entry_make(), rb_mod_init_copy(), rb_module_new(), rb_obj_is_kind_of(), rb_obj_singleton_methods(), rb_singleton_class_clone(), remove_method(), search_method(), and w_extended().
#define RCLASS_M_TBL | ( | c | ) | (RCLASS(c)->m_tbl) |
#define RCLASS_M_TBL | ( | c | ) | (RCLASS(c)->m_tbl) |
Definition at line 37 of file internal.h.
#define RCLASS_SUPER | ( | c | ) | (RCLASS_EXT(c)->super) |
Referenced by class_alloc(), class_instance_method_list(), gc_mark_children(), include_class_new(), make_metaclass(), mnew(), rb_alias(), rb_autoload_p(), rb_class_boot(), rb_class_get_superclass(), rb_class_inherited_p(), rb_class_init_copy(), rb_class_initialize(), rb_class_real(), rb_class_superclass(), rb_const_defined_0(), rb_const_get_0(), rb_define_class(), rb_define_class_id_under(), rb_include_module(), rb_mod_ancestors(), rb_mod_const_of(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), rb_mod_modfunc(), rb_obj_alloc(), rb_obj_is_kind_of(), rb_obj_singleton_methods(), rb_singleton_class_clone(), search_method(), struct_ivar_get(), vm_call0(), vm_call_method(), vm_call_super(), vm_search_const_defined_class(), vm_search_normal_superclass(), and w_extended().
#define RCLASS_SUPER | ( | c | ) | (RCLASS_EXT(c)->super) |
#define RCLASS_SUPER | ( | c | ) | (RCLASS_EXT(c)->super) |
Definition at line 34 of file internal.h.
void Init_BareVM | ( | void | ) |
Definition at line 2205 of file vm.c.
References EXIT_FAILURE, Init_native_thread(), malloc(), MEMZERO, rb_vm_struct::objspace, rb_objspace_alloc(), rb_thread_set_current_raw, ruby_thread_init_stack(), th_init(), rb_thread_struct::vm, and vm_init2().
Referenced by ruby_init().
void Init_eval_method | ( | void | ) |
Definition at line 1282 of file vm_method.c.
References added, attached, obj_respond_to(), obj_respond_to_missing(), object_id, rb_cModule, rb_define_method(), rb_define_private_method(), rb_define_singleton_method(), rb_intern, rb_mKernel, rb_mod_alias_method(), rb_mod_method_defined(), rb_mod_modfunc(), rb_mod_private(), rb_mod_private_method(), rb_mod_private_method_defined(), rb_mod_protected(), rb_mod_protected_method_defined(), rb_mod_public(), rb_mod_public_method(), rb_mod_public_method_defined(), rb_mod_remove_method(), rb_mod_undef_method(), rb_vm_top_self(), removed, respond_to_missing, singleton_added, singleton_removed, singleton_undefined, top_private(), top_public(), and undefined.
Referenced by Init_eval().
void Init_ext | ( | void | ) |
Definition at line 2 of file dmyext.c.
Referenced by require_libraries().
void Init_File | ( | void | ) |
Definition at line 5386 of file file.c.
References define_filetest_function(), INT2FIX, LOCK_EX, LOCK_NB, LOCK_SH, LOCK_UN, PATH_SEP, Qnil, rb_cIO, rb_cObject, rb_define_alloc_func(), rb_define_class(), rb_define_class_under(), rb_define_const(), rb_define_global_function(), rb_define_method(), rb_define_module(), rb_define_module_under(), rb_define_singleton_method(), rb_f_test(), rb_file_atime(), rb_file_blockdev_p(), rb_file_chardev_p(), rb_file_chmod(), rb_file_chown(), rb_file_const(), rb_file_ctime(), 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_lstat(), rb_file_mtime(), rb_file_owned_p(), rb_file_path(), rb_file_pipe_p(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_s_absolute_path(), rb_file_s_atime(), rb_file_s_basename(), rb_file_s_chmod(), rb_file_s_chown(), rb_file_s_ctime(), rb_file_s_dirname(), rb_file_s_expand_path(), rb_file_s_extname(), rb_file_s_ftype(), rb_file_s_join(), rb_file_s_lchmod, rb_file_s_lchown, rb_file_s_link, rb_file_s_lstat(), rb_file_s_mtime(), rb_file_s_path(), rb_file_s_readlink, rb_file_s_realdirpath(), rb_file_s_realpath(), rb_file_s_rename(), rb_file_s_size(), rb_file_s_split(), rb_file_s_stat(), rb_file_s_symlink, rb_file_s_truncate, rb_file_s_umask(), rb_file_s_unlink(), rb_file_s_utime(), rb_file_sgid_p(), rb_file_size(), rb_file_size_p(), rb_file_socket_p(), rb_file_sticky_p(), rb_file_suid_p(), rb_file_symlink_p(), rb_file_truncate, rb_file_world_readable_p(), rb_file_world_writable_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_file_zero_p(), rb_include_module(), rb_io_stat(), rb_mComparable, rb_obj_freeze(), rb_stat_atime(), rb_stat_b(), rb_stat_blksize(), rb_stat_blocks(), rb_stat_c(), rb_stat_cmp(), rb_stat_ctime(), rb_stat_d(), rb_stat_dev(), rb_stat_dev_major(), rb_stat_dev_minor(), rb_stat_f(), rb_stat_ftype(), rb_stat_gid(), rb_stat_grpowned(), rb_stat_init(), rb_stat_init_copy(), rb_stat_ino(), rb_stat_inspect(), rb_stat_l(), rb_stat_mode(), rb_stat_mtime(), rb_stat_nlink(), rb_stat_owned(), rb_stat_p(), rb_stat_R(), rb_stat_r(), rb_stat_rdev(), rb_stat_rdev_major(), rb_stat_rdev_minor(), rb_stat_S(), rb_stat_s(), rb_stat_s_alloc(), rb_stat_sgid(), rb_stat_size(), rb_stat_sticky(), rb_stat_suid(), rb_stat_uid(), rb_stat_W(), rb_stat_w(), rb_stat_wr(), rb_stat_ww(), rb_stat_X(), rb_stat_x(), rb_stat_z(), rb_str_new2(), rb_usascii_str_new2(), and rb_w32_init_file().
Referenced by Init_IO().
void Init_heap | ( | void | ) |
void Init_native_thread | ( | void | ) |
Referenced by Init_BareVM().
void Init_newline | ( | void | ) |
Definition at line 183 of file newline.c.
References rb_cr_newline, rb_crlf_newline, rb_register_transcoder(), and rb_universal_newline.
Referenced by Init_transcode().
void Init_prelude | ( | void | ) |
Definition at line 56 of file miniprelude.c.
References INT2FIX, prelude_code0, prelude_code1, prelude_code2, prelude_eval(), prelude_name0, prelude_name1, prelude_name2, and rb_usascii_str_new().
Referenced by ruby_init_prelude().
void Init_vm_eval | ( | void | ) |
Definition at line 1775 of file vm_eval.c.
References rb_add_method(), rb_cBasicObject, rb_cModule, rb_define_global_function(), rb_define_method(), rb_define_private_method(), rb_f_block_given_p(), rb_f_caller(), rb_f_catch(), rb_f_eval(), rb_f_local_variables(), rb_f_loop(), rb_f_public_send(), rb_f_send(), rb_f_throw(), rb_intern, rb_method_missing(), rb_mKernel, rb_mod_module_eval(), rb_mod_module_exec(), rb_obj_instance_eval(), rb_obj_instance_exec(), and VM_METHOD_TYPE_OPTIMIZED.
Referenced by Init_eval().
NORETURN | ( | PRINTF_ARGS(void rb_compile_bug(const char *, int, const char *,...), 3, 4) | ) |
NORETURN | ( | void | rb_async_bug_errnoconst char *, int | ) |
PRINTF_ARGS | ( | void | ruby_debug_printfconst char *,..., |
1 | , | ||
2 | |||
) |
Definition at line 1106 of file array.c.
References ary_take_first_or_last(), ARY_TAKE_LAST, Qnil, RARRAY_LEN, and RARRAY_PTR.
Referenced by Init_Array(), and range_last().
Definition at line 3007 of file bignum.c.
References big2dbl(), big_fdiv(), DBL2NUM, FIX2LONG, isinf(), isnan, rb_big2dbl(), rb_intern, rb_num_coerce_bin(), RFLOAT_VALUE, T_BIGNUM, T_FIXNUM, T_FLOAT, and TYPE.
Referenced by fix_fdiv(), and Init_Bignum().
Definition at line 1649 of file bignum.c.
References bignorm(), rb_big_clone(), RBIGNUM_SET_SIGN, and RBIGNUM_SIGN.
Referenced by Init_Bignum().
void rb_call_end_proc | ( | VALUE | data | ) |
Definition at line 11 of file eval_jump.c.
References rb_ary_new(), and rb_proc_call().
Referenced by m_core_set_postexe(), and rb_f_at_exit().
void rb_call_inits | ( | void | ) |
Definition at line 658 of file error.c.
References err, NIL_P, RARRAY_LEN, RARRAY_PTR, rb_ary_new3(), rb_eTypeError, rb_raise(), T_ARRAY, T_STRING, and TYPE.
Referenced by exc_set_backtrace(), and get_backtrace().
void rb_clear_trace_func | ( | void | ) |
Definition at line 4350 of file thread.c.
References clear_trace_func_i(), GET_VM, rb_remove_event_hook(), and st_foreach().
Referenced by ruby_finalize_0(), and ruby_options().
VALUE rb_current_realfilepath | ( | void | ) |
Definition at line 1765 of file vm_eval.c.
References rb_thread_struct::cfp, rb_iseq_struct::filepath, GET_THREAD, rb_control_frame_t::iseq, Qnil, RUBY_VM_PREVIOUS_CONTROL_FRAME, and vm_get_ruby_level_caller_cfp().
Referenced by rb_f_require_relative().
int rb_dvar_defined | ( | ID | ) |
Definition at line 5525 of file compile.c.
References rb_thread_struct::base_block, GET_THREAD, rb_block_struct::iseq, rb_iseq_struct::local_table, rb_iseq_struct::local_table_size, rb_iseq_struct::parent_iseq, and rb_iseq_struct::type.
Referenced by dvar_defined_gen().
void rb_fiber_reset_root_local_storage | ( | VALUE | ) |
Definition at line 1357 of file cont.c.
References rb_fiber_struct::cont, rb_thread_struct::fiber, GetFiberPtr, GetThreadPtr, rb_thread_struct::local_storage, rb_thread_struct::root_fiber, and rb_context_struct::saved_thread.
Referenced by ruby_vm_destruct().
Definition at line 3250 of file file.c.
References check_expand_path_args, EXPAND_PATH_BUFFER, and rb_file_expand_path_internal().
Referenced by rb_feature_provided(), and rb_get_expanded_load_path().
Definition at line 2889 of file file.c.
References ALLOCA_N, ALLOCV_END, ALLOCV_N, append_fspath(), buf, BUFCHECK, BUFINIT, chompdirsep(), code_page(), convert_mb_to_wchar(), convert_wchar_to_mb(), ENC_CODERANGE_7BIT, ENC_CODERANGE_CLEAR, fix_string_encoding(), home_dir(), Inc, INVALID_CODE_PAGE, IS_DIR_SEPARATOR_P, IS_DIR_UNC_P, isdirsep, istrailinggarbage, len, lstat, MAXPATHLEN, my_getcwd, nextdirsep, NIL_P, NULL, OBJ_TAINT, OBJ_TAINTED, PATH_BUFFER_SIZE, Qnil, rb_eArgError, rb_enc_associate(), rb_enc_check(), rb_enc_copy(), rb_enc_from_encoding(), rb_enc_get(), rb_enc_str_coderange(), rb_enc_str_new(), rb_file_expand_path_internal(), rb_filesystem_encoding(), rb_home_dir(), rb_is_absolute_path(), rb_raise(), rb_str_buf_cat(), rb_str_encode(), rb_str_encode_ospath(), rb_str_modify(), rb_str_resize(), rb_str_set_len, rb_utf8_encoding(), remove_invalid_alternative_data(), replace_to_long_name(), replace_wchar(), result, RSTRING_LEN, RSTRING_PTR, S_ISLNK, size, skipprefix, skiproot(), stat, STRCASECMP, StringValuePtr, strlcat(), strlen(), strncasecmp, strrdirsep, system_code_page(), TOLOWER, xfree(), and xmalloc.
Referenced by file_expand_path_1(), rb_file_absolute_path(), rb_file_expand_path(), rb_file_expand_path_fast(), rb_file_expand_path_internal(), rb_find_file_ext_safe(), and rb_find_file_safe().
void rb_gc_mark_encodings | ( | void | ) |
Definition at line 186 of file encoding.c.
Referenced by gc_marks().
Definition at line 53 of file eval_error.c.
References get_backtrace().
Referenced by eval_string_with_cref().
VALUE rb_get_coverages | ( | void | ) |
Definition at line 4831 of file thread.c.
Referenced by clear_coverage(), coverage(), prepare_iseq_build(), rb_coverage_result(), and rb_coverage_start().
VALUE rb_get_load_path | ( | void | ) |
Definition at line 31 of file load.c.
References GET_VM.
Referenced by rb_feature_p(), rb_find_file_ext_safe(), rb_find_file_safe(), and rb_get_expanded_load_path().
int rb_get_next_signal | ( | void | ) |
Definition at line 546 of file signal.c.
References ATOMIC_DEC, rb_disable_interrupt(), rb_enable_interrupt(), RUBY_NSIG, and signal_buff.
Referenced by rb_threadptr_execute_interrupts_common().
Definition at line 2824 of file file.c.
References buf, getenv(), Inc, Qnil, rb_eArgError, rb_enc_associate(), rb_filesystem_encoding(), rb_raise(), rb_str_resize(), result, RSTRING_PTR, and strlen().
Referenced by dir_s_home(), and rb_file_expand_path_internal().
ID rb_id_encoding | ( | void | ) |
Definition at line 644 of file encoding.c.
References CONST_ID, and id_encoding.
Referenced by enc_set_index(), id2encidx(), rb_enc_get_index(), w_encoding(), and w_obj_each().
VALUE rb_insns_name_array | ( | void | ) |
Definition at line 5206 of file compile.c.
References numberof, rb_ary_new(), rb_ary_push(), rb_obj_freeze(), and rb_str_new2().
Referenced by Init_VM().
ssize_t rb_io_bufread | ( | VALUE | io, |
void * | buf, | ||
size_t | size | ||
) |
Definition at line 1828 of file io.c.
References binwrite_arg::fptr, GetOpenFile, io_bufread(), and rb_io_check_readable().
Definition at line 550 of file iseq.c.
Referenced by iseq_s_compile(), prelude_eval(), and rb_iseq_compile().
Definition at line 1664 of file rational.c.
References f_lcm(), and nurat_int_value().
Referenced by Init_Rational(), and nucomp_denominator().
int rb_local_defined | ( | ID | ) |
Definition at line 5550 of file compile.c.
References rb_thread_struct::base_block, GET_THREAD, rb_block_struct::iseq, rb_iseq_struct::local_iseq, rb_iseq_struct::local_table, and rb_iseq_struct::local_table_size.
Referenced by local_id_gen().
int rb_num_to_uint | ( | VALUE | val, |
unsigned int * | ret | ||
) |
Definition at line 121 of file numeric.c.
References DIGSPERLONG, FIX2LONG, FIXNUM_P, NUMERR_NEGATIVE, NUMERR_TOOLARGE, NUMERR_TYPE, rb_big2ulong(), RBIGNUM_LEN, RBIGNUM_NEGATIVE_P, T_BIGNUM, and TYPE.
Referenced by int_chr(), and rb_str_concat().
Definition at line 95 of file object.c.
Referenced by Init_Object(), and opt_eq_func().
Definition at line 328 of file cont.c.
References Qfalse, Qtrue, and rb_typeddata_is_kind_of().
Referenced by rb_objspace_call_finalizer().
Definition at line 3392 of file thread.c.
References Qfalse, Qtrue, and rb_typeddata_is_kind_of().
Referenced by rb_objspace_call_finalizer().
Definition at line 1843 of file vm.c.
References Qfalse, Qtrue, rb_typeddata_is_kind_of(), and thread_data_type.
Referenced by rb_objspace_call_finalizer().
const char* rb_objspace_data_type_name | ( | VALUE | obj | ) |
Definition at line 1258 of file gc.c.
References RTYPEDDATA_P, and RTYPEDDATA_TYPE.
Referenced by cto_i().
int rb_parse_in_eval | ( | void | ) |
Definition at line 5569 of file compile.c.
References GET_THREAD.
Referenced by parser_compile_string(), and rb_parser_compile_file().
int rb_parse_in_main | ( | void | ) |
Definition at line 708 of file proc.c.
References get_proc_iseq, and iseq_location().
Referenced by Init_Proc(), and thread_initialize().
Definition at line 1624 of file rational.c.
References CLASS_OF, f_rational_new_no_reduce2(), and get_dat1.
Referenced by fix_divide().
Definition at line 3411 of file file.c.
References chompdirsep(), FilePathValue, Inc, len, NIL_P, NULL, OBJ_TAINT, Qnil, rb_dir_getwd(), rb_enc_get(), rb_hash_new(), rb_secure(), rb_str_dup_frozen(), rb_str_set_len, rb_str_subseq(), realpath_rec(), RSTRING_GETMEM, and skipprefixroot().
Referenced by iseq_s_compile_file(), process_options(), rb_file_s_realdirpath(), rb_file_s_realpath(), rb_load_internal(), and ruby_init_loadpath_safe().
Definition at line 2289 of file re.c.
References buf, err, Qnil, rb_enc_get(), RB_GC_GUARD, rb_reg_error_desc(), rb_reg_preprocess(), RSTRING_LEN, RSTRING_PTR, and StringValue.
Referenced by reg_fragment_check_gen().
Definition at line 2516 of file re.c.
References err, FL_SET, Qnil, rb_reg_alloc(), rb_reg_error_desc(), rb_reg_initialize_str(), rb_set_errinfo(), rb_str_new(), and REG_LITERAL.
Referenced by reg_compile_gen().
void rb_stdio_set_default_encoding | ( | void | ) |
Definition at line 9854 of file io.c.
References Qnil, rb_io_set_encoding(), rb_stderr, rb_stdin, and rb_stdout.
Referenced by process_options().
int rb_str_buf_cat_escaped_char | ( | VALUE | result, |
unsigned int | c, | ||
int | unicode_p | ||
) |
Definition at line 4337 of file string.c.
References buf, CHAR_ESC_LEN, ISPRINT, rb_str_buf_cat(), snprintf, and strlen().
Referenced by rb_reg_expr_str(), and rb_str_inspect().
size_t rb_strftime_timespec | ( | char * | s, |
size_t | maxsize, | ||
const char * | format, | ||
const struct vtm * | vtm, | ||
struct timespec * | ts, | ||
int | gmt | ||
) |
Definition at line 798 of file strftime.c.
References Qnil, and rb_strftime_with_timespec().
Referenced by rb_strftime_alloc().
Definition at line 590 of file struct.c.
References MEMCPY, rb_check_frozen, rb_eTypeError, rb_obj_class(), rb_obj_is_instance_of(), rb_raise(), RSTRUCT_LEN, and RSTRUCT_PTR.
Referenced by Init_Struct().
Definition at line 1646 of file vm_eval.c.
References GetThreadPtr, Qnil, rb_thread_struct::status, THREAD_KILLED, THREAD_RUNNABLE, THREAD_STOPPED, THREAD_STOPPED_FOREVER, THREAD_TO_KILL, and vm_backtrace().
Referenced by rb_thread_backtrace_m().
void* rb_thread_call_with_gvl | ( | void *(*)(void *) | func, |
void * | data1 | ||
) |
Definition at line 1199 of file thread.c.
References rb_unblock_callback::arg, blocking_region_begin, rb_thread_struct::blocking_region_buffer, blocking_region_end(), EXIT_FAILURE, rb_unblock_callback::func, if(), rb_bug(), and rb_thread_struct::unblock.
Referenced by garbage_collect_with_gvl(), maygvl_copy_stream_continue_p(), negative_size_allocation_error(), and ruby_memerror().
VALUE rb_thread_call_without_gvl | ( | rb_blocking_function_t * | func, |
void * | data1, | ||
rb_unblock_function_t * | ubf, | ||
void * | data2 | ||
) |
Definition at line 1159 of file thread.c.
References rb_thread_blocking_region().
void rb_thread_execute_interrupts | ( | VALUE | th | ) |
Definition at line 1339 of file thread.c.
References GetThreadPtr, and rb_threadptr_execute_interrupts_common().
Referenced by exec_interrupts(), and maygvl_copy_stream_continue_p().
VALUE rb_thread_io_blocking_region | ( | rb_blocking_function_t * | func, |
void * | data1, | ||
int | fd | ||
) |
Definition at line 1139 of file thread.c.
References BLOCKING_REGION, errno, func, GET_THREAD, and rb_thread_struct::waiting_fd.
Referenced by do_ioctl(), io_flush_buffer_async(), rb_file_flock(), rb_read_internal(), and rb_write_internal().
void rb_thread_mark | ( | void * | th | ) |
Definition at line 1709 of file vm.c.
References rb_thread_struct::cfp, rb_thread_struct::errinfo, rb_thread_struct::event_hooks, rb_thread_struct::fiber, rb_thread_struct::first_args, rb_thread_struct::first_proc, GET_THREAD, rb_control_frame_t::iseq, rb_thread_struct::last_status, rb_thread_struct::local_storage, rb_thread_struct::local_svar, rb_thread_struct::locking_mutex, rb_thread_struct::machine_regs, rb_thread_struct::machine_stack_end, rb_thread_struct::machine_stack_start, mark_event_hooks(), rb_thread_struct::mark_stack_len, rb_control_frame_t::me, NULL, rb_control_frame_t::proc, rb_objspace::ptr, rb_gc_mark(), rb_gc_mark_locations, rb_gc_mark_machine_stack(), rb_mark_tbl(), rb_thread_struct::root_fiber, RUBY_MARK_ENTER, RUBY_MARK_LEAVE, RUBY_MARK_UNLESS_NULL, RUBY_VM_NORMAL_ISEQ_P, RUBY_VM_PREVIOUS_CONTROL_FRAME, rb_iseq_struct::self, rb_control_frame_t::self, rb_control_frame_t::sp, rb_thread_struct::stack, rb_thread_struct::stack_size, rb_thread_struct::stat_insn_usage, rb_thread_struct::thgroup, rb_thread_struct::thrown_errinfo, rb_thread_struct::top_self, rb_thread_struct::top_wrapper, and rb_thread_struct::value.
Referenced by cont_mark().
void rb_thread_recycle_stack_release | ( | VALUE * | ) |
Definition at line 1687 of file vm.c.
References RECYCLE_MAX, and ruby_xfree().
Referenced by thread_start_func_2().
Definition at line 2442 of file time.c.
References FALSE, GetTimeval, IsTimeval, time_timeval(), timew2timespec(), timespec::tv_nsec, timespec::tv_sec, timeval::tv_sec, timeval::tv_usec, TYPEOF_TIMEVAL_TV_SEC, and TYPEOF_TIMEVAL_TV_USEC.
void rb_vm_bugreport | ( | void | ) |
Definition at line 770 of file vm_dump.c.
Referenced by report_bug(), and sdr().
void rb_vm_change_state | ( | void | ) |
Definition at line 63 of file vm.c.
Referenced by rb_clear_cache(), rb_clear_cache_by_class(), rb_clear_cache_by_id(), rb_clear_cache_for_undef(), rb_const_remove(), and rb_const_set().
const void** rb_vm_get_insns_address_table | ( | void | ) |
Definition at line 116 of file vm_exec.c.
References vm_exec_core().
Referenced by rb_iseq_translate_threaded_code().
void rb_vm_inc_const_missing_count | ( | void | ) |
Definition at line 88 of file vm.c.
Referenced by rb_const_get_0().
void rb_vm_mark | ( | void * | ptr | ) |
Definition at line 1567 of file vm.c.
References rb_vm_struct::cmd, rb_vm_struct::coverages, rb_vm_struct::event_hooks, rb_vm_struct::living_threads, rb_vm_struct::load_path, rb_vm_struct::loaded_features, rb_vm_struct::loading_table, mark_event_hooks(), rb_vm_struct::mark_object_ary, rb_gc_mark(), rb_gc_mark_locations, rb_mark_tbl(), RUBY_GC_INFO, RUBY_MARK_ENTER, RUBY_MARK_LEAVE, RUBY_MARK_UNLESS_NULL, RUBY_NSIG, ruby_special_error_count, rb_vm_struct::special_exceptions, st_foreach(), rb_vm_struct::thgroup_default, rb_vm_struct::top_self, rb_vm_struct::trap_list, and vm_mark_each_thread_func().
Referenced by gc_marks().
void ruby_error_print | ( | void | ) |
double ruby_float_mod | ( | double | x, |
double | y | ||
) |
Definition at line 1689 of file numeric.c.
References DBL2NUM, DBL_EPSILON, err, FALSE, isinf(), NUM2DBL, rb_yield(), T_FLOAT, TRUE, and TYPE.
Referenced by num_step(), and range_step().
void ruby_set_inplace_mode | ( | const char * | ) |
Definition at line 4551 of file thread.c.
References EVENT_RUNNING_TRACE, func, GET_THREAD, and thread_suppress_tracing().
Referenced by call_trace_func(), and yycompile().