|
Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the source code of this file.
Data Structures | |
| struct | rb_arithmetic_sequence_components_t |
Typedefs | |
| typedef VALUE | rb_enumerator_size_func(VALUE, VALUE, VALUE) |
| typedef fd_set | rb_fdset_t |
| typedef VALUE(* | rb_alloc_func_t) (VALUE) |
| typedef VALUE | rb_hash_update_func(VALUE newkey, VALUE oldkey, VALUE value) |
| typedef void | rb_unblock_function_t(void *) |
| typedef VALUE | rb_blocking_function_t(void *) |
| #define INTEGER_PACK_BIG_ENDIAN |
| #define INTEGER_PACK_LITTLE_ENDIAN |
| #define OBJ_INIT_COPY | ( | obj, | |
| orig | |||
| ) | RB_OBJ_INIT_COPY(obj, orig) |
| #define rb_argv rb_get_argv() |
| #define rb_ary_new2 rb_ary_new_capa |
| #define rb_ary_new3 rb_ary_new_from_args |
| #define rb_ary_new4 rb_ary_new_from_values |
| #define rb_big2int | ( | x | ) | rb_big2long(x) |
| #define rb_big2uint | ( | x | ) | rb_big2ulong(x) |
| #define rb_check_frozen_internal | ( | obj | ) |
| #define rb_check_trusted | ( | obj | ) | rb_check_trusted_inline(obj) |
| #define rb_Complex1 | ( | x | ) | rb_Complex((x), INT2FIX(0)) |
| #define rb_Complex2 | ( | x, | |
| y | |||
| ) | rb_Complex((x), (y)) |
| #define rb_complex_add rb_complex_plus |
| #define rb_complex_nagate rb_complex_uminus |
| #define rb_complex_new1 | ( | x | ) | rb_complex_new((x), INT2FIX(0)) |
| #define rb_complex_new2 | ( | x, | |
| y | |||
| ) | rb_complex_new((x), (y)) |
| #define rb_complex_raw1 | ( | x | ) | rb_complex_raw((x), INT2FIX(0)) |
| #define rb_complex_raw2 | ( | x, | |
| y | |||
| ) | rb_complex_raw((x), (y)) |
| #define rb_complex_sub rb_complex_minus |
| #define rb_enc_str_new_lit | ( | str, | |
| enc | |||
| ) | rb_enc_str_new_static((str), rb_strlen_lit(str), (enc)) |
| #define rb_enc_str_new_literal | ( | str, | |
| enc | |||
| ) | rb_enc_str_new_lit(str, enc) |
| #define rb_exc_new2 rb_exc_new_cstr |
| #define rb_exc_new3 rb_exc_new_str |
| #define rb_fd_select | ( | n, | |
| rfds, | |||
| wfds, | |||
| efds, | |||
| timeout | |||
| ) | select((n), (rfds), (wfds), (efds), (timeout)) |
| #define rb_hash_end | ( | h | ) | st_hash_end(h) |
| #define rb_hash_uint | ( | h, | |
| i | |||
| ) | st_hash_uint((h), (i)) |
| #define rb_hash_uint32 | ( | h, | |
| i | |||
| ) | st_hash_uint32((h), (i)) |
| #define RB_OBJ_INIT_COPY | ( | obj, | |
| orig | |||
| ) | ((obj) != (orig) && (rb_obj_init_copy((obj), (orig)), 1)) |
| #define rb_Rational1 | ( | x | ) | rb_Rational((x), INT2FIX(1)) |
| #define rb_Rational2 | ( | x, | |
| y | |||
| ) | rb_Rational((x), (y)) |
| #define rb_rational_new1 | ( | x | ) | rb_rational_new((x), INT2FIX(1)) |
| #define rb_rational_new2 | ( | x, | |
| y | |||
| ) | rb_rational_new((x), (y)) |
| #define rb_rational_raw1 | ( | x | ) | rb_rational_raw((x), INT2FIX(1)) |
| #define rb_rational_raw2 | ( | x, | |
| y | |||
| ) | rb_rational_raw((x), (y)) |
| #define RB_RESERVED_FD_P | ( | fd | ) | rb_reserved_fd_p(fd) |
| #define rb_str_buf_cat rb_str_cat |
| #define rb_str_buf_cat2 rb_str_cat_cstr |
| #define rb_str_buf_new2 rb_str_buf_new_cstr |
| #define rb_str_cat2 rb_str_cat_cstr |
| #define rb_str_dup_frozen rb_str_new_frozen |
| #define rb_str_new2 rb_str_new_cstr |
| #define rb_str_new3 rb_str_new_shared |
| #define rb_str_new4 rb_str_new_frozen |
| #define rb_str_new5 rb_str_new_with_class |
| #define rb_str_new_lit | ( | str | ) | rb_str_new_static((str), rb_strlen_lit(str)) |
| #define rb_str_new_literal | ( | str | ) | rb_str_new_lit(str) |
| #define rb_tainted_str_new2 rb_tainted_str_new_cstr |
| #define rb_usascii_str_new2 rb_usascii_str_new_cstr |
| #define rb_usascii_str_new_lit | ( | str | ) | rb_usascii_str_new_static((str), rb_strlen_lit(str)) |
| #define rb_usascii_str_new_literal | ( | str | ) | rb_usascii_str_new_lit(str) |
| #define rb_utf8_str_new_lit | ( | str | ) | rb_utf8_str_new_static((str), rb_strlen_lit(str)) |
| #define rb_utf8_str_new_literal | ( | str | ) | rb_utf8_str_new_lit(str) |
| #define RETURN_ENUMERATOR | ( | obj, | |
| argc, | |||
| argv | |||
| ) | RETURN_SIZED_ENUMERATOR(obj, argc, argv, 0) |
| #define RETURN_ENUMERATOR_KW | ( | obj, | |
| argc, | |||
| argv, | |||
| kw_splat | |||
| ) | RETURN_SIZED_ENUMERATOR_KW(obj, argc, argv, 0, kw_splat) |
| #define RUBY_UBF_IO ((rb_unblock_function_t *)-1) |
| #define RUBY_UBF_PROCESS ((rb_unblock_function_t *)-1) |
| #define st_foreach_safe rb_st_foreach_safe |
| typedef fd_set rb_fdset_t |
| CONSTFUNC | ( | int | rb_is_const_idID | ) |
| CONSTFUNC | ( | VALUE | rb_dbl_cmpdouble, double | ) |
| DEPRECATED_BY | ( | rb_complex_new_polar | , |
| VALUE | rb_complex_polarVALUE abs, VALUE arg | ||
| ) |
| NORETURN | ( | MJIT_STATIC void | rb_error_arityint, int, int | ) |
| NORETURN | ( | VALUE | rb_f_exitint, const VALUE * | ) |
| NORETURN | ( | VALUE | rb_f_notimplementint argc, const VALUE *argv, VALUE obj, VALUE marker | ) |
| NORETURN | ( | void | rb_cmperrVALUE, VALUE | ) |
| NORETURN | ( | void | rb_error_frozenconst char * | ) |
| NORETURN | ( | void | rb_error_frozen_objectVALUE | ) |
| NORETURN | ( | void | rb_interruptvoid | ) |
| NORETURN | ( | void | rb_invalid_strconst char *, const char * | ) |
| NORETURN | ( | void | rb_jump_tagint | ) |
| PRINTF_ARGS | ( | NORETURN(void rb_frozen_error_raise(VALUE, const char *,...)) | , |
| 2 | , | ||
| 3 | |||
| ) |
| PRINTF_ARGS | ( | NORETURN(void rb_loaderror(const char *,...)) | , |
| 1 | , | ||
| 2 | |||
| ) |
| PRINTF_ARGS | ( | NORETURN(void rb_loaderror_with_path(VALUE path, const char *,...)) | , |
| 2 | , | ||
| 3 | |||
| ) |
| PRINTF_ARGS | ( | NORETURN(void rb_name_error(ID, const char *,...)) | , |
| 2 | , | ||
| 3 | |||
| ) |
| PRINTF_ARGS | ( | NORETURN(void rb_name_error_str(VALUE, const char *,...)) | , |
| 2 | , | ||
| 3 | |||
| ) |
| PRINTF_ARGS | ( | VALUE | rb_sprintfconst char *,..., |
| 1 | , | ||
| 2 | |||
| ) |
| PRINTF_ARGS | ( | VALUE | rb_str_catfVALUE, const char *,..., |
| 2 | , | ||
| 3 | |||
| ) |
| PUREFUNC | ( | int | rb_during_gcvoid | ) |
| PUREFUNC | ( | size_t | rb_str_capacityVALUE | ) |
| PUREFUNC | ( | VALUE | rb_class_inherited_pVALUE, VALUE | ) |
| PUREFUNC | ( | VALUE | rb_obj_taintedVALUE | ) |
| size_t rb_absint_numwords | ( | VALUE | val, |
| size_t | word_numbits, | ||
| size_t * | nlz_bits_ret | ||
| ) |
Definition at line 3382 of file bignum.c.
References CHAR_BIT, rb_absint_size(), and SIZE_MAX.
| int rb_absint_singlebit_p | ( | VALUE | val | ) |
Definition at line 3446 of file bignum.c.
References BDIGIT, bdigit_roomof, BDIGITS, BIGDN, BIGLO, BIGNUM_LEN, dp, FIX2LONG, FIXNUM_P, numberof, POW2_P, and rb_to_int().
Referenced by rb_big_bit_length().
| size_t rb_absint_size | ( | VALUE | val, |
| int * | nlz_bits_ret | ||
| ) |
Definition at line 3247 of file bignum.c.
References BDIGIT, bdigit_roomof, BDIGITS, BIGDN, BIGLO, BIGNUM_LEN, dp, FIX2LONG, FIXNUM_P, numberof, and rb_to_int().
Referenced by rb_absint_numwords(), rb_big_bit_length(), and rb_num_to_uint().
Definition at line 1581 of file vm_method.c.
References METHOD_VISI_UNDEF, NIL_P, rb_class_modify_check(), rb_eTypeError, and rb_raise().
Referenced by rb_define_alias().
Definition at line 756 of file variable.c.
References rb_global_entry(), and rb_id_table_lookup().
Calls a method.
| recv | receiver of the method |
| mid | an ID that represents the name of the method |
| args | an Array object which contains method arguments |
Definition at line 890 of file vm_eval.c.
References argc, argv, OBJ_FREEZE, RARRAY_LENINT, rb_ary_subseq, and RBASIC_CLEAR_CLASS.
| int rb_arithmetic_sequence_extract | ( | VALUE | , |
| rb_arithmetic_sequence_components_t * | |||
| ) |
Definition at line 3374 of file enumerator.c.
References rb_arithmetic_sequence_components_t::begin, rb_cArithSeq, and rb_obj_is_kind_of().
Definition at line 1574 of file array.c.
References argc, and rb_check_arity.
Definition at line 4156 of file array.c.
References select_bang_arg::ary, key, NIL_P, Qnil, RARRAY_AREF, RARRAY_LEN, rb_check_array_type(), and rb_equal().
Definition at line 1208 of file array.c.
References RARRAY_LEN.
Definition at line 3862 of file array.c.
Referenced by rb_threadptr_pending_interrupt_clear().
Definition at line 4420 of file array.c.
References INT2FIX, len, NIL_P, Qnil, rb_check_array_type(), and rb_exec_recursive_paired().
Definition at line 3365 of file array.c.
References select_bang_arg::ary, Qnil, RARRAY_AREF, RARRAY_LEN, rb_ary_store(), rb_block_given_p(), rb_equal(), and rb_yield().
Definition at line 3419 of file array.c.
References select_bang_arg::ary, ARY_INCREASE_LEN, ary_verify, len, MEMMOVE, ptr, Qnil, RARRAY_AREF, RARRAY_LEN, RARRAY_PTR_USE_TRANSIENT, and rb_ary_modify().
Definition at line 2238 of file array.c.
References len, RARRAY_LEN, and rb_ary_new2.
Referenced by rb_ary_sort().
Definition at line 2129 of file array.c.
References ary_verify, and RETURN_SIZED_ENUMERATOR.
Definition at line 1512 of file array.c.
Referenced by rb_ary_aref1(), and rb_ary_at().
| void rb_ary_free | ( | VALUE | ) |
Definition at line 786 of file array.c.
References ARY_HEAP_CAPA, ARY_OWNS_HEAP_P, ARY_SHARED_ROOT_P, RARRAY_LEN, RARRAY_TRANSIENT_P, RB_DEBUG_COUNTER_INC, and USE_DEBUG_COUNTER.
Definition at line 648 of file array.c.
References rb_obj_freeze().
Definition at line 4340 of file array.c.
References select_bang_arg::ary, Qfalse, Qtrue, RARRAY_AREF, RARRAY_LEN, and rb_equal().
| void rb_ary_modify | ( | VALUE | ) |
Definition at line 548 of file array.c.
Referenced by rb_ary_delete_at(), rb_ary_resize(), rb_ary_reverse(), rb_ary_rotate(), rb_ary_sort_bang(), and rb_ary_store().
| VALUE rb_ary_new | ( | void | ) |
Definition at line 723 of file array.c.
References RARRAY_EMBED_LEN_MAX, and rb_ary_new2.
Referenced by ole_methods_from_typeinfo(), ole_variant2val(), ossl_get_errors(), rb_call_end_proc(), rb_f_global_variables(), rb_mod_ancestors(), rb_mod_included_modules(), rb_obj_instance_variables(), and rb_thread_list().
| VALUE rb_ary_new_capa | ( | long | capa | ) |
Definition at line 717 of file array.c.
Referenced by rb_insns_name_array().
| VALUE rb_ary_new_from_args | ( | long | n, |
| ... | |||
| ) |
Definition at line 728 of file array.c.
References rb_ary_new2.
Referenced by rb_iseq_pathobj_new().
Definition at line 762 of file array.c.
References rb_ary_tmp_new_from_values(), and rb_cArray.
Definition at line 4000 of file array.c.
References len, RARRAY_LEN, rb_ary_new2, and to_ary.
Definition at line 1195 of file array.c.
References ary_verify, and RARRAY_LEN.
Referenced by ole_typedesc2val(), ossl_get_errors(), rb_gc_register_mark_object(), rb_get_kwargs(), rb_insns_name_array(), rb_iseq_parameters(), rb_mod_ancestors(), rb_mod_included_modules(), rb_thread_list(), rb_threadptr_pending_interrupt_enque(), and rb_unnamed_parameters().
Definition at line 4189 of file array.c.
References select_bang_arg::ary, Qnil, RARRAY_AREF, RARRAY_LEN, rb_equal(), RB_TYPE_P, and T_ARRAY.
expands or shrinks ary to len elements.
expanded region will be filled with Qnil.
| ary | an array |
| len | new size |
Definition at line 1955 of file array.c.
References ARY_CAPA, ARY_MAX_SIZE, len, RARRAY_LEN, rb_ary_modify(), rb_eIndexError, and rb_raise().
Definition at line 2544 of file array.c.
References len, RARRAY_LEN, RARRAY_PTR_USE_TRANSIENT, and rb_ary_modify().
Definition at line 2617 of file array.c.
References cnt, len, RARRAY_LEN, and rb_ary_modify().
Definition at line 661 of file array.c.
References ARY_EMBED_P, ARY_SHARED_P, Qfalse, Qtrue, and RARRAY.
Referenced by rb_get_expanded_load_path().
Definition at line 1294 of file array.c.
References len, RARRAY_LEN, and top.
Definition at line 2866 of file array.c.
References ary_sort_data::ary, rb_ary_dup(), and rb_ary_sort_bang().
Definition at line 2777 of file array.c.
References ary_sort_data::ary, ARY_SHARED_P, assert, RARRAY_LEN, and rb_ary_modify().
Referenced by rb_ary_sort().
Definition at line 1079 of file array.c.
References ARY_CAPA, ARY_MAX_SIZE, len, RARRAY_LEN, rb_ary_modify(), rb_eIndexError, and rb_raise().
Referenced by ossl_generate_cb_2(), rb_ary_delete(), rb_ary_delete_same(), rb_sym_to_proc(), and rb_unnamed_parameters().
Definition at line 1518 of file array.c.
References len, Qnil, RARRAY_LEN, and rb_obj_class().
Referenced by rb_ary_aref1().
| VALUE rb_ary_tmp_new | ( | long | ) |
Definition at line 768 of file array.c.
Referenced by Init_vm_objects(), rb_default_coverage(), rb_gc_register_mark_object(), rb_get_kwargs(), and rb_sym_to_proc().
Definition at line 1853 of file array.c.
References NIL_P, rb_ary_new3, and rb_check_array_type().
Definition at line 896 of file array.c.
References rb_ary_new3.
Referenced by rb_big_divrem_normal().
Definition at line 1163 of file vm_method.c.
References GET_EC, METHOD_VISI_PUBLIC, and rb_vm_cref_in_context().
Referenced by rb_define_attr().
Definition at line 1084 of file variable.c.
References Qnil, and rb_ivar_lookup().
Referenced by rb_dtrace_setup(), rb_refinement_module_get_refined_class(), and rb_singleton_class_internal_p().
Definition at line 2226 of file variable.c.
Definition at line 2285 of file variable.c.
References mod, rb_autoload_at_p(), and TRUE.
| VALUE rb_backref_get | ( | void | ) |
Definition at line 1304 of file vm.c.
Referenced by rb_f_global_variables().
| void rb_backref_set | ( | VALUE | ) |
Definition at line 1310 of file vm.c.
Referenced by rb_reg_match2().
| void rb_backtrace | ( | void | ) |
Definition at line 829 of file vm_backtrace.c.
| double rb_big2dbl | ( | VALUE | ) |
Definition at line 5310 of file bignum.c.
Referenced by rb_big_mul(), rb_big_pow(), rb_float_div(), rb_float_mul(), rb_float_plus(), and rb_float_pow().
| long rb_big2long | ( | VALUE | ) |
Definition at line 5140 of file bignum.c.
Referenced by rb_num2long().
Definition at line 5091 of file bignum.c.
Referenced by rb_int2str().
| unsigned long rb_big2ulong | ( | VALUE | ) |
Definition at line 5125 of file bignum.c.
Referenced by rb_num_to_uint().
Definition at line 6360 of file bignum.c.
References BDIGIT, RB_INTEGER_TYPE_P, and rb_num_coerce_bit().
Definition at line 3020 of file bignum.c.
References BIGNUM_LEN, and len.
Referenced by rb_big_abs(), rb_big_comp(), and rb_big_uminus().
Definition at line 5419 of file bignum.c.
References FIXNUM_P.
Referenced by rb_integer_float_cmp().
Definition at line 6135 of file bignum.c.
References div, FIX2LONG, FIXNUM_P, mod, RB_BIGNUM_TYPE_P, rb_int2big(), and rb_num_coerce_bin().
Definition at line 5544 of file bignum.c.
References BDIGIT, BDIGITS, BIGNUM_LEN, BIGNUM_SIGN, MEMCMP, Qfalse, Qtrue, and RB_BIGNUM_TYPE_P.
Definition at line 5853 of file bignum.c.
References BIGNUM_SIGN, FIX2LONG, and FIXNUM_P.
Definition at line 6103 of file bignum.c.
References FIX2LONG, FIXNUM_P, RB_BIGNUM_TYPE_P, rb_int2big(), and rb_num_coerce_bin().
Definition at line 5933 of file bignum.c.
References DBL2NUM, FIX2LONG, FIXNUM_P, rb_big2dbl(), RB_BIGNUM_TYPE_P, RB_FLOAT_TYPE_P, rb_int2big(), rb_num_coerce_bin(), and RFLOAT_VALUE.
| VALUE rb_big_new | ( | size_t | , |
| int | |||
| ) |
Definition at line 3152 of file bignum.c.
Referenced by rb_fix_aref().
Definition at line 6479 of file bignum.c.
References BDIGIT, RB_INTEGER_TYPE_P, and rb_num_coerce_bit().
| void rb_big_pack | ( | VALUE | val, |
| unsigned long * | buf, | ||
| long | num_longs | ||
| ) |
Definition at line 3215 of file bignum.c.
References buf, INTEGER_PACK_2COMP, INTEGER_PACK_LSWORD_FIRST, INTEGER_PACK_NATIVE_BYTE_ORDER, and rb_integer_pack().
Definition at line 5824 of file bignum.c.
References BIGNUM_SIGN, FIX2LONG, and FIXNUM_P.
Referenced by rb_int_succ().
Definition at line 6244 of file bignum.c.
References BIGNUM_NEGATIVE_P, BIGZEROP, INT2FIX, rb_big2dbl(), RB_BIGNUM_TYPE_P, rb_dbl_complex_new_polar_pi(), RB_FLOAT_TYPE_P, RFLOAT_VALUE, and SIGNED_VALUE.
| VALUE rb_big_unpack | ( | unsigned long * | buf, |
| long | num_longs | ||
| ) |
Definition at line 3223 of file bignum.c.
References buf, INTEGER_PACK_2COMP, INTEGER_PACK_LSWORD_FIRST, INTEGER_PACK_NATIVE_BYTE_ORDER, and rb_integer_unpack().
Definition at line 6573 of file bignum.c.
References BDIGIT, RB_INTEGER_TYPE_P, and rb_num_coerce_bit().
| VALUE rb_binding_new | ( | void | ) |
Definition at line 364 of file proc.c.
References rb_execution_context_struct::cfp, GET_EC, and rb_vm_make_binding().
| VALUE rb_block_proc | ( | void | ) |
Definition at line 837 of file proc.c.
Referenced by rb_f_trace_var(), rb_method_call(), and rb_method_call_kw().
Definition at line 909 of file array.c.
References rb_check_convert_type_with_id(), and T_ARRAY.
Referenced by rb_Array(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_to_ary(), rb_yield_splat(), and rb_yield_splat_kw().
Definition at line 505 of file vm_eval.c.
Referenced by rb_get_message(), rb_iseq_load_iseq(), and rb_range_values().
Definition at line 2314 of file string.c.
References rb_check_convert_type_with_id(), str, and T_STRING.
Referenced by rb_check_id(), rb_str_include_range_p(), rb_String(), and rb_time_zone_abbreviation().
Definition at line 274 of file variable.c.
References rb_class_path(), and rb_class_real().
Referenced by rb_any_to_s(), and rb_const_warn_if_deprecated().
Definition at line 153 of file variable.c.
Referenced by rb_class_name(), rb_define_class_id_under(), and rb_dtrace_setup().
Definition at line 162 of file variable.c.
| void rb_clear_constant_cache | ( | void | ) |
Definition at line 87 of file vm_method.c.
References INC_GLOBAL_CONSTANT_STATE.
| void rb_clear_method_cache_by_class | ( | VALUE | ) |
Definition at line 93 of file vm_method.c.
References INC_GLOBAL_METHOD_STATE, PREV_CLASS_SERIAL, Qundef, rb_cBasicObject, rb_class2name(), rb_cObject, rb_mKernel, and RUBY_DTRACE_HOOK.
| int rb_cloexec_dup | ( | int | oldfd | ) |
Definition at line 318 of file io.c.
References rb_cloexec_fcntl_dupfd().
| int rb_cloexec_dup2 | ( | int | oldfd, |
| int | newfd | ||
| ) |
| int rb_cloexec_fcntl_dupfd | ( | int | fd, |
| int | minfd | ||
| ) |
Definition at line 419 of file io.c.
References errno, F_DUPFD, F_DUPFD_CLOEXEC, fcntl(), and rb_maygvl_fd_fix_cloexec().
Referenced by rb_cloexec_dup().
Definition at line 292 of file io.c.
References O_CLOEXEC, and rb_maygvl_fd_fix_cloexec().
Referenced by rb_file_load_ok().
| int rb_cloexec_pipe | ( | int | fildes[2] | ) |
Definition at line 378 of file io.c.
References errno, O_CLOEXEC, rb_maygvl_fd_fix_cloexec(), and RUBY_PIPE_NONBLOCK_DEFAULT.
Referenced by rb_pipe().
| void rb_close_before_exec | ( | int | lowfd, |
| int | maxhint, | ||
| VALUE | noclose_fds | ||
| ) |
Definition at line 2925 of file bignum.c.
References BIGNUM_SIGN, BIGZEROP, FIX2LONG, FIXNUM_P, INT2FIX, NIL_P, RB_BIGNUM_TYPE_P, rb_cmperr(), rb_funcall(), and RTEST.
Definition at line 1208 of file complex.c.
References get_dat1, and rb_math_atan2().
Definition at line 948 of file complex.c.
Referenced by rb_numeric_quo().
Definition at line 1527 of file complex.c.
Referenced by rb_dbl_complex_new_polar_pi().
Definition at line 1533 of file complex.c.
Referenced by rb_complex_polar().
Definition at line 985 of file complex.c.
Referenced by rb_num_pow().
Definition at line 1521 of file complex.c.
Referenced by rb_dbl_complex_new().
Definition at line 2686 of file variable.c.
Referenced by Init_cparse(), rb_define_class(), and rb_define_module().
Definition at line 2692 of file variable.c.
Referenced by rb_const_remove(), rb_define_class_id_under(), and rb_define_module_id_under().
Definition at line 2680 of file variable.c.
Definition at line 2391 of file variable.c.
Referenced by generic_to_value(), Init_cparse(), Init_objspace(), rb_define_class(), and rb_define_module().
Definition at line 2397 of file variable.c.
Referenced by Init_cparse(), rb_define_class_id_under(), and rb_define_module_id_under().
Definition at line 2385 of file variable.c.
| VALUE rb_const_list | ( | void * | ) |
Definition at line 2598 of file variable.c.
References st_table::num_entries, rb_ary_new2, and st_foreach_safe().
Referenced by rb_mod_constants().
Definition at line 2494 of file variable.c.
References ID2SYM, mod, rb_check_frozen, rb_const_defined_at(), rb_const_lookup(), rb_id_table_delete(), rb_name_err_raise, and RCLASS_CONST_TBL.
Definition at line 2756 of file variable.c.
References NIL_P, PRIsVALUE, QUOTE_ID, rb_eTypeError, rb_raise(), and RCLASS_CONST_TBL.
Referenced by rb_autoload_str(), rb_define_class(), rb_define_class_id_under(), rb_define_const(), rb_define_module(), and rb_define_module_id_under().
Definition at line 1447 of file variable.c.
References FL_EXIVAR, FL_TEST, FL_UNSET, rb_check_frozen, and rb_free_generic_ivar().
Definition at line 4538 of file bignum.c.
References rb_cstr_to_inum(), and str.
Definition at line 4012 of file bignum.c.
Referenced by rb_cstr2inum().
Definition at line 3149 of file variable.c.
Definition at line 3142 of file variable.c.
Definition at line 3123 of file variable.c.
References CVAR_LOOKUP, Qfalse, and Qtrue.
Referenced by rb_mod_remove_cvar().
Definition at line 3107 of file variable.c.
References CVAR_LOOKUP, ID2SYM, rb_name_err_raise, and st_data_t.
Definition at line 3085 of file variable.c.
References CVAR_LOOKUP.
| VALUE rb_dbl2big | ( | double | ) |
Definition at line 5249 of file bignum.c.
Referenced by rb_integer_float_cmp(), and rb_node_case_when_optimizable_literal().
| VALUE rb_dbl_complex_new | ( | double | real, |
| double | imag | ||
| ) |
Creates a Complex object.
| real | real part value |
| imag | imaginary part value |
Definition at line 1561 of file complex.c.
References DBL2NUM, and rb_complex_raw().
| void rb_define_alloc_func | ( | VALUE | , |
| rb_alloc_func_t | |||
| ) |
Referenced by Init_Array(), Init_Dir(), Init_Encoding(), Init_fiddle_closure(), Init_fiddle_function(), Init_fiddle_handle(), Init_monitor(), Init_ossl_bn(), Init_ossl_cipher(), Init_ossl_digest(), Init_ossl_hmac(), Init_ossl_ns_spki(), Init_ossl_ocsp(), Init_ossl_x509attr(), Init_ossl_x509cert(), Init_ossl_x509crl(), Init_ossl_x509ext(), Init_ossl_x509req(), Init_ossl_x509revoked(), Init_psych_emitter(), Init_psych_parser(), Init_stringio(), Init_win32ole_method(), Init_win32ole_param(), Init_win32ole_record(), and Init_win32ole_variant().
Definition at line 3156 of file variable.c.
| VALUE rb_detach_process | ( | rb_pid_t | pid | ) |
Definition at line 1423 of file process.c.
References ruby::backward::cxxanyargs::rb_thread_create().
| VALUE rb_dir_getwd | ( | void | ) |
Definition at line 1141 of file dir.c.
References ENCINDEX_ASCII, ENCINDEX_US_ASCII, NULL, rb_dir_getwd_ospath(), rb_enc_associate_index(), rb_enc_to_index(), rb_filesystem_encoding(), and rb_str_conv_enc().
Definition at line 516 of file enumerator.c.
References argc, argv, enumerator::meth, enumerator::obj, and rb_enumeratorize_with_size().
| VALUE rb_enumeratorize_with_size | ( | VALUE | , |
| VALUE | , | ||
| int | , | ||
| const VALUE * | , | ||
| rb_enumerator_size_func * | |||
| ) |
Definition at line 525 of file enumerator.c.
References enumerator::obj, rb_obj_is_kind_of(), and RTEST.
Referenced by rb_enumeratorize().
| VALUE rb_enumeratorize_with_size_kw | ( | VALUE | , |
| VALUE | , | ||
| int | , | ||
| const VALUE * | , | ||
| rb_enumerator_size_func * | , | ||
| int | |||
| ) |
Definition at line 537 of file enumerator.c.
References enumerator::obj, rb_obj_is_kind_of(), and RTEST.
| int rb_env_path_tainted | ( | void | ) |
Definition at line 4904 of file hash.c.
References rb_warning().
Definition at line 1824 of file vm_eval.c.
References rb_eval_cmd_kw(), RB_NO_KEYWORDS, and rb_warn().
Definition at line 1801 of file vm_eval.c.
References EC_EXEC_TAG, EC_PUSH_TAG, GET_EC, Qnil, RARRAY_CONST_PTR, RARRAY_LENINT, rb_funcallv_kw(), RB_TYPE_P, T_STRING, and TAG_NONE.
Referenced by rb_eval_cmd().
Definition at line 5075 of file thread.c.
Referenced by rb_invcmp(), and rb_io_puts().
Definition at line 5086 of file thread.c.
Referenced by rb_ary_cmp().
Definition at line 1087 of file string.c.
References len, ptr, rb_default_external_encoding(), and rb_external_str_new_with_enc().
Definition at line 1093 of file string.c.
References ptr, rb_default_external_encoding(), rb_external_str_new_with_enc(), and strlen().
| VALUE rb_f_global_variables | ( | void | ) |
Definition at line 728 of file variable.c.
References rb_ary_new(), rb_backref_get(), rb_id_table_foreach(), and sym.
Definition at line 418 of file signal.c.
References argc, argv, FIX2INT, FIXNUM_P, rb_check_arity, str, and UNLIMITED_ARGUMENTS.
Definition at line 809 of file load.c.
References rb_require_string().
Definition at line 198 of file sprintf.c.
References argc, argv, GETNTHARG, and rb_str_format().
Referenced by rb_io_printf().
Definition at line 528 of file variable.c.
References ALLOC, argc, argv, trace_var::func, trace_var::next, NIL_P, rb_block_proc(), rb_f_untrace_var(), rb_global_entry(), rb_scan_args(), rb_to_id(), rb_global_variable::trace, and rb_global_entry::var.
Definition at line 574 of file variable.c.
References argc, argv, trace_var::data, id, PRIsVALUE, QUOTE, rb_check_id(), rb_id_table_lookup(), rb_name_error_str(), and rb_scan_args().
Referenced by rb_f_trace_var().
| void rb_fd_fix_cloexec | ( | int | fd | ) |
Definition at line 268 of file io.c.
References rb_maygvl_fd_fix_cloexec(), and rb_update_max_fd().
Definition at line 519 of file load.c.
References IS_RBEXT, Qnil, rb_file_expand_path_fast(), rb_get_path(), rb_str_new2, RSTRING_PTR, strchr(), and strrchr().
Referenced by rb_provided().
Definition at line 2152 of file cont.c.
References FIBER_TERMINATED_P.
| VALUE rb_fiber_new | ( | rb_block_call_func_t | , |
| VALUE | |||
| ) |
Definition at line 2117 of file cont.c.
References argc, argv, rb_fiber_resume_kw(), and RB_NO_KEYWORDS.
Definition at line 2097 of file cont.c.
Referenced by rb_fiber_resume().
Definition at line 4072 of file file.c.
References check_expand_path_args, expand_path, and EXPAND_PATH_BUFFER.
Referenced by rb_f_require_relative(), and rb_file_s_absolute_path().
Definition at line 4645 of file file.c.
References FilePathStringValue, name, rb_enc_get(), RSTRING_LEN, and StringValueCStr.
Referenced by rb_f_require_relative().
Definition at line 4018 of file file.c.
References check_expand_path_args, expand_path, and EXPAND_PATH_BUFFER.
Referenced by rb_file_s_expand_path().
Definition at line 6252 of file io.c.
References FilePathValue, and sysopen_struct::fname.
Definition at line 4079 of file file.c.
References argc, argv, Qnil, rb_check_arity, and rb_file_absolute_path().
Definition at line 4031 of file file.c.
References argc, argv, Qnil, rb_check_arity, and rb_file_expand_path().
Definition at line 1111 of file string.c.
References len, ptr, rb_external_str_new_with_enc(), and rb_filesystem_encoding().
Definition at line 1117 of file string.c.
References ptr, rb_external_str_new_with_enc(), rb_filesystem_encoding(), and strlen().
Referenced by rb_parser_compile_string().
Definition at line 6336 of file file.c.
References f, and StringValueCStr.
Referenced by rb_find_file_safe(), and rb_load().
Definition at line 6270 of file file.c.
References f, and StringValueCStr.
Referenced by rb_find_file_ext_safe().
Definition at line 6263 of file file.c.
References rb_find_file_ext(), and rb_warn().
Definition at line 6329 of file file.c.
References rb_find_file(), and rb_warn().
Definition at line 3508 of file numeric.c.
References buf, CHAR_BIT, FIX2LONG, neg, rb_bug(), rb_eArgError, rb_raise(), rb_usascii_str_new(), rb_usascii_str_new2, ruby_digitmap, and SIZEOF_VALUE.
Referenced by rb_int2str().
Definition at line 2242 of file rational.c.
References f.
Definition at line 2226 of file rational.c.
References f_abs.
Definition at line 2206 of file vm.c.
References GET_EC, and rb_ec_frame_method_id_and_class().
| void rb_free_generic_ivar | ( | VALUE | ) |
Definition at line 993 of file variable.c.
References key, st_data_t, and st_delete().
Referenced by rb_copy_generic_ivar().
| void rb_gc | ( | void | ) |
Definition at line 8682 of file gc.c.
References GPR_DEFAULT_REASON, and rb_objspace.
Referenced by rb_fdopen(), rb_gc_for_fd(), rb_gc_start(), and rb_reg_region_copy().
Definition at line 3297 of file gc.c.
References finalizer_table, FL_FINALIZE, FL_SET, FL_TEST, rb_objspace, st_data_t, st_insert(), and st_lookup().
| size_t rb_gc_count | ( | void | ) |
Definition at line 8714 of file gc.c.
References rb_objspace::count, and rb_objspace::profile.
| VALUE rb_gc_disable | ( | void | ) |
Definition at line 9249 of file gc.c.
References rb_objspace, and rb_objspace_gc_disable().
| VALUE rb_gc_enable | ( | void | ) |
Definition at line 9212 of file gc.c.
References rb_objspace, and rb_objspace_gc_enable().
| void rb_gc_force_recycle | ( | VALUE | ) |
Definition at line 7014 of file gc.c.
References rb_objspace.
Referenced by rb_parser_free(), and rb_str_tmp_frozen_release().
Definition at line 8819 of file gc.c.
References rb_objspace.
Definition at line 8114 of file gc.c.
References SPECIAL_CONST_P.
Referenced by rb_execution_context_update(), rb_fiber_update_self(), and rb_iseq_update_references().
| void rb_gc_mark | ( | VALUE | ) |
Definition at line 5215 of file gc.c.
Referenced by rb_ast_mark(), rb_hook_list_mark(), rb_iseq_mark_insn_storage(), rb_strterm_mark(), and rb_vm_mark().
| void rb_gc_mark_maybe | ( | VALUE | ) |
Definition at line 5047 of file gc.c.
Referenced by rb_gvar_val_marker(), and rb_gvar_var_marker().
| void rb_gc_mark_movable | ( | VALUE | ) |
Definition at line 5209 of file gc.c.
Referenced by rb_fiber_mark_self().
| void rb_gc_update_tbl_refs | ( | st_table * | ptr | ) |
Definition at line 7986 of file gc.c.
References rb_objspace.
Referenced by rb_vm_update_references().
| rb_alloc_func_t rb_get_alloc_func | ( | VALUE | ) |
Definition at line 728 of file vm_method.c.
References Check_Type, RCLASS_EXT, RCLASS_SUPER, T_CLASS, and UNDEF_ALLOC_FUNC.
Referenced by rb_marshal_define_compat().
| VALUE rb_gets | ( | void | ) |
Definition at line 8902 of file io.c.
References rb_default_rs, and rb_rs.
Definition at line 129 of file hash.c.
References rb_exec_recursive_outer().
Definition at line 2037 of file hash.c.
Referenced by rb_econv_open_opts(), and rb_iseq_build_from_ary().
Definition at line 2852 of file hash.c.
Referenced by Init_GC(), rb_ast_add_mark_object(), rb_iseq_new_top(), and rb_uninterruptible().
| st_index_t rb_hash_end | ( | st_index_t | ) |
| void rb_hash_free | ( | VALUE | ) |
Definition at line 2050 of file hash.c.
Referenced by rb_io_extract_encoding_option().
| VALUE rb_hash_new | ( | void | ) |
Definition at line 1523 of file hash.c.
Referenced by Init_GC(), Init_limits(), Init_sizeof(), rb_Hash(), and rb_hash_new_with_size().
| st_index_t rb_hash_start | ( | st_index_t | ) |
Definition at line 1434 of file random.c.
References st_hash_start.
| st_index_t rb_hash_uint | ( | st_index_t | , |
| st_index_t | |||
| ) |
| st_index_t rb_hash_uint32 | ( | st_index_t | , |
| uint32_t | |||
| ) |
| VALUE rb_hash_update_by | ( | VALUE | hash1, |
| VALUE | hash2, | ||
| rb_hash_update_func * | func | ||
| ) |
Definition at line 98 of file symbol.c.
References is_notop_id, PRIsVALUE, rb_id2str(), rb_name_error(), str, sym, tAREF, and tASET.
| int rb_integer_pack | ( | VALUE | val, |
| void * | words, | ||
| size_t | numwords, | ||
| size_t | wordsize, | ||
| size_t | nails, | ||
| int | flags | ||
| ) |
Definition at line 3547 of file bignum.c.
References BDIGIT, bdigit_roomof, BDIGITS, BIGDN, BIGLO, BIGNUM_LEN, BIGNUM_POSITIVE_P, FIX2LONG, FIXNUM_P, numberof, RB_GC_GUARD, and rb_to_int().
Referenced by rb_big_pack().
Definition at line 1843 of file io.c.
References rb_io_write(), and str.
Definition at line 5334 of file io.c.
References ECONV_NEWLINE_DECORATOR_MASK, rb_io_t::fd, FMODE_BINMODE, FMODE_TEXTMODE, GetOpenFile, rb_io_t::mode, O_BINARY, rb_econv_binmode(), rb_io_t::readconv, SET_BINARY_MODE_WITH_SEEK_CUR, rb_io_t::writeconv, and rb_io_t::writeconv_pre_ecflags.
Definition at line 4820 of file io.c.
Referenced by rb_io_make_open_file().
Definition at line 2149 of file io.c.
References rb_io_t::fd, GetOpenFile, NEED_NEWLINE_DECORATOR_ON_READ, NEED_READCONV, Qfalse, Qtrue, rb_io_check_char_readable(), READ_CHAR_PENDING, READ_CHECK, and READ_DATA_PENDING.
Definition at line 4215 of file io.c.
References rb_io_t::fd, FMODE_TTY, GetOpenFile, getline_arg::io, rb_io_t::mode, rb_io_check_byte_readable(), rb_io_flush(), rb_stdout, RB_TYPE_P, READ_CHECK, and T_FILE.
Definition at line 7576 of file io.c.
References argc, argv, NIL_P, Qnil, rb_io_write(), rb_lastline_get(), rb_output_fs, and rb_output_rs.
Definition at line 7505 of file io.c.
References argc, argv, Qnil, rb_f_sprintf(), and rb_io_write().
Definition at line 7747 of file io.c.
References argc, argv, Qnil, rb_default_rs, rb_exec_recursive(), rb_io_write(), RB_TYPE_P, and T_STRING.
Referenced by rb_f_abort().
Definition at line 4276 of file io.c.
References GetOpenFile, INT2FIX, getline_arg::io, NUM2INT, Qnil, rb_int_modulo(), rb_io_check_byte_readable(), rb_str_new(), SafeStringValue, T_BIGNUM, T_FIXNUM, T_NIL, and TYPE.
Definition at line 4315 of file io.c.
References FIX2UINT, FIXNUM_P, GetOpenFile, getline_arg::io, len, NIL_P, Qnil, rb_enc_uint_chr(), and rb_io_check_char_readable().
Definition at line 1804 of file io.c.
References rb_funcallv().
Referenced by rb_io_addstr(), rb_io_print(), rb_io_printf(), rb_io_puts(), and rb_parser_printf().
| int rb_is_absolute_path | ( | const char * | ) |
| st_index_t rb_ivar_count | ( | VALUE | ) |
Definition at line 1511 of file variable.c.
References BUILTIN_TYPE, count, FL_EXIVAR, FL_TEST, st_table::num_entries, givar_copy::obj, Qundef, RCLASS_IV_TBL, ROBJECT_IV_INDEX_TBL, ROBJECT_IVPTR, ROBJECT_NUMIV, SPECIAL_CONST_P, T_CLASS, T_MODULE, and T_OBJECT.
Definition at line 1317 of file variable.c.
References BUILTIN_TYPE, FL_EXIVAR, FL_TEST, Qfalse, Qtrue, Qundef, RCLASS_IV_TBL, ROBJECT_IV_INDEX_TBL, ROBJECT_IVPTR, ROBJECT_NUMIV, SPECIAL_CONST_P, st_data_t, st_is_member, st_lookup(), T_CLASS, T_MODULE, and T_OBJECT.
Definition at line 1070 of file variable.c.
References PRIsVALUE, Qnil, Qundef, QUOTE_ID, RB_DEBUG_COUNTER_INC, rb_ivar_lookup(), rb_warning(), RTEST, and ruby_verbose.
Referenced by rb_class_modify_check(), rb_iv_get(), rb_method_name_error(), and rb_singleton_class_get().
Definition at line 1300 of file variable.c.
References rb_check_frozen.
Referenced by rb_ec_setup_exception(), rb_error_frozen_object(), rb_frozen_error_raise(), rb_iv_set(), and rb_key_err_new().
| VALUE rb_last_status_get | ( | void | ) |
Definition at line 518 of file process.c.
References GET_THREAD.
| void rb_last_status_set | ( | int | status, |
| rb_pid_t | pid | ||
| ) |
Definition at line 545 of file process.c.
References GET_THREAD, rb_thread_struct::last_status, and rb_obj_alloc().
| VALUE rb_lastline_get | ( | void | ) |
Definition at line 1316 of file vm.c.
Referenced by rb_io_print(), and rb_reg_match2().
| void rb_load | ( | VALUE | , |
| int | |||
| ) |
Definition at line 649 of file load.c.
References FilePathValue, and rb_find_file().
Referenced by rb_load_protect().
| void* rb_load_file | ( | const char * | ) |
Definition at line 2192 of file ruby.c.
References load_file_arg::fname, rb_load_file_str(), and rb_str_new_cstr().
| void* rb_load_file_str | ( | VALUE | ) |
Definition at line 2199 of file ruby.c.
References rb_parser_load_file(), and rb_parser_new().
Referenced by rb_load_file().
| void rb_load_protect | ( | VALUE | , |
| int | , | ||
| int * | |||
| ) |
Definition at line 657 of file load.c.
References EC_EXEC_TAG, EC_POP_TAG, EC_PUSH_TAG, GET_EC, rb_load(), and TAG_NONE.
Definition at line 1099 of file string.c.
References len, ptr, rb_external_str_new_with_enc(), and rb_locale_encoding().
Definition at line 1105 of file string.c.
References ptr, rb_external_str_new_with_enc(), rb_locale_encoding(), and strlen().
| VALUE rb_make_backtrace | ( | void | ) |
Definition at line 872 of file vm_backtrace.c.
| void rb_mark_set | ( | struct st_table * | ) |
Definition at line 4801 of file gc.c.
Referenced by rb_iseq_build_from_ary().
| void rb_mark_tbl | ( | struct st_table * | ) |
Definition at line 5008 of file gc.c.
Referenced by rb_vm_mark().
| void rb_marshal_define_compat | ( | VALUE | newclass, |
| VALUE | oldclass, | ||
| VALUE(*)(VALUE) | dumper, | ||
| VALUE(*)(VALUE, VALUE) | loader | ||
| ) |
Definition at line 134 of file marshal.c.
References ALLOC, marshal_compat_t::dumper, marshal_compat_t::loader, marshal_compat_t::newclass, marshal_compat_t::oldclass, Qnil, rb_eTypeError, rb_get_alloc_func(), rb_raise(), and st_insert().
| void rb_mem_clear | ( | VALUE * | , |
| long | |||
| ) |
| st_index_t rb_memhash | ( | const void * | ptr, |
| long | len | ||
| ) |
Definition at line 1440 of file random.c.
References sip_hash13.
Referenced by rb_dbl_long_hash(), and rb_str_hash().
Definition at line 2072 of file vm_method.c.
References FALSE, METHOD_ENTRY_BASIC, rb_method_entry(), and TRUE.
Referenced by rb_p().
Definition at line 1102 of file vm_method.c.
References BOUND_RESPONDS.
Definition at line 2273 of file proc.c.
References argc, argv, Qnil, rb_block_given_p(), rb_block_proc(), and rb_method_call_with_block().
Definition at line 2266 of file proc.c.
References argc, argv, Qnil, rb_block_given_p(), rb_block_proc(), and rb_method_call_with_block_kw().
Definition at line 2309 of file proc.c.
References argc, argv, rb_method_call_with_block_kw(), and RB_NO_KEYWORDS.
Referenced by rb_method_call().
Definition at line 2296 of file proc.c.
References GET_EC, and TypedData_Get_Struct.
Referenced by rb_method_call_kw(), and rb_method_call_with_block().
Definition at line 3248 of file variable.c.
References argc, argv, rb_check_arity, and RTEST.
| void* rb_mod_const_at | ( | VALUE | , |
| void * | |||
| ) |
Definition at line 2563 of file variable.c.
References mod, rb_id_table_foreach(), RCLASS_CONST_TBL, and st_init_numtable().
Referenced by rb_mod_const_of().
| void* rb_mod_const_of | ( | VALUE | , |
| void * | |||
| ) |
Definition at line 2576 of file variable.c.
References mod, rb_cObject, rb_mod_const_at(), and RCLASS_SUPER.
Referenced by rb_mod_constants().
Definition at line 2630 of file variable.c.
References argc, argv, mod, rb_check_arity, rb_const_list(), rb_mod_const_of(), and RTEST.
Definition at line 102 of file variable.c.
Definition at line 2483 of file variable.c.
References id_for_var, mod, and name.
Definition at line 3284 of file variable.c.
References id, ID2SYM, id_for_var_message, mod, name, rb_check_frozen, rb_cvar_defined(), rb_name_err_raise, RCLASS_IV_TBL, st_data_t, and st_delete().
| void rb_must_asciicompat | ( | VALUE | ) |
Definition at line 2166 of file string.c.
References rb_eEncCompatError, rb_enc_asciicompat, rb_enc_get(), rb_enc_name, rb_raise(), and str.
Referenced by rb_str_convert_to_inum().
Definition at line 333 of file thread_sync.c.
Referenced by rb_mutex_synchronize().
Definition at line 177 of file thread_sync.c.
| VALUE rb_mutex_new | ( | void | ) |
Definition at line 165 of file thread_sync.c.
Definition at line 465 of file thread_sync.c.
References NIL_P, rb_ensure(), rb_mutex_unlock(), and rb_time_interval().
Definition at line 522 of file thread_sync.c.
References rb_ensure(), rb_mutex_lock(), and rb_mutex_unlock().
Definition at line 203 of file thread_sync.c.
Definition at line 403 of file thread_sync.c.
References err.
Referenced by rb_mutex_sleep(), and rb_mutex_synchronize().
Definition at line 3083 of file numeric.c.
References FIXABLE, FIXNUM_P, LONG2FIX, rb_eRangeError, rb_num2long(), and rb_raise().
Definition at line 446 of file numeric.c.
Referenced by rb_big_divmod(), rb_big_modulo(), rb_big_mul(), rb_big_remainder(), rb_float_div(), rb_float_mul(), rb_float_plus(), and rb_float_pow().
Definition at line 4426 of file numeric.c.
Referenced by rb_big_and(), rb_big_or(), and rb_big_xor().
Definition at line 461 of file numeric.c.
Referenced by rb_float_gt().
Definition at line 1440 of file string.c.
References rb_funcall(), rb_obj_as_string_result(), RB_TYPE_P, str, and T_STRING.
Referenced by rb_inspect(), and rb_p().
Definition at line 1688 of file eval.c.
References argc, argv, PASS_PASSED_BLOCK_HANDLER, and rb_funcallv_kw().
Definition at line 1579 of file variable.c.
References rb_ary_new(), and rb_ivar_foreach().
Definition at line 1459 of file proc.c.
References rb_typeddata_is_kind_of().
Definition at line 152 of file proc.c.
References rb_typeddata_is_kind_of().
Definition at line 2652 of file proc.c.
References CLASS_OF, and rb_mod_method_arity().
Definition at line 1634 of file variable.c.
References BUILTIN_TYPE, FL_EXIVAR, FL_TEST, id, id_for_var, name, Qnil, Qundef, rb_check_frozen, RCLASS_IV_TBL, ROBJECT_IV_INDEX_TBL, ROBJECT_IVPTR, ROBJECT_NUMIV, st_data_t, st_delete(), st_lookup(), T_CLASS, T_MODULE, and T_OBJECT.
Definition at line 2180 of file vm_method.c.
References CLASS_OF, and GET_EC.
Referenced by rb_respond_to().
Definition at line 268 of file variable.c.
References rb_path_to_class(), and rb_str_new_cstr().
Referenced by Init_ossl_digest().
| int rb_path_check | ( | const char * | ) |
Definition at line 6168 of file file.c.
References PATH_SEP_CHAR, strchr(), and strlen().
Definition at line 226 of file variable.c.
References id, PRIsVALUE, QUOTE, rb_check_id_cstr(), rb_cObject, rb_eArgError, rb_enc_asciicompat, rb_enc_get(), rb_raise(), rb_str_subseq(), RSTRING_LEN, and RSTRING_PTR.
Referenced by rb_path2class().
| int rb_pipe | ( | int * | pipes | ) |
Definition at line 6369 of file io.c.
References errno, rb_cloexec_pipe(), rb_gc_for_fd(), and rb_update_max_fd().
Definition at line 966 of file proc.c.
References check_argc, GET_EC, GetProcPtr, RARRAY_CONST_PTR, RARRAY_LEN, RB_GC_GUARD, RB_NO_KEYWORDS, rb_vm_invoke_proc(), and VM_BLOCK_HANDLER_NONE.
Referenced by rb_call_end_proc().
Definition at line 948 of file proc.c.
References argc, argv, check_argc, GET_EC, GetProcPtr, RARRAY_CONST_PTR, RARRAY_LEN, rb_adjust_argv_kw_splat(), rb_free_tmp_buffer(), RB_GC_GUARD, rb_vm_invoke_proc(), and VM_BLOCK_HANDLER_NONE.
Definition at line 1000 of file proc.c.
References argc, argv, GET_EC, GetProcPtr, RB_NO_KEYWORDS, and rb_vm_invoke_proc().
Definition at line 986 of file proc.c.
References argc, argv, GET_EC, GetProcPtr, rb_adjust_argv_kw_splat(), and rb_vm_invoke_proc().
| int rb_proc_exec | ( | const char * | ) |
Definition at line 1665 of file process.c.
References waitpid_state::ret.
Definition at line 275 of file proc.c.
References GetProcPtr, rb_proc_t::is_lambda, Qfalse, and Qtrue.
| VALUE rb_proc_new | ( | rb_block_call_func_t | , |
| VALUE | |||
| ) |
Definition at line 2991 of file proc.c.
References ruby::backward::cxxanyargs::rb_iterate().
| int rb_provided | ( | const char * | ) |
Definition at line 513 of file load.c.
References rb_feature_provided().
| unsigned long rb_random_ulong_limited | ( | VALUE | rnd, |
| unsigned long | limit | ||
| ) |
Definition at line 1278 of file range.c.
References err, len, NIL_P, NUM2LONG, Qfalse, Qnil, Qtrue, range, rb_eRangeError, rb_raise(), and rb_range_values().
Referenced by rb_ary_aref1().
Definition at line 54 of file range.c.
References range, rb_cRange, and rb_obj_alloc().
Definition at line 1248 of file range.c.
References EXCL, Qfalse, range, RANGE_BEG, RANGE_END, rb_cArithSeq, rb_check_funcall(), rb_cRange, rb_obj_is_kind_of(), and RTEST.
Referenced by rb_range_beg_len().
Definition at line 1951 of file rational.c.
Definition at line 1966 of file rational.c.
Definition at line 1945 of file rational.c.
Definition at line 1960 of file rational.c.
Definition at line 1939 of file rational.c.
Definition at line 3239 of file re.c.
References LONG2FIX, Qnil, rb_backref_set(), rb_lastline_get(), rb_reg_search(), rb_str_sublen(), RB_TYPE_P, and T_STRING.
Definition at line 2895 of file re.c.
Referenced by rb_reg_new_ary().
Definition at line 1032 of file vm_method.c.
Definition at line 1026 of file vm_method.c.
Definition at line 1101 of file load.c.
References GET_EC.
Referenced by rb_f_require(), rb_f_require_relative(), and rb_require().
| int rb_reserved_fd_p | ( | int | fd | ) |
Referenced by rsock_init_sock().
Definition at line 2190 of file vm_method.c.
References FALSE, and rb_obj_respond_to().
Referenced by ossl_to_der_if_possible(), and rb_str_equal().
Definition at line 218 of file variable.c.
References name, OBJ_FREEZE, rb_set_class_path_string(), rb_str_new2, and str.
Definition at line 198 of file variable.c.
References str.
Referenced by rb_define_class_id_under(), rb_define_module_id_under(), and rb_set_class_path().
Definition at line 59 of file eval_jump.c.
References ALLOC, GET_THREAD, link(), list, and rb_thread_struct::top_wrapper.
| const char* rb_sourcefile | ( | void | ) |
Definition at line 1331 of file vm.c.
References rb_execution_context_struct::cfp, GET_EC, rb_control_frame_struct::iseq, rb_iseq_path(), rb_vm_get_ruby_level_next_cfp(), and RSTRING_PTR.
| int rb_sourceline | ( | void | ) |
Definition at line 1346 of file vm.c.
References rb_execution_context_struct::cfp, GET_EC, rb_vm_get_ruby_level_next_cfp(), and rb_vm_get_sourceline().
Definition at line 4544 of file bignum.c.
References rb_str_to_inum(), and str.
Definition at line 2965 of file string.c.
References rb_str_buf_append(), str, and StringValue.
Referenced by rb_keyword_error_new(), rb_load_fail(), rb_str_concat(), and rb_str_ellipsize().
Definition at line 2950 of file string.c.
References ENC_CODERANGE, ENC_CODERANGE_SET, ENCODING_GET, RSTRING_LEN, RSTRING_PTR, and str.
Referenced by rb_str_append().
Referenced by rb_str_buf_new_cstr().
Definition at line 2926 of file string.c.
References ALLOCA_N, buf, ENC_CODERANGE_7BIT, ENC_CODERANGE_VALID, ENCODING_GET, len, ptr, rb_enc_asciicompat, rb_enc_codelen(), rb_enc_from_index(), rb_enc_mbcput, rb_enc_mbmaxlen, str, and strlen().
| VALUE rb_str_buf_new | ( | long | ) |
Definition at line 1315 of file string.c.
References str.
Referenced by rb_econv_append(), rb_reg_regsub(), rb_str_buf_new_cstr(), and rb_str_concat_literals().
Definition at line 1331 of file string.c.
References len, ptr, rb_str_buf_cat(), rb_str_buf_new(), str, and strlen().
Referenced by rb_load_fail().
Definition at line 2812 of file string.c.
References len, rb_eArgError, rb_raise(), and str.
Referenced by rb_str_cat_conv_enc_opts(), rb_str_concat(), rb_str_ellipsize(), rb_str_initialize(), and rsock_inspect_sockaddr().
Referenced by make_inspect(), rb_iseq_disasm_insn(), rb_load_fail(), and rsock_inspect_sockaddr().
Definition at line 2822 of file string.c.
Referenced by rb_keyword_error_new(), and ruby_init_loadpath().
Definition at line 3228 of file string.c.
References ENCODING_GET, lesser, memcmp(), rb_str_comparable(), and RSTRING_GETMEM.
Referenced by rb_iseq_pathobj_new().
Definition at line 3203 of file string.c.
References ENC_CODERANGE_7BIT, ENCODING_GET, FALSE, rb_enc_asciicompat, rb_enc_from_index(), rb_enc_str_coderange(), RSTRING_LEN, and TRUE.
Referenced by rb_str_cmp(), and rb_str_hash_cmp().
Definition at line 3065 of file string.c.
References ALLOCA_N, buf, ENC_CODERANGE, ENC_CODERANGE_7BIT, ENC_CODERANGE_SET, ENC_CODERANGE_VALID, ENCINDEX_ASCII, ENCINDEX_US_ASCII, FIX2LONG, FIXNUM_P, len, memcpy, ONIGERR_INVALID_CODE_POINT_VALUE, ONIGERR_TOO_BIG_WIDE_CHAR_VALUE, rb_enc_associate_index(), rb_enc_codelen(), rb_enc_mbcput, rb_enc_name, rb_enc_precise_mbclen(), rb_enc_to_index(), rb_eRangeError, RB_INTEGER_TYPE_P, rb_num_to_uint(), rb_raise(), rb_str_append(), rb_str_cat(), rb_str_resize(), RSTRING_LEN, RSTRING_PTR, and STR_ENC_GET.
Referenced by make_inspect(), and rb_iseq_disasm_insn().
Definition at line 4573 of file string.c.
References ptr, RSTRING_LEN, RSTRING_PTR, and str.
Definition at line 6042 of file string.c.
References len, rb_enc_from_index(), rb_enc_get_index(), and str.
Definition at line 1516 of file string.c.
Referenced by rb_str_conv_enc_opts(), rb_str_times(), rb_vm_set_progname(), rsock_ipaddr(), and ruby_set_script_name().
Shortens str and adds three dots, an ellipsis, if it is longer than len characters.
| str | the string to ellipsize. |
| len | the maximum string length. |
Definition at line 10185 of file string.c.
References len, Qnil, rb_eIndexError, rb_enc_asciicompat, rb_enc_associate(), rb_enc_from_encoding(), rb_enc_get(), rb_enc_mbminlen, rb_enc_nth(), rb_enc_step_back, rb_raise(), rb_str_append(), rb_str_cat(), rb_str_encode(), rb_str_new_with_class(), rb_str_subseq(), rb_usascii_str_new(), RSTRING_LEN, RSTRING_PTR, and str.
Definition at line 236 of file file.c.
References gzfile::enc, ENCINDEX_ASCII, ENCINDEX_UTF_8, ENCODING_GET, gzfile::path, rb_enc_from_index(), rb_filesystem_encindex(), rb_str_conv_enc(), and rb_utf8_encoding().
Referenced by rb_resolve_feature_path().
Definition at line 3267 of file string.c.
References Qfalse, Qtrue, rb_equal(), rb_respond_to(), RB_TYPE_P, and T_STRING.
| void rb_str_free | ( | VALUE | ) |
Definition at line 1349 of file string.c.
References FL_TEST, NULL, RB_DEBUG_COUNTER_INC, RB_DEBUG_COUNTER_INC_IF, rb_vm_fstring_table(), RSTRING_FSTR, ruby_sized_xfree(), st_data_t, st_delete(), str, STR_EMBED_P, STR_HEAP_PTR, STR_HEAP_SIZE, STR_NOFREE, and STR_SHARED.
Definition at line 2616 of file string.c.
References OBJ_FROZEN, rb_obj_freeze(), rb_str_resize(), RSTRING_LEN, and str.
| st_index_t rb_str_hash | ( | VALUE | ) |
Definition at line 3163 of file string.c.
References ENC_CODERANGE_7BIT, ENCODING_GET, rb_enc_str_coderange(), rb_memhash(), RSTRING_LEN, RSTRING_PTR, and str.
Definition at line 3173 of file string.c.
References memcmp(), rb_str_comparable(), and RSTRING_GETMEM.
Definition at line 5930 of file string.c.
References buf, CHAR_ESC_LEN, ENCODING_GET, rb_enc_from_index(), and str.
Referenced by rb_id_quote_unprintable().
Referenced by rb_str_locktmp_ensure().
| void rb_str_modify | ( | VALUE | ) |
Definition at line 2114 of file string.c.
Referenced by rb_str_cat_conv_enc_opts(), and rb_str_vcatf().
| void rb_str_modify_expand | ( | VALUE | , |
| long | |||
| ) |
Definition at line 2122 of file string.c.
References len, LONG_MAX, rb_eArgError, rb_raise(), RSTRING_LEN, str, and TERM_LEN.
Definition at line 774 of file string.c.
Referenced by asn1str_to_str(), rb_enc_str_new(), rb_exc_new(), rb_io_ungetbyte(), rb_iseq_disasm_insn(), rb_parser_printf(), rb_reg_quote(), rb_str_concat_literals(), rb_tainted_str_new(), and rb_usascii_str_new().
Definition at line 808 of file string.c.
Referenced by Init_etc(), Init_stringio(), rb_econv_open_exc(), rb_insn_operand_intern(), rb_iseq_defined_string(), rb_load_file(), rb_parser_dump_tree(), rb_parser_fatal(), rb_path2class(), rb_require(), rb_str_split(), rb_tainted_str_new_cstr(), rb_throw_obj(), rb_usascii_str_new_cstr(), rb_utf8_str_new_cstr(), and ruby_eval_string_from_file().
Definition at line 1203 of file string.c.
References OBJ_FROZEN.
Referenced by rb_econv_substr_append(), rb_hash_key_str(), rb_str_include_range_p(), and rb_str_subseq().
Definition at line 1197 of file string.c.
Referenced by rb_str_subseq().
Definition at line 1298 of file string.c.
Referenced by rb_str_ellipsize(), rb_str_subseq(), and rb_str_succ().
Definition at line 1894 of file string.c.
References LONG_MAX, rb_eArgError, rb_enc_check_str(), rb_enc_mbminlen, rb_raise(), RSTRING_GETMEM, and StringValue.
Referenced by rb_str_opt_plus().
Definition at line 2709 of file string.c.
References len, rb_eArgError, and rb_raise().
Referenced by rb_econv_append(), rb_fstring(), rb_reg_quote(), rb_str_concat(), rb_str_freeze(), ruby_init_loadpath(), and VpAlloc().
Definition at line 1522 of file string.c.
References RSTRING_LEN, RUBY_DTRACE_CREATE_HOOK, and str.
Referenced by rb_str_concat_literals().
| str | the string to be scrubbed |
| repl | the replacement character |
Definition at line 10248 of file string.c.
References str, and STR_ENC_GET.
| void rb_str_set_len | ( | VALUE | , |
| long | |||
| ) |
Definition at line 2692 of file string.c.
References RString::capa, str, and TERM_LEN.
Referenced by rb_econv_append().
Definition at line 8116 of file string.c.
References rb_str_new_cstr(), str, and StringValue.
| long rb_str_sublen | ( | VALUE | , |
| long | |||
| ) |
Definition at line 2463 of file string.c.
Referenced by rb_reg_match2().
| char* rb_str_subpos | ( | VALUE | , |
| long | , | ||
| long * | |||
| ) |
Definition at line 2497 of file string.c.
References L, len, RSTRING_LEN, RSTRING_PTR, str, and STR_ENC_GET.
Definition at line 2474 of file string.c.
References len, RB_GC_GUARD, rb_str_new_frozen(), rb_str_new_shared(), rb_str_new_with_class(), RSTRING, RSTRING_LEN, RSTRING_PTR, SHARABLE_SUBSTRING_P, str, STR_EMBEDDABLE_P, and TERM_LEN.
Referenced by rb_path_to_class(), rb_reg_regsub(), rb_str_ellipsize(), and ruby_init_loadpath().
Definition at line 4090 of file string.c.
References rb_str_new_with_class(), RSTRING_LEN, RSTRING_PTR, and str.
Definition at line 4268 of file bignum.c.
References rb_str_convert_to_inum(), str, and TRUE.
Referenced by rb_str2inum().
Definition at line 2675 of file string.c.
References FL_TEST, FL_UNSET, rb_eRuntimeError, rb_raise(), str, and STR_TMPLOCK.
Referenced by rb_str_locktmp_ensure().
Definition at line 1210 of file sprintf.c.
References __SSTR, __SWR, f, rb_str_capacity(), rb_str_modify(), RBASIC, RBASIC_CLEAR_CLASS, RSTRING_END, str, and StringValue.
Referenced by rb_parser_fatal(), rb_parser_printf(), and rb_str_catf().
Definition at line 724 of file struct.c.
References RARRAY_CONST_PTR, RARRAY_LENINT, and rb_class_new_instance().
Definition at line 1061 of file struct.c.
Referenced by rb_vm_opt_struct_aref().
Definition at line 1088 of file struct.c.
Referenced by rb_vm_opt_struct_aset().
Definition at line 431 of file struct.c.
References RString::ary, and name.
Definition at line 446 of file struct.c.
References RString::ary, and name.
| VALUE rb_struct_define_without_accessor | ( | const char * | , |
| VALUE | , | ||
| rb_alloc_func_t | , | ||
| ... | |||
| ) |
| VALUE rb_struct_define_without_accessor_under | ( | VALUE | outer, |
| const char * | class_name, | ||
| VALUE | super, | ||
| rb_alloc_func_t | alloc, | ||
| ... | |||
| ) |
Definition at line 72 of file struct.c.
References RARRAY_LEN, rb_eTypeError, rb_obj_class(), rb_raise(), rb_struct_s_members(), and RSTRUCT_LEN.
Definition at line 730 of file struct.c.
References N_REF_FUNC, rb_long2int, and size.
Definition at line 58 of file struct.c.
Referenced by rb_struct_members().
Definition at line 1291 of file struct.c.
References LONG2FIX, and RSTRUCT_LEN.
| VALUE rb_sym_all_symbols | ( | void | ) |
Definition at line 840 of file symbol.c.
References RString::ary, global_symbols, rb_ary_new2, and st_foreach().
| int rb_sym_interned_p | ( | VALUE | ) |
| int rb_symname_p | ( | const char * | ) |
Definition at line 182 of file symbol.c.
References name, rb_ascii8bit_encoding(), and rb_enc_symname_p().
| void rb_syswait | ( | rb_pid_t | pid | ) |
Definition at line 4315 of file process.c.
References rb_waitpid().
Definition at line 896 of file string.c.
References len, ptr, rb_str_new(), and rb_warning().
Definition at line 903 of file string.c.
References ptr, rb_str_new_cstr(), and rb_warning().
| int rb_thread_alone | ( | void | ) |
Definition at line 3492 of file thread.c.
Referenced by rb_thread_stop().
| void rb_thread_check_ints | ( | void | ) |
Definition at line 1362 of file thread.c.
References GET_EC, and RUBY_VM_CHECK_INTS_BLOCKING.
| VALUE rb_thread_current | ( | void | ) |
Definition at line 2676 of file thread.c.
References GET_THREAD.
Referenced by VpGetPrecLimit(), and VpGetRoundMode().
| void rb_thread_fd_close | ( | int | ) |
Definition at line 2386 of file thread.c.
References rb_notify_fd_close(), and rb_thread_schedule().
| int rb_thread_fd_select | ( | int | , |
| rb_fdset_t * | , | ||
| rb_fdset_t * | , | ||
| rb_fdset_t * | , | ||
| struct timeval * | |||
| ) |
| int rb_thread_interrupted | ( | VALUE | thval | ) |
Definition at line 1379 of file thread.c.
References RUBY_VM_INTERRUPTED.
Definition at line 3216 of file thread.c.
Referenced by VpGetPrecLimit(), and VpGetRoundMode().
Definition at line 3364 of file thread.c.
References OBJ_FROZEN, and rb_frozen_error_raise().
| VALUE rb_thread_main | ( | void | ) |
Definition at line 2697 of file thread.c.
References GET_THREAD.
Definition at line 2587 of file thread.c.
References rb_thread_schedule(), and rb_thread_wakeup().
| void rb_thread_schedule | ( | void | ) |
Definition at line 1408 of file thread.c.
Referenced by rb_thread_fd_close(), and rb_thread_run().
| void rb_thread_sleep | ( | int | ) |
Definition at line 1385 of file thread.c.
References INT2FIX, rb_thread_wait_for(), and rb_time_timeval().
| void rb_thread_sleep_deadly | ( | void | ) |
| void rb_thread_sleep_forever | ( | void | ) |
Definition at line 1314 of file thread.c.
References thread_debug.
| VALUE rb_thread_stop | ( | void | ) |
Definition at line 2596 of file thread.c.
References Qnil, rb_eThreadError, rb_raise(), rb_thread_alone(), and rb_thread_sleep_deadly().
| void rb_thread_wait_fd | ( | int | ) |
Definition at line 4042 of file thread.c.
Referenced by rb_io_read_check().
| void rb_thread_wait_for | ( | struct timeval | ) |
Definition at line 2540 of file thread.c.
References rb_eThreadError, rb_raise(), rb_thread_wakeup_alive(), and RTEST.
Referenced by rb_thread_run().
Definition at line 2549 of file thread.c.
Referenced by rb_thread_wakeup().
Definition at line 2553 of file time.c.
Referenced by rb_mutex_sleep().
| VALUE rb_time_new | ( | time_t | , |
| long | |||
| ) |
Definition at line 2492 of file time.c.
References NDIV, rb_eRangeError, and rb_raise().
Definition at line 4229 of file time.c.
References GetTimeval, and rb_warn().
Definition at line 2553 of file time.c.
Referenced by rb_thread_sleep().
Definition at line 4796 of file time.c.
References GetTimeval, INT2FIX, MAKE_TM, and TZMODE_UTC_P.
| void rb_timespec_now | ( | struct timespec * | ) |
Definition at line 1873 of file time.c.
References clock_gettime(), CLOCK_REALTIME, gettimeofday(), rb_sys_fail(), timespec::tv_nsec, timeval::tv_sec, timespec::tv_sec, and timeval::tv_usec.
Definition at line 1200 of file vm_method.c.
References NIL_P, object_id, rb_class_modify_check(), rb_eTypeError, rb_id2name(), rb_raise(), and rb_warn().
| void rb_undef_alloc_func | ( | VALUE | ) |
Definition at line 722 of file vm_method.c.
References rb_define_alloc_func(), and UNDEF_ALLOC_FUNC.
Referenced by Init_Binding(), Init_ISeq(), Init_ossl_engine(), Init_Proc(), Init_VM(), and InitVM_Struct().
Definition at line 3193 of file gc.c.
References finalizer_table, FL_FINALIZE, FL_UNSET, rb_check_frozen, rb_objspace, st_data_t, and st_delete().
| void rb_update_max_fd | ( | int | fd | ) |
Definition at line 218 of file io.c.
Referenced by rb_fd_fix_cloexec(), rb_file_load_ok(), rb_pipe(), and rsock_init_sock().
Definition at line 780 of file string.c.
References ENC_CODERANGE_7BIT, ENCODING_CODERANGE_SET, len, ptr, rb_str_new(), rb_usascii_encindex(), and str.
Referenced by rb_fix2str(), and rb_str_ellipsize().
Definition at line 820 of file string.c.
References ENC_CODERANGE_7BIT, ENCODING_CODERANGE_SET, ptr, rb_str_new_cstr(), rb_usascii_encindex(), and str.
Referenced by rb_locale_charmap().
Definition at line 828 of file string.c.
References ptr, rb_enc_associate_index(), rb_str_new_cstr(), rb_utf8_encindex(), and str.
| int rb_uv_to_utf8 | ( | char | [6], |
| unsigned long | |||
| ) |
Definition at line 1651 of file pack.c.
References buf, castchar, Qnil, rb_eRangeError, rb_raise(), and UNREACHABLE_RETURN.
Definition at line 1191 of file sprintf.c.
References NULL, and rb_enc_vsprintf().
Referenced by rb_frozen_error_raise(), rb_name_error(), rb_name_error_str(), and rb_vraise().
| rb_pid_t rb_waitpid | ( | rb_pid_t | pid, |
| int * | status, | ||
| int | flags | ||
| ) |
Definition at line 1213 of file process.c.
Referenced by rb_syswait().
| void rb_write_error | ( | const char * | ) |
Definition at line 7930 of file io.c.
References rb_write_error2(), and strlen().
| void rb_write_error2 | ( | const char * | , |
| long | |||
| ) |
Definition at line 7911 of file io.c.
Referenced by rb_write_error().
| void ruby_default_signal | ( | int | ) |
Definition at line 402 of file signal.c.
References rb_debug_counter_show_results(), and rb_malloc_info_show_results().
| RUBY_EXTERN VALUE rb_argv0 |
| RUBY_EXTERN VALUE rb_default_rs |
| RUBY_EXTERN VALUE rb_fs |
| RUBY_EXTERN VALUE rb_output_fs |
| RUBY_EXTERN VALUE rb_output_rs |
| RUBY_EXTERN VALUE rb_rs |
| rb_gvar_setter_t rb_str_setter |