Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
internal.h File Reference
`#include "ruby.h"`
`#include "missing/stdbool.h"`

Go to the source code of this file.

## Data Structures
struct | RBignum
struct | RRational
struct | RFloat
struct | RComplex
struct | RHash
struct | RMoved
struct | RStruct
struct | rb_deprecated_classext_struct
struct | rb_subclass_entry
struct | rb_classext_struct
struct | RClass
struct | RIMemo
struct | vm_svar
| SVAR (Special VARiable) More...
struct | vm_throw_data
| THROW_DATA. More...
struct | vm_ifunc_argc
struct | vm_ifunc
| IFUNC (Internal FUNCtion) More...
struct | rb_imemo_tmpbuf_struct
struct | MEMO
| MEMO. More...
struct | cmp_opt_data
struct | rb_global_entry
struct | RBasicRaw
struct | rb_execarg
struct | rb_call_cache
struct | rb_call_info
struct | rb_call_data

## Macros
#define | HALF_LONG_MSB ((SIGNED_VALUE)1<<((SIZEOF_LONG*CHAR_BIT-1)/2))
#define | LIKELY(x) RB_LIKELY(x)
#define | UNLIKELY(x) RB_UNLIKELY(x)
#define | MAYBE_UNUSED(x) x
#define | WARN_UNUSED_RESULT(x) x
#define | __has_feature(x) 0
#define | __has_extension __has_feature
#define | ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS(x) x
#define | NO_SANITIZE(x, y) y
#define | VALGRIND_MAKE_MEM_DEFINED(p, n) 0
#define | VALGRIND_MAKE_MEM_UNDEFINED(p, n) 0
#define | numberof(array) ((int)(sizeof(array) / sizeof((array)[0])))
#define | __asan_poison_memory_region(x, y)
#define | __asan_unpoison_memory_region(x, y)
#define | __asan_region_is_poisoned(x, y) 0
#define | __msan_allocated_memory(x, y) ((void)(x), (void)(y))
#define | __msan_poison(x, y) ((void)(x), (void)(y))
#define | __msan_unpoison(x, y) ((void)(x), (void)(y))
#define | __msan_unpoison_string(x) ((void)(x))
#define | asan_poison_object_if(ptr, obj) ((void)(ptr), (void)(obj))
#define | ACCESS_ONCE(type, x) (*((volatile type *)&(x)))
#define | STATIC_ASSERT(name, expr) typedef int static_assert_##name##_check[1 - 2*!(expr)]
#define | SIGNED_INTEGER_TYPE_P(int_type) (0 > ((int_type)0)-1)
#define | SIGNED_INTEGER_MAX(sint_type)
#define | SIGNED_INTEGER_MIN(sint_type) (-SIGNED_INTEGER_MAX(sint_type)-1)
#define | UNSIGNED_INTEGER_MAX(uint_type) (~(uint_type)0)
#define | TIMET_MAX_PLUS_ONE (2*(double)(TIMET_MAX/2+1))
#define | MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, min, max)
#define | MUL_OVERFLOW_FIXNUM_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, FIXNUM_MIN, FIXNUM_MAX)
#define | MUL_OVERFLOW_LONG_LONG_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, LLONG_MIN, LLONG_MAX)
#define | MUL_OVERFLOW_LONG_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, LONG_MIN, LONG_MAX)
#define | MUL_OVERFLOW_INT_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, INT_MIN, INT_MAX)
#define | swap16(x) ((uint16_t)((((x)&0xFF)<<8) | (((x)>>8)&0xFF)))
#define | swap32(x)
#define | bit_length(x)
#define | BDIGIT unsigned int
#define | SIZEOF_BDIGIT SIZEOF_INT
#define | BDIGIT_DBL unsigned LONG_LONG
#define | BDIGIT_DBL_SIGNED LONG_LONG
#define | PRI_BDIGIT_PREFIX ""
#define | PRI_BDIGIT_DBL_PREFIX PRI_LL_PREFIX
#define | SIZEOF_ACTUAL_BDIGIT SIZEOF_BDIGIT
#define | PRIdBDIGIT PRI_BDIGIT_PREFIX"d"
#define | PRIiBDIGIT PRI_BDIGIT_PREFIX"i"
#define | PRIoBDIGIT PRI_BDIGIT_PREFIX"o"
#define | PRIuBDIGIT PRI_BDIGIT_PREFIX"u"
#define | PRIxBDIGIT PRI_BDIGIT_PREFIX"x"
#define | PRIdBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"d"
#define | PRIiBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"i"
#define | PRIoBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"o"
#define | PRIuBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"u"
#define | PRIxBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"x"
#define | BIGNUM_EMBED_LEN_NUMBITS 3
#define | BIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*RVALUE_EMBED_LEN_MAX/SIZEOF_ACTUAL_BDIGIT)
#define | BIGNUM_SIGN_BIT ((VALUE)FL_USER1)
#define | BIGNUM_SIGN(b) ((RBASIC(b)->flags & BIGNUM_SIGN_BIT) != 0)
#define | BIGNUM_SET_SIGN(b, sign)
#define | BIGNUM_POSITIVE_P(b) BIGNUM_SIGN(b)
#define | BIGNUM_NEGATIVE_P(b) (!BIGNUM_SIGN(b))
#define | BIGNUM_NEGATE(b) (RBASIC(b)->flags ^= BIGNUM_SIGN_BIT)
#define | BIGNUM_EMBED_FLAG ((VALUE)FL_USER2)
#define | BIGNUM_EMBED_LEN_MASK (~(~(VALUE)0U << BIGNUM_EMBED_LEN_NUMBITS) << BIGNUM_EMBED_LEN_SHIFT)
#define | BIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+3) /* bit offset of BIGNUM_EMBED_LEN_MASK */
#define | BIGNUM_LEN(b)
#define | BIGNUM_DIGITS(b)
#define | BIGNUM_LENINT(b) rb_long2int(BIGNUM_LEN(b))
#define | RBIGNUM(obj) (R_CAST(RBignum)(obj))
#define | RRATIONAL(obj) (R_CAST(RRational)(obj))
#define | RRATIONAL_SET_NUM(rat, n) RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->num,(n))
#define | RRATIONAL_SET_DEN(rat, d) RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->den,(d))
#define | RFLOAT(obj) (R_CAST(RFloat)(obj))
#define | RCOMPLEX(obj) (R_CAST(RComplex)(obj))
#define | RCOMPLEX_SET_REAL(cmp, r) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r))
#define | RCOMPLEX_SET_IMAG(cmp, i) RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i))
#define | RHASH_AR_TABLE_MAX_SIZE SIZEOF_VALUE
#define | RHASH_LEV_MASK
#define | RHASH_AR_TABLE_SIZE_RAW(h) ((unsigned int)((RBASIC(h)->flags & RHASH_AR_TABLE_SIZE_MASK) >> RHASH_AR_TABLE_SIZE_SHIFT))
#define | RHASH_AR_TABLE_P(hash) (!FL_TEST_RAW((hash), RHASH_ST_TABLE_FLAG))
#define | RHASH_AR_TABLE(hash) (RHASH(hash)->as.ar)
#define | RHASH_ST_TABLE(hash) (RHASH(hash)->as.st)
#define | RHASH(obj) (R_CAST(RHash)(obj))
#define | RHASH_ST_SIZE(h) (RHASH_ST_TABLE(h)->num_entries)
#define | RHASH_ST_TABLE_P(h) (!RHASH_AR_TABLE_P(h))
#define | RHASH_ST_CLEAR(h) (FL_UNSET_RAW(h, RHASH_ST_TABLE_FLAG), RHASH(h)->as.ar = NULL)
#define | RHASH_AR_TABLE_SIZE_MASK (VALUE)RHASH_AR_TABLE_SIZE_MASK
#define | RHASH_AR_TABLE_SIZE_SHIFT RHASH_AR_TABLE_SIZE_SHIFT
#define | RHASH_AR_TABLE_BOUND_MASK (VALUE)RHASH_AR_TABLE_BOUND_MASK
#define | RHASH_AR_TABLE_BOUND_SHIFT RHASH_AR_TABLE_BOUND_SHIFT
#define | RHASH_TRANSIENT_P(hash) FL_TEST_RAW((hash), RHASH_TRANSIENT_FLAG)
#define | RHASH_SET_TRANSIENT_FLAG(h) FL_SET_RAW(h, RHASH_TRANSIENT_FLAG)
#define | RHASH_UNSET_TRANSIENT_FLAG(h) FL_UNSET_RAW(h, RHASH_TRANSIENT_FLAG)
#define | RHASH_IFNONE(h) (RHASH(h)->ifnone)
#define | RHASH_SIZE(h) (RHASH_AR_TABLE_P(h) ? RHASH_AR_TABLE_SIZE_RAW(h) : RHASH_ST_SIZE(h))
#define | RSTRUCT_EMBED_LEN_MAX RSTRUCT_EMBED_LEN_MAX
#define | RSTRUCT_EMBED_LEN_MASK RSTRUCT_EMBED_LEN_MASK
#define | RSTRUCT_EMBED_LEN_SHIFT RSTRUCT_EMBED_LEN_SHIFT
#define | RSTRUCT_TRANSIENT_P(st) FL_TEST_RAW((obj), RSTRUCT_TRANSIENT_FLAG)
#define | RSTRUCT_TRANSIENT_SET(st) FL_SET_RAW((st), RSTRUCT_TRANSIENT_FLAG)
#define | RSTRUCT_TRANSIENT_UNSET(st) FL_UNSET_RAW((st), RSTRUCT_TRANSIENT_FLAG)
#define | RSTRUCT_EMBED_LEN(st)
#define | RSTRUCT_LEN(st) rb_struct_len(st)
#define | RSTRUCT_LENINT(st) rb_long2int(RSTRUCT_LEN(st))
#define | RSTRUCT_CONST_PTR(st) rb_struct_const_ptr(st)
#define | RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(STRUCT, st)))
#define | RSTRUCT_SET(st, idx, v) RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v))
#define | RSTRUCT_GET(st, idx) (RSTRUCT_CONST_PTR(st)[idx])
#define | RSTRUCT(obj) (R_CAST(RStruct)(obj))
#define | SERIALT2NUM ULONG2NUM
#define | PRI_SERIALT_PREFIX PRI_LONG_PREFIX
#define | SIZEOF_SERIAL_T SIZEOF_LONG
#define | RCLASS_EXT(c) (RCLASS(c)->ptr)
#define | RCLASS_IV_TBL(c) (RCLASS_EXT(c)->iv_tbl)
#define | RCLASS_CONST_TBL(c) (RCLASS_EXT(c)->const_tbl)
#define | RCLASS_M_TBL(c) (RCLASS_EXT(c)->m_tbl)
#define | RCLASS_CALLABLE_M_TBL(c) (RCLASS_EXT(c)->callable_m_tbl)
#define | RCLASS_IV_INDEX_TBL(c) (RCLASS_EXT(c)->iv_index_tbl)
#define | RCLASS_ORIGIN(c) (RCLASS_EXT(c)->origin_)
#define | RCLASS_REFINED_CLASS(c) (RCLASS_EXT(c)->refined_class)
#define | RCLASS_SERIAL(c) (RCLASS(c)->class_serial)
#define | RCLASS_INCLUDER(c) (RCLASS_EXT(c)->includer)
#define | RCLASS_CLONED FL_USER6
#define | RICLASS_IS_ORIGIN FL_USER5
#define | RCLASS_REFINED_BY_ANY FL_USER7
#define | IMEMO_DEBUG 0
#define | IMEMO_MASK 0x0f
#define | IMEMO_FL_USHIFT (FL_USHIFT + 4)
#define | IMEMO_FL_USER0 FL_USER4
#define | IMEMO_FL_USER1 FL_USER5
#define | IMEMO_FL_USER2 FL_USER6
#define | IMEMO_FL_USER3 FL_USER7
#define | IMEMO_FL_USER4 FL_USER8
#define | THROW_DATA_CONSUMED IMEMO_FL_USER0
#define | THROW_DATA_P(err) RB_TYPE_P((VALUE)(err), T_IMEMO)
#define | IFUNC_NEW(a, b, c) ((struct vm_ifunc *)rb_imemo_new(imemo_ifunc, (VALUE)(a), (VALUE)(b), (VALUE)(c), 0))
#define | rb_imemo_tmpbuf_auto_free_pointer() rb_imemo_new(imemo_tmpbuf, 0, 0, 0, 0)
#define | RB_IMEMO_TMPBUF_PTR(v) ((void *)(((const struct rb_imemo_tmpbuf_struct *)(v))->ptr))
#define | MEMO_V1_SET(m, v) RB_OBJ_WRITE((m), &(m)->v1, (v))
#define | MEMO_V2_SET(m, v) RB_OBJ_WRITE((m), &(m)->v2, (v))
#define | MEMO_CAST(m) ((struct MEMO *)m)
#define | MEMO_NEW(a, b, c) ((struct MEMO *)rb_imemo_new(imemo_memo, (VALUE)(a), (VALUE)(b), (VALUE)(c), 0))
#define | roomof(x, y) (((x) + (y) - 1) / (y))
#define | type_roomof(x, y) roomof(sizeof(x), sizeof(y))
#define | MEMO_FOR(type, value) ((type *)RARRAY_PTR(value))
#define | NEW_MEMO_FOR(type, value) ((value) = rb_ary_tmp_new_fill(type_roomof(type, VALUE)), MEMO_FOR(type, value))
#define | NEW_PARTIAL_MEMO_FOR(type, value, member)
#define | STRING_P(s) (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString)
#define | rb_cFixnum rb_cInteger
#define | rb_cBignum rb_cInteger
#define | NEW_CMP_OPT_MEMO(type, value) NEW_PARTIAL_MEMO_FOR(type, value, cmp_opt)
#define | CMP_OPTIMIZABLE_BIT(type) (1U << TOKEN_PASTE(cmp_opt_,type))
#define | CMP_OPTIMIZABLE(data, type)
#define | OPTIMIZED_CMP(a, b, data)
#define | ARRAY_DEBUG (0+RUBY_DEBUG)
#define | RARRAY_PTR_IN_USE_FLAG FL_USER14
#define | ARY_PTR_USING_P(ary) FL_TEST_RAW((ary), RARRAY_PTR_IN_USE_FLAG)
#define | RARY_TRANSIENT_SET(ary) FL_SET_RAW((ary), RARRAY_TRANSIENT_FLAG);
#define | RARY_TRANSIENT_UNSET(ary) FL_UNSET_RAW((ary), RARRAY_TRANSIENT_FLAG);
#define | rp(obj) rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, __func__)
#define | rp_m(msg, obj)
#define | bp() ruby_debug_breakpoint()
#define | rb_raise_cstr(etype, mesg) rb_exc_raise(rb_exc_new_str(etype, rb_str_new_cstr(mesg)))
#define | rb_raise_static(etype, mesg) rb_exc_raise(rb_exc_new_str(etype, rb_str_new_static(mesg, rb_strlen_lit(mesg))))
#define | rb_name_err_raise_str(mesg, recv, name) rb_exc_raise(rb_name_err_new(mesg, recv, name))
#define | rb_name_err_raise(mesg, recv, name) rb_name_err_raise_str(rb_fstring_cstr(mesg), (recv), (name))
#define | rb_key_err_raise(mesg, recv, name) rb_exc_raise(rb_key_err_new(mesg, recv, name))
#define | id_signo ruby_static_id_signo
#define | id_status ruby_static_id_status
#define | rb_sys_fail_path(path) rb_sys_fail_str(path)
#define | rb_syserr_fail_path(err, path) rb_syserr_fail_str((err), (path))
#define | SIZED_REALLOC_N(var, type, n, old_n) ((var)=(type*)ruby_sized_xrealloc2((void*)(var), (n), sizeof(type), (old_n)))
#define | RB_NEWOBJ_OF(obj, type, klass, flags)
#define | NEWOBJ_OF(obj, type, klass, flags) RB_NEWOBJ_OF(obj,type,klass,flags)
#define | RHASH_TBL_RAW(h) rb_hash_tbl_raw(h)
#define | rb_io_fptr_finalize rb_io_fptr_finalize_internal
#define | mjit_enabled 0
#define | FIXNUM_POSITIVE_P(num) ((SIGNED_VALUE)(num) > (SIGNED_VALUE)INT2FIX(0))
#define | FIXNUM_NEGATIVE_P(num) ((SIGNED_VALUE)(num) < 0)
#define | FIXNUM_ZERO_P(num) ((num) == INT2FIX(0))
#define | INT_NEGATIVE_P(x) (FIXNUM_P(x) ? FIXNUM_NEGATIVE_P(x) : BIGNUM_NEGATIVE_P(x))
#define | FLOAT_ZERO_P(x) (RFLOAT_VALUE(x) == 0.0)
#define | ROUND_DEFAULT RUBY_NUM_ROUND_HALF_UP
#define | ROUND_TO(mode, even, up, down)
#define | ROUND_FUNC(mode, name) ROUND_TO(mode, name##_half_even, name##_half_up, name##_half_down)
#define | ROUND_CALL(mode, name, args)
#define | RUBY_BIT_ROTL(v, n) (((v) << (n)) | ((v) >> ((sizeof(v) * 8) - n)))
#define | RUBY_BIT_ROTR(v, n) (((v) >> (n)) | ((v) << ((sizeof(v) * 8) - n)))
#define | rb_float_value(v) rb_float_value_inline(v)
#define | rb_float_new(d) rb_float_new_inline(d)
#define | RBASIC_CLEAR_CLASS(obj) memset(&(((struct RBasicRaw *)((VALUE)(obj)))->klass), 0, sizeof(VALUE))
#define | RBASIC_SET_CLASS_RAW(obj, cls) memcpy(&((struct RBasicRaw *)((VALUE)(obj)))->klass, &(cls), sizeof(VALUE))
#define | RBASIC_SET_CLASS(obj, cls)
#define | USE_SYMBOL_GC 1
#define | RB_MAX_GROUPS (65536)
#define | ARGVSTR2ARGV(argv_str) ((char **)RB_IMEMO_TMPBUF_PTR(argv_str) + 1)
#define | RANGE_BEG(r) (RSTRUCT(r)->as.ary[0])
#define | RANGE_END(r) (RSTRUCT(r)->as.ary[1])
#define | RANGE_EXCL(r) (RSTRUCT(r)->as.ary[2])
#define | rb_fstring_lit(str) rb_fstring_new((str), rb_strlen_lit(str))
#define | rb_fstring_literal(str) rb_fstring_lit(str)
#define | QUOTE(str) rb_str_quote_unprintable(str)
#define | QUOTE_ID(id) rb_id_quote_unprintable(id)
#define | STR_NOEMBED FL_USER1
#define | STR_SHARED FL_USER2 /* = ELTS_SHARED */
#define | STR_EMBED_P(str) (!FL_TEST_RAW((str), STR_NOEMBED))
#define | STR_SHARED_P(s) FL_ALL_RAW((s), STR_NOEMBED|ELTS_SHARED)
#define | is_ascii_string(str) (rb_enc_str_coderange(str) == ENC_CODERANGE_7BIT)
#define | is_broken_string(str) (rb_enc_str_coderange(str) == ENC_CODERANGE_BROKEN)
#define | COVERAGE_INDEX_LINES 0
#define | COVERAGE_INDEX_BRANCHES 1
#define | COVERAGE_TARGET_LINES 1
#define | COVERAGE_TARGET_BRANCHES 2
#define | COVERAGE_TARGET_METHODS 4
#define | COVERAGE_TARGET_ONESHOT_LINES 8
#define | ROBJECT_TRANSIENT_FLAG FL_USER13
#define | ROBJ_TRANSIENT_P(obj) FL_TEST_RAW((obj), ROBJECT_TRANSIENT_FLAG)
#define | ROBJ_TRANSIENT_SET(obj) FL_SET_RAW((obj), ROBJECT_TRANSIENT_FLAG)
#define | ROBJ_TRANSIENT_UNSET(obj) FL_UNSET_RAW((obj), ROBJECT_TRANSIENT_FLAG)
#define | CACHELINE 64
#define | Check_Type(v, t)
#define | rb_typeddata_is_instance_of rb_typeddata_is_instance_of_inline
#define | RB_OBJ_GC_FLAGS_MAX 6
#define | RUBY_DTRACE_CREATE_HOOK(name, arg) RUBY_DTRACE_HOOK(name##_CREATE, arg)
#define | RUBY_DTRACE_HOOK(name, arg)
#define | RB_OBJ_BUILTIN_TYPE(obj) rb_obj_builtin_type(obj)
#define | OBJ_BUILTIN_TYPE(obj) RB_OBJ_BUILTIN_TYPE(obj)
#define | FLEX_ARY_LEN 1 /* VALUE ary[1]; */
#define | BITFIELD(type, name, size) unsigned int name : size
#define | COMPILER_WARNING_PUSH /* nop */
#define | COMPILER_WARNING_POP /* nop */
#define | COMPILER_WARNING_ERROR(flag) /* nop */
#define | COMPILER_WARNING_IGNORED(flag) /* nop */
#define | COMPILER_WARNING_PRAGMA(str) COMPILER_WARNING_PRAGMA_(str)
#define | COMPILER_WARNING_PRAGMA_(str) _Pragma(#str)
#define | UNALIGNED_MEMBER_ACCESS(expr) expr
#define | UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
#define | RB_OBJ_WRITE(a, slot, b) UNALIGNED_MEMBER_ACCESS(rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__))

## Typedefs
typedef struct rb_subclass_entry | rb_subclass_entry_t
typedef unsigned long | rb_serial_t
typedef struct rb_classext_struct | rb_classext_t
typedef struct rb_imemo_tmpbuf_struct | rb_imemo_tmpbuf_t
typedef void | rb_check_funcall_hook(int, VALUE, ID, int, const VALUE *, VALUE)

## Enumerations
enum | ruby_rhash_flags { RHASH_PASS_AS_KEYWORDS = FL_USER1, RHASH_PROC_DEFAULT = FL_USER2, RHASH_ST_TABLE_FLAG = FL_USER3, RHASH_AR_TABLE_SIZE_MASK = (FL_USER4|FL_USER5|FL_USER6|FL_USER7), RHASH_AR_TABLE_SIZE_SHIFT = (FL_USHIFT+4), RHASH_AR_TABLE_BOUND_MASK = (FL_USER8|FL_USER9|FL_USER10|FL_USER11), RHASH_AR_TABLE_BOUND_SHIFT = (FL_USHIFT+8), RHASH_TRANSIENT_FLAG = FL_USER12, RHASH_LEV_SHIFT = (FL_USHIFT + 13), RHASH_LEV_MAX = 127, RHASH_ENUM_END, RHASH_PASS_AS_KEYWORDS = ((VALUE)RUBY_FL_USER1), RHASH_PROC_DEFAULT = ((VALUE)RUBY_FL_USER2), RHASH_ST_TABLE_FLAG = ((VALUE)RUBY_FL_USER3), RHASH_AR_TABLE_SIZE_MASK = (((VALUE)RUBY_FL_USER4)|((VALUE)RUBY_FL_USER5)|((VALUE)RUBY_FL_USER6)|((VALUE)RUBY_FL_USER7)), RHASH_AR_TABLE_SIZE_SHIFT = (((VALUE)RUBY_FL_USHIFT)+4), RHASH_AR_TABLE_BOUND_MASK = (((VALUE)RUBY_FL_USER8)|((VALUE)RUBY_FL_USER9)|((VALUE)RUBY_FL_USER10)|((VALUE)RUBY_FL_USER11)), RHASH_AR_TABLE_BOUND_SHIFT = (((VALUE)RUBY_FL_USHIFT)+8), RHASH_TRANSIENT_FLAG = ((VALUE)RUBY_FL_USER12), RHASH_LEV_SHIFT = (((VALUE)RUBY_FL_USHIFT) + 13), RHASH_LEV_MAX = 127, RHASH_ENUM_END }
enum | { RSTRUCT_EMBED_LEN_MAX = RVALUE_EMBED_LEN_MAX, RSTRUCT_EMBED_LEN_MASK = (RUBY_FL_USER2|RUBY_FL_USER1), RSTRUCT_EMBED_LEN_SHIFT = (RUBY_FL_USHIFT+1), RSTRUCT_TRANSIENT_FLAG = FL_USER3, RSTRUCT_ENUM_END }
enum | imemo_type { imemo_env = 0, imemo_cref = 1, imemo_svar = 2, imemo_throw_data = 3, imemo_ifunc = 4, imemo_memo = 5, imemo_ment = 6, imemo_iseq = 7, imemo_tmpbuf = 8, imemo_ast = 9, imemo_parser_strterm = 10, imemo_env = 0, imemo_cref = 1, imemo_svar = 2, imemo_throw_data = 3, imemo_ifunc = 4, imemo_memo = 5, imemo_ment = 6, imemo_iseq = 7, imemo_tmpbuf = 8, imemo_ast = 9, imemo_parser_strterm = 10 }
enum | { cmp_opt_Fixnum, cmp_opt_String, cmp_opt_Float, cmp_optimizable_count }
enum | rb_warning_category_t { RB_WARN_CATEGORY_NONE, RB_WARN_CATEGORY_DEPRECATED, RB_WARN_CATEGORY_EXPERIMENTAL, RB_WARN_CATEGORY_NONE, RB_WARN_CATEGORY_DEPRECATED, RB_WARN_CATEGORY_EXPERIMENTAL }
enum | ruby_num_rounding_mode { RUBY_NUM_ROUND_HALF_UP, RUBY_NUM_ROUND_HALF_EVEN, RUBY_NUM_ROUND_HALF_DOWN, RUBY_NUM_ROUND_DEFAULT = ROUND_DEFAULT, RUBY_NUM_ROUND_HALF_UP, RUBY_NUM_ROUND_HALF_EVEN, RUBY_NUM_ROUND_HALF_DOWN, RUBY_NUM_ROUND_DEFAULT = RUBY_NUM_ROUND_HALF_UP }
enum | method_missing_reason { MISSING_NOENTRY = 0x00, MISSING_PRIVATE = 0x01, MISSING_PROTECTED = 0x02, MISSING_FCALL = 0x04, MISSING_VCALL = 0x08, MISSING_SUPER = 0x10, MISSING_MISSING = 0x20, MISSING_NONE = 0x40, MISSING_NOENTRY = 0x00, MISSING_PRIVATE = 0x01, MISSING_PROTECTED = 0x02, MISSING_FCALL = 0x04, MISSING_VCALL = 0x08, MISSING_SUPER = 0x10, MISSING_MISSING = 0x20, MISSING_NONE = 0x40 }
enum | rb_int_parse_flags { RB_INT_PARSE_SIGN = 0x01, RB_INT_PARSE_UNDERSCORE = 0x02, RB_INT_PARSE_PREFIX = 0x04, RB_INT_PARSE_ALL = 0x07, RB_INT_PARSE_DEFAULT = 0x07, RB_INT_PARSE_SIGN = 0x01, RB_INT_PARSE_UNDERSCORE = 0x02, RB_INT_PARSE_PREFIX = 0x04, RB_INT_PARSE_ALL = 0x07, RB_INT_PARSE_DEFAULT = 0x07 }

## Functions
void | rb_hash_st_table_set (VALUE hash, st_table *st)
void | ruby_init_setproctitle (int argc, char *argv[])
void | rb_class_subclass_add (VALUE super, VALUE klass)
void | rb_class_remove_from_super_subclasses (VALUE)
int | rb_singleton_class_internal_p (VALUE sklass)
VALUE | rb_imemo_new (enum imemo_type type, VALUE v1, VALUE v2, VALUE v3, VALUE v0)
struct vm_ifunc * | rb_vm_ifunc_new (rb_block_call_func_t func, const void *data, int min_argc, int max_argc)
rb_imemo_tmpbuf_t * | rb_imemo_tmpbuf_parser_heap (void *buf, rb_imemo_tmpbuf_t *old_heap, size_t cnt)
void | rb_strterm_mark (VALUE obj)
struct rb_global_entry * | rb_global_entry (ID)
VALUE | rb_gvar_get (struct rb_global_entry *)
VALUE | rb_gvar_set (struct rb_global_entry *, VALUE)
VALUE | rb_gvar_defined (struct rb_global_entry *)
VALUE | rb_ary_last (int, const VALUE *, VALUE)
void | rb_ary_set_len (VALUE, long)
void | rb_ary_delete_same (VALUE, VALUE)
VALUE | rb_ary_tmp_new_fill (long capa)
VALUE | rb_ary_at (VALUE, VALUE)
VALUE | rb_ary_aref1 (VALUE ary, VALUE i)
size_t | rb_ary_memsize (VALUE)
VALUE | rb_to_array_type (VALUE obj)
VALUE | rb_check_to_array (VALUE ary)
VALUE | rb_ary_tmp_new_from_values (VALUE, long, const VALUE *)
VALUE | rb_ary_behead (VALUE, long)
void | rb_obj_info_dump (VALUE obj)
void | rb_obj_info_dump_loc (VALUE obj, const char *file, int line, const char *func)
void | ruby_debug_breakpoint (void)
double | rb_big_fdiv_double (VALUE x, VALUE y)
VALUE | rb_big_uminus (VALUE x)
VALUE | rb_big_hash (VALUE)
VALUE | rb_big_odd_p (VALUE)
VALUE | rb_big_even_p (VALUE)
size_t | rb_big_size (VALUE)
VALUE | rb_integer_float_cmp (VALUE x, VALUE y)
VALUE | rb_integer_float_eq (VALUE x, VALUE y)
VALUE | rb_str_convert_to_inum (VALUE str, int base, int badcheck, int raise_exception)
VALUE | rb_big_comp (VALUE x)
VALUE | rb_big_aref (VALUE x, VALUE y)
VALUE | rb_big_abs (VALUE x)
VALUE | rb_big_size_m (VALUE big)
VALUE | rb_big_bit_length (VALUE big)
VALUE | rb_big_remainder (VALUE x, VALUE y)
VALUE | rb_big_gt (VALUE x, VALUE y)
VALUE | rb_big_ge (VALUE x, VALUE y)
VALUE | rb_big_lt (VALUE x, VALUE y)
VALUE | rb_big_le (VALUE x, VALUE y)
VALUE | rb_int_powm (int const argc, VALUE *const argv, VALUE const num)
VALUE | rb_class_boot (VALUE)
| A utility function that wraps class_alloc. More...
VALUE | rb_class_inherited (VALUE, VALUE)
| Calls Class::inherited. More...
VALUE | rb_make_metaclass (VALUE, VALUE)
VALUE | rb_include_class_new (VALUE, VALUE)
void | rb_class_foreach_subclass (VALUE klass, void(*f)(VALUE, VALUE), VALUE)
void | rb_class_detach_subclasses (VALUE)
void | rb_class_detach_module_subclasses (VALUE)
void | rb_class_remove_from_module_subclasses (VALUE)
VALUE | rb_obj_methods (int argc, const VALUE *argv, VALUE obj)
VALUE | rb_obj_protected_methods (int argc, const VALUE *argv, VALUE obj)
VALUE | rb_obj_private_methods (int argc, const VALUE *argv, VALUE obj)
VALUE | rb_obj_public_methods (int argc, const VALUE *argv, VALUE obj)
VALUE | rb_special_singleton_class (VALUE)
VALUE | rb_singleton_class_clone_and_attach (VALUE obj, VALUE attach)
VALUE | rb_singleton_class_get (VALUE obj)
| Returns the singleton class of obj, or nil if obj is not a singleton object. More...
void | Init_class_hierarchy (void)
int | rb_class_has_methods (VALUE c)
void | rb_undef_methods_from (VALUE klass, VALUE super)
VALUE | rb_invcmp (VALUE, VALUE)
int | rb_dvar_defined (ID, const struct rb_iseq_struct *)
int | rb_local_defined (ID, const struct rb_iseq_struct *)
const char * | rb_insns_name (int i)
VALUE | rb_insns_name_array (void)
int | rb_vm_insn_addr2insn (const void *)
VALUE | rb_dbl_complex_new_polar_pi (double abs, double ang)
VALUE | rb_obj_is_fiber (VALUE)
void | rb_fiber_reset_root_local_storage (struct rb_thread_struct *)
void | ruby_register_rollback_func_for_ensure (VALUE(*ensure_func)(VALUE), VALUE(*rollback_func)(VALUE))
| PRINTF_ARGS (void ruby_debug_printf(const char *,...), 1, 2)
VALUE | rb_dir_getwd_ospath (void)
void | Init_enc (void)
void | Init_ext (void)
ID | rb_id_encoding (void)
int | rb_encdb_replicate (const char *alias, const char *orig)
int | rb_encdb_alias (const char *alias, const char *orig)
int | rb_encdb_dummy (const char *name)
void | rb_encdb_declare (const char *name)
void | rb_enc_set_base (const char *name, const char *orig)
int | rb_enc_set_dummy (int index)
void | rb_encdb_set_unicode (int index)
| PUREFUNC (int rb_data_is_encoding(VALUE obj))
VALUE | rb_f_send (int argc, VALUE *argv, VALUE recv)
VALUE | rb_nmin_run (VALUE obj, VALUE num, int by, int rev, int ary)
void | rb_report_bug_valist (VALUE file, int line, const char *fmt, va_list args)
| NORETURN (void rb_async_bug_errno(const char *, int))
const char * | rb_builtin_type_name (int t)
const char * | rb_builtin_class_name (VALUE x)
| PRINTF_ARGS (void rb_warn_deprecated(const char *fmt, const char *suggest,...), 1, 3)
rb_warning_category_t | rb_warning_category_from_name (VALUE category)
bool | rb_warning_category_enabled_p (rb_warning_category_t category)
VALUE | rb_name_err_new (VALUE mesg, VALUE recv, VALUE method)
VALUE | rb_nomethod_err_new (VALUE mesg, VALUE recv, VALUE method, VALUE args, int priv)
VALUE | rb_key_err_new (VALUE mesg, VALUE recv, VALUE name)
| PRINTF_ARGS (VALUE rb_warning_string(const char *fmt,...), 1, 2)
| NORETURN (void rb_vraise(VALUE, const char *, va_list))
VALUE | rb_refinement_module_get_refined_class (VALUE module)
void | rb_class_modify_check (VALUE)
| Asserts that klass is not a frozen class. More...
| NORETURN (VALUE rb_f_raise(int argc, VALUE *argv))
VALUE | rb_get_backtrace (VALUE info)
void | rb_call_end_proc (VALUE data)
void | rb_mark_end_proc (void)
VALUE | rb_home_dir_of (VALUE user, VALUE result)
VALUE | rb_default_home_dir (VALUE result)
VALUE | rb_realpath_internal (VALUE basedir, VALUE path, int strict)
void | rb_file_const (const char *, VALUE)
int | rb_file_load_ok (const char *)
VALUE | rb_file_expand_path_fast (VALUE, VALUE)
VALUE | rb_file_expand_path_internal (VALUE, VALUE, int, int, VALUE)
VALUE | rb_get_path_check_to_string (VALUE)
VALUE | rb_get_path_check_convert (VALUE)
void | Init_File (void)
int | ruby_is_fd_loadable (int fd)
void | Init_heap (void)
void * | ruby_mimmalloc (size_t size) RUBY_ATTR_MALLOC
void | ruby_mimfree (void *ptr)
void | rb_objspace_set_event_hook (const rb_event_flag_t event)
void | rb_gc_writebarrier_remember (VALUE obj)
void | ruby_gc_set_params (void)
void | rb_copy_wb_protected_attribute (VALUE dest, VALUE obj)
RUBY_SYMBOL_EXPORT_BEGIN void * | ruby_sized_xrealloc (void *ptr, size_t new_size, size_t old_size) RUBY_ATTR_RETURNS_NONNULL RUBY_ATTR_ALLOC_SIZE((2))
void * | ruby_sized_xrealloc2 (void *ptr, size_t new_count, size_t element_size, size_t old_count) RUBY_ATTR_RETURNS_NONNULL RUBY_ATTR_ALLOC_SIZE((2
void void | ruby_sized_xfree (void *x, size_t size)
void * | rb_aligned_malloc (size_t, size_t) RUBY_ATTR_MALLOC RUBY_ATTR_ALLOC_SIZE((2))
size_t | rb_size_mul_or_raise (size_t, size_t, VALUE)
size_t | rb_size_mul_add_or_raise (size_t, size_t, size_t, VALUE)
void * | rb_xmalloc_mul_add (size_t, size_t, size_t) RUBY_ATTR_MALLOC
void * | rb_xrealloc_mul_add (const void *, size_t, size_t, size_t)
void * | rb_xmalloc_mul_add_mul (size_t, size_t, size_t, size_t) RUBY_ATTR_MALLOC
void * | rb_xcalloc_mul_add_mul (size_t, size_t, size_t, size_t) RUBY_ATTR_MALLOC
struct st_table * | rb_hash_tbl_raw (VALUE hash)
VALUE | rb_hash_new_with_size (st_index_t size)
VALUE | rb_hash_has_key (VALUE hash, VALUE key)
VALUE | rb_hash_default_value (VALUE hash, VALUE key)
VALUE | rb_hash_set_default_proc (VALUE hash, VALUE proc)
long | rb_dbl_long_hash (double d)
st_table * | rb_init_identtable (void)
VALUE | rb_hash_compare_by_id_p (VALUE hash)
VALUE | rb_to_hash_type (VALUE obj)
VALUE | rb_hash_key_str (VALUE)
VALUE | rb_hash_keys (VALUE hash)
VALUE | rb_hash_values (VALUE hash)
VALUE | rb_hash_rehash (VALUE hash)
VALUE | rb_hash_resurrect (VALUE hash)
int | rb_hash_add_new_element (VALUE hash, VALUE key, VALUE val)
VALUE | rb_hash_set_pair (VALUE hash, VALUE pair)
int | rb_hash_stlike_lookup (VALUE hash, st_data_t key, st_data_t *pval)
int | rb_hash_stlike_delete (VALUE hash, st_data_t *pkey, st_data_t *pval)
RUBY_SYMBOL_EXPORT_BEGIN int | rb_hash_stlike_foreach (VALUE hash, st_foreach_callback_func *func, st_data_t arg)
RUBY_SYMBOL_EXPORT_END int | rb_hash_stlike_foreach_with_replace (VALUE hash, st_foreach_check_callback_func *func, st_update_callback_func *replace, st_data_t arg)
int | rb_hash_stlike_update (VALUE hash, st_data_t key, st_update_callback_func func, st_data_t arg)
void | rb_call_inits (void)
void | ruby_set_inplace_mode (const char *)
void | rb_stdio_set_default_encoding (void)
VALUE | rb_io_flush_raw (VALUE, int)
int | rb_stderr_tty_p (void)
void | rb_io_fptr_finalize_internal (void *ptr)
VALUE | rb_get_expanded_load_path (void)
int | rb_require_internal (VALUE fname)
| NORETURN (void rb_load_fail(VALUE, const char *))
int | Init_enc_set_filesystem_encoding (void)
VALUE | rb_math_atan2 (VALUE, VALUE)
VALUE | rb_math_cos (VALUE)
VALUE | rb_math_cosh (VALUE)
VALUE | rb_math_exp (VALUE)
VALUE | rb_math_hypot (VALUE, VALUE)
VALUE | rb_math_log (int argc, const VALUE *argv)
VALUE | rb_math_sin (VALUE)
VALUE | rb_math_sinh (VALUE)
void | Init_newline (void)
int | rb_num_to_uint (VALUE val, unsigned int *ret)
VALUE | ruby_num_interval_step_size (VALUE from, VALUE to, VALUE step, int excl)
double | ruby_float_step_size (double beg, double end, double unit, int excl)
int | ruby_float_step (VALUE from, VALUE to, VALUE step, int excl, int allow_endless)
double | ruby_float_mod (double x, double y)
int | rb_num_negative_p (VALUE)
VALUE | rb_int_succ (VALUE num)
VALUE | rb_int_uminus (VALUE num)
VALUE | rb_float_uminus (VALUE num)
VALUE | rb_int_plus (VALUE x, VALUE y)
VALUE | rb_float_plus (VALUE x, VALUE y)
VALUE | rb_int_minus (VALUE x, VALUE y)
VALUE | rb_int_mul (VALUE x, VALUE y)
VALUE | rb_float_mul (VALUE x, VALUE y)
VALUE | rb_float_div (VALUE x, VALUE y)
VALUE | rb_int_idiv (VALUE x, VALUE y)
VALUE | rb_int_modulo (VALUE x, VALUE y)
VALUE | rb_int2str (VALUE num, int base)
VALUE | rb_fix_plus (VALUE x, VALUE y)
VALUE | rb_fix_aref (VALUE fix, VALUE idx)
VALUE | rb_int_gt (VALUE x, VALUE y)
int | rb_float_cmp (VALUE x, VALUE y)
VALUE | rb_float_gt (VALUE x, VALUE y)
VALUE | rb_int_ge (VALUE x, VALUE y)
enum ruby_num_rounding_mode | rb_num_get_rounding_option (VALUE opts)
double | rb_int_fdiv_double (VALUE x, VALUE y)
VALUE | rb_int_pow (VALUE x, VALUE y)
VALUE | rb_float_pow (VALUE x, VALUE y)
VALUE | rb_int_cmp (VALUE x, VALUE y)
VALUE | rb_int_equal (VALUE x, VALUE y)
VALUE | rb_int_divmod (VALUE x, VALUE y)
VALUE | rb_int_and (VALUE x, VALUE y)
VALUE | rb_int_lshift (VALUE x, VALUE y)
VALUE | rb_int_div (VALUE x, VALUE y)
VALUE | rb_int_abs (VALUE num)
VALUE | rb_int_odd_p (VALUE num)
int | rb_int_positive_p (VALUE num)
int | rb_int_negative_p (VALUE num)
VALUE | rb_num_pow (VALUE x, VALUE y)
VALUE | rb_float_ceil (VALUE num, int ndigits)
VALUE | rb_float_abs (VALUE flt)
VALUE | rb_float_equal (VALUE x, VALUE y)
VALUE | rb_float_eql (VALUE x, VALUE y)
VALUE | rb_flo_div_flo (VALUE x, VALUE y)
void | rb_obj_copy_ivar (VALUE dest, VALUE obj)
| CONSTFUNC (VALUE rb_obj_equal(VALUE obj1, VALUE obj2))
| CONSTFUNC (VALUE rb_obj_not(VALUE obj))
VALUE | rb_class_search_ancestor (VALUE klass, VALUE super)
| NORETURN (void rb_undefined_alloc(VALUE klass))
double | rb_num_to_dbl (VALUE val)
VALUE | rb_obj_dig (int argc, VALUE *argv, VALUE self, VALUE notfound)
VALUE | rb_immutable_obj_clone (int, VALUE *, VALUE)
VALUE | rb_obj_not_equal (VALUE obj1, VALUE obj2)
VALUE | rb_convert_type_with_id (VALUE, int, const char *, ID)
VALUE | rb_check_convert_type_with_id (VALUE, int, const char *, ID)
int | rb_bool_expected (VALUE, const char *)
VALUE | rb_parser_set_yydebug (VALUE, VALUE)
RUBY_SYMBOL_EXPORT_BEGIN VALUE | rb_parser_set_context (VALUE, const struct rb_iseq_struct *, int)
RUBY_SYMBOL_EXPORT_END void * | rb_parser_load_file (VALUE parser, VALUE name)
int | rb_is_const_name (VALUE name)
int | rb_is_class_name (VALUE name)
int | rb_is_instance_name (VALUE name)
int | rb_is_local_name (VALUE name)
| PUREFUNC (int rb_is_const_sym(VALUE sym))
ID | rb_make_internal_id (void)
void | rb_gc_free_dsymbol (VALUE)
VALUE | rb_proc_location (VALUE self)
st_index_t | rb_hash_proc (st_index_t hash, VALUE proc)
int | rb_block_arity (void)
int | rb_block_min_max_arity (int *max)
VALUE | rb_func_proc_new (rb_block_call_func_t func, VALUE val)
VALUE | rb_func_lambda_new (rb_block_call_func_t func, VALUE val, int min_argc, int max_argc)
VALUE | rb_block_to_s (VALUE self, const struct rb_block *block, const char *additional_info)
rb_pid_t | rb_fork_ruby (int *status)
void | rb_last_status_clear (void)
VALUE | rb_rational_canonicalize (VALUE x)
VALUE | rb_rational_uminus (VALUE self)
VALUE | rb_rational_plus (VALUE self, VALUE other)
VALUE | rb_rational_mul (VALUE self, VALUE other)
VALUE | rb_lcm (VALUE x, VALUE y)
VALUE | rb_rational_reciprocal (VALUE x)
VALUE | rb_cstr_to_rat (const char *, int)
VALUE | rb_rational_abs (VALUE self)
VALUE | rb_rational_cmp (VALUE self, VALUE other)
VALUE | rb_rational_pow (VALUE self, VALUE other)
VALUE | rb_numeric_quo (VALUE x, VALUE y)
VALUE | rb_float_numerator (VALUE x)
VALUE | rb_float_denominator (VALUE x)
VALUE | rb_reg_compile (VALUE str, int options, const char *sourcefile, int sourceline)
VALUE | rb_reg_check_preprocess (VALUE)
long | rb_reg_search0 (VALUE, VALUE, long, int, int)
VALUE | rb_reg_match_p (VALUE re, VALUE str, long pos)
bool | rb_reg_start_with_p (VALUE re, VALUE str)
void | rb_backref_set_string (VALUE string, long pos, long len)
void | rb_match_unbusy (VALUE)
int | rb_match_count (VALUE match)
int | rb_match_nth_defined (int nth, VALUE match)
VALUE | rb_reg_new_ary (VALUE ary, int options)
int | rb_get_next_signal (void)
VALUE | rb_fstring (VALUE)
VALUE | rb_fstring_new (const char *ptr, long len)
VALUE | rb_fstring_cstr (const char *str)
int | rb_str_buf_cat_escaped_char (VALUE result, unsigned int c, int unicode_p)
int | rb_str_symname_p (VALUE)
VALUE | rb_str_quote_unprintable (VALUE)
VALUE | rb_id_quote_unprintable (ID)
char * | rb_str_fill_terminator (VALUE str, const int termlen)
void | rb_str_change_terminator_length (VALUE str, const int oldtermlen, const int termlen)
VALUE | rb_str_locktmp_ensure (VALUE str, VALUE(*func)(VALUE), VALUE arg)
VALUE | rb_str_chomp_string (VALUE str, VALUE chomp)
size_t | rb_str_memsize (VALUE)
VALUE | rb_sym_proc_call (ID mid, int argc, const VALUE *argv, int kw_splat, VALUE passed_proc)
VALUE | rb_sym_to_proc (VALUE sym)
char * | rb_str_to_cstr (VALUE str)
VALUE | rb_str_eql (VALUE str1, VALUE str2)
VALUE | rb_obj_as_string_result (VALUE str, VALUE obj)
const char * | ruby_escaped_char (int c)
VALUE | rb_str_opt_plus (VALUE, VALUE)
VALUE | rb_sym_intern_ascii (const char *ptr, long len)
VALUE | rb_sym_intern_ascii_cstr (const char *ptr)
VALUE | rb_to_symbol_type (VALUE obj)
VALUE | rb_struct_init_copy (VALUE copy, VALUE s)
VALUE | rb_struct_lookup (VALUE s, VALUE idx)
VALUE | rb_struct_s_keyword_init (VALUE klass)
struct timeval | rb_time_timeval (VALUE)
VALUE | rb_obj_is_mutex (VALUE obj)
VALUE | rb_suppress_tracing (VALUE(*func)(VALUE), VALUE arg)
void | rb_thread_execute_interrupts (VALUE th)
VALUE | rb_get_coverages (void)
int | rb_get_coverage_mode (void)
VALUE | rb_default_coverage (int)
VALUE | rb_thread_shield_new (void)
VALUE | rb_thread_shield_wait (VALUE self)
VALUE | rb_thread_shield_release (VALUE self)
VALUE | rb_thread_shield_destroy (VALUE self)
int | rb_thread_to_be_killed (VALUE thread)
void | rb_mutex_allow_trap (VALUE self, int val)
VALUE | rb_uninterruptible (VALUE(*b_proc)(VALUE), VALUE data)
VALUE | rb_mutex_owned_p (VALUE self)
char * | ruby_dtoa (double d_, int mode, int ndigits, int *decpt, int *sign, char **rve)
char * | ruby_hdtoa (double d, const char *xdigs, int ndigits, int *decpt, int *sign, char **rve)
void | rb_gc_mark_global_tbl (void)
size_t | rb_generic_ivar_memsize (VALUE)
VALUE | rb_search_class_path (VALUE)
VALUE | rb_attr_delete (VALUE, ID)
VALUE | rb_ivar_lookup (VALUE obj, ID id, VALUE undef)
void | rb_autoload_str (VALUE mod, ID id, VALUE file)
VALUE | rb_autoload_at_p (VALUE, ID, int)
void | rb_deprecate_constant (VALUE mod, const char *name)
| NORETURN (VALUE rb_mod_const_missing(VALUE, VALUE))
rb_gvar_getter_t * | rb_gvar_getter_function_of (const struct rb_global_entry *)
rb_gvar_setter_t * | rb_gvar_setter_function_of (const struct rb_global_entry *)
bool | rb_gvar_is_traced (const struct rb_global_entry *)
void | rb_gvar_readonly_setter (VALUE v, ID id, VALUE *_)
rb_serial_t | rb_next_class_serial (void)
VALUE | rb_obj_is_thread (VALUE obj)
void | rb_vm_mark (void *ptr)
void | Init_BareVM (void)
void | Init_vm_objects (void)
| PUREFUNC (VALUE rb_vm_top_self(void))
void | rb_vm_inc_const_missing_count (void)
const void ** | rb_vm_get_insns_address_table (void)
VALUE | rb_source_location (int *pline)
const char * | rb_source_location_cstr (int *pline)
MJIT_STATIC void | rb_vm_pop_cfunc_frame (void)
int | rb_vm_add_root_module (ID id, VALUE module)
void | rb_vm_check_redefinition_by_prepend (VALUE klass)
int | rb_vm_check_optimizable_mid (VALUE mid)
VALUE | rb_yield_refine_block (VALUE refinement, VALUE refinements)
MJIT_STATIC VALUE | ruby_vm_special_exception_copy (VALUE)
| PUREFUNC (st_table *rb_vm_fstring_table(void))
void | rb_print_backtrace (void)
void | Init_vm_eval (void)
VALUE | rb_adjust_argv_kw_splat (int *, const VALUE **, int *)
VALUE | rb_current_realfilepath (void)
VALUE | rb_check_block_call (VALUE, ID, int, const VALUE *, rb_block_call_func_t, VALUE)
VALUE | rb_check_funcall_with_hook (VALUE recv, ID mid, int argc, const VALUE *argv, rb_check_funcall_hook *hook, VALUE arg)
VALUE | rb_check_funcall_with_hook_kw (VALUE recv, ID mid, int argc, const VALUE *argv, rb_check_funcall_hook *hook, VALUE arg, int kw_splat)
const char * | rb_type_str (enum ruby_value_type type)
VALUE | rb_check_funcall_default (VALUE, ID, int, const VALUE *, VALUE)
VALUE | rb_yield_1 (VALUE val)
VALUE | rb_yield_force_blockarg (VALUE values)
VALUE | rb_lambda_call (VALUE obj, ID mid, int argc, const VALUE *argv, rb_block_call_func_t bl_proc, int min_argc, int max_argc, VALUE data2)
VALUE | rb_equal_opt (VALUE obj1, VALUE obj2)
VALUE | rb_eql_opt (VALUE obj1, VALUE obj2)
void | Init_vm_stack_canary (void)
void | Init_eval_method (void)
| STATIC_ASSERT (cachelined, sizeof(struct rb_call_cache)<=CACHELINE)
RUBY_FUNC_EXPORTED | RUBY_FUNC_NONNULL (1, VALUE rb_funcallv_with_cc(struct rb_call_data *, VALUE, ID, int, const VALUE *))
RUBY_FUNC_EXPORTED | RUBY_FUNC_NONNULL (1, bool rb_method_basic_definition_p_with_cc(struct rb_call_data *, VALUE, ID))
void | Init_vm_backtrace (void)
VALUE | rb_vm_thread_backtrace (int argc, const VALUE *argv, VALUE thval)
VALUE | rb_vm_thread_backtrace_locations (int argc, const VALUE *argv, VALUE thval)
VALUE | rb_make_backtrace (void)
void | rb_backtrace_print_as_bugreport (void)
int | rb_backtrace_p (VALUE obj)
VALUE | rb_backtrace_to_str_ary (VALUE obj)
VALUE | rb_backtrace_to_location_ary (VALUE obj)
void | rb_backtrace_each (VALUE(*iter)(VALUE recv, VALUE str), VALUE output)
const RUBY_SYMBOL_EXPORT_BEGIN char * | rb_objspace_data_type_name (VALUE obj)
VALUE | rb_thread_io_blocking_region (rb_blocking_function_t *func, void *data1, int fd)
void | rb_ary_detransient (VALUE a)
VALUE * | rb_ary_ptr_use_start (VALUE ary)
void | rb_ary_ptr_use_end (VALUE ary)
VALUE | rb_big_mul_normal (VALUE x, VALUE y)
VALUE | rb_big_mul_balance (VALUE x, VALUE y)
VALUE | rb_big_mul_karatsuba (VALUE x, VALUE y)
VALUE | rb_big_mul_toom3 (VALUE x, VALUE y)
VALUE | rb_big_sq_fast (VALUE x)
VALUE | rb_big_divrem_normal (VALUE x, VALUE y)
VALUE | rb_big2str_poweroftwo (VALUE x, int base)
VALUE | rb_big2str_generic (VALUE x, int base)
VALUE | rb_str2big_poweroftwo (VALUE arg, int base, int badcheck)
VALUE | rb_str2big_normal (VALUE arg, int base, int badcheck)
VALUE | rb_str2big_karatsuba (VALUE arg, int base, int badcheck)
VALUE | rb_int_parse_cstr (const char *str, ssize_t len, char **endp, size_t *ndigits, int base, int flags)
VALUE | rb_arith_seq_new (VALUE obj, VALUE meth, int argc, VALUE const *argv, rb_enumerator_size_func *size_fn, VALUE beg, VALUE end, VALUE step, int excl)
int | rb_bug_reporter_add (void(*func)(FILE *, void *), void *data)
| NORETURN (void rb_unexpected_type(VALUE, int))
VALUE | rb_hash_delete_entry (VALUE hash, VALUE key)
VALUE | rb_ident_hash_new (void)
void | rb_maygvl_fd_fix_cloexec (int fd)
int | rb_gc_for_fd (int err)
void | rb_write_error_str (VALUE mesg)
VALUE | rb_int_positive_pow (long x, unsigned long y)
int | rb_opts_exception_p (VALUE opts, int default_value)
int | rb_exec_async_signal_safe (const struct rb_execarg *e, char *errmsg, size_t errmsg_buflen)
rb_pid_t | rb_fork_async_signal_safe (int *status, int(*chfunc)(void *, char *, size_t), void *charg, VALUE fds, char *errmsg, size_t errmsg_buflen)
VALUE | rb_execarg_new (int argc, const VALUE *argv, int accept_shell, int allow_exc_opt)
struct rb_execarg * | rb_execarg_get (VALUE execarg_obj)
int | rb_execarg_addopt (VALUE execarg_obj, VALUE key, VALUE val)
void | rb_execarg_parent_start (VALUE execarg_obj)
void | rb_execarg_parent_end (VALUE execarg_obj)
int | rb_execarg_run_options (const struct rb_execarg *e, struct rb_execarg *s, char *errmsg, size_t errmsg_buflen)
VALUE | rb_execarg_extract_options (VALUE execarg_obj, VALUE opthash)
void | rb_execarg_setenv (VALUE execarg_obj, VALUE env)
VALUE | rb_gcd (VALUE x, VALUE y)
VALUE | rb_gcd_normal (VALUE self, VALUE other)
int | rb_grantpt (int fd)
VALUE | rb_str_tmp_frozen_acquire (VALUE str)
void | rb_str_tmp_frozen_release (VALUE str, VALUE tmp)
VALUE | rb_str_upto_each (VALUE, VALUE, int, int(*each)(VALUE, VALUE), VALUE)
VALUE | rb_str_upto_endless_each (VALUE, int(*each)(VALUE, VALUE), VALUE)
int | ruby_thread_has_gvl_p (void)
void | ruby_reset_leap_second_info (void)
unsigned long | ruby_scan_digits (const char *str, ssize_t len, int base, size_t *retlen, int *overflow)
void | rb_mark_generic_ivar (VALUE)
void | rb_mv_generic_ivar (VALUE src, VALUE dst)
VALUE | rb_const_missing (VALUE klass, VALUE name)
int | rb_class_ivar_set (VALUE klass, ID vid, VALUE value)
void | rb_iv_tbl_copy (VALUE dst, VALUE src)
VALUE | rb_wb_protected_newobj_of (VALUE, VALUE)
VALUE | rb_wb_unprotected_newobj_of (VALUE, VALUE)
size_t | rb_obj_memsize_of (VALUE)
void | rb_gc_verify_internal_consistency (void)
size_t | rb_obj_gc_flags (VALUE, ID[], size_t)
void | rb_gc_mark_values (long n, const VALUE *values)
void | rb_gc_mark_vm_stack_values (long n, const VALUE *values)
int | ruby_fill_random_bytes (void *, size_t, int)

## Variables
const char | ruby_digitmap []
VALUE | rb_cArithSeq
VALUE | rb_eEAGAIN
VALUE | rb_eEWOULDBLOCK
VALUE | rb_eEINPROGRESS
ID | ruby_static_id_signo
ID | ruby_static_id_status
const char | ruby_null_device []
VALUE * | ruby_initial_gc_stress_ptr
int | ruby_disable_gc
const char | ruby_exec_prefix []
const char | ruby_initial_load_paths []
int | ruby_enable_coredump
VALUE | rb_cEncodingConverter
const signed char | ruby_digit36_to_number_table []
const char | ruby_hexdigits []

## Macro Definition Documentation

## ◆ __asan_poison_memory_region

#define __asan_poison_memory_region | ( |  | x,
|  |  | y
| ) |  |

Definition at line 108 of file internal.h.

## ◆ __asan_region_is_poisoned

#define __asan_region_is_poisoned | ( |  | x,
|  |  | y
| ) |  | 0

Definition at line 110 of file internal.h.

## ◆ __asan_unpoison_memory_region

#define __asan_unpoison_memory_region | ( |  | x,
|  |  | y
| ) |  |

Definition at line 109 of file internal.h.

## ◆ __has_extension

#define __has_extension __has_feature

Definition at line 52 of file internal.h.

## ◆ __has_feature

#define __has_feature | ( |  | x | ) | 0

Definition at line 48 of file internal.h.

## ◆ __msan_allocated_memory

#define __msan_allocated_memory | ( |  | x,
|  |  | y
| ) |  | ((void)(x), (void)(y))

Definition at line 120 of file internal.h.

## ◆ __msan_poison

#define __msan_poison | ( |  | x,
|  |  | y
| ) |  | ((void)(x), (void)(y))

Definition at line 121 of file internal.h.

## ◆ __msan_unpoison

#define __msan_unpoison | ( |  | x,
|  |  | y
| ) |  | ((void)(x), (void)(y))

Definition at line 122 of file internal.h.

## ◆ __msan_unpoison_string

#define __msan_unpoison_string | ( |  | x | ) | ((void)(x))

Definition at line 123 of file internal.h.

## ◆ ACCESS_ONCE

#define ACCESS_ONCE | ( |  | type,
|  |  | x
| ) |  | (*((volatile type *)&(x)))

Definition at line 223 of file internal.h.

## ◆ ARGVSTR2ARGV

#define ARGVSTR2ARGV | ( |  | argv_str | ) | ((char **)RB_IMEMO_TMPBUF_PTR(argv_str) + 1)

Definition at line 2069 of file internal.h.

## ◆ ARRAY_DEBUG

#define ARRAY_DEBUG (0+RUBY_DEBUG)

Definition at line 1363 of file internal.h.

## ◆ ARY_PTR_USING_P

#define ARY_PTR_USING_P | ( |  | ary | ) | FL_TEST_RAW((ary), RARRAY_PTR_IN_USE_FLAG)

Definition at line 1368 of file internal.h.

## ◆ asan_poison_object_if

#define asan_poison_object_if | ( |  | ptr,
|  |  | obj
| ) |  | ((void)(ptr), (void)(obj))

Definition at line 159 of file internal.h.

## ◆ ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS

#define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS | ( |  | x | ) | x

Definition at line 69 of file internal.h.

## ◆ BDIGIT

#define BDIGIT unsigned int

Definition at line 688 of file internal.h.

## ◆ BDIGIT_DBL

#define BDIGIT_DBL unsigned LONG_LONG

Definition at line 690 of file internal.h.

## ◆ BDIGIT_DBL_SIGNED

#define BDIGIT_DBL_SIGNED LONG_LONG

Definition at line 691 of file internal.h.

## ◆ BIGNUM_DIGITS

#define BIGNUM_DIGITS | ( |  | b | ) |

Value:
((RBASIC(b)->flags & BIGNUM_EMBED_FLAG) ? \
RBIGNUM(b)->as.ary : \
RBIGNUM(b)->as.heap.digits)

Definition at line 780 of file internal.h.

## ◆ BIGNUM_EMBED_FLAG

#define BIGNUM_EMBED_FLAG ((VALUE)FL_USER2)

Definition at line 769 of file internal.h.

## ◆ BIGNUM_EMBED_LEN_MASK

#define BIGNUM_EMBED_LEN_MASK (~(~(VALUE)0U << BIGNUM_EMBED_LEN_NUMBITS) << BIGNUM_EMBED_LEN_SHIFT)

Definition at line 770 of file internal.h.

## ◆ BIGNUM_EMBED_LEN_MAX

#define BIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*RVALUE_EMBED_LEN_MAX/SIZEOF_ACTUAL_BDIGIT)

Definition at line 743 of file internal.h.

## ◆ BIGNUM_EMBED_LEN_NUMBITS

#define BIGNUM_EMBED_LEN_NUMBITS 3

Definition at line 740 of file internal.h.

## ◆ BIGNUM_EMBED_LEN_SHIFT

#define BIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+3) /* bit offset of BIGNUM_EMBED_LEN_MASK */

Definition at line 772 of file internal.h.

## ◆ BIGNUM_LEN

#define BIGNUM_LEN | ( |  | b | ) |

Value:
((RBASIC(b)->flags & BIGNUM_EMBED_FLAG) ? \
(size_t)((RBASIC(b)->flags >> BIGNUM_EMBED_LEN_SHIFT) & \
(BIGNUM_EMBED_LEN_MASK >> BIGNUM_EMBED_LEN_SHIFT)) : \
RBIGNUM(b)->as.heap.len)

Definition at line 774 of file internal.h.

## ◆ BIGNUM_LENINT

#define BIGNUM_LENINT | ( |  | b | ) | rb_long2int(BIGNUM_LEN(b))

Definition at line 784 of file internal.h.

## ◆ BIGNUM_NEGATE

#define BIGNUM_NEGATE | ( |  | b | ) | (RBASIC(b)->flags ^= BIGNUM_SIGN_BIT)

Definition at line 767 of file internal.h.

## ◆ BIGNUM_NEGATIVE_P

#define BIGNUM_NEGATIVE_P | ( |  | b | ) | (!BIGNUM_SIGN(b))

Definition at line 766 of file internal.h.

## ◆ BIGNUM_POSITIVE_P

#define BIGNUM_POSITIVE_P | ( |  | b | ) | BIGNUM_SIGN(b)

Definition at line 765 of file internal.h.

## ◆ BIGNUM_SET_SIGN

#define BIGNUM_SET_SIGN | ( |  | b,
|  |  | sign
| ) |  |

Value:
((sign) ? (RBASIC(b)->flags |= BIGNUM_SIGN_BIT) \
: (RBASIC(b)->flags &= ~BIGNUM_SIGN_BIT))

Definition at line 762 of file internal.h.

## ◆ BIGNUM_SIGN

#define BIGNUM_SIGN | ( |  | b | ) | ((RBASIC(b)->flags & BIGNUM_SIGN_BIT) != 0)

Definition at line 761 of file internal.h.

## ◆ BIGNUM_SIGN_BIT

#define BIGNUM_SIGN_BIT ((VALUE)FL_USER1)

Definition at line 759 of file internal.h.

## ◆ bit_length

#define bit_length | ( |  | x | ) |

Value:
(unsigned int) \
(sizeof(x) <= SIZEOF_INT ? SIZEOF_INT * CHAR_BIT - nlz_int((unsigned int)(x)) : \
SIZEOF_LONG * CHAR_BIT - nlz_long((unsigned long)(x)))

Definition at line 680 of file internal.h.

## ◆ BITFIELD

#define BITFIELD | ( |  | type,
|  |  | name,
|  |  | size
| ) |  | unsigned int name : size

Definition at line 2633 of file internal.h.

## ◆ bp

#define bp | ( |  | ) | ruby_debug_breakpoint()

Definition at line 1445 of file internal.h.

## ◆ CACHELINE

#define CACHELINE 64

Definition at line 2354 of file internal.h.

## ◆ Check_Type

#define Check_Type | ( |  | v,
|  |  | t
| ) |  |

Value:
(!RB_TYPE_P((VALUE)(v), (t)) || \
((t) == RUBY_T_DATA && RTYPEDDATA_P(v)) ? \
rb_unexpected_type((VALUE)(v), (t)) : (void)0)

Definition at line 2475 of file internal.h.

## ◆ CMP_OPTIMIZABLE

#define CMP_OPTIMIZABLE | ( |  | data,
|  |  | type
| ) |  |

Value:
(((data).opt_inited & CMP_OPTIMIZABLE_BIT(type)) ? \
((data).opt_methods & CMP_OPTIMIZABLE_BIT(type)) : \
(((data).opt_inited |= CMP_OPTIMIZABLE_BIT(type)), \
rb_method_basic_definition_p(TOKEN_PASTE(rb_c,type), id_cmp) && \
((data).opt_methods |= CMP_OPTIMIZABLE_BIT(type))))

Definition at line 1330 of file internal.h.

## ◆ CMP_OPTIMIZABLE_BIT

#define CMP_OPTIMIZABLE_BIT | ( |  | type | ) | (1U << TOKEN_PASTE(cmp_opt_,type))

Definition at line 1329 of file internal.h.

## ◆ COMPILER_WARNING_ERROR

#define COMPILER_WARNING_ERROR | ( |  | flag | ) | /* nop */

Definition at line 2666 of file internal.h.

## ◆ COMPILER_WARNING_IGNORED

#define COMPILER_WARNING_IGNORED | ( |  | flag | ) | /* nop */

Definition at line 2667 of file internal.h.

## ◆ COMPILER_WARNING_POP

#define COMPILER_WARNING_POP /* nop */

Definition at line 2665 of file internal.h.

## ◆ COMPILER_WARNING_PRAGMA

#define COMPILER_WARNING_PRAGMA | ( |  | str | ) | COMPILER_WARNING_PRAGMA_(str)

Definition at line 2670 of file internal.h.

## ◆ COMPILER_WARNING_PRAGMA_

#define COMPILER_WARNING_PRAGMA_ | ( |  | str | ) | _Pragma(#str)

Definition at line 2671 of file internal.h.

## ◆ COMPILER_WARNING_PUSH

#define COMPILER_WARNING_PUSH /* nop */

Definition at line 2664 of file internal.h.

## ◆ COVERAGE_INDEX_BRANCHES

#define COVERAGE_INDEX_BRANCHES 1

Definition at line 2212 of file internal.h.

## ◆ COVERAGE_INDEX_LINES

#define COVERAGE_INDEX_LINES 0

Definition at line 2211 of file internal.h.

## ◆ COVERAGE_TARGET_BRANCHES

#define COVERAGE_TARGET_BRANCHES 2

Definition at line 2214 of file internal.h.

## ◆ COVERAGE_TARGET_LINES

#define COVERAGE_TARGET_LINES 1

Definition at line 2213 of file internal.h.

## ◆ COVERAGE_TARGET_METHODS

#define COVERAGE_TARGET_METHODS 4

Definition at line 2215 of file internal.h.

## ◆ COVERAGE_TARGET_ONESHOT_LINES

#define COVERAGE_TARGET_ONESHOT_LINES 8

Definition at line 2216 of file internal.h.

## ◆ FIXNUM_NEGATIVE_P

#define FIXNUM_NEGATIVE_P | ( |  | num | ) | ((SIGNED_VALUE)(num) < 0)

Definition at line 1772 of file internal.h.

## ◆ FIXNUM_POSITIVE_P

#define FIXNUM_POSITIVE_P | ( |  | num | ) | ((SIGNED_VALUE)(num) > (SIGNED_VALUE)INT2FIX(0))

Definition at line 1771 of file internal.h.

## ◆ FIXNUM_ZERO_P

#define FIXNUM_ZERO_P | ( |  | num | ) | ((num) == INT2FIX(0))

Definition at line 1773 of file internal.h.

## ◆ FLEX_ARY_LEN

#define FLEX_ARY_LEN 1 /* VALUE ary[1]; */

Definition at line 2620 of file internal.h.

## ◆ FLOAT_ZERO_P

#define FLOAT_ZERO_P | ( |  | x | ) | (RFLOAT_VALUE(x) == 0.0)

Definition at line 1777 of file internal.h.

## ◆ HALF_LONG_MSB

#define HALF_LONG_MSB ((SIGNED_VALUE)1<<((SIZEOF_LONG*CHAR_BIT-1)/2))

Definition at line 34 of file internal.h.

## ◆ id_signo

#define id_signo ruby_static_id_signo

Definition at line 1587 of file internal.h.

## ◆ id_status

#define id_status ruby_static_id_status

Definition at line 1588 of file internal.h.

## ◆ IFUNC_NEW

#define IFUNC_NEW | ( |  | a,
|  |  | b,
|  |  | c
| ) |  | ((struct vm_ifunc *)rb_imemo_new(imemo_ifunc, (VALUE)(a), (VALUE)(b), (VALUE)(c), 0))

Definition at line 1223 of file internal.h.

## ◆ IMEMO_DEBUG

#define IMEMO_DEBUG 0

Definition at line 1121 of file internal.h.

## ◆ IMEMO_FL_USER0

#define IMEMO_FL_USER0 FL_USER4

Definition at line 1172 of file internal.h.

## ◆ IMEMO_FL_USER1

#define IMEMO_FL_USER1 FL_USER5

Definition at line 1173 of file internal.h.

## ◆ IMEMO_FL_USER2

#define IMEMO_FL_USER2 FL_USER6

Definition at line 1174 of file internal.h.

## ◆ IMEMO_FL_USER3

#define IMEMO_FL_USER3 FL_USER7

Definition at line 1175 of file internal.h.

## ◆ IMEMO_FL_USER4

#define IMEMO_FL_USER4 FL_USER8

Definition at line 1176 of file internal.h.

## ◆ IMEMO_FL_USHIFT

#define IMEMO_FL_USHIFT (FL_USHIFT + 4)

Definition at line 1171 of file internal.h.

## ◆ IMEMO_MASK

#define IMEMO_MASK 0x0f

Definition at line 1145 of file internal.h.

## ◆ INT_NEGATIVE_P

#define INT_NEGATIVE_P | ( |  | x | ) | (FIXNUM_P(x) ? FIXNUM_NEGATIVE_P(x) : BIGNUM_NEGATIVE_P(x))

Definition at line 1775 of file internal.h.

## ◆ is_ascii_string

#define is_ascii_string | ( |  | str | ) | (rb_enc_str_coderange(str) == ENC_CODERANGE_7BIT)

Definition at line 2159 of file internal.h.

## ◆ is_broken_string

#define is_broken_string | ( |  | str | ) | (rb_enc_str_coderange(str) == ENC_CODERANGE_BROKEN)

Definition at line 2160 of file internal.h.

## ◆ LIKELY

#define LIKELY | ( |  | x | ) | RB_LIKELY(x)

Definition at line 36 of file internal.h.

## ◆ MAYBE_UNUSED

#define MAYBE_UNUSED | ( |  | x | ) | x

Definition at line 40 of file internal.h.

## ◆ MEMO_CAST

#define MEMO_CAST | ( |  | m | ) | ((struct MEMO *)m)

Definition at line 1294 of file internal.h.

## ◆ MEMO_FOR

#define MEMO_FOR | ( |  | type,
|  |  | value
| ) |  | ((type *)RARRAY_PTR(value))

Definition at line 1300 of file internal.h.

## ◆ MEMO_NEW

#define MEMO_NEW | ( |  | a,
|  |  | b,
|  |  | c
| ) |  | ((struct MEMO *)rb_imemo_new(imemo_memo, (VALUE)(a), (VALUE)(b), (VALUE)(c), 0))

Definition at line 1296 of file internal.h.

## ◆ MEMO_V1_SET

#define MEMO_V1_SET | ( |  | m,
|  |  | v
| ) |  | RB_OBJ_WRITE((m), &(m)->v1, (v))

Definition at line 1291 of file internal.h.

## ◆ MEMO_V2_SET

#define MEMO_V2_SET | ( |  | m,
|  |  | v
| ) |  | RB_OBJ_WRITE((m), &(m)->v2, (v))

Definition at line 1292 of file internal.h.

## ◆ mjit_enabled

#define mjit_enabled 0

Definition at line 1760 of file internal.h.

## ◆ MUL_OVERFLOW_FIXNUM_P

#define MUL_OVERFLOW_FIXNUM_P | ( |  | a,
|  |  | b
| ) |  | MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, FIXNUM_MIN, FIXNUM_MAX)

Definition at line 273 of file internal.h.

## ◆ MUL_OVERFLOW_INT_P

#define MUL_OVERFLOW_INT_P | ( |  | a,
|  |  | b
| ) |  | MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, INT_MIN, INT_MAX)

Definition at line 283 of file internal.h.

## ◆ MUL_OVERFLOW_LONG_LONG_P

#define MUL_OVERFLOW_LONG_LONG_P | ( |  | a,
|  |  | b
| ) |  | MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, LLONG_MIN, LLONG_MAX)

Definition at line 281 of file internal.h.

## ◆ MUL_OVERFLOW_LONG_P

#define MUL_OVERFLOW_LONG_P | ( |  | a,
|  |  | b
| ) |  | MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, LONG_MIN, LONG_MAX)

Definition at line 282 of file internal.h.

## ◆ MUL_OVERFLOW_SIGNED_INTEGER_P

#define MUL_OVERFLOW_SIGNED_INTEGER_P | ( |  | a,
|  |  | b,
|  |  | min,
|  |  | max
| ) |  |

Value:
( \
(a) == 0 ? 0 : \
(a) == -1 ? (b) < -(max) : \
(a) > 0 ? \
((b) > 0 ? (max) / (a) < (b) : (min) / (a) > (b)) : \
((b) > 0 ? (min) / (a) < (b) : (max) / (a) > (b)))

Definition at line 258 of file internal.h.

## ◆ NEW_CMP_OPT_MEMO

#define NEW_CMP_OPT_MEMO | ( |  | type,
|  |  | value
| ) |  | NEW_PARTIAL_MEMO_FOR(type, value, cmp_opt)

Definition at line 1327 of file internal.h.

## ◆ NEW_MEMO_FOR

#define NEW_MEMO_FOR | ( |  | type,
|  |  | value
| ) |  | ((value) = rb_ary_tmp_new_fill(type_roomof(type, VALUE)), MEMO_FOR(type, value))

Definition at line 1301 of file internal.h.

## ◆ NEW_PARTIAL_MEMO_FOR

#define NEW_PARTIAL_MEMO_FOR | ( |  | type,
|  |  | value,
|  |  | member
| ) |  |

Value:
((value) = rb_ary_tmp_new_fill(type_roomof(type, VALUE)), \
rb_ary_set_len((value), offsetof(type, member) / sizeof(VALUE)), \
MEMO_FOR(type, value))

Definition at line 1303 of file internal.h.

## ◆ NEWOBJ_OF

#define NEWOBJ_OF | ( |  | obj,
|  |  | type,
|  |  | klass,
|  |  | flags
| ) |  | RB_NEWOBJ_OF(obj,type,klass,flags)

Definition at line 1667 of file internal.h.

## ◆ NO_SANITIZE

#define NO_SANITIZE | ( |  | x,
|  |  | y
| ) |  | y

Definition at line 83 of file internal.h.

## ◆ numberof

#define numberof | ( |  | array | ) | ((int)(sizeof(array) / sizeof((array)[0])))

Definition at line 99 of file internal.h.

## ◆ OBJ_BUILTIN_TYPE

#define OBJ_BUILTIN_TYPE | ( |  | obj | ) | RB_OBJ_BUILTIN_TYPE(obj)

Definition at line 2597 of file internal.h.

## ◆ OPTIMIZED_CMP

#define OPTIMIZED_CMP | ( |  | a,
|  |  | b,
|  |  | data
| ) |  |

Value:
((FIXNUM_P(a) && FIXNUM_P(b) && CMP_OPTIMIZABLE(data, Fixnum)) ? \
(((long)a > (long)b) ? 1 : ((long)a < (long)b) ? -1 : 0) : \
(STRING_P(a) && STRING_P(b) && CMP_OPTIMIZABLE(data, String)) ? \
rb_str_cmp(a, b) : \
(RB_FLOAT_TYPE_P(a) && RB_FLOAT_TYPE_P(b) && CMP_OPTIMIZABLE(data, Float)) ? \
rb_float_cmp(a, b) : \
rb_cmpint(rb_funcallv(a, id_cmp, 1, &b), a, b))

Definition at line 1337 of file internal.h.

## ◆ PRI_BDIGIT_DBL_PREFIX

#define PRI_BDIGIT_DBL_PREFIX PRI_LL_PREFIX

Definition at line 693 of file internal.h.

## ◆ PRI_BDIGIT_PREFIX

#define PRI_BDIGIT_PREFIX ""

Definition at line 692 of file internal.h.

## ◆ PRI_SERIALT_PREFIX

#define PRI_SERIALT_PREFIX PRI_LONG_PREFIX

Definition at line 1016 of file internal.h.

## ◆ PRIdBDIGIT

#define PRIdBDIGIT PRI_BDIGIT_PREFIX"d"

Definition at line 723 of file internal.h.

## ◆ PRIdBDIGIT_DBL

#define PRIdBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"d"

Definition at line 732 of file internal.h.

## ◆ PRIiBDIGIT

#define PRIiBDIGIT PRI_BDIGIT_PREFIX"i"

Definition at line 724 of file internal.h.

## ◆ PRIiBDIGIT_DBL

#define PRIiBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"i"

Definition at line 733 of file internal.h.

## ◆ PRIoBDIGIT

#define PRIoBDIGIT PRI_BDIGIT_PREFIX"o"

Definition at line 725 of file internal.h.

## ◆ PRIoBDIGIT_DBL

#define PRIoBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"o"

Definition at line 734 of file internal.h.

## ◆ PRIuBDIGIT

#define PRIuBDIGIT PRI_BDIGIT_PREFIX"u"

Definition at line 726 of file internal.h.

## ◆ PRIuBDIGIT_DBL

#define PRIuBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"u"

Definition at line 735 of file internal.h.

## ◆ PRIxBDIGIT

#define PRIxBDIGIT PRI_BDIGIT_PREFIX"x"

Definition at line 727 of file internal.h.

## ◆ PRIXBDIGIT

#define PRIXBDIGIT PRI_BDIGIT_PREFIX"X"

Definition at line 728 of file internal.h.

## ◆ PRIxBDIGIT_DBL

#define PRIxBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"x"

Definition at line 736 of file internal.h.

## ◆ PRIXBDIGIT_DBL

#define PRIXBDIGIT_DBL PRI_BDIGIT_DBL_PREFIX"X"

Definition at line 737 of file internal.h.

## ◆ QUOTE

#define QUOTE | ( |  | str | ) | rb_str_quote_unprintable(str)

Definition at line 2142 of file internal.h.

## ◆ QUOTE_ID

#define QUOTE_ID | ( |  | id | ) | rb_id_quote_unprintable(id)

Definition at line 2143 of file internal.h.

## ◆ RANGE_BEG

#define RANGE_BEG | ( |  | r | ) | (RSTRUCT(r)->as.ary[0])

Definition at line 2085 of file internal.h.

## ◆ RANGE_END

#define RANGE_END | ( |  | r | ) | (RSTRUCT(r)->as.ary[1])

Definition at line 2086 of file internal.h.

## ◆ RANGE_EXCL

#define RANGE_EXCL | ( |  | r | ) | (RSTRUCT(r)->as.ary[2])

Definition at line 2087 of file internal.h.

## ◆ RARRAY_PTR_IN_USE_FLAG

#define RARRAY_PTR_IN_USE_FLAG FL_USER14

Definition at line 1367 of file internal.h.

## ◆ RARY_TRANSIENT_SET

#define RARY_TRANSIENT_SET | ( |  | ary | ) | FL_SET_RAW((ary), RARRAY_TRANSIENT_FLAG);

Definition at line 1381 of file internal.h.

## ◆ RARY_TRANSIENT_UNSET

#define RARY_TRANSIENT_UNSET | ( |  | ary | ) | FL_UNSET_RAW((ary), RARRAY_TRANSIENT_FLAG);

Definition at line 1382 of file internal.h.

## ◆ rb_cBignum

#define rb_cBignum rb_cInteger

Definition at line 1312 of file internal.h.

## ◆ rb_cFixnum

#define rb_cFixnum rb_cInteger

Definition at line 1311 of file internal.h.

## ◆ rb_float_new

#define rb_float_new | ( |  | d | ) | rb_float_new_inline(d)

Definition at line 1960 of file internal.h.

## ◆ rb_float_value

#define rb_float_value | ( |  | v | ) | rb_float_value_inline(v)

Definition at line 1959 of file internal.h.

## ◆ rb_fstring_lit

#define rb_fstring_lit | ( |  | str | ) | rb_fstring_new((str), rb_strlen_lit(str))

Definition at line 2123 of file internal.h.

## ◆ rb_fstring_literal

#define rb_fstring_literal | ( |  | str | ) | rb_fstring_lit(str)

Definition at line 2124 of file internal.h.

## ◆ rb_imemo_tmpbuf_auto_free_pointer

#define rb_imemo_tmpbuf_auto_free_pointer | ( |  | ) | rb_imemo_new(imemo_tmpbuf, 0, 0, 0, 0)

Definition at line 1239 of file internal.h.

## ◆ RB_IMEMO_TMPBUF_PTR

#define RB_IMEMO_TMPBUF_PTR | ( |  | v | ) | ((void *)(((const struct rb_imemo_tmpbuf_struct *)(v))->ptr))

Definition at line 1242 of file internal.h.

## ◆ rb_io_fptr_finalize

#define rb_io_fptr_finalize rb_io_fptr_finalize_internal

Definition at line 1728 of file internal.h.

## ◆ rb_key_err_raise

#define rb_key_err_raise | ( |  | mesg,
|  |  | recv,
|  |  | name
| ) |  | rb_exc_raise(rb_key_err_new(mesg, recv, name))

Definition at line 1578 of file internal.h.

## ◆ RB_MAX_GROUPS

#define RB_MAX_GROUPS (65536)

Definition at line 2016 of file internal.h.

## ◆ rb_name_err_raise

#define rb_name_err_raise | ( |  | mesg,
|  |  | recv,
|  |  | name
| ) |  | rb_name_err_raise_str(rb_fstring_cstr(mesg), (recv), (name))

Definition at line 1574 of file internal.h.

## ◆ rb_name_err_raise_str

#define rb_name_err_raise_str | ( |  | mesg,
|  |  | recv,
|  |  | name
| ) |  | rb_exc_raise(rb_name_err_new(mesg, recv, name))

Definition at line 1572 of file internal.h.

## ◆ RB_NEWOBJ_OF

#define RB_NEWOBJ_OF | ( |  | obj,
|  |  | type,
|  |  | klass,
|  |  | flags
| ) |  |

Value:
type *(obj) = (type*)(((flags) & FL_WB_PROTECTED) ? \
rb_wb_protected_newobj_of(klass, (flags) & ~FL_WB_PROTECTED) : \
rb_wb_unprotected_newobj_of(klass, flags))

Definition at line 1663 of file internal.h.

## ◆ RB_OBJ_BUILTIN_TYPE

#define RB_OBJ_BUILTIN_TYPE | ( |  | obj | ) | rb_obj_builtin_type(obj)

Definition at line 2596 of file internal.h.

## ◆ RB_OBJ_GC_FLAGS_MAX

#define RB_OBJ_GC_FLAGS_MAX 6

Definition at line 2567 of file internal.h.

## ◆ RB_OBJ_WRITE

#define RB_OBJ_WRITE | ( |  | a,
|  |  | slot,
|  |  | b
| ) |  | UNALIGNED_MEMBER_ACCESS(rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__))

Definition at line 2688 of file internal.h.

## ◆ rb_raise_cstr

#define rb_raise_cstr | ( |  | etype,
|  |  | mesg
| ) |  | rb_exc_raise(rb_exc_new_str(etype, rb_str_new_cstr(mesg)))

Definition at line 1566 of file internal.h.

## ◆ rb_raise_static

#define rb_raise_static | ( |  | etype,
|  |  | mesg
| ) |  | rb_exc_raise(rb_exc_new_str(etype, rb_str_new_static(mesg, rb_strlen_lit(mesg))))

Definition at line 1568 of file internal.h.

## ◆ rb_sys_fail_path

#define rb_sys_fail_path | ( |  | path | ) | rb_sys_fail_str(path)

Definition at line 1627 of file internal.h.

## ◆ rb_syserr_fail_path

#define rb_syserr_fail_path | ( |  | err,
|  |  | path
| ) |  | rb_syserr_fail_str((err), (path))

Definition at line 1628 of file internal.h.

## ◆ rb_typeddata_is_instance_of

#define rb_typeddata_is_instance_of rb_typeddata_is_instance_of_inline

Definition at line 2485 of file internal.h.

## ◆ RBASIC_CLEAR_CLASS

#define RBASIC_CLEAR_CLASS | ( |  | obj | ) | memset(&(((struct RBasicRaw *)((VALUE)(obj)))->klass), 0, sizeof(VALUE))

Definition at line 1981 of file internal.h.

## ◆ RBASIC_SET_CLASS

#define RBASIC_SET_CLASS | ( |  | obj,
|  |  | cls
| ) |  |

Value:
do { \
VALUE _obj_ = (obj); \
RB_OBJ_WRITE(_obj_, &((struct RBasicRaw *)(_obj_))->klass, cls); \
} while (0)

Definition at line 1983 of file internal.h.

## ◆ RBASIC_SET_CLASS_RAW

#define RBASIC_SET_CLASS_RAW | ( |  | obj,
|  |  | cls
| ) |  | memcpy(&((struct RBasicRaw *)((VALUE)(obj)))->klass, &(cls), sizeof(VALUE))

Definition at line 1982 of file internal.h.

## ◆ RBIGNUM

#define RBIGNUM | ( |  | obj | ) | (R_CAST(RBignum)(obj))

Definition at line 786 of file internal.h.

## ◆ RCLASS_CALLABLE_M_TBL

#define RCLASS_CALLABLE_M_TBL | ( |  | c | ) | (RCLASS_EXT(c)->callable_m_tbl)

Definition at line 1073 of file internal.h.

## ◆ RCLASS_CLONED

#define RCLASS_CLONED FL_USER6

Definition at line 1084 of file internal.h.

## ◆ RCLASS_CONST_TBL

#define RCLASS_CONST_TBL | ( |  | c | ) | (RCLASS_EXT(c)->const_tbl)

Definition at line 1067 of file internal.h.

## ◆ RCLASS_EXT

#define RCLASS_EXT | ( |  | c | ) | (RCLASS(c)->ptr)

Definition at line 1065 of file internal.h.

## ◆ RCLASS_INCLUDER

#define RCLASS_INCLUDER | ( |  | c | ) | (RCLASS_EXT(c)->includer)

Definition at line 1082 of file internal.h.

## ◆ RCLASS_IV_INDEX_TBL

#define RCLASS_IV_INDEX_TBL | ( |  | c | ) | (RCLASS_EXT(c)->iv_index_tbl)

Definition at line 1074 of file internal.h.

## ◆ RCLASS_IV_TBL

#define RCLASS_IV_TBL | ( |  | c | ) | (RCLASS_EXT(c)->iv_tbl)

Definition at line 1066 of file internal.h.

## ◆ RCLASS_M_TBL

#define RCLASS_M_TBL | ( |  | c | ) | (RCLASS_EXT(c)->m_tbl)

Definition at line 1069 of file internal.h.

## ◆ RCLASS_ORIGIN

#define RCLASS_ORIGIN | ( |  | c | ) | (RCLASS_EXT(c)->origin_)

Definition at line 1075 of file internal.h.

## ◆ RCLASS_REFINED_BY_ANY

#define RCLASS_REFINED_BY_ANY FL_USER7

Definition at line 1086 of file internal.h.

## ◆ RCLASS_REFINED_CLASS

#define RCLASS_REFINED_CLASS | ( |  | c | ) | (RCLASS_EXT(c)->refined_class)

Definition at line 1076 of file internal.h.

## ◆ RCLASS_SERIAL

#define RCLASS_SERIAL | ( |  | c | ) | (RCLASS(c)->class_serial)

Definition at line 1078 of file internal.h.

## ◆ RCOMPLEX

#define RCOMPLEX | ( |  | obj | ) | (R_CAST(RComplex)(obj))

Definition at line 811 of file internal.h.

## ◆ RCOMPLEX_SET_IMAG

#define RCOMPLEX_SET_IMAG | ( |  | cmp,
|  |  | i
| ) |  | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i))

Definition at line 815 of file internal.h.

## ◆ RCOMPLEX_SET_REAL

#define RCOMPLEX_SET_REAL | ( |  | cmp,
|  |  | r
| ) |  | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r))

Definition at line 814 of file internal.h.

## ◆ RFLOAT

#define RFLOAT | ( |  | obj | ) | (R_CAST(RFloat)(obj))

Definition at line 803 of file internal.h.

## ◆ RHASH

#define RHASH | ( |  | obj | ) | (R_CAST(RHash)(obj))

Definition at line 859 of file internal.h.

## ◆ RHASH_AR_TABLE

#define RHASH_AR_TABLE | ( |  | hash | ) | (RHASH(hash)->as.ar)

Definition at line 855 of file internal.h.

## ◆ RHASH_AR_TABLE_BOUND_MASK

#define RHASH_AR_TABLE_BOUND_MASK (VALUE)RHASH_AR_TABLE_BOUND_MASK

Definition at line 866 of file internal.h.

## ◆ RHASH_AR_TABLE_BOUND_SHIFT

#define RHASH_AR_TABLE_BOUND_SHIFT RHASH_AR_TABLE_BOUND_SHIFT

Definition at line 867 of file internal.h.

## ◆ RHASH_AR_TABLE_MAX_SIZE

#define RHASH_AR_TABLE_MAX_SIZE SIZEOF_VALUE

Definition at line 821 of file internal.h.

## ◆ RHASH_AR_TABLE_P

#define RHASH_AR_TABLE_P | ( |  | hash | ) | (!FL_TEST_RAW((hash), RHASH_ST_TABLE_FLAG))

Definition at line 854 of file internal.h.

## ◆ RHASH_AR_TABLE_SIZE_MASK

#define RHASH_AR_TABLE_SIZE_MASK (VALUE)RHASH_AR_TABLE_SIZE_MASK

Definition at line 864 of file internal.h.

## ◆ RHASH_AR_TABLE_SIZE_RAW

#define RHASH_AR_TABLE_SIZE_RAW | ( |  | h | ) | ((unsigned int)((RBASIC(h)->flags & RHASH_AR_TABLE_SIZE_MASK) >> RHASH_AR_TABLE_SIZE_SHIFT))

Definition at line 841 of file internal.h.

## ◆ RHASH_AR_TABLE_SIZE_SHIFT

#define RHASH_AR_TABLE_SIZE_SHIFT RHASH_AR_TABLE_SIZE_SHIFT

Definition at line 865 of file internal.h.

## ◆ RHASH_IFNONE

#define RHASH_IFNONE | ( |  | h | ) | (RHASH(h)->ifnone)

Definition at line 904 of file internal.h.

## ◆ RHASH_LEV_MASK

#define RHASH_LEV_MASK

Value:
(FL_USER13 | FL_USER14 | FL_USER15 | /* FL 13..19 */ \
FL_USER16 | FL_USER17 | FL_USER18 | FL_USER19)

Definition at line 828 of file internal.h.

## ◆ RHASH_SET_TRANSIENT_FLAG

#define RHASH_SET_TRANSIENT_FLAG | ( |  | h | ) | FL_SET_RAW(h, RHASH_TRANSIENT_FLAG)

Definition at line 871 of file internal.h.

## ◆ RHASH_SIZE

#define RHASH_SIZE | ( |  | h | ) | (RHASH_AR_TABLE_P(h) ? RHASH_AR_TABLE_SIZE_RAW(h) : RHASH_ST_SIZE(h))

Definition at line 905 of file internal.h.

## ◆ RHASH_ST_CLEAR

#define RHASH_ST_CLEAR | ( |  | h | ) | (FL_UNSET_RAW(h, RHASH_ST_TABLE_FLAG), RHASH(h)->as.ar = NULL)

Definition at line 862 of file internal.h.

## ◆ RHASH_ST_SIZE

#define RHASH_ST_SIZE | ( |  | h | ) | (RHASH_ST_TABLE(h)->num_entries)

Definition at line 860 of file internal.h.

## ◆ RHASH_ST_TABLE

#define RHASH_ST_TABLE | ( |  | hash | ) | (RHASH(hash)->as.st)

Definition at line 856 of file internal.h.

## ◆ RHASH_ST_TABLE_P

#define RHASH_ST_TABLE_P | ( |  | h | ) | (!RHASH_AR_TABLE_P(h))

Definition at line 861 of file internal.h.

## ◆ RHASH_TBL_RAW

#define RHASH_TBL_RAW | ( |  | h | ) | rb_hash_tbl_raw(h)

Definition at line 1689 of file internal.h.

## ◆ RHASH_TRANSIENT_P

#define RHASH_TRANSIENT_P | ( |  | hash | ) | FL_TEST_RAW((hash), RHASH_TRANSIENT_FLAG)

Definition at line 870 of file internal.h.

## ◆ RHASH_UNSET_TRANSIENT_FLAG

#define RHASH_UNSET_TRANSIENT_FLAG | ( |  | h | ) | FL_UNSET_RAW(h, RHASH_TRANSIENT_FLAG)

Definition at line 872 of file internal.h.

## ◆ RICLASS_IS_ORIGIN

#define RICLASS_IS_ORIGIN FL_USER5

Definition at line 1085 of file internal.h.

## ◆ ROBJ_TRANSIENT_P

#define ROBJ_TRANSIENT_P | ( |  | obj | ) | FL_TEST_RAW((obj), ROBJECT_TRANSIENT_FLAG)

Definition at line 2256 of file internal.h.

## ◆ ROBJ_TRANSIENT_SET

#define ROBJ_TRANSIENT_SET | ( |  | obj | ) | FL_SET_RAW((obj), ROBJECT_TRANSIENT_FLAG)

Definition at line 2257 of file internal.h.

## ◆ ROBJ_TRANSIENT_UNSET

#define ROBJ_TRANSIENT_UNSET | ( |  | obj | ) | FL_UNSET_RAW((obj), ROBJECT_TRANSIENT_FLAG)

Definition at line 2258 of file internal.h.

## ◆ ROBJECT_TRANSIENT_FLAG

#define ROBJECT_TRANSIENT_FLAG FL_USER13

Definition at line 2255 of file internal.h.

## ◆ roomof

#define roomof | ( |  | x,
|  |  | y
| ) |  | (((x) + (y) - 1) / (y))

Definition at line 1298 of file internal.h.

## ◆ ROUND_CALL

#define ROUND_CALL | ( |  | mode,
|  |  | name,
|  |  | args
| ) |  |

Value:
ROUND_TO(mode, name##_half_even args, \
name##_half_up args, name##_half_down args)

Definition at line 1793 of file internal.h.

## ◆ ROUND_DEFAULT

#define ROUND_DEFAULT RUBY_NUM_ROUND_HALF_UP

Definition at line 1780 of file internal.h.

## ◆ ROUND_FUNC

#define ROUND_FUNC | ( |  | mode,
|  |  | name
| ) |  | ROUND_TO(mode, name##_half_even, name##_half_up, name##_half_down)

Definition at line 1791 of file internal.h.

## ◆ ROUND_TO

#define ROUND_TO | ( |  | mode,
|  |  | even,
|  |  | up,
|  |  | down
| ) |  |

Value:
((mode) == RUBY_NUM_ROUND_HALF_EVEN ? even : \
(mode) == RUBY_NUM_ROUND_HALF_UP ? up : down)

Definition at line 1788 of file internal.h.

## ◆ rp

#define rp | ( |  | obj | ) | rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, __func__)

Definition at line 1435 of file internal.h.

## ◆ rp_m

#define rp_m | ( |  | msg,
|  |  | obj
| ) |  |

Value:
do { \
fprintf(stderr, "%s", (msg)); \
rb_obj_info_dump((VALUE)obj); \
} while (0)

Definition at line 1438 of file internal.h.

## ◆ RRATIONAL

#define RRATIONAL | ( |  | obj | ) | (R_CAST(RRational)(obj))

Definition at line 794 of file internal.h.

## ◆ RRATIONAL_SET_DEN

#define RRATIONAL_SET_DEN | ( |  | rat,
|  |  | d
| ) |  | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->den,(d))

Definition at line 796 of file internal.h.

## ◆ RRATIONAL_SET_NUM

#define RRATIONAL_SET_NUM | ( |  | rat,
|  |  | n
| ) |  | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->num,(n))

Definition at line 795 of file internal.h.

## ◆ RSTRUCT

#define RSTRUCT | ( |  | obj | ) | (R_CAST(RStruct)(obj))

Definition at line 966 of file internal.h.

## ◆ RSTRUCT_CONST_PTR

#define RSTRUCT_CONST_PTR | ( |  | st | ) | rb_struct_const_ptr(st)

Definition at line 962 of file internal.h.

## ◆ RSTRUCT_EMBED_LEN

#define RSTRUCT_EMBED_LEN | ( |  | st | ) |

Value:
(long)((RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \
(RSTRUCT_EMBED_LEN_MASK >> RSTRUCT_EMBED_LEN_SHIFT))

Definition at line 957 of file internal.h.

## ◆ RSTRUCT_EMBED_LEN_MASK

#define RSTRUCT_EMBED_LEN_MASK RSTRUCT_EMBED_LEN_MASK

Definition at line 920 of file internal.h.

## ◆ RSTRUCT_EMBED_LEN_MAX

#define RSTRUCT_EMBED_LEN_MAX RSTRUCT_EMBED_LEN_MAX

Definition at line 919 of file internal.h.

## ◆ RSTRUCT_EMBED_LEN_SHIFT

#define RSTRUCT_EMBED_LEN_SHIFT RSTRUCT_EMBED_LEN_SHIFT

Definition at line 921 of file internal.h.

## ◆ RSTRUCT_GET

#define RSTRUCT_GET | ( |  | st,
|  |  | idx
| ) |  | (RSTRUCT_CONST_PTR(st)[idx])

Definition at line 965 of file internal.h.

## ◆ RSTRUCT_LEN

#define RSTRUCT_LEN | ( |  | st | ) | rb_struct_len(st)

Definition at line 960 of file internal.h.

## ◆ RSTRUCT_LENINT

#define RSTRUCT_LENINT | ( |  | st | ) | rb_long2int(RSTRUCT_LEN(st))

Definition at line 961 of file internal.h.

## ◆ RSTRUCT_PTR

#define RSTRUCT_PTR | ( |  | st | ) | ((VALUE *)RSTRUCT_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(STRUCT, st)))

Definition at line 963 of file internal.h.

## ◆ RSTRUCT_SET

#define RSTRUCT_SET | ( |  | st,
|  |  | idx,
|  |  | v
| ) |  | RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v))

Definition at line 964 of file internal.h.

## ◆ RSTRUCT_TRANSIENT_P

#define RSTRUCT_TRANSIENT_P | ( |  | st | ) | FL_TEST_RAW((obj), RSTRUCT_TRANSIENT_FLAG)

Definition at line 933 of file internal.h.

## ◆ RSTRUCT_TRANSIENT_SET

#define RSTRUCT_TRANSIENT_SET | ( |  | st | ) | FL_SET_RAW((st), RSTRUCT_TRANSIENT_FLAG)

Definition at line 934 of file internal.h.

## ◆ RSTRUCT_TRANSIENT_UNSET

#define RSTRUCT_TRANSIENT_UNSET | ( |  | st | ) | FL_UNSET_RAW((st), RSTRUCT_TRANSIENT_FLAG)

Definition at line 935 of file internal.h.

## ◆ RUBY_BIT_ROTL

#define RUBY_BIT_ROTL | ( |  | v,
|  |  | n
| ) |  | (((v) << (n)) | ((v) >> ((sizeof(v) * 8) - n)))

Definition at line 1889 of file internal.h.

## ◆ RUBY_BIT_ROTR

#define RUBY_BIT_ROTR | ( |  | v,
|  |  | n
| ) |  | (((v) >> (n)) | ((v) << ((sizeof(v) * 8) - n)))

Definition at line 1890 of file internal.h.

## ◆ RUBY_DTRACE_CREATE_HOOK

#define RUBY_DTRACE_CREATE_HOOK | ( |  | name,
|  |  | arg
| ) |  | RUBY_DTRACE_HOOK(name##_CREATE, arg)

Definition at line 2584 of file internal.h.

## ◆ RUBY_DTRACE_HOOK

#define RUBY_DTRACE_HOOK | ( |  | name,
|  |  | arg
| ) |  |

Value:
do { \
if (UNLIKELY(RUBY_DTRACE_##name##_ENABLED())) { \
int dtrace_line; \
const char *dtrace_file = rb_source_location_cstr(&dtrace_line); \
if (!dtrace_file) dtrace_file = ""; \
RUBY_DTRACE_##name(arg, dtrace_file, dtrace_line); \
} \
} while (0)

Definition at line 2586 of file internal.h.

## ◆ SERIALT2NUM

#define SERIALT2NUM ULONG2NUM

Definition at line 1015 of file internal.h.

## ◆ SIGNED_INTEGER_MAX

#define SIGNED_INTEGER_MAX | ( |  | sint_type | ) |

Value:
(sint_type) \
((((sint_type)1) << (sizeof(sint_type) * CHAR_BIT - 2)) | \
((((sint_type)1) << (sizeof(sint_type) * CHAR_BIT - 2)) - 1))

Definition at line 234 of file internal.h.

## ◆ SIGNED_INTEGER_MIN

#define SIGNED_INTEGER_MIN | ( |  | sint_type | ) | (-SIGNED_INTEGER_MAX(sint_type)-1)

Definition at line 238 of file internal.h.

## ◆ SIGNED_INTEGER_TYPE_P

#define SIGNED_INTEGER_TYPE_P | ( |  | int_type | ) | (0 > ((int_type)0)-1)

Definition at line 233 of file internal.h.

## ◆ SIZED_REALLOC_N

#define SIZED_REALLOC_N | ( |  | var,
|  |  | type,
|  |  | n,
|  |  | old_n
| ) |  | ((var)=(type*)ruby_sized_xrealloc2((void*)(var), (n), sizeof(type), (old_n)))

Definition at line 1657 of file internal.h.

## ◆ SIZEOF_ACTUAL_BDIGIT

#define SIZEOF_ACTUAL_BDIGIT SIZEOF_BDIGIT

Definition at line 719 of file internal.h.

## ◆ SIZEOF_BDIGIT

#define SIZEOF_BDIGIT SIZEOF_INT

Definition at line 689 of file internal.h.

## ◆ SIZEOF_SERIAL_T

#define SIZEOF_SERIAL_T SIZEOF_LONG

Definition at line 1017 of file internal.h.

## ◆ STATIC_ASSERT

#define STATIC_ASSERT | ( |  | name,
|  |  | expr
| ) |  | typedef int static_assert_##name##_check[1 - 2*!(expr)]

Definition at line 230 of file internal.h.

## ◆ STR_EMBED_P

#define STR_EMBED_P | ( |  | str | ) | (!FL_TEST_RAW((str), STR_NOEMBED))

Definition at line 2157 of file internal.h.

## ◆ STR_NOEMBED

#define STR_NOEMBED FL_USER1

Definition at line 2155 of file internal.h.

## ◆ STR_SHARED

#define STR_SHARED FL_USER2 /* = ELTS_SHARED */

Definition at line 2156 of file internal.h.

## ◆ STR_SHARED_P

#define STR_SHARED_P | ( |  | s | ) | FL_ALL_RAW((s), STR_NOEMBED|ELTS_SHARED)

Definition at line 2158 of file internal.h.

## ◆ STRING_P

#define STRING_P | ( |  | s | ) | (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString)

Definition at line 1308 of file internal.h.

## ◆ swap16

#define swap16 | ( |  | x | ) | ((uint16_t)((((x)&0xFF)<<8) | (((x)>>8)&0xFF)))

Definition at line 293 of file internal.h.

## ◆ swap32

#define swap32 | ( |  | x | ) |

Value:
((uint32_t)((((x)&0xFF)<<24) \
|(((x)>>24)&0xFF) \
|(((x)&0x0000FF00)<<8) \
|(((x)&0x00FF0000)>>8) ))

Definition at line 303 of file internal.h.

## ◆ THROW_DATA_CONSUMED

#define THROW_DATA_CONSUMED IMEMO_FL_USER0

Definition at line 1190 of file internal.h.

## ◆ THROW_DATA_P

#define THROW_DATA_P | ( |  | err | ) | RB_TYPE_P((VALUE)(err), T_IMEMO)

Definition at line 1201 of file internal.h.

## ◆ TIMET_MAX_PLUS_ONE

#define TIMET_MAX_PLUS_ONE (2*(double)(TIMET_MAX/2+1))

Definition at line 248 of file internal.h.

## ◆ type_roomof

#define type_roomof | ( |  | x,
|  |  | y
| ) |  | roomof(sizeof(x), sizeof(y))

Definition at line 1299 of file internal.h.

## ◆ UNALIGNED_MEMBER_ACCESS

#define UNALIGNED_MEMBER_ACCESS | ( |  | expr | ) | expr

Definition at line 2683 of file internal.h.

## ◆ UNALIGNED_MEMBER_PTR

#define UNALIGNED_MEMBER_PTR | ( |  | ptr,
|  |  | mem
| ) |  | UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)

Definition at line 2685 of file internal.h.

## ◆ UNLIKELY

#define UNLIKELY | ( |  | x | ) | RB_UNLIKELY(x)

Definition at line 37 of file internal.h.

## ◆ UNSIGNED_INTEGER_MAX

#define UNSIGNED_INTEGER_MAX | ( |  | uint_type | ) | (~(uint_type)0)

Definition at line 239 of file internal.h.

## ◆ USE_SYMBOL_GC

#define USE_SYMBOL_GC 1

Definition at line 1990 of file internal.h.

## ◆ VALGRIND_MAKE_MEM_DEFINED

#define VALGRIND_MAKE_MEM_DEFINED | ( |  | p,
|  |  | n
| ) |  | 0

Definition at line 95 of file internal.h.

## ◆ VALGRIND_MAKE_MEM_UNDEFINED

#define VALGRIND_MAKE_MEM_UNDEFINED | ( |  | p,
|  |  | n
| ) |  | 0

Definition at line 96 of file internal.h.

## ◆ WARN_UNUSED_RESULT

#define WARN_UNUSED_RESULT | ( |  | x | ) | x

Definition at line 44 of file internal.h.

## Typedef Documentation

## ◆ rb_check_funcall_hook

typedef void rb_check_funcall_hook(int, VALUE, ID, int, const VALUE *, VALUE)

Definition at line 2308 of file internal.h.

## ◆ rb_classext_t

typedef struct rb_classext_struct rb_classext_t

Definition at line 1045 of file internal.h.

## ◆ rb_imemo_tmpbuf_t

typedef struct rb_imemo_tmpbuf_struct rb_imemo_tmpbuf_t

## ◆ rb_serial_t

typedef unsigned long rb_serial_t

Definition at line 1014 of file internal.h.

## ◆ rb_subclass_entry_t

typedef struct rb_subclass_entry rb_subclass_entry_t

Definition at line 996 of file internal.h.

## Enumeration Type Documentation

## ◆ anonymous enum

anonymous enum

Enumerator
RSTRUCT_EMBED_LEN_MAX |
RSTRUCT_EMBED_LEN_MASK |
RSTRUCT_EMBED_LEN_SHIFT |
RSTRUCT_TRANSIENT_FLAG |
RSTRUCT_ENUM_END |

Definition at line 923 of file internal.h.

## ◆ anonymous enum

anonymous enum

Enumerator
cmp_opt_Fixnum |
cmp_opt_String |
cmp_opt_Float |
cmp_optimizable_count |

Definition at line 1315 of file internal.h.

## ◆ imemo_type

enum imemo_type

Enumerator
imemo_env |
imemo_cref | class reference
imemo_svar | special variable
imemo_throw_data |
imemo_ifunc | iterator function
imemo_memo |
imemo_ment |
imemo_iseq |
imemo_tmpbuf |
imemo_ast |
imemo_parser_strterm |
imemo_env |
imemo_cref |
imemo_svar |
imemo_throw_data |
imemo_ifunc |
imemo_memo |
imemo_ment |
imemo_iseq |
imemo_tmpbuf |
imemo_ast |
imemo_parser_strterm |

Definition at line 1132 of file internal.h.

## ◆ method_missing_reason

enum method_missing_reason

Enumerator
MISSING_NOENTRY |
MISSING_PRIVATE |
MISSING_PROTECTED |
MISSING_FCALL |
MISSING_VCALL |
MISSING_SUPER |
MISSING_MISSING |
MISSING_NONE |
MISSING_NOENTRY |
MISSING_PRIVATE |
MISSING_PROTECTED |
MISSING_FCALL |
MISSING_VCALL |
MISSING_SUPER |
MISSING_MISSING |
MISSING_NONE |

Definition at line 2329 of file internal.h.

## ◆ rb_int_parse_flags

enum rb_int_parse_flags

Enumerator
RB_INT_PARSE_SIGN |
RB_INT_PARSE_UNDERSCORE |
RB_INT_PARSE_PREFIX |
RB_INT_PARSE_ALL |
RB_INT_PARSE_DEFAULT |
RB_INT_PARSE_SIGN |
RB_INT_PARSE_UNDERSCORE |
RB_INT_PARSE_PREFIX |
RB_INT_PARSE_ALL |
RB_INT_PARSE_DEFAULT |

Definition at line 2457 of file internal.h.

## ◆ rb_warning_category_t

enum rb_warning_category_t

Enumerator
RB_WARN_CATEGORY_NONE |
RB_WARN_CATEGORY_DEPRECATED |
RB_WARN_CATEGORY_EXPERIMENTAL |
RB_WARN_CATEGORY_NONE |
RB_WARN_CATEGORY_DEPRECATED |
RB_WARN_CATEGORY_EXPERIMENTAL |

Definition at line 1558 of file internal.h.

## ◆ ruby_num_rounding_mode

enum ruby_num_rounding_mode

Enumerator
RUBY_NUM_ROUND_HALF_UP |
RUBY_NUM_ROUND_HALF_EVEN |
RUBY_NUM_ROUND_HALF_DOWN |
RUBY_NUM_ROUND_DEFAULT |
RUBY_NUM_ROUND_HALF_UP |
RUBY_NUM_ROUND_HALF_EVEN |
RUBY_NUM_ROUND_HALF_DOWN |
RUBY_NUM_ROUND_DEFAULT |

Definition at line 1782 of file internal.h.

## ◆ ruby_rhash_flags

enum ruby_rhash_flags

Enumerator
RHASH_PASS_AS_KEYWORDS |
RHASH_PROC_DEFAULT |
RHASH_ST_TABLE_FLAG |
RHASH_AR_TABLE_SIZE_MASK |
RHASH_AR_TABLE_SIZE_SHIFT |
RHASH_AR_TABLE_BOUND_MASK |
RHASH_AR_TABLE_BOUND_SHIFT |
RHASH_TRANSIENT_FLAG |
RHASH_LEV_SHIFT |
RHASH_LEV_MAX |
RHASH_ENUM_END |
RHASH_PASS_AS_KEYWORDS |
RHASH_PROC_DEFAULT |
RHASH_ST_TABLE_FLAG |
RHASH_AR_TABLE_SIZE_MASK |
RHASH_AR_TABLE_SIZE_SHIFT |
RHASH_AR_TABLE_BOUND_MASK |
RHASH_AR_TABLE_BOUND_SHIFT |
RHASH_TRANSIENT_FLAG |
RHASH_LEV_SHIFT |
RHASH_LEV_MAX |
RHASH_ENUM_END |

Definition at line 817 of file internal.h.

## Function Documentation

## ◆ CONSTFUNC() [1/2]

CONSTFUNC | ( | VALUE | rb_obj_equalVALUE obj1, VALUE obj2 | ) |

## ◆ CONSTFUNC() [2/2]

CONSTFUNC | ( | VALUE | rb_obj_notVALUE obj | ) |

## ◆ Init_BareVM()

void Init_BareVM | ( | void |  | ) |

Definition at line 3301 of file vm.c.

Referenced by ruby_setup().

## ◆ Init_enc()

void Init_enc | ( | void |  | ) |

Definition at line 5 of file dmyenc.c.

## ◆ Init_enc_set_filesystem_encoding()

int Init_enc_set_filesystem_encoding | ( | void |  | ) |

Definition at line 119 of file localeinit.c.

## ◆ Init_eval_method()

void Init_eval_method | ( | void |  | ) |

Definition at line 2281 of file vm_method.c.

## ◆ Init_ext()

void Init_ext | ( | void |  | ) |

Definition at line 2 of file dmyext.c.

## ◆ Init_File()

void Init_File | ( | void |  | ) |

Definition at line 6435 of file file.c.

## ◆ Init_heap()

void Init_heap | ( | void |  | ) |

Definition at line 2909 of file gc.c.

## ◆ Init_newline()

void Init_newline | ( | void |  | ) |

## ◆ Init_vm_backtrace()

void Init_vm_backtrace | ( | void |  | ) |

Definition at line 1045 of file vm_backtrace.c.

## ◆ Init_vm_eval()

void Init_vm_eval | ( | void |  | ) |

Definition at line 2470 of file vm_eval.c.

## ◆ Init_vm_objects()

void Init_vm_objects | ( | void |  | ) |

Definition at line 3324 of file vm.c.

Referenced by ruby_setup().

## ◆ Init_vm_stack_canary()

void Init_vm_stack_canary | ( | void |  | ) |

Definition at line 16989 of file rb_mjit_min_header-2.7.0.h.

## ◆ NORETURN() [1/7]

NORETURN | ( | VALUE | rb_f_raiseint argc, VALUE *argv | ) |

## ◆ NORETURN() [2/7]

NORETURN | ( | VALUE | rb_mod_const_missingVALUE, VALUE | ) |

## ◆ NORETURN() [3/7]

NORETURN | ( | void | rb_async_bug_errnoconst char *, int | ) |

## ◆ NORETURN() [4/7]

NORETURN | ( | void | rb_load_failVALUE, const char * | ) |

## ◆ NORETURN() [5/7]

NORETURN | ( | void | rb_undefined_allocVALUE klass | ) |

## ◆ NORETURN() [6/7]

NORETURN | ( | void | rb_unexpected_typeVALUE, int | ) |

## ◆ NORETURN() [7/7]

NORETURN | ( | void | rb_vraiseVALUE, const char *, va_list | ) |

## ◆ PRINTF_ARGS() [1/3]

PRINTF_ARGS | ( | VALUE | rb_warning_stringconst char *fmt,...,
|  | 1 | ,
|  | 2 |
| ) |  |

## ◆ PRINTF_ARGS() [2/3]

PRINTF_ARGS | ( | void | rb_warn_deprecatedconst char *fmt, const char *suggest,...,
|  | 1 | ,
|  | 3 |
| ) |  |

## ◆ PRINTF_ARGS() [3/3]

PRINTF_ARGS | ( | void | ruby_debug_printfconst char *,...,
|  | 1 | ,
|  | 2 |
| ) |  |

## ◆ PUREFUNC() [1/4]

PUREFUNC | ( | int | rb_data_is_encodingVALUE obj | ) |

## ◆ PUREFUNC() [2/4]

PUREFUNC | ( | int | rb_is_const_symVALUE sym | ) |

## ◆ PUREFUNC() [3/4]

PUREFUNC | ( | st_table * | rb_vm_fstring_tablevoid | ) |

## ◆ PUREFUNC() [4/4]

PUREFUNC | ( | VALUE | rb_vm_top_selfvoid | ) |

## ◆ rb_adjust_argv_kw_splat()

VALUE rb_adjust_argv_kw_splat | ( | int * | ,
|  | const VALUE ** | ,
|  | int * |
| ) |  |

Definition at line 237 of file vm_eval.c.

Referenced by rb_fiber_start(), rb_proc_call_kw(), and rb_proc_call_with_block_kw().

## ◆ rb_aligned_malloc()

void* rb_aligned_malloc | ( | size_t | ,
|  | size_t |
| ) |  |

Definition at line 9610 of file gc.c.

References GC_ASSERT, malloc(), memalign(), NULL, posix_memalign(), and size.

## ◆ rb_arith_seq_new()

VALUE rb_arith_seq_new | ( | VALUE | obj,
|  | VALUE | meth,
|  | int | argc,
|  | VALUE const * | argv,
|  | rb_enumerator_size_func * | size_fn,
|  | VALUE | beg,
|  | VALUE | end,
|  | VALUE | step,
|  | int | excl
| ) |  |

Definition at line 3308 of file enumerator.c.

## ◆ rb_ary_aref1()

VALUE rb_ary_aref1 | ( | VALUE | ary,
|  | VALUE | i
| ) |  |

Definition at line 1595 of file array.c.

## ◆ rb_ary_at()

VALUE rb_ary_at | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 1629 of file array.c.

## ◆ rb_ary_behead()

VALUE rb_ary_behead | ( | VALUE | ,
|  | long |
| ) |  |

Definition at line 1369 of file array.c.

## ◆ rb_ary_delete_same()

void rb_ary_delete_same | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 3396 of file array.c.

## ◆ rb_ary_detransient()

void rb_ary_detransient | ( | VALUE | a | ) |

Definition at line 408 of file array.c.

## ◆ rb_ary_last()

VALUE rb_ary_last | ( | int | ,
|  | const VALUE * | ,
|  | VALUE |
| ) |  |

Definition at line 1677 of file array.c.

## ◆ rb_ary_memsize()

size_t rb_ary_memsize | ( | VALUE |  | ) |

Definition at line 816 of file array.c.

## ◆ rb_ary_ptr_use_end()

void rb_ary_ptr_use_end | ( | VALUE | ary | ) |

Definition at line 235 of file array.c.

## ◆ rb_ary_ptr_use_start()

VALUE* rb_ary_ptr_use_start | ( | VALUE | ary | ) |

Definition at line 226 of file array.c.

## ◆ rb_ary_set_len()

void rb_ary_set_len | ( | VALUE | ,
|  | long |
| ) |  |

Definition at line 1932 of file array.c.

## ◆ rb_ary_tmp_new_fill()

VALUE rb_ary_tmp_new_fill | ( | long | capa | ) |

Definition at line 776 of file array.c.

## ◆ rb_ary_tmp_new_from_values()

VALUE rb_ary_tmp_new_from_values | ( | VALUE | ,
|  | long | ,
|  | const VALUE * |
| ) |  |

Definition at line 748 of file array.c.

## ◆ rb_attr_delete()

VALUE rb_attr_delete | ( | VALUE | ,
|  | ID |
| ) |  |

Definition at line 1126 of file variable.c.

## ◆ rb_autoload_at_p()

VALUE rb_autoload_at_p | ( | VALUE | ,
|  | ID | ,
|  | int |
| ) |  |

Definition at line 2287 of file variable.c.

## ◆ rb_autoload_str()

void rb_autoload_str | ( | VALUE | mod,
|  | ID | id,
|  | VALUE | file
| ) |  |

Definition at line 1933 of file variable.c.

## ◆ rb_backref_set_string()

void rb_backref_set_string | ( | VALUE | string,
|  | long | pos,
|  | long | len
| ) |  |

Definition at line 1340 of file re.c.

## ◆ rb_backtrace_each()

void rb_backtrace_each | ( | VALUE(*)(VALUE recv, VALUE str) | iter,
|  | VALUE | output
| ) |  |

Definition at line 855 of file vm_backtrace.c.

## ◆ rb_backtrace_p()

int rb_backtrace_p | ( | VALUE | obj | ) |

Definition at line 446 of file vm_backtrace.c.

## ◆ rb_backtrace_print_as_bugreport()

void rb_backtrace_print_as_bugreport | ( | void |  | ) |

Definition at line 813 of file vm_backtrace.c.

Referenced by rb_vm_bugreport().

## ◆ rb_backtrace_to_location_ary()

VALUE rb_backtrace_to_location_ary | ( | VALUE | obj | ) |

Definition at line 686 of file vm_backtrace.c.

## ◆ rb_backtrace_to_str_ary()

VALUE rb_backtrace_to_str_ary | ( | VALUE | obj | ) |

Definition at line 620 of file vm_backtrace.c.

## ◆ rb_big2str_generic()

VALUE rb_big2str_generic | ( | VALUE | x,
|  | int | base
| ) |  |

Definition at line 5004 of file bignum.c.

## ◆ rb_big2str_poweroftwo()

VALUE rb_big2str_poweroftwo | ( | VALUE | x,
|  | int | base
| ) |  |

Definition at line 4921 of file bignum.c.

## ◆ rb_big_abs()

VALUE rb_big_abs | ( | VALUE | x | ) |

Definition at line 6762 of file bignum.c.

## ◆ rb_big_aref()

VALUE rb_big_aref | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 6681 of file bignum.c.

## ◆ rb_big_bit_length()

VALUE rb_big_bit_length | ( | VALUE | big | ) |

Definition at line 6790 of file bignum.c.

## ◆ rb_big_comp()

VALUE rb_big_comp | ( | VALUE | x | ) |

Definition at line 5564 of file bignum.c.

## ◆ rb_big_divrem_normal()

VALUE rb_big_divrem_normal | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 2714 of file bignum.c.

## ◆ rb_big_even_p()

VALUE rb_big_even_p | ( | VALUE |  | ) |

Definition at line 6840 of file bignum.c.

## ◆ rb_big_fdiv_double()

double rb_big_fdiv_double | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 6209 of file bignum.c.

## ◆ rb_big_ge()

VALUE rb_big_ge | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 5495 of file bignum.c.

## ◆ rb_big_gt()

VALUE rb_big_gt | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 5489 of file bignum.c.

## ◆ rb_big_hash()

VALUE rb_big_hash | ( | VALUE |  | ) |

Definition at line 6726 of file bignum.c.

## ◆ rb_big_le()

VALUE rb_big_le | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 5507 of file bignum.c.

## ◆ rb_big_lt()

VALUE rb_big_lt | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 5501 of file bignum.c.

## ◆ rb_big_mul_balance()

VALUE rb_big_mul_balance | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1689 of file bignum.c.

## ◆ rb_big_mul_karatsuba()

VALUE rb_big_mul_karatsuba | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1870 of file bignum.c.

## ◆ rb_big_mul_normal()

VALUE rb_big_mul_normal | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1561 of file bignum.c.

## ◆ rb_big_mul_toom3()

VALUE rb_big_mul_toom3 | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 2267 of file bignum.c.

## ◆ rb_big_odd_p()

VALUE rb_big_odd_p | ( | VALUE |  | ) |

Definition at line 6831 of file bignum.c.

## ◆ rb_big_remainder()

VALUE rb_big_remainder | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 6119 of file bignum.c.

## ◆ rb_big_size()

size_t rb_big_size | ( | VALUE |  | ) |

Definition at line 6778 of file bignum.c.

## ◆ rb_big_size_m()

VALUE rb_big_size_m | ( | VALUE | big | ) |

Definition at line 6784 of file bignum.c.

## ◆ rb_big_sq_fast()

VALUE rb_big_sq_fast | ( | VALUE | x | ) |

Definition at line 1630 of file bignum.c.

## ◆ rb_big_uminus()

VALUE rb_big_uminus | ( | VALUE | x | ) |

Definition at line 5554 of file bignum.c.

## ◆ rb_block_arity()

int rb_block_arity | ( | void |  | ) |

Definition at line 1144 of file proc.c.

## ◆ rb_block_min_max_arity()

int rb_block_min_max_arity | ( | int * | max | ) |

Definition at line 1178 of file proc.c.

## ◆ rb_block_to_s()

VALUE rb_block_to_s | ( | VALUE | self,
|  | const struct rb_block * | block,
|  | const char * | additional_info
| ) |  |

Definition at line 1360 of file proc.c.

## ◆ rb_call_end_proc()

void rb_call_end_proc | ( | VALUE | data | ) |

Definition at line 11 of file eval_jump.c.

## ◆ rb_call_inits()

void rb_call_inits | ( | void |  | ) |

Definition at line 19 of file inits.c.

## ◆ rb_check_block_call()

VALUE rb_check_block_call | ( | VALUE | ,
|  | ID | ,
|  | int | ,
|  | const VALUE * | ,
|  | rb_block_call_func_t | ,
|  | VALUE |
| ) |  |

Definition at line 1528 of file vm_eval.c.

## ◆ rb_check_funcall_default()

VALUE rb_check_funcall_default | ( | VALUE | ,
|  | ID | ,
|  | int | ,
|  | const VALUE * | ,
|  | VALUE |
| ) |  |

Definition at line 533 of file vm_eval.c.

Referenced by rb_get_path_check_to_string().

## ◆ rb_check_funcall_with_hook()

VALUE rb_check_funcall_with_hook | ( | VALUE | recv,
|  | ID | mid,
|  | int | argc,
|  | const VALUE * | argv,
|  | rb_check_funcall_hook * | hook,
|  | VALUE | arg
| ) |  |

Definition at line 565 of file vm_eval.c.

## ◆ rb_check_funcall_with_hook_kw()

VALUE rb_check_funcall_with_hook_kw | ( | VALUE | recv,
|  | ID | mid,
|  | int | argc,
|  | const VALUE * | argv,
|  | rb_check_funcall_hook * | hook,
|  | VALUE | arg,
|  | int | kw_splat
| ) |  |

Definition at line 539 of file vm_eval.c.

## ◆ rb_check_to_array()

VALUE rb_check_to_array | ( | VALUE | ary | ) |

Definition at line 915 of file array.c.

## ◆ rb_class_ivar_set()

int rb_class_ivar_set | ( | VALUE | klass,
|  | ID | vid,
|  | VALUE | value
| ) |  |

Definition at line 3316 of file variable.c.

Referenced by rb_singleton_class_attached().

## ◆ rb_const_missing()

VALUE rb_const_missing | ( | VALUE | klass,
|  | VALUE | name
| ) |  |

Definition at line 1694 of file variable.c.

## ◆ rb_copy_wb_protected_attribute()

void rb_copy_wb_protected_attribute | ( | VALUE | dest,
|  | VALUE | obj
| ) |  |

Definition at line 6938 of file gc.c.

## ◆ rb_cstr_to_rat()

VALUE rb_cstr_to_rat | ( | const char * | ,
|  | int |
| ) |  |

Definition at line 2541 of file rational.c.

## ◆ rb_current_realfilepath()

VALUE rb_current_realfilepath | ( | void |  | ) |

Definition at line 2460 of file vm_eval.c.

Referenced by rb_f_require_relative().

## ◆ rb_dbl_complex_new_polar_pi()

VALUE rb_dbl_complex_new_polar_pi | ( | double | abs,
|  | double | ang
| ) |  |

Definition at line 667 of file complex.c.

## ◆ rb_dbl_long_hash()

long rb_dbl_long_hash | ( | double | d | ) |

Definition at line 160 of file hash.c.

## ◆ rb_default_coverage()

VALUE rb_default_coverage | ( | int |  | ) |

Definition at line 5519 of file thread.c.

Referenced by rb_iseq_new_top().

## ◆ rb_default_home_dir()

VALUE rb_default_home_dir | ( | VALUE | result | ) |

Definition at line 3576 of file file.c.

## ◆ rb_deprecate_constant()

void rb_deprecate_constant | ( | VALUE | mod,
|  | const char * | name
| ) |  |

Definition at line 2947 of file variable.c.

Referenced by Init_Bignum().

## ◆ rb_dir_getwd_ospath()

VALUE rb_dir_getwd_ospath | ( | void |  | ) |

Definition at line 1117 of file dir.c.

## ◆ rb_dvar_defined()

int rb_dvar_defined | ( | ID | ,
|  | const struct rb_iseq_struct * |
| ) |  |

## ◆ rb_enc_set_base()

void rb_enc_set_base | ( | const char * | name,
|  | const char * | orig
| ) |  |

Definition at line 382 of file encoding.c.

## ◆ rb_enc_set_dummy()

int rb_enc_set_dummy | ( | int | index | ) |

Definition at line 393 of file encoding.c.

## ◆ rb_encdb_alias()

int rb_encdb_alias | ( | const char * | alias,
|  | const char * | orig
| ) |  |

Definition at line 565 of file encoding.c.

## ◆ rb_encdb_declare()

void rb_encdb_declare | ( | const char * | name | ) |

Definition at line 350 of file encoding.c.

## ◆ rb_encdb_dummy()

int rb_encdb_dummy | ( | const char * | name | ) |

Definition at line 472 of file encoding.c.

## ◆ rb_encdb_replicate()

int rb_encdb_replicate | ( | const char * | alias,
|  | const char * | orig
| ) |  |

Definition at line 450 of file encoding.c.

## ◆ rb_encdb_set_unicode()

void rb_encdb_set_unicode | ( | int | index | ) |

Definition at line 576 of file encoding.c.

## ◆ rb_eql_opt()

VALUE rb_eql_opt | ( | VALUE | obj1,
|  | VALUE | obj2
| ) |  |

Definition at line 13444 of file rb_mjit_min_header-2.7.0.h.

References rb_call_data::ci, idEqlP, and rb_call_info::mid.

## ◆ rb_equal_opt()

VALUE rb_equal_opt | ( | VALUE | obj1,
|  | VALUE | obj2
| ) |  |

Definition at line 13438 of file rb_mjit_min_header-2.7.0.h.

References rb_call_data::ci, idEq, and rb_call_info::mid.

## ◆ rb_exec_async_signal_safe()

int rb_exec_async_signal_safe | ( | const struct rb_execarg * | e,
|  | char * | errmsg,
|  | size_t | errmsg_buflen
| ) |  |

Definition at line 3516 of file process.c.

## ◆ rb_execarg_addopt()

int rb_execarg_addopt | ( | VALUE | execarg_obj,
|  | VALUE | key,
|  | VALUE | val
| ) |  |

Definition at line 2013 of file process.c.

## ◆ rb_execarg_extract_options()

VALUE rb_execarg_extract_options | ( | VALUE | execarg_obj,
|  | VALUE | opthash
| ) |  |

Definition at line 2279 of file process.c.

## ◆ rb_execarg_get()

struct rb_execarg* rb_execarg_get | ( | VALUE | execarg_obj | ) |

Definition at line 2608 of file process.c.

## ◆ rb_execarg_new()

VALUE rb_execarg_new | ( | int | argc,
|  | const VALUE * | argv,
|  | int | accept_shell,
|  | int | allow_exc_opt
| ) |  |

Definition at line 2633 of file process.c.

## ◆ rb_execarg_parent_end()

void rb_execarg_parent_end | ( | VALUE | execarg_obj | ) |

Definition at line 2855 of file process.c.

## ◆ rb_execarg_parent_start()

void rb_execarg_parent_start | ( | VALUE | execarg_obj | ) |

Definition at line 2816 of file process.c.

## ◆ rb_execarg_run_options()

int rb_execarg_run_options | ( | const struct rb_execarg * | e,
|  | struct rb_execarg * | s,
|  | char * | errmsg,
|  | size_t | errmsg_buflen
| ) |  |

Definition at line 3385 of file process.c.

## ◆ rb_execarg_setenv()

void rb_execarg_setenv | ( | VALUE | execarg_obj,
|  | VALUE | env
| ) |  |

Definition at line 2646 of file process.c.

## ◆ rb_f_send()

VALUE rb_f_send | ( | int | argc,
|  | VALUE * | argv,
|  | VALUE | recv
| ) |  |

Definition at line 1188 of file vm_eval.c.

## ◆ rb_fiber_reset_root_local_storage()

void rb_fiber_reset_root_local_storage | ( | struct rb_thread_struct * |  | ) |

Definition at line 2120 of file cont.c.

## ◆ rb_file_const()

void rb_file_const | ( | const char * | ,
|  | VALUE |
| ) |  |

Definition at line 6083 of file file.c.

## ◆ rb_file_expand_path_fast()

VALUE rb_file_expand_path_fast | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 4025 of file file.c.

## ◆ rb_file_expand_path_internal()

VALUE rb_file_expand_path_internal | ( | VALUE | ,
|  | VALUE | ,
|  | int | ,
|  | int | ,
|  | VALUE |
| ) |  |

Definition at line 3646 of file file.c.

## ◆ rb_file_load_ok()

int rb_file_load_ok | ( | const char * |  | ) |

Definition at line 6222 of file file.c.

## ◆ rb_fix_aref()

VALUE rb_fix_aref | ( | VALUE | fix,
|  | VALUE | idx
| ) |  |

Definition at line 4642 of file numeric.c.

## ◆ rb_fix_plus()

VALUE rb_fix_plus | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3604 of file numeric.c.

## ◆ rb_flo_div_flo()

VALUE rb_flo_div_flo | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1110 of file numeric.c.

## ◆ rb_float_abs()

VALUE rb_float_abs | ( | VALUE | flt | ) |

Definition at line 1698 of file numeric.c.

## ◆ rb_float_ceil()

VALUE rb_float_ceil | ( | VALUE | num,
|  | int | ndigits
| ) |  |

Definition at line 2017 of file numeric.c.

## ◆ rb_float_cmp()

int rb_float_cmp | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1487 of file numeric.c.

## ◆ rb_float_denominator()

VALUE rb_float_denominator | ( | VALUE | x | ) |

Definition at line 2104 of file rational.c.

## ◆ rb_float_div()

VALUE rb_float_div | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1126 of file numeric.c.

Referenced by fun2().

## ◆ rb_float_eql()

VALUE rb_float_eql | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1654 of file numeric.c.

## ◆ rb_float_equal()

VALUE rb_float_equal | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1383 of file numeric.c.

## ◆ rb_float_gt()

VALUE rb_float_gt | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1503 of file numeric.c.

## ◆ rb_float_mul()

VALUE rb_float_mul | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1072 of file numeric.c.

## ◆ rb_float_numerator()

VALUE rb_float_numerator | ( | VALUE | x | ) |

Definition at line 2081 of file rational.c.

## ◆ rb_float_plus()

VALUE rb_float_plus | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1024 of file numeric.c.

## ◆ rb_float_pow()

VALUE rb_float_pow | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1298 of file numeric.c.

## ◆ rb_float_uminus()

VALUE rb_float_uminus | ( | VALUE | num | ) |

Definition at line 1011 of file numeric.c.

## ◆ rb_fork_async_signal_safe()

rb_pid_t rb_fork_async_signal_safe | ( | int * | status,
|  | int(*)(void *, char *, size_t) | chfunc,
|  | void * | charg,
|  | VALUE | fds,
|  | char * | errmsg,
|  | size_t | errmsg_buflen
| ) |  |

## ◆ rb_fork_ruby()

rb_pid_t rb_fork_ruby | ( | int * | status | ) |

## ◆ rb_fstring()

VALUE rb_fstring | ( | VALUE |  | ) |

Definition at line 312 of file string.c.

Referenced by rb_hash_key_str(), rb_iseq_pathobj_new(), rb_node_case_when_optimizable_literal(), and rb_parser_lex_state_name().

## ◆ rb_fstring_cstr()

VALUE rb_fstring_cstr | ( | const char * | str | ) |

Definition at line 410 of file string.c.

## ◆ rb_fstring_new()

VALUE rb_fstring_new | ( | const char * | ptr,
|  | long | len
| ) |  |

Definition at line 396 of file string.c.

## ◆ rb_func_lambda_new()

VALUE rb_func_lambda_new | ( | rb_block_call_func_t | func,
|  | VALUE | val,
|  | int | min_argc,
|  | int | max_argc
| ) |  |

Definition at line 735 of file proc.c.

## ◆ rb_func_proc_new()

VALUE rb_func_proc_new | ( | rb_block_call_func_t | func,
|  | VALUE | val
| ) |  |

Definition at line 728 of file proc.c.

## ◆ rb_gc_for_fd()

int rb_gc_for_fd | ( | int | err | ) |

Definition at line 953 of file io.c.

## ◆ rb_gc_free_dsymbol()

void rb_gc_free_dsymbol | ( | VALUE |  | ) |

Definition at line 678 of file symbol.c.

## ◆ rb_gc_mark_global_tbl()

void rb_gc_mark_global_tbl | ( | void |  | ) |

Definition at line 434 of file variable.c.

## ◆ rb_gc_mark_values()

void rb_gc_mark_values | ( | long | n,
|  | const VALUE * | values
| ) |  |

Definition at line 4715 of file gc.c.

## ◆ rb_gc_mark_vm_stack_values()

void rb_gc_mark_vm_stack_values | ( | long | n,
|  | const VALUE * | values
| ) |  |

Definition at line 4739 of file gc.c.

## ◆ rb_gc_verify_internal_consistency()

void rb_gc_verify_internal_consistency | ( | void |  | ) |

Definition at line 6202 of file gc.c.

## ◆ rb_gc_writebarrier_remember()

void rb_gc_writebarrier_remember | ( | VALUE | obj | ) |

Definition at line 6875 of file gc.c.

## ◆ rb_gcd()

VALUE rb_gcd | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1894 of file rational.c.

Referenced by rb_int_fdiv_double().

## ◆ rb_gcd_normal()

VALUE rb_gcd_normal | ( | VALUE | self,
|  | VALUE | other
| ) |  |

Definition at line 344 of file rational.c.

## ◆ rb_generic_ivar_memsize()

size_t rb_generic_ivar_memsize | ( | VALUE |  | ) |

Definition at line 1010 of file variable.c.

## ◆ rb_get_coverage_mode()

int rb_get_coverage_mode | ( | void |  | ) |

Definition at line 5483 of file thread.c.

Referenced by rb_iseq_new_top().

## ◆ rb_get_coverages()

VALUE rb_get_coverages | ( | void |  | ) |

Definition at line 5477 of file thread.c.

Referenced by rb_iseq_new_top().

## ◆ rb_get_expanded_load_path()

VALUE rb_get_expanded_load_path | ( | void |  | ) |

Definition at line 92 of file load.c.

## ◆ rb_get_next_signal()

int rb_get_next_signal | ( | void |  | ) |

Definition at line 756 of file signal.c.

## ◆ rb_get_path_check_convert()

VALUE rb_get_path_check_convert | ( | VALUE |  | ) |

Definition at line 211 of file file.c.

## ◆ rb_get_path_check_to_string()

VALUE rb_get_path_check_to_string | ( | VALUE |  | ) |

Definition at line 196 of file file.c.

## ◆ rb_global_entry()

struct rb_global_entry* rb_global_entry | ( | ID |  | ) |

Definition at line 326 of file variable.c.

## ◆ rb_grantpt()

int rb_grantpt | ( | int | fd | ) |

Definition at line 1597 of file signal.c.

## ◆ rb_gvar_defined()

VALUE rb_gvar_defined | ( | struct rb_global_entry * |  | ) |

Definition at line 695 of file variable.c.

## ◆ rb_gvar_get()

VALUE rb_gvar_get | ( | struct rb_global_entry * |  | ) |

Definition at line 619 of file variable.c.

## ◆ rb_gvar_getter_function_of()

rb_gvar_getter_t* rb_gvar_getter_function_of | ( | const struct rb_global_entry * |  | ) |

Definition at line 702 of file variable.c.

## ◆ rb_gvar_is_traced()

bool rb_gvar_is_traced | ( | const struct rb_global_entry * |  | ) |

Definition at line 714 of file variable.c.

## ◆ rb_gvar_readonly_setter()

void rb_gvar_readonly_setter | ( | VALUE | v,
|  | ID | id,
|  | VALUE * | _
| ) |  |

Definition at line 412 of file variable.c.

## ◆ rb_gvar_set()

VALUE rb_gvar_set | ( | struct rb_global_entry * | ,
|  | VALUE |
| ) |  |

Definition at line 654 of file variable.c.

## ◆ rb_gvar_setter_function_of()

rb_gvar_setter_t* rb_gvar_setter_function_of | ( | const struct rb_global_entry * |  | ) |

Definition at line 708 of file variable.c.

## ◆ rb_hash_add_new_element()

int rb_hash_add_new_element | ( | VALUE | hash,
|  | VALUE | key,
|  | VALUE | val
| ) |  |

Definition at line 4472 of file hash.c.

## ◆ rb_hash_compare_by_id_p()

VALUE rb_hash_compare_by_id_p | ( | VALUE | hash | ) |

Definition at line 4192 of file hash.c.

## ◆ rb_hash_default_value()

VALUE rb_hash_default_value | ( | VALUE | hash,
|  | VALUE | key
| ) |  |

Definition at line 1917 of file hash.c.

## ◆ rb_hash_delete_entry()

VALUE rb_hash_delete_entry | ( | VALUE | hash,
|  | VALUE | key
| ) |  |

Definition at line 2253 of file hash.c.

## ◆ rb_hash_has_key()

VALUE rb_hash_has_key | ( | VALUE | hash,
|  | VALUE | key
| ) |  |

Definition at line 3432 of file hash.c.

## ◆ rb_hash_key_str()

VALUE rb_hash_key_str | ( | VALUE |  | ) |

Definition at line 2729 of file hash.c.

## ◆ rb_hash_keys()

VALUE rb_hash_keys | ( | VALUE | hash | ) |

Definition at line 3334 of file hash.c.

## ◆ rb_hash_new_with_size()

VALUE rb_hash_new_with_size | ( | st_index_t | size | ) |

Definition at line 1507 of file hash.c.

## ◆ rb_hash_proc()

st_index_t rb_hash_proc | ( | st_index_t | hash,
|  | VALUE | proc
| ) |  |

Definition at line 1302 of file proc.c.

## ◆ rb_hash_rehash()

VALUE rb_hash_rehash | ( | VALUE | hash | ) |

Definition at line 1885 of file hash.c.

## ◆ rb_hash_resurrect()

VALUE rb_hash_resurrect | ( | VALUE | hash | ) |

Definition at line 1548 of file hash.c.

## ◆ rb_hash_set_default_proc()

VALUE rb_hash_set_default_proc | ( | VALUE | hash,
|  | VALUE | proc
| ) |  |

Definition at line 2169 of file hash.c.

## ◆ rb_hash_set_pair()

VALUE rb_hash_set_pair | ( | VALUE | hash,
|  | VALUE | pair
| ) |  |

Definition at line 3257 of file hash.c.

## ◆ rb_hash_st_table_set()

void rb_hash_st_table_set | ( | VALUE | hash,
|  | st_table * | st
| ) |  |

Definition at line 558 of file hash.c.

## ◆ rb_hash_stlike_delete()

int rb_hash_stlike_delete | ( | VALUE | hash,
|  | st_data_t * | pkey,
|  | st_data_t * | pval
| ) |  |

Definition at line 2237 of file hash.c.

## ◆ rb_hash_stlike_foreach()

RUBY_SYMBOL_EXPORT_BEGIN int rb_hash_stlike_foreach | ( | VALUE | hash,
|  | st_foreach_callback_func * | func,
|  | st_data_t | arg
| ) |  |

Definition at line 1420 of file hash.c.

## ◆ rb_hash_stlike_foreach_with_replace()

RUBY_SYMBOL_EXPORT_END int rb_hash_stlike_foreach_with_replace | ( | VALUE | hash,
|  | st_foreach_check_callback_func * | func,
|  | st_update_callback_func * | replace,
|  | st_data_t | arg
| ) |  |

Definition at line 1431 of file hash.c.

## ◆ rb_hash_stlike_lookup()

int rb_hash_stlike_lookup | ( | VALUE | hash,
|  | st_data_t | key,
|  | st_data_t * | pval
| ) |  |

Definition at line 1944 of file hash.c.

## ◆ rb_hash_stlike_update()

int rb_hash_stlike_update | ( | VALUE | hash,
|  | st_data_t | key,
|  | st_update_callback_func | func,
|  | st_data_t | arg
| ) |  |

Definition at line 1624 of file hash.c.

## ◆ rb_hash_tbl_raw()

struct st_table* rb_hash_tbl_raw | ( | VALUE | hash | ) |

Definition at line 1567 of file hash.c.

## ◆ rb_hash_values()

VALUE rb_hash_values | ( | VALUE | hash | ) |

Definition at line 3381 of file hash.c.

## ◆ rb_home_dir_of()

VALUE rb_home_dir_of | ( | VALUE | user,
|  | VALUE | result
| ) |  |

Definition at line 3536 of file file.c.

## ◆ rb_id_encoding()

ID rb_id_encoding | ( | void |  | ) |

Definition at line 759 of file encoding.c.

## ◆ rb_id_quote_unprintable()

VALUE rb_id_quote_unprintable | ( | ID |  | ) |

Definition at line 10735 of file string.c.

## ◆ rb_ident_hash_new()

VALUE rb_ident_hash_new | ( | void |  | ) |

Definition at line 4203 of file hash.c.

## ◆ rb_imemo_new()

VALUE rb_imemo_new | ( | enum imemo_type | type,
|  | VALUE | v1,
|  | VALUE | v2,
|  | VALUE | v3,
|  | VALUE | v0
| ) |  |

Definition at line 2306 of file gc.c.

## ◆ rb_imemo_tmpbuf_parser_heap()

rb_imemo_tmpbuf_t* rb_imemo_tmpbuf_parser_heap | ( | void * | buf,
|  | rb_imemo_tmpbuf_t * | old_heap,
|  | size_t | cnt
| ) |  |

Definition at line 2326 of file gc.c.

## ◆ rb_init_identtable()

st_table* rb_init_identtable | ( | void |  | ) |

Definition at line 4211 of file hash.c.

## ◆ rb_insns_name()

const char* rb_insns_name | ( | int | i | ) |

Definition at line 8761 of file compile.c.

## ◆ rb_insns_name_array()

VALUE rb_insns_name_array | ( | void |  | ) |

Definition at line 8767 of file compile.c.

## ◆ rb_int2str()

VALUE rb_int2str | ( | VALUE | num,
|  | int | base
| ) |  |

Definition at line 3562 of file numeric.c.

## ◆ rb_int_abs()

VALUE rb_int_abs | ( | VALUE | num | ) |

Definition at line 4855 of file numeric.c.

Referenced by rb_rational_abs().

## ◆ rb_int_and()

VALUE rb_int_and | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4467 of file numeric.c.

## ◆ rb_int_cmp()

VALUE rb_int_cmp | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4212 of file numeric.c.

Referenced by rb_rational_cmp().

## ◆ rb_int_div()

VALUE rb_int_div | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3816 of file numeric.c.

## ◆ rb_int_divmod()

VALUE rb_int_divmod | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3963 of file numeric.c.

## ◆ rb_int_equal()

VALUE rb_int_equal | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4163 of file numeric.c.

## ◆ rb_int_fdiv_double()

double rb_int_fdiv_double | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3728 of file numeric.c.

## ◆ rb_int_ge()

VALUE rb_int_ge | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4292 of file numeric.c.

## ◆ rb_int_gt()

VALUE rb_int_gt | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4252 of file numeric.c.

## ◆ rb_int_idiv()

VALUE rb_int_idiv | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3843 of file numeric.c.

## ◆ rb_int_lshift()

VALUE rb_int_lshift | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4583 of file numeric.c.

## ◆ rb_int_minus()

VALUE rb_int_minus | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3649 of file numeric.c.

## ◆ rb_int_modulo()

VALUE rb_int_modulo | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3886 of file numeric.c.

Referenced by rb_io_ungetbyte().

## ◆ rb_int_mul()

VALUE rb_int_mul | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3699 of file numeric.c.

## ◆ rb_int_negative_p()

int rb_int_negative_p | ( | VALUE | num | ) |

Definition at line 307 of file numeric.c.

Referenced by rb_int_powm().

## ◆ rb_int_odd_p()

VALUE rb_int_odd_p | ( | VALUE | num | ) |

Definition at line 3222 of file numeric.c.

## ◆ rb_int_parse_cstr()

VALUE rb_int_parse_cstr | ( | const char * | str,
|  | ssize_t | len,
|  | char ** | endp,
|  | size_t * | ndigits,
|  | int | base,
|  | int | flags
| ) |  |

Definition at line 4041 of file bignum.c.

## ◆ rb_int_plus()

VALUE rb_int_plus | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 3610 of file numeric.c.

## ◆ rb_int_positive_p()

int rb_int_positive_p | ( | VALUE | num | ) |

Definition at line 301 of file numeric.c.

## ◆ rb_int_positive_pow()

VALUE rb_int_positive_pow | ( | long | x,
|  | unsigned long | y
| ) |  |

Definition at line 4033 of file numeric.c.

## ◆ rb_int_pow()

VALUE rb_int_pow | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4106 of file numeric.c.

Referenced by rb_int_powm().

## ◆ rb_int_powm()

VALUE rb_int_powm | ( | int const | argc,
|  | VALUE *const | argv,
|  | VALUE const | num
| ) |  |

Definition at line 7112 of file bignum.c.

## ◆ rb_int_succ()

VALUE rb_int_succ | ( | VALUE | num | ) |

Definition at line 3321 of file numeric.c.

## ◆ rb_int_uminus()

VALUE rb_int_uminus | ( | VALUE | num | ) |

Definition at line 3479 of file numeric.c.

Referenced by rb_int_powm().

## ◆ rb_integer_float_cmp()

VALUE rb_integer_float_cmp | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 5325 of file bignum.c.

## ◆ rb_integer_float_eq()

VALUE rb_integer_float_eq | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 5386 of file bignum.c.

## ◆ rb_invcmp()

VALUE rb_invcmp | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 47 of file compar.c.

## ◆ rb_io_flush_raw()

VALUE rb_io_flush_raw | ( | VALUE | ,
|  | int |
| ) |  |

Definition at line 1864 of file io.c.

## ◆ rb_io_fptr_finalize_internal()

void rb_io_fptr_finalize_internal | ( | void * | ptr | ) |

Definition at line 4730 of file io.c.

## ◆ rb_is_class_name()

int rb_is_class_name | ( | VALUE | name | ) |

Definition at line 1056 of file symbol.c.

## ◆ rb_is_const_name()

int rb_is_const_name | ( | VALUE | name | ) |

Definition at line 1050 of file symbol.c.

## ◆ rb_is_instance_name()

int rb_is_instance_name | ( | VALUE | name | ) |

Definition at line 1062 of file symbol.c.

## ◆ rb_is_local_name()

int rb_is_local_name | ( | VALUE | name | ) |

Definition at line 1068 of file symbol.c.

## ◆ rb_iv_tbl_copy()

void rb_iv_tbl_copy | ( | VALUE | dst,
|  | VALUE | src
| ) |  |

Definition at line 3332 of file variable.c.

## ◆ rb_ivar_lookup()

VALUE rb_ivar_lookup | ( | VALUE | obj,
|  | ID | id,
|  | VALUE | undef
| ) |  |

Definition at line 1035 of file variable.c.

## ◆ rb_lambda_call()

VALUE rb_lambda_call | ( | VALUE | obj,
|  | ID | mid,
|  | int | argc,
|  | const VALUE * | argv,
|  | rb_block_call_func_t | bl_proc,
|  | int | min_argc,
|  | int | max_argc,
|  | VALUE | data2
| ) |  |

Definition at line 1501 of file vm_eval.c.

## ◆ rb_last_status_clear()

void rb_last_status_clear | ( | void |  | ) |

Definition at line 554 of file process.c.

## ◆ rb_lcm()

VALUE rb_lcm | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 1913 of file rational.c.

## ◆ rb_local_defined()

int rb_local_defined | ( | ID | ,
|  | const struct rb_iseq_struct * |
| ) |  |

## ◆ rb_make_backtrace()

VALUE rb_make_backtrace | ( | void |  | ) |

Definition at line 872 of file vm_backtrace.c.

## ◆ rb_make_internal_id()

ID rb_make_internal_id | ( | void |  | ) |

Definition at line 810 of file symbol.c.

## ◆ rb_mark_end_proc()

void rb_mark_end_proc | ( | void |  | ) |

Definition at line 78 of file eval_jump.c.

## ◆ rb_mark_generic_ivar()

void rb_mark_generic_ivar | ( | VALUE |  | ) |

Definition at line 973 of file variable.c.

## ◆ rb_match_count()

int rb_match_count | ( | VALUE | match | ) |

Definition at line 1299 of file re.c.

## ◆ rb_match_nth_defined()

int rb_match_nth_defined | ( | int | nth,
|  | VALUE | match
| ) |  |

Definition at line 1309 of file re.c.

## ◆ rb_match_unbusy()

void rb_match_unbusy | ( | VALUE |  | ) |

Definition at line 1293 of file re.c.

## ◆ rb_math_atan2()

VALUE rb_math_atan2 | ( | VALUE | ,
|  | VALUE |
| ) |  |

Referenced by rb_complex_arg().

## ◆ rb_math_cos()

VALUE rb_math_cos | ( | VALUE |  | ) |

## ◆ rb_math_cosh()

VALUE rb_math_cosh | ( | VALUE |  | ) |

## ◆ rb_math_exp()

VALUE rb_math_exp | ( | VALUE |  | ) |

## ◆ rb_math_hypot()

VALUE rb_math_hypot | ( | VALUE | ,
|  | VALUE |
| ) |  |

## ◆ rb_math_log()

VALUE rb_math_log | ( | int | argc,
|  | const VALUE * | argv
| ) |  |

Definition at line 459 of file math.c.

Referenced by imp1().

## ◆ rb_math_sin()

VALUE rb_math_sin | ( | VALUE |  | ) |

## ◆ rb_math_sinh()

VALUE rb_math_sinh | ( | VALUE |  | ) |

## ◆ rb_maygvl_fd_fix_cloexec()

void rb_maygvl_fd_fix_cloexec | ( | int | fd | ) |

Definition at line 245 of file io.c.

## ◆ rb_mutex_allow_trap()

void rb_mutex_allow_trap | ( | VALUE | self,
|  | int | val
| ) |  |

Definition at line 545 of file thread_sync.c.

## ◆ rb_mutex_owned_p()

VALUE rb_mutex_owned_p | ( | VALUE | self | ) |

Definition at line 345 of file thread_sync.c.

## ◆ rb_mv_generic_ivar()

void rb_mv_generic_ivar | ( | VALUE | src,
|  | VALUE | dst
| ) |  |

Definition at line 983 of file variable.c.

## ◆ rb_next_class_serial()

rb_serial_t rb_next_class_serial | ( | void |  | ) |

Definition at line 358 of file vm.c.

## ◆ rb_nmin_run()

VALUE rb_nmin_run | ( | VALUE | obj,
|  | VALUE | num,
|  | int | by,
|  | int | rev,
|  | int | ary
| ) |  |

Definition at line 1568 of file enum.c.

## ◆ rb_num_get_rounding_option()

enum ruby_num_rounding_mode rb_num_get_rounding_option | ( | VALUE | opts | ) |

Definition at line 200 of file numeric.c.

## ◆ rb_num_negative_p()

int rb_num_negative_p | ( | VALUE |  | ) |

Definition at line 313 of file numeric.c.

## ◆ rb_num_pow()

VALUE rb_num_pow | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 4118 of file numeric.c.

## ◆ rb_num_to_uint()

int rb_num_to_uint | ( | VALUE | val,
|  | unsigned int * | ret
| ) |  |

Definition at line 244 of file numeric.c.

Referenced by rb_str_concat().

## ◆ rb_numeric_quo()

VALUE rb_numeric_quo | ( | VALUE | x,
|  | VALUE | y
| ) |  |

Definition at line 2014 of file rational.c.

Referenced by fun2().

## ◆ rb_obj_as_string_result()

VALUE rb_obj_as_string_result | ( | VALUE | str,
|  | VALUE | obj
| ) |  |

Definition at line 1452 of file string.c.

## ◆ rb_obj_gc_flags()

size_t rb_obj_gc_flags | ( | VALUE | ,
|  | ID | [],
|  | size_t |
| ) |  |

## ◆ rb_obj_info_dump()

void rb_obj_info_dump | ( | VALUE | obj | ) |

Definition at line 11661 of file gc.c.

## ◆ rb_obj_info_dump_loc()

void rb_obj_info_dump_loc | ( | VALUE | obj,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

Definition at line 11668 of file gc.c.

## ◆ rb_obj_is_fiber()

VALUE rb_obj_is_fiber | ( | VALUE |  | ) |

Definition at line 1041 of file cont.c.

## ◆ rb_obj_is_mutex()

VALUE rb_obj_is_mutex | ( | VALUE | obj | ) |

Definition at line 131 of file thread_sync.c.

## ◆ rb_obj_is_thread()

VALUE rb_obj_is_thread | ( | VALUE | obj | ) |

Definition at line 2655 of file vm.c.

## ◆ rb_obj_memsize_of()

size_t rb_obj_memsize_of | ( | VALUE |  | ) |

Definition at line 3934 of file gc.c.

## ◆ rb_objspace_data_type_name()

const RUBY_SYMBOL_EXPORT_BEGIN char* rb_objspace_data_type_name | ( | VALUE | obj | ) |

Definition at line 2430 of file gc.c.

## ◆ rb_objspace_set_event_hook()

void rb_objspace_set_event_hook | ( | const rb_event_flag_t | event | ) |

Definition at line 2080 of file gc.c.

## ◆ rb_parser_load_file()

RUBY_SYMBOL_EXPORT_END void* rb_parser_load_file | ( | VALUE | parser,
|  | VALUE | name
| ) |  |

Definition at line 2193 of file ruby.c.

## ◆ rb_parser_set_context()

RUBY_SYMBOL_EXPORT_BEGIN VALUE rb_parser_set_context | ( | VALUE | ,
|  | const struct rb_iseq_struct * | ,
|  | int |
| ) |  |

Definition at line 19234 of file ripper.c.

## ◆ rb_parser_set_yydebug()

VALUE rb_parser_set_yydebug | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 19329 of file ripper.c.

## ◆ rb_print_backtrace()

void rb_print_backtrace | ( | void |  | ) |

Definition at line 750 of file vm_dump.c.

Referenced by rb_fatal().

## ◆ rb_proc_location()

VALUE rb_proc_location | ( | VALUE | self | ) |

Definition at line 1256 of file proc.c.

## ◆ rb_rational_abs()

VALUE rb_rational_abs | ( | VALUE | self | ) |

Definition at line 1255 of file rational.c.

## ◆ rb_rational_canonicalize()

VALUE rb_rational_canonicalize | ( | VALUE | x | ) |

Definition at line 2034 of file rational.c.

## ◆ rb_rational_cmp()

VALUE rb_rational_cmp | ( | VALUE | self,
|  | VALUE | other
| ) |  |

Definition at line 1097 of file rational.c.

## ◆ rb_rational_mul()

VALUE rb_rational_mul | ( | VALUE | self,
|  | VALUE | other
| ) |  |

Definition at line 874 of file rational.c.

## ◆ rb_rational_plus()

VALUE rb_rational_plus | ( | VALUE | self,
|  | VALUE | other
| ) |  |

Definition at line 737 of file rational.c.

## ◆ rb_rational_pow()

VALUE rb_rational_pow | ( | VALUE | self,
|  | VALUE | other
| ) |  |

Definition at line 1002 of file rational.c.

Referenced by rb_num_pow().

## ◆ rb_rational_reciprocal()

VALUE rb_rational_reciprocal | ( | VALUE | x | ) |

Definition at line 1875 of file rational.c.

## ◆ rb_rational_uminus()

VALUE rb_rational_uminus | ( | VALUE | self | ) |

Definition at line 624 of file rational.c.

## ◆ rb_realpath_internal()

VALUE rb_realpath_internal | ( | VALUE | basedir,
|  | VALUE | path,
|  | int | strict
| ) |  |

Definition at line 4409 of file file.c.

## ◆ rb_refinement_module_get_refined_class()

VALUE rb_refinement_module_get_refined_class | ( | VALUE | module | ) |

Definition at line 1480 of file eval.c.

## ◆ rb_reg_check_preprocess()

VALUE rb_reg_check_preprocess | ( | VALUE |  | ) |

Definition at line 2706 of file re.c.

## ◆ rb_reg_compile()

VALUE rb_reg_compile | ( | VALUE | str,
|  | int | options,
|  | const char * | sourcefile,
|  | int | sourceline
| ) |  |

Definition at line 2952 of file re.c.

## ◆ rb_reg_match_p()

VALUE rb_reg_match_p | ( | VALUE | re,
|  | VALUE | str,
|  | long | pos
| ) |  |

Definition at line 3339 of file re.c.

## ◆ rb_reg_new_ary()

VALUE rb_reg_new_ary | ( | VALUE | ary,
|  | int | options
| ) |  |

Definition at line 2926 of file re.c.

## ◆ rb_reg_search0()

long rb_reg_search0 | ( | VALUE | ,
|  | VALUE | ,
|  | long | ,
|  | int | ,
|  | int |
| ) |  |

Definition at line 1530 of file re.c.

## ◆ rb_reg_start_with_p()

bool rb_reg_start_with_p | ( | VALUE | re,
|  | VALUE | str
| ) |  |

Definition at line 1618 of file re.c.

## ◆ rb_require_internal()

int rb_require_internal | ( | VALUE | fname | ) |

Definition at line 1067 of file load.c.

## ◆ rb_search_class_path()

VALUE rb_search_class_path | ( | VALUE |  | ) |

Definition at line 175 of file variable.c.

Referenced by rb_vm_bugreport().

## ◆ rb_size_mul_add_or_raise()

size_t rb_size_mul_add_or_raise | ( | size_t | ,
|  | size_t | ,
|  | size_t | ,
|  | VALUE |
| ) |  |

Definition at line 219 of file gc.c.

## ◆ rb_size_mul_or_raise()

size_t rb_size_mul_or_raise | ( | size_t | ,
|  | size_t | ,
|  | VALUE |
| ) |  |

Definition at line 192 of file gc.c.

## ◆ rb_source_location()

VALUE rb_source_location | ( | int * | pline | ) |

Definition at line 1360 of file vm.c.

## ◆ rb_source_location_cstr()

const char* rb_source_location_cstr | ( | int * | pline | ) |

Definition at line 1376 of file vm.c.

Referenced by rb_bug(), rb_bug_for_fatal_signal(), and rb_set_safe_level().

## ◆ rb_stderr_tty_p()

int rb_stderr_tty_p | ( | void |  | ) |

Definition at line 7958 of file io.c.

Referenced by rb_error_write().

## ◆ rb_stdio_set_default_encoding()

void rb_stdio_set_default_encoding | ( | void |  | ) |

Definition at line 11758 of file io.c.

## ◆ rb_str2big_karatsuba()

VALUE rb_str2big_karatsuba | ( | VALUE | arg,
|  | int | base,
|  | int | badcheck
| ) |  |

Definition at line 4352 of file bignum.c.

## ◆ rb_str2big_normal()

VALUE rb_str2big_normal | ( | VALUE | arg,
|  | int | base,
|  | int | badcheck
| ) |  |

Definition at line 4310 of file bignum.c.

## ◆ rb_str2big_poweroftwo()

VALUE rb_str2big_poweroftwo | ( | VALUE | arg,
|  | int | base,
|  | int | badcheck
| ) |  |

Definition at line 4274 of file bignum.c.

## ◆ rb_str_buf_cat_escaped_char()

int rb_str_buf_cat_escaped_char | ( | VALUE | result,
|  | unsigned int | c,
|  | int | unicode_p
| ) |  |

Definition at line 5815 of file string.c.

## ◆ rb_str_change_terminator_length()

void rb_str_change_terminator_length | ( | VALUE | str,
|  | const int | oldtermlen,
|  | const int | termlen
| ) |  |

Definition at line 2230 of file string.c.

## ◆ rb_str_chomp_string()

VALUE rb_str_chomp_string | ( | VALUE | str,
|  | VALUE | chomp
| ) |  |

Definition at line 8921 of file string.c.

## ◆ rb_str_convert_to_inum()

VALUE rb_str_convert_to_inum | ( | VALUE | str,
|  | int | base,
|  | int | badcheck,
|  | int | raise_exception
| ) |  |

Definition at line 4246 of file bignum.c.

## ◆ rb_str_eql()

VALUE rb_str_eql | ( | VALUE | str1,
|  | VALUE | str2
| ) |  |

Definition at line 3287 of file string.c.

## ◆ rb_str_fill_terminator()

char* rb_str_fill_terminator | ( | VALUE | str,
|  | const int | termlen
| ) |  |

Definition at line 2306 of file string.c.

## ◆ rb_str_locktmp_ensure()

VALUE rb_str_locktmp_ensure | ( | VALUE | str,
|  | VALUE(*)(VALUE) | func,
|  | VALUE | arg
| ) |  |

Definition at line 2685 of file string.c.

## ◆ rb_str_memsize()

size_t rb_str_memsize | ( | VALUE |  | ) |

Definition at line 1371 of file string.c.

## ◆ rb_str_opt_plus()

VALUE rb_str_opt_plus | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 1925 of file string.c.

## ◆ rb_str_quote_unprintable()

VALUE rb_str_quote_unprintable | ( | VALUE |  | ) |

Definition at line 10714 of file string.c.

## ◆ rb_str_symname_p()

int rb_str_symname_p | ( | VALUE |  | ) |

Definition at line 10695 of file string.c.

## ◆ rb_str_tmp_frozen_acquire()

VALUE rb_str_tmp_frozen_acquire | ( | VALUE | str | ) |

Definition at line 1210 of file string.c.

## ◆ rb_str_tmp_frozen_release()

void rb_str_tmp_frozen_release | ( | VALUE | str,
|  | VALUE | tmp
| ) |  |

Definition at line 1217 of file string.c.

## ◆ rb_str_to_cstr()

char* rb_str_to_cstr | ( | VALUE | str | ) |

Definition at line 2284 of file string.c.

## ◆ rb_str_upto_each()

VALUE rb_str_upto_each | ( | VALUE | ,
|  | VALUE | ,
|  | int | ,
|  | int(*)(VALUE, VALUE) | each,
|  | VALUE |
| ) |  |

Definition at line 4263 of file string.c.

## ◆ rb_str_upto_endless_each()

VALUE rb_str_upto_endless_each | ( | VALUE | ,
|  | int(*)(VALUE, VALUE) | each,
|  | VALUE |
| ) |  |

Definition at line 4345 of file string.c.

## ◆ rb_strterm_mark()

void rb_strterm_mark | ( | VALUE | obj | ) |

Definition at line 765 of file ripper.c.

## ◆ rb_struct_init_copy()

VALUE rb_struct_init_copy | ( | VALUE | copy,
|  | VALUE | s
| ) |  |

Definition at line 977 of file struct.c.

## ◆ rb_struct_lookup()

VALUE rb_struct_lookup | ( | VALUE | s,
|  | VALUE | idx
| ) |  |

Definition at line 1104 of file struct.c.

## ◆ rb_struct_s_keyword_init()

VALUE rb_struct_s_keyword_init | ( | VALUE | klass | ) |

Definition at line 52 of file struct.c.

## ◆ rb_suppress_tracing()

VALUE rb_suppress_tracing | ( | VALUE(*)(VALUE) | func,
|  | VALUE | arg
| ) |  |

Definition at line 409 of file vm_trace.c.

## ◆ rb_sym_intern_ascii()

VALUE rb_sym_intern_ascii | ( | const char * | ptr,
|  | long | len
| ) |  |

Definition at line 1032 of file symbol.c.

## ◆ rb_sym_intern_ascii_cstr()

VALUE rb_sym_intern_ascii_cstr | ( | const char * | ptr | ) |

Definition at line 1038 of file symbol.c.

## ◆ rb_sym_proc_call()

VALUE rb_sym_proc_call | ( | ID | mid,
|  | int | argc,
|  | const VALUE * | argv,
|  | int | kw_splat,
|  | VALUE | passed_proc
| ) |  |

Definition at line 10816 of file string.c.

## ◆ rb_sym_to_proc()

VALUE rb_sym_to_proc | ( | VALUE | sym | ) |

Definition at line 1312 of file proc.c.

## ◆ rb_thread_execute_interrupts()

void rb_thread_execute_interrupts | ( | VALUE | th | ) |

Definition at line 2284 of file thread.c.

## ◆ rb_thread_io_blocking_region()

VALUE rb_thread_io_blocking_region | ( | rb_blocking_function_t * | func,
|  | void * | data1,
|  | int | fd
| ) |  |

Definition at line 1595 of file thread.c.

## ◆ rb_thread_shield_destroy()

VALUE rb_thread_shield_destroy | ( | VALUE | self | ) |

Definition at line 4846 of file thread.c.

## ◆ rb_thread_shield_new()

VALUE rb_thread_shield_new | ( | void |  | ) |

Definition at line 4790 of file thread.c.

## ◆ rb_thread_shield_release()

VALUE rb_thread_shield_release | ( | VALUE | self | ) |

Definition at line 4835 of file thread.c.

## ◆ rb_thread_shield_wait()

VALUE rb_thread_shield_wait | ( | VALUE | self | ) |

Definition at line 4806 of file thread.c.

## ◆ rb_thread_to_be_killed()

int rb_thread_to_be_killed | ( | VALUE | thread | ) |

Definition at line 2472 of file thread.c.

## ◆ rb_time_timeval()

struct timeval rb_time_timeval | ( | VALUE |  | ) |

Definition at line 2675 of file time.c.

## ◆ rb_to_array_type()

VALUE rb_to_array_type | ( | VALUE | obj | ) |

Definition at line 902 of file array.c.

## ◆ rb_to_hash_type()

VALUE rb_to_hash_type | ( | VALUE | obj | ) |

Definition at line 1818 of file hash.c.

## ◆ rb_to_symbol_type()

VALUE rb_to_symbol_type | ( | VALUE | obj | ) |

Definition at line 1044 of file symbol.c.

## ◆ rb_type_str()

const char* rb_type_str | ( | enum ruby_value_type | type | ) |

Definition at line 572 of file vm_eval.c.

Referenced by rb_insn_operand_intern().

## ◆ rb_uninterruptible()

VALUE rb_uninterruptible | ( | VALUE(*)(VALUE) | b_proc,
|  | VALUE | data
| ) |  |

Definition at line 5554 of file thread.c.

## ◆ rb_vm_add_root_module()

int rb_vm_add_root_module | ( | ID | id,
|  | VALUE | module
| ) |  |

Definition at line 2312 of file vm.c.

Referenced by rb_define_class(), rb_define_class_id_under(), and rb_define_module().

## ◆ rb_vm_check_optimizable_mid()

int rb_vm_check_optimizable_mid | ( | VALUE | mid | ) |

Definition at line 1581 of file vm.c.

## ◆ rb_vm_check_redefinition_by_prepend()

void rb_vm_check_redefinition_by_prepend | ( | VALUE | klass | ) |

Definition at line 1631 of file vm.c.

## ◆ rb_vm_get_insns_address_table()

const void** rb_vm_get_insns_address_table | ( | void |  | ) |

Definition at line 126 of file vm_exec.c.

Referenced by rb_vm_encoded_insn_data_table_init().

## ◆ rb_vm_ifunc_new()

struct vm_ifunc* rb_vm_ifunc_new | ( | rb_block_call_func_t | func,
|  | const void * | data,
|  | int | min_argc,
|  | int | max_argc
| ) |  |

Definition at line 699 of file proc.c.

Referenced by rb_lambda_call().

## ◆ rb_vm_inc_const_missing_count()

void rb_vm_inc_const_missing_count | ( | void |  | ) |

Definition at line 386 of file vm.c.

Referenced by rb_const_missing().

## ◆ rb_vm_insn_addr2insn()

int rb_vm_insn_addr2insn | ( | const void * |  | ) |

Definition at line 3111 of file iseq.c.

## ◆ rb_vm_mark()

void rb_vm_mark | ( | void * | ptr | ) |

Definition at line 2243 of file vm.c.

## ◆ rb_vm_pop_cfunc_frame()

static void rb_vm_pop_cfunc_frame | ( | void |  | ) |

Definition at line 17268 of file rb_mjit_min_header-2.7.0.h.

References rb_callable_method_entry_struct::called_id, rb_execution_context_struct::cfp, cfp, rb_callable_method_entry_struct::def, EXEC_EVENT_HOOK, GET_EC, me, rb_method_definition_struct::original_id, rb_callable_method_entry_struct::owner, Qnil, rb_vm_frame_method_entry(), RUBY_DTRACE_CMETHOD_RETURN_HOOK, RUBY_EVENT_C_RETURN, and rb_control_frame_struct::self.

Referenced by rb_mod_const_missing().

## ◆ rb_vm_thread_backtrace()

VALUE rb_vm_thread_backtrace | ( | int | argc,
|  | const VALUE * | argv,
|  | VALUE | thval
| ) |  |

Definition at line 960 of file vm_backtrace.c.

## ◆ rb_vm_thread_backtrace_locations()

VALUE rb_vm_thread_backtrace_locations | ( | int | argc,
|  | const VALUE * | argv,
|  | VALUE | thval
| ) |  |

Definition at line 966 of file vm_backtrace.c.

## ◆ rb_wb_protected_newobj_of()

VALUE rb_wb_protected_newobj_of | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 2279 of file gc.c.

## ◆ rb_wb_unprotected_newobj_of()

VALUE rb_wb_unprotected_newobj_of | ( | VALUE | ,
|  | VALUE |
| ) |  |

Definition at line 2272 of file gc.c.

## ◆ rb_write_error_str()

void rb_write_error_str | ( | VALUE | mesg | ) |

Definition at line 7936 of file io.c.

## ◆ rb_xcalloc_mul_add_mul()

void* rb_xcalloc_mul_add_mul | ( | size_t | ,
|  | size_t | ,
|  | size_t | ,
|  | size_t |
| ) |  |

Definition at line 10177 of file gc.c.

## ◆ rb_xmalloc_mul_add()

void* rb_xmalloc_mul_add | ( | size_t | ,
|  | size_t | ,
|  | size_t |
| ) |  |

Definition at line 10156 of file gc.c.

## ◆ rb_xmalloc_mul_add_mul()

void* rb_xmalloc_mul_add_mul | ( | size_t | ,
|  | size_t | ,
|  | size_t | ,
|  | size_t |
| ) |  |

Definition at line 10170 of file gc.c.

## ◆ rb_xrealloc_mul_add()

void* rb_xrealloc_mul_add | ( | const void * | ,
|  | size_t | ,
|  | size_t | ,
|  | size_t |
| ) |  |

Definition at line 10163 of file gc.c.

## ◆ rb_yield_1()

VALUE rb_yield_1 | ( | VALUE | val | ) |

Definition at line 1231 of file vm_eval.c.

## ◆ rb_yield_force_blockarg()

VALUE rb_yield_force_blockarg | ( | VALUE | values | ) |

Definition at line 1309 of file vm_eval.c.

## ◆ rb_yield_refine_block()

VALUE rb_yield_refine_block | ( | VALUE | refinement,
|  | VALUE | refinements
| ) |  |

Definition at line 1883 of file vm_eval.c.

## ◆ ruby_debug_breakpoint()

void ruby_debug_breakpoint | ( | void |  | ) |

Definition at line 135 of file debug.c.

## ◆ ruby_dtoa()

char* ruby_dtoa | ( | double | d_,
|  | int | mode,
|  | int | ndigits,
|  | int * | decpt,
|  | int * | sign,
|  | char ** | rve
| ) |  |

## ◆ ruby_escaped_char()

const char* ruby_escaped_char | ( | int | c | ) |

Definition at line 5848 of file string.c.

## ◆ ruby_fill_random_bytes()

int ruby_fill_random_bytes | ( | void * | ,
|  | size_t | ,
|  | int |
| ) |  |

Definition at line 434 of file random.c.

## ◆ ruby_float_mod()

double ruby_float_mod | ( | double | x,
|  | double | y
| ) |  |

Definition at line 1207 of file numeric.c.

## ◆ ruby_float_step()

int ruby_float_step | ( | VALUE | from,
|  | VALUE | to,
|  | VALUE | step,
|  | int | excl,
|  | int | allow_endless
| ) |  |

Definition at line 2524 of file numeric.c.

## ◆ ruby_float_step_size()

double ruby_float_step_size | ( | double | beg,
|  | double | end,
|  | double | unit,
|  | int | excl
| ) |  |

Definition at line 2495 of file numeric.c.

## ◆ RUBY_FUNC_NONNULL() [1/2]

RUBY_FUNC_EXPORTED RUBY_FUNC_NONNULL | ( | 1 | ,
|  | bool | rb_method_basic_definition_p_with_ccstruct rb_call_data *, VALUE, ID
| ) |  |

## ◆ RUBY_FUNC_NONNULL() [2/2]

RUBY_FUNC_EXPORTED RUBY_FUNC_NONNULL | ( | 1 | ,
|  | VALUE | rb_funcallv_with_ccstruct rb_call_data *, VALUE, ID, int, const VALUE *
| ) |  |

## ◆ ruby_gc_set_params()

void ruby_gc_set_params | ( | void |  | ) |

Definition at line 9401 of file gc.c.

## ◆ ruby_hdtoa()

char* ruby_hdtoa | ( | double | d,
|  | const char * | xdigs,
|  | int | ndigits,
|  | int * | decpt,
|  | int * | sign,
|  | char ** | rve
| ) |  |

## ◆ ruby_init_setproctitle()

void ruby_init_setproctitle | ( | int | argc,
|  | char * | argv[]
| ) |  |

## ◆ ruby_is_fd_loadable()

int ruby_is_fd_loadable | ( | int | fd | ) |

Definition at line 6195 of file file.c.

## ◆ ruby_mimfree()

void ruby_mimfree | ( | void * | ptr | ) |

Definition at line 10217 of file gc.c.

## ◆ ruby_mimmalloc()

void* ruby_mimmalloc | ( | size_t | size | ) |

Definition at line 10187 of file gc.c.

## ◆ ruby_num_interval_step_size()

VALUE ruby_num_interval_step_size | ( | VALUE | from,
|  | VALUE | to,
|  | VALUE | step,
|  | int | excl
| ) |  |

Definition at line 2555 of file numeric.c.

## ◆ ruby_register_rollback_func_for_ensure()

void ruby_register_rollback_func_for_ensure | ( | VALUE(*)(VALUE) | ensure_func,
|  | VALUE(*)(VALUE) | rollback_func
| ) |  |

## ◆ ruby_reset_leap_second_info()

void ruby_reset_leap_second_info | ( | void |  | ) |

Definition at line 1193 of file time.c.

## ◆ ruby_scan_digits()

unsigned long ruby_scan_digits | ( | const char * | str,
|  | ssize_t | len,
|  | int | base,
|  | size_t * | retlen,
|  | int * | overflow
| ) |  |

Definition at line 97 of file util.c.

## ◆ ruby_set_inplace_mode()

void ruby_set_inplace_mode | ( | const char * |  | ) |

Definition at line 12857 of file io.c.

## ◆ ruby_sized_xfree()

void void ruby_sized_xfree | ( | void * | x,
|  | size_t | size
| ) |  |

Definition at line 10142 of file gc.c.

Referenced by ruby_xfree().

## ◆ ruby_sized_xrealloc()

RUBY_SYMBOL_EXPORT_BEGIN void* ruby_sized_xrealloc | ( | void * | ptr,
|  | size_t | new_size,
|  | size_t | old_size
| ) |  |

Definition at line 10107 of file gc.c.

Referenced by ruby_xrealloc_body().

## ◆ ruby_sized_xrealloc2()

void* ruby_sized_xrealloc2 | ( | void * | ptr,
|  | size_t | new_count,
|  | size_t | element_size,
|  | size_t | old_count
| ) |  |

## ◆ ruby_thread_has_gvl_p()

int ruby_thread_has_gvl_p | ( | void |  | ) |

Definition at line 1705 of file thread.c.

## ◆ ruby_vm_special_exception_copy()

static VALUE ruby_vm_special_exception_copy | ( | VALUE | exc | ) |

Definition at line 12219 of file rb_mjit_min_header-2.7.0.h.

References exc, rb_class_real(), rb_obj_alloc(), rb_obj_copy_ivar(), and RBASIC_CLASS.

## ◆ STATIC_ASSERT()

STATIC_ASSERT | ( | cachelined | ,
|  | sizeof(struct rb_call_cache)<= | CACHELINE
| ) |  |

## Variable Documentation

## ◆ rb_cArithSeq

VALUE rb_cArithSeq

Definition at line 180 of file enumerator.c.

## ◆ rb_cEncodingConverter

VALUE rb_cEncodingConverter

Definition at line 24 of file transcode.c.

## ◆ ruby_digit36_to_number_table

const signed char ruby_digit36_to_number_table[]

Definition at line 6 of file escape.c.

## ◆ ruby_digitmap

const char ruby_digitmap[]

Definition at line 38 of file bignum.c.

## ◆ ruby_disable_gc

int ruby_disable_gc

Definition at line 1001 of file gc.c.

## ◆ ruby_enable_coredump

int ruby_enable_coredump

Definition at line 1481 of file signal.c.

Referenced by ruby_env_debug_option().

## ◆ ruby_exec_prefix

const char ruby_exec_prefix[]

Definition at line 59 of file loadpath.c.

Referenced by ruby_init_loadpath().

## ◆ ruby_hexdigits

const char ruby_hexdigits[]

Definition at line 5 of file escape.c.

## ◆ ruby_initial_gc_stress_ptr

VALUE* ruby_initial_gc_stress_ptr

Definition at line 905 of file gc.c.

## ◆ ruby_initial_load_paths

const char ruby_initial_load_paths[]

Definition at line 62 of file loadpath.c.

Referenced by ruby_init_loadpath().

## ◆ ruby_null_device

const char ruby_null_device[]

Definition at line 6389 of file file.c.

## ◆ ruby_static_id_signo

ID ruby_static_id_signo

Definition at line 36 of file eval.c.

## ◆ ruby_static_id_status

ID ruby_static_id_status

Definition at line 1585 of file internal.h.

CMP_OPTIMIZABLE
#define CMP_OPTIMIZABLE(data, type)
Definition: internal.h:1330
CMP_OPTIMIZABLE_BIT
#define CMP_OPTIMIZABLE_BIT(type)
Definition: internal.h:1329
FL_USER14
#define FL_USER14
Definition: ruby.h:1305
VALUE
unsigned long VALUE
Definition: ruby.h:102
type_roomof
#define type_roomof(x, y)
Definition: internal.h:1299
offsetof
#define offsetof(p_type, field)
Definition: addrinfo.h:186
RB_TYPE_P
#define RB_TYPE_P(obj, type)
Definition: ruby.h:560
SIZEOF_INT
#define SIZEOF_INT
Definition: rb_mjit_min_header-2.7.0.h:83
BIGNUM_EMBED_LEN_MASK
#define BIGNUM_EMBED_LEN_MASK
Definition: internal.h:770
RUBY_NUM_ROUND_HALF_EVEN
@ RUBY_NUM_ROUND_HALF_EVEN
Definition: internal.h:1784
int
__inline__ int
Definition: rb_mjit_min_header-2.7.0.h:2839
CHAR_BIT
#define CHAR_BIT
Definition: ruby.h:227
ROUND_TO
#define ROUND_TO(mode, even, up, down)
Definition: internal.h:1788
uint32_t
unsigned int uint32_t
Definition: sha2.h:101
FL_WB_PROTECTED
#define FL_WB_PROTECTED
Definition: ruby.h:1279
v
int VALUE v
Definition: rb_mjit_min_header-2.7.0.h:12332
rb_funcallv
#define rb_funcallv(recv, mid, argc, argv)
Definition: rb_mjit_min_header-2.7.0.h:7899
RUBY_NUM_ROUND_HALF_UP
@ RUBY_NUM_ROUND_HALF_UP
Definition: internal.h:1783
obj
const VALUE VALUE obj
Definition: rb_mjit_min_header-2.7.0.h:5742
SIZEOF_LONG
#define SIZEOF_LONG
Definition: rb_mjit_min_header-2.7.0.h:85
RUBY_T_DATA
@ RUBY_T_DATA
Definition: ruby.h:500
RBIGNUM
#define RBIGNUM(obj)
Definition: internal.h:786
TOKEN_PASTE
#define TOKEN_PASTE(x, y)
Definition: version.h:14
RSTRUCT_EMBED_LEN_MASK
#define RSTRUCT_EMBED_LEN_MASK
Definition: internal.h:920
BIGNUM_EMBED_LEN_SHIFT
#define BIGNUM_EMBED_LEN_SHIFT
Definition: internal.h:772
STRING_P
#define STRING_P(s)
Definition: internal.h:1308
long
#define long
Definition: rb_mjit_min_header-2.7.0.h:2880
FL_USER17
#define FL_USER17
Definition: ruby.h:1308
UNLIKELY
#define UNLIKELY(x)
Definition: internal.h:37
stderr
#define stderr
Definition: rb_mjit_min_header-2.7.0.h:1485
FL_USER19
#define FL_USER19
Definition: ruby.h:1310
rb_source_location_cstr
const char * rb_source_location_cstr(int *pline)
Definition: vm.c:1376
RSTRUCT_EMBED_LEN_SHIFT
#define RSTRUCT_EMBED_LEN_SHIFT
Definition: internal.h:921
rb_wb_unprotected_newobj_of
VALUE rb_wb_unprotected_newobj_of(VALUE, VALUE)
Definition: gc.c:2272
FL_USER13
#define FL_USER13
Definition: ruby.h:1304
FIXNUM_P
#define FIXNUM_P(f)
Definition: ruby.h:396
arg
VALUE arg
Definition: rb_mjit_min_header-2.7.0.h:5601
rb_ary_tmp_new_fill
VALUE rb_ary_tmp_new_fill(long capa)
Definition: array.c:776
klass
VALUE klass
Definition: rb_mjit_min_header-2.7.0.h:13254
rb_ary_set_len
void rb_ary_set_len(VALUE, long)
Definition: array.c:1932
BIGNUM_EMBED_FLAG
#define BIGNUM_EMBED_FLAG
Definition: internal.h:769
st
enum ruby_tag_type st
Definition: rb_mjit_min_header-2.7.0.h:11111
id_cmp
#define id_cmp
Definition: array.c:30
RBASIC
#define RBASIC(obj)
Definition: ruby.h:1267
RTYPEDDATA_P
#define RTYPEDDATA_P(v)
Definition: ruby.h:1177
RBasicRaw
Definition: internal.h:1976
FL_USER15
#define FL_USER15
Definition: ruby.h:1306
unsigned
#define unsigned
Definition: rb_mjit_min_header-2.7.0.h:2875
FL_USER18
#define FL_USER18
Definition: ruby.h:1309
BIGNUM_SIGN_BIT
#define BIGNUM_SIGN_BIT
Definition: internal.h:759
ruby::backward::cxxanyargs::type
VALUE type(ANYARGS)
ANYARGS-ed function type.
Definition: cxxanyargs.hpp:39
rb_unexpected_type
void rb_unexpected_type(VALUE x, int t)
Definition: error.c:852
RB_FLOAT_TYPE_P
#define RB_FLOAT_TYPE_P(obj)
Definition: ruby.h:556
rb_float_cmp
int rb_float_cmp(VALUE x, VALUE y)
Definition: numeric.c:1487
rb_str_cmp
int rb_str_cmp(VALUE, VALUE)
Definition: string.c:3228
name
const char * name
Definition: nkf.c:208