#include "ruby/config.h"#include "defines.h"#include <stdarg.h>#include "ruby/intern.h"#include "ruby/subst.h"Go to the source code of this file.
Data Structures | |
| struct | RBasic |
| struct | RObject |
| struct | RClass |
| struct | RFloat |
| struct | RString |
| struct | RArray |
| struct | RRegexp |
| struct | RHash |
| struct | RFile |
| struct | RRational |
| struct | RComplex |
| struct | RData |
| struct | rb_data_type_struct |
| struct | RTypedData |
| struct | RStruct |
| struct | RBignum |
Defines | |
| #define | RUBY_RUBY_H 1 |
| #define | NORETURN_STYLE_NEW 1 |
| #define | NORETURN(x) x |
| #define | DEPRECATED(x) x |
| #define | NOINLINE(x) x |
| #define | UNREACHABLE |
| #define | PRINTF_ARGS(decl, string_index, first_to_check) decl |
| #define | SIGNED_VALUE long |
| #define | SIZEOF_VALUE SIZEOF_LONG |
| #define | PRI_VALUE_PREFIX "l" |
| #define | PRI_INT_PREFIX "" |
| #define | PRI_LONG_PREFIX "l" |
| #define | PRIdVALUE PRI_VALUE_PREFIX"d" |
| #define | PRIoVALUE PRI_VALUE_PREFIX"o" |
| #define | PRIuVALUE PRI_VALUE_PREFIX"u" |
| #define | PRIxVALUE PRI_VALUE_PREFIX"x" |
| #define | PRIXVALUE PRI_VALUE_PREFIX"X" |
| #define | PRIsVALUE PRI_VALUE_PREFIX"i" |
| #define | PRI_PTRDIFF_PREFIX "" |
| #define | PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d" |
| #define | PRIiPTRDIFF PRI_PTRDIFF_PREFIX"i" |
| #define | PRIoPTRDIFF PRI_PTRDIFF_PREFIX"o" |
| #define | PRIuPTRDIFF PRI_PTRDIFF_PREFIX"u" |
| #define | PRIxPTRDIFF PRI_PTRDIFF_PREFIX"x" |
| #define | PRIXPTRDIFF PRI_PTRDIFF_PREFIX"X" |
| #define | PRI_SIZE_PREFIX "" |
| #define | PRIdSIZE PRI_SIZE_PREFIX"d" |
| #define | PRIiSIZE PRI_SIZE_PREFIX"i" |
| #define | PRIoSIZE PRI_SIZE_PREFIX"o" |
| #define | PRIuSIZE PRI_SIZE_PREFIX"u" |
| #define | PRIxSIZE PRI_SIZE_PREFIX"x" |
| #define | PRIXSIZE PRI_SIZE_PREFIX"X" |
| #define | LONG_MAX 2147483647 |
| #define | LONG_MIN (-LONG_MAX-1) |
| #define | CHAR_BIT 8 |
| #define | FIXNUM_MAX (LONG_MAX>>1) |
| #define | FIXNUM_MIN RSHIFT((long)LONG_MIN,1) |
| #define | INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |
| #define | LONG2FIX(i) INT2FIX(i) |
| #define | rb_fix_new(v) INT2FIX(v) |
| #define | rb_int_new(v) rb_int2inum(v) |
| #define | rb_uint_new(v) rb_uint2inum(v) |
| #define | OFFT2NUM(v) LONG2NUM(v) |
| #define | SIZET2NUM(v) ULONG2NUM(v) |
| #define | SSIZET2NUM(v) LONG2NUM(v) |
| #define | SIZE_MAX ULONG_MAX |
| #define | SIZE_MIN ULONG_MIN |
| #define | SSIZE_MAX LONG_MAX |
| #define | SSIZE_MIN LONG_MIN |
| #define | rb_long2int(n) ((int)(n)) |
| #define | PIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2PIDT(v) NUM2LONG(v) |
| #define | UIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2UIDT(v) NUM2LONG(v) |
| #define | GIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2GIDT(v) NUM2LONG(v) |
| #define | NUM2MODET(v) NUM2INT(v) |
| #define | MODET2NUM(v) INT2NUM(v) |
| #define | FIX2LONG(x) ((long)RSHIFT((SIGNED_VALUE)(x),1)) |
| #define | FIX2ULONG(x) ((unsigned long)FIX2LONG(x)) |
| #define | FIXNUM_P(f) (((int)(SIGNED_VALUE)(f))&FIXNUM_FLAG) |
| #define | POSFIXABLE(f) ((f) < FIXNUM_MAX+1) |
| #define | NEGFIXABLE(f) ((f) >= FIXNUM_MIN) |
| #define | FIXABLE(f) (POSFIXABLE(f) && NEGFIXABLE(f)) |
| #define | IMMEDIATE_P(x) ((VALUE)(x) & IMMEDIATE_MASK) |
| #define | SYMBOL_P(x) (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG) |
| #define | ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG) |
| #define | SYM2ID(x) RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT) |
| #define | USE_FLONUM 1 |
| #define | FLONUM_P(x) ((((int)(SIGNED_VALUE)(x))&FLONUM_MASK) == FLONUM_FLAG) |
| #define | USE_SYMBOL_AS_METHOD_NAME 1 |
| #define | Qfalse ((VALUE)RUBY_Qfalse) |
| #define | Qtrue ((VALUE)RUBY_Qtrue) |
| #define | Qnil ((VALUE)RUBY_Qnil) |
| #define | Qundef ((VALUE)RUBY_Qundef) |
| #define | IMMEDIATE_MASK RUBY_IMMEDIATE_MASK |
| #define | FIXNUM_FLAG RUBY_FIXNUM_FLAG |
| #define | FLONUM_MASK RUBY_FLONUM_MASK |
| #define | FLONUM_FLAG RUBY_FLONUM_FLAG |
| #define | SYMBOL_FLAG RUBY_SYMBOL_FLAG |
| #define | RTEST(v) !(((VALUE)(v) & ~Qnil) == 0) |
| #define | NIL_P(v) !((VALUE)(v) != Qnil) |
| #define | CLASS_OF(v) rb_class_of((VALUE)(v)) |
| #define | T_NONE RUBY_T_NONE |
| #define | T_NIL RUBY_T_NIL |
| #define | T_OBJECT RUBY_T_OBJECT |
| #define | T_CLASS RUBY_T_CLASS |
| #define | T_ICLASS RUBY_T_ICLASS |
| #define | T_MODULE RUBY_T_MODULE |
| #define | T_FLOAT RUBY_T_FLOAT |
| #define | T_STRING RUBY_T_STRING |
| #define | T_REGEXP RUBY_T_REGEXP |
| #define | T_ARRAY RUBY_T_ARRAY |
| #define | T_HASH RUBY_T_HASH |
| #define | T_STRUCT RUBY_T_STRUCT |
| #define | T_BIGNUM RUBY_T_BIGNUM |
| #define | T_FILE RUBY_T_FILE |
| #define | T_FIXNUM RUBY_T_FIXNUM |
| #define | T_TRUE RUBY_T_TRUE |
| #define | T_FALSE RUBY_T_FALSE |
| #define | T_DATA RUBY_T_DATA |
| #define | T_MATCH RUBY_T_MATCH |
| #define | T_SYMBOL RUBY_T_SYMBOL |
| #define | T_RATIONAL RUBY_T_RATIONAL |
| #define | T_COMPLEX RUBY_T_COMPLEX |
| #define | T_UNDEF RUBY_T_UNDEF |
| #define | T_NODE RUBY_T_NODE |
| #define | T_ZOMBIE RUBY_T_ZOMBIE |
| #define | T_MASK RUBY_T_MASK |
| #define | BUILTIN_TYPE(x) (int)(((struct RBasic*)(x))->flags & T_MASK) |
| #define | TYPE(x) rb_type((VALUE)(x)) |
| #define | HAVE_RB_GC_GUARDED_PTR 1 |
| #define | RB_GC_GUARD_PTR(ptr) rb_gc_guarded_ptr(ptr) |
| #define | RB_GC_GUARD(v) (*RB_GC_GUARD_PTR(&(v))) |
| #define | RB_UNUSED_VAR(x) x |
| #define | Check_Type(v, t) rb_check_type((VALUE)(v),(t)) |
| #define | StringValue(v) rb_string_value(&(v)) |
| #define | StringValuePtr(v) rb_string_value_ptr(&(v)) |
| #define | StringValueCStr(v) rb_string_value_cstr(&(v)) |
| #define | SafeStringValue(v) |
| #define | Check_SafeStr(v) rb_check_safe_str((VALUE)(v)) |
| #define | ExportStringValue(v) |
| #define | FilePathValue(v) (RB_GC_GUARD(v) = rb_get_path(v)) |
| #define | FilePathStringValue(v) ((v) = rb_get_path_no_checksafe(v)) |
| #define | RUBY_SAFE_LEVEL_MAX 3 |
| #define | NUM2LONG(x) rb_num2long_inline(x) |
| #define | NUM2ULONG(x) rb_num2ulong_inline(x) |
| #define | NUM2INT(x) ((int)NUM2LONG(x)) |
| #define | NUM2UINT(x) ((unsigned int)NUM2ULONG(x)) |
| #define | FIX2INT(x) ((int)FIX2LONG(x)) |
| #define | FIX2UINT(x) ((unsigned int)FIX2ULONG(x)) |
| #define | FIX2SHORT(x) (rb_fix2short((VALUE)(x))) |
| #define | NUM2SHORT(x) rb_num2short_inline(x) |
| #define | NUM2USHORT(x) rb_num2ushort(x) |
| #define | NUM2OFFT(x) NUM2LONG(x) |
| #define | NUM2SIZET(x) NUM2ULONG(x) |
| #define | NUM2SSIZET(x) NUM2LONG(x) |
| #define | NUM2DBL(x) rb_num2dbl((VALUE)(x)) |
| #define | NEWOBJ(obj, type) type *(obj) = (type*)rb_newobj() |
| #define | NEWOBJ_OF(obj, type, klass, flags) type *(obj) = (type*)rb_newobj_of(klass, flags) |
| #define | OBJSETUP(obj, c, t) rb_obj_setup(obj, c, t) |
| #define | CLONESETUP(clone, obj) |
| #define | DUPSETUP(dup, obj) |
| #define | USE_RGENGC 1 |
| #define | RGENGC_WB_PROTECTED_ARRAY 1 |
| #define | RGENGC_WB_PROTECTED_HASH 1 |
| #define | RGENGC_WB_PROTECTED_STRUCT 1 |
| #define | RGENGC_WB_PROTECTED_STRING 1 |
| #define | RGENGC_WB_PROTECTED_OBJECT 1 |
| #define | RGENGC_WB_PROTECTED_REGEXP 1 |
| #define | RGENGC_WB_PROTECTED_CLASS 1 |
| #define | RGENGC_WB_PROTECTED_FLOAT 1 |
| #define | RGENGC_WB_PROTECTED_COMPLEX 1 |
| #define | RGENGC_WB_PROTECTED_RATIONAL 1 |
| #define | RGENGC_WB_PROTECTED_BIGNUM 1 |
| #define | RGENGC_WB_PROTECTED_NODE_CREF 1 |
| #define | RBASIC_CLASS(obj) (RBASIC(obj)->klass) |
| #define | ROBJECT_EMBED_LEN_MAX 3 |
| #define | ROBJECT_EMBED FL_USER1 |
| #define | ROBJECT_NUMIV(o) |
| #define | ROBJECT_IVPTR(o) |
| #define | ROBJECT_IV_INDEX_TBL(o) |
| #define | RCLASS_SUPER(c) rb_class_get_superclass(c) |
| #define | RMODULE_IV_TBL(m) RCLASS_IV_TBL(m) |
| #define | RMODULE_CONST_TBL(m) RCLASS_CONST_TBL(m) |
| #define | RMODULE_M_TBL(m) RCLASS_M_TBL(m) |
| #define | RMODULE_SUPER(m) RCLASS_SUPER(m) |
| #define | RMODULE_IS_OVERLAID FL_USER2 |
| #define | RMODULE_IS_REFINEMENT FL_USER3 |
| #define | RMODULE_INCLUDED_INTO_REFINEMENT FL_USER4 |
| #define | RFLOAT_VALUE(v) rb_float_value(v) |
| #define | DBL2NUM(dbl) rb_float_new(dbl) |
| #define | ELTS_SHARED FL_USER2 |
| #define | RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1)) |
| #define | RSTRING_NOEMBED FL_USER1 |
| #define | RSTRING_FSTR FL_USER17 |
| #define | RSTRING_EMBED_LEN_MASK (FL_USER2|FL_USER3|FL_USER4|FL_USER5|FL_USER6) |
| #define | RSTRING_EMBED_LEN_SHIFT (FL_USHIFT+2) |
| #define | RSTRING_EMBED_LEN(str) |
| #define | RSTRING_LEN(str) |
| #define | RSTRING_PTR(str) |
| #define | RSTRING_END(str) |
| #define | RSTRING_LENINT(str) rb_long2int(RSTRING_LEN(str)) |
| #define | RSTRING_GETMEM(str, ptrvar, lenvar) |
| #define | RARRAY_EMBED_LEN_MAX 3 |
| #define | RARRAY_EMBED_FLAG FL_USER1 |
| #define | RARRAY_EMBED_LEN_MASK (FL_USER4|FL_USER3) |
| #define | RARRAY_EMBED_LEN_SHIFT (FL_USHIFT+3) |
| #define | RARRAY_LEN(a) |
| #define | RARRAY_LENINT(ary) rb_long2int(RARRAY_LEN(ary)) |
| #define | RARRAY_CONST_PTR(a) |
| #define | RARRAY_PTR_USE_START(a) ((VALUE *)RARRAY_CONST_PTR(a)) |
| #define | RARRAY_PTR_USE_END(a) |
| #define | RARRAY_PTR_USE(ary, ptr_name, expr) |
| #define | RARRAY_AREF(a, i) (RARRAY_CONST_PTR(a)[i]) |
| #define | RARRAY_ASET(a, i, v) |
| #define | RARRAY_PTR(a) ((VALUE *)RARRAY_CONST_PTR(RGENGC_WB_PROTECTED_ARRAY ? OBJ_WB_UNPROTECT((VALUE)a) : ((VALUE)a))) |
| #define | RREGEXP_SRC(r) RREGEXP(r)->src |
| #define | RREGEXP_SRC_PTR(r) RSTRING_PTR(RREGEXP(r)->src) |
| #define | RREGEXP_SRC_LEN(r) RSTRING_LEN(RREGEXP(r)->src) |
| #define | RREGEXP_SRC_END(r) RSTRING_END(RREGEXP(r)->src) |
| #define | RHASH_TBL(h) rb_hash_tbl(h) |
| #define | RHASH_ITER_LEV(h) (RHASH(h)->iter_lev) |
| #define | RHASH_IFNONE(h) (RHASH(h)->ifnone) |
| #define | RHASH_SIZE(h) (RHASH(h)->ntbl ? (st_index_t)RHASH(h)->ntbl->num_entries : 0) |
| #define | RHASH_EMPTY_P(h) (RHASH_SIZE(h) == 0) |
| #define | RHASH_SET_IFNONE(h, ifnone) rb_hash_set_ifnone((VALUE)h, ifnone) |
| #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 | 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 | HAVE_TYPE_RB_DATA_TYPE_T 1 |
| #define | HAVE_RB_DATA_TYPE_T_FUNCTION 1 |
| #define | HAVE_RB_DATA_TYPE_T_PARENT 1 |
| #define | DATA_PTR(dta) (RDATA(dta)->data) |
| #define | RTYPEDDATA_P(v) (RTYPEDDATA(v)->typed_flag == 1) |
| #define | RTYPEDDATA_TYPE(v) (RTYPEDDATA(v)->type) |
| #define | RTYPEDDATA_DATA(v) (RTYPEDDATA(v)->data) |
| #define | Check_TypedStruct(v, t) rb_check_typeddata((VALUE)(v),(t)) |
| #define | RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
| #define | RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
| #define | RUBY_TYPED_DEFAULT_FREE RUBY_DEFAULT_FREE |
| #define | RUBY_TYPED_NEVER_FREE RUBY_NEVER_FREE |
| #define | RUBY_TYPED_FREE_IMMEDIATELY 1 |
| #define | RUBY_TYPED_WB_PROTECTED FL_WB_PROTECTED |
| #define | Data_Wrap_Struct(klass, mark, free, sval) rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
| #define | Data_Make_Struct(klass, type, mark, free, sval) |
| #define | TypedData_Wrap_Struct(klass, data_type, sval) rb_data_typed_object_alloc((klass),(sval),(data_type)) |
| #define | TypedData_Make_Struct(klass, type, data_type, sval) |
| #define | Data_Get_Struct(obj, type, sval) |
| #define | TypedData_Get_Struct(obj, type, data_type, sval) |
| #define | RSTRUCT_EMBED_LEN_MAX 3 |
| #define | RSTRUCT_EMBED_LEN_MASK (FL_USER2|FL_USER1) |
| #define | RSTRUCT_EMBED_LEN_SHIFT (FL_USHIFT+1) |
| #define | RSTRUCT_LEN(st) |
| #define | RSTRUCT_LENINT(st) rb_long2int(RSTRUCT_LEN(st)) |
| #define | RSTRUCT_CONST_PTR(st) |
| #define | RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RGENGC_WB_PROTECTED_STRUCT ? OBJ_WB_UNPROTECT((VALUE)st) : (VALUE)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 | RBIGNUM_EMBED_LEN_NUMBITS 3 |
| #define | RBIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*3/SIZEOF_ACTUAL_BDIGIT) |
| #define | RBIGNUM_SIGN_BIT FL_USER1 |
| #define | RBIGNUM_SIGN(b) ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) |
| #define | RBIGNUM_SET_SIGN(b, sign) |
| #define | RBIGNUM_POSITIVE_P(b) RBIGNUM_SIGN(b) |
| #define | RBIGNUM_NEGATIVE_P(b) (!RBIGNUM_SIGN(b)) |
| #define | RBIGNUM_EMBED_FLAG FL_USER2 |
| #define | RBIGNUM_EMBED_LEN_MASK (FL_USER5|FL_USER4|FL_USER3) |
| #define | RBIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+RBIGNUM_EMBED_LEN_NUMBITS) |
| #define | RBIGNUM_LEN(b) |
| #define | RBIGNUM_DIGITS(b) |
| #define | RBIGNUM_LENINT(b) rb_long2int(RBIGNUM_LEN(b)) |
| #define | R_CAST(st) (struct st*) |
| #define | RBASIC(obj) (R_CAST(RBasic)(obj)) |
| #define | ROBJECT(obj) (R_CAST(RObject)(obj)) |
| #define | RCLASS(obj) (R_CAST(RClass)(obj)) |
| #define | RMODULE(obj) RCLASS(obj) |
| #define | RFLOAT(obj) (R_CAST(RFloat)(obj)) |
| #define | RSTRING(obj) (R_CAST(RString)(obj)) |
| #define | RREGEXP(obj) (R_CAST(RRegexp)(obj)) |
| #define | RARRAY(obj) (R_CAST(RArray)(obj)) |
| #define | RHASH(obj) (R_CAST(RHash)(obj)) |
| #define | RDATA(obj) (R_CAST(RData)(obj)) |
| #define | RTYPEDDATA(obj) (R_CAST(RTypedData)(obj)) |
| #define | RSTRUCT(obj) (R_CAST(RStruct)(obj)) |
| #define | RBIGNUM(obj) (R_CAST(RBignum)(obj)) |
| #define | RFILE(obj) (R_CAST(RFile)(obj)) |
| #define | RRATIONAL(obj) (R_CAST(RRational)(obj)) |
| #define | RCOMPLEX(obj) (R_CAST(RComplex)(obj)) |
| #define | FL_SINGLETON FL_USER0 |
| #define | FL_WB_PROTECTED (((VALUE)1)<<5) |
| #define | FL_PROMOTED (((VALUE)1)<<6) |
| #define | FL_FINALIZE (((VALUE)1)<<7) |
| #define | FL_TAINT (((VALUE)1)<<8) |
| #define | FL_UNTRUSTED FL_TAINT |
| #define | FL_EXIVAR (((VALUE)1)<<10) |
| #define | FL_FREEZE (((VALUE)1)<<11) |
| #define | FL_USHIFT 12 |
| #define | FL_USER0 (((VALUE)1)<<(FL_USHIFT+0)) |
| #define | FL_USER1 (((VALUE)1)<<(FL_USHIFT+1)) |
| #define | FL_USER2 (((VALUE)1)<<(FL_USHIFT+2)) |
| #define | FL_USER3 (((VALUE)1)<<(FL_USHIFT+3)) |
| #define | FL_USER4 (((VALUE)1)<<(FL_USHIFT+4)) |
| #define | FL_USER5 (((VALUE)1)<<(FL_USHIFT+5)) |
| #define | FL_USER6 (((VALUE)1)<<(FL_USHIFT+6)) |
| #define | FL_USER7 (((VALUE)1)<<(FL_USHIFT+7)) |
| #define | FL_USER8 (((VALUE)1)<<(FL_USHIFT+8)) |
| #define | FL_USER9 (((VALUE)1)<<(FL_USHIFT+9)) |
| #define | FL_USER10 (((VALUE)1)<<(FL_USHIFT+10)) |
| #define | FL_USER11 (((VALUE)1)<<(FL_USHIFT+11)) |
| #define | FL_USER12 (((VALUE)1)<<(FL_USHIFT+12)) |
| #define | FL_USER13 (((VALUE)1)<<(FL_USHIFT+13)) |
| #define | FL_USER14 (((VALUE)1)<<(FL_USHIFT+14)) |
| #define | FL_USER15 (((VALUE)1)<<(FL_USHIFT+15)) |
| #define | FL_USER16 (((VALUE)1)<<(FL_USHIFT+16)) |
| #define | FL_USER17 (((VALUE)1)<<(FL_USHIFT+17)) |
| #define | FL_USER18 (((VALUE)1)<<(FL_USHIFT+18)) |
| #define | FL_USER19 (((VALUE)1)<<(FL_USHIFT+19)) |
| #define | SPECIAL_CONST_P(x) (IMMEDIATE_P(x) || !RTEST(x)) |
| #define | FL_ABLE(x) (!SPECIAL_CONST_P(x) && BUILTIN_TYPE(x) != T_NODE) |
| #define | FL_TEST_RAW(x, f) (RBASIC(x)->flags&(f)) |
| #define | FL_TEST(x, f) (FL_ABLE(x)?FL_TEST_RAW((x),(f)):0) |
| #define | FL_ANY(x, f) FL_TEST((x),(f)) |
| #define | FL_ALL(x, f) (FL_TEST((x),(f)) == (f)) |
| #define | FL_SET(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags |= (f);} while (0) |
| #define | FL_UNSET(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) |
| #define | FL_REVERSE(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags ^= (f);} while (0) |
| #define | OBJ_TAINTED(x) (!!FL_TEST((x), FL_TAINT)) |
| #define | OBJ_TAINT(x) FL_SET((x), FL_TAINT) |
| #define | OBJ_UNTRUSTED(x) OBJ_TAINTED(x) |
| #define | OBJ_UNTRUST(x) OBJ_TAINT(x) |
| #define | OBJ_INFECT(x, s) |
| #define | OBJ_FROZEN(x) (!!(FL_ABLE(x)?(RBASIC(x)->flags&(FL_FREEZE)):(FIXNUM_P(x)||FLONUM_P(x)||SYMBOL_P(x)))) |
| #define | OBJ_FREEZE(x) FL_SET((x), FL_FREEZE) |
| #define | OBJ_PROMOTED(x) (SPECIAL_CONST_P(x) ? 0 : FL_TEST_RAW((x), FL_PROMOTED)) |
| #define | OBJ_WB_PROTECTED(x) (SPECIAL_CONST_P(x) ? 1 : FL_TEST_RAW((x), FL_WB_PROTECTED)) |
| #define | OBJ_WB_UNPROTECT(x) rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
| #define | RB_OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__) |
| #define | RB_OBJ_WRITTEN(a, oldv, b) rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
| #define | USE_RGENGC_LOGGING_WB_UNPROTECT 0 |
| #define | INT2NUM(x) rb_int2num_inline(x) |
| #define | UINT2NUM(x) rb_uint2num_inline(x) |
| #define | LONG2NUM(x) rb_long2num_inline(x) |
| #define | ULONG2NUM(x) rb_ulong2num_inline(x) |
| #define | NUM2CHR(x) rb_num2char_inline(x) |
| #define | CHR2FIX(x) INT2FIX((long)((x)&0xff)) |
| #define | ALLOC_N(type, n) ((type*)xmalloc2((n),sizeof(type))) |
| #define | ALLOC(type) ((type*)xmalloc(sizeof(type))) |
| #define | REALLOC_N(var, type, n) ((var)=(type*)xrealloc2((char*)(var),(n),sizeof(type))) |
| #define | ALLOCA_N(type, n) ((type*)alloca(sizeof(type)*(n))) |
| #define | ALLOCV(v, n) ((n) < 1024 ? (RB_GC_GUARD(v) = 0, alloca(n)) : rb_alloc_tmp_buffer(&(v), (n))) |
| #define | ALLOCV_N(type, v, n) ((type*)ALLOCV((v), sizeof(type)*(n))) |
| #define | ALLOCV_END(v) rb_free_tmp_buffer(&(v)) |
| #define | MEMZERO(p, type, n) memset((p), 0, sizeof(type)*(n)) |
| #define | MEMCPY(p1, p2, type, n) memcpy((p1), (p2), sizeof(type)*(n)) |
| #define | MEMMOVE(p1, p2, type, n) memmove((p1), (p2), sizeof(type)*(n)) |
| #define | MEMCMP(p1, p2, type, n) memcmp((p1), (p2), sizeof(type)*(n)) |
| #define | RUBY_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))(func)) |
| #define | CONST_ID_CACHE(result, str) |
| #define | CONST_ID(var, str) do CONST_ID_CACHE((var) =, (str)) while (0) |
| #define | rb_intern_const(str) rb_intern2((str), (long)strlen(str)) |
| #define | rb_funcall2 rb_funcallv |
| #define | rb_funcall3 rb_funcallv_public |
| #define | HAVE_RB_SCAN_ARGS_OPTIONAL_HASH 1 |
| #define | ruby_verbose (*rb_ruby_verbose_ptr()) |
| #define | ruby_debug (*rb_ruby_debug_ptr()) |
| #define | RB_IO_WAIT_READABLE 0 |
| #define | RB_IO_WAIT_WRITABLE 1 |
| #define | RUBY_BLOCK_CALL_FUNC_TAKES_BLOCKARG 1 |
| #define | RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg) VALUE yielded_arg, VALUE callback_arg, int argc, const VALUE *argv, VALUE blockarg |
| #define | RB_FLOAT_TYPE_P(obj) (FLONUM_P(obj) || (!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == T_FLOAT)) |
| #define | RB_TYPE_P(obj, type) |
| #define | rb_type_p(obj, type) (rb_type(obj) == (type)) |
| #define | RUBY_VM 1 |
| #define | HAVE_NATIVETHREAD |
| #define | RUBY_EVENT_NONE 0x0000 |
| #define | RUBY_EVENT_LINE 0x0001 |
| #define | RUBY_EVENT_CLASS 0x0002 |
| #define | RUBY_EVENT_END 0x0004 |
| #define | RUBY_EVENT_CALL 0x0008 |
| #define | RUBY_EVENT_RETURN 0x0010 |
| #define | RUBY_EVENT_C_CALL 0x0020 |
| #define | RUBY_EVENT_C_RETURN 0x0040 |
| #define | RUBY_EVENT_RAISE 0x0080 |
| #define | RUBY_EVENT_ALL 0x00ff |
| #define | RUBY_EVENT_B_CALL 0x0100 |
| #define | RUBY_EVENT_B_RETURN 0x0200 |
| #define | RUBY_EVENT_THREAD_BEGIN 0x0400 |
| #define | RUBY_EVENT_THREAD_END 0x0800 |
| #define | RUBY_EVENT_TRACEPOINT_ALL 0xffff |
| #define | RUBY_EVENT_SPECIFIED_LINE 0x010000 |
| #define | RUBY_EVENT_COVERAGE 0x020000 |
| #define | RUBY_INTERNAL_EVENT_SWITCH 0x040000 |
| #define | RUBY_EVENT_SWITCH 0x040000 |
| #define | RUBY_INTERNAL_EVENT_NEWOBJ 0x100000 |
| #define | RUBY_INTERNAL_EVENT_FREEOBJ 0x200000 |
| #define | RUBY_INTERNAL_EVENT_GC_START 0x400000 |
| #define | RUBY_INTERNAL_EVENT_GC_END_MARK 0x800000 |
| #define | RUBY_INTERNAL_EVENT_GC_END_SWEEP 0x1000000 |
| #define | RUBY_INTERNAL_EVENT_OBJSPACE_MASK 0x1f00000 |
| #define | RUBY_INTERNAL_EVENT_MASK 0xfffe0000 |
| #define | RB_EVENT_HOOKS_HAVE_CALLBACK_DATA 1 |
| #define | rb_isascii(c) ((unsigned long)(c) < 128) |
| #define | ISASCII(c) rb_isascii((unsigned char)(c)) |
| #define | ISPRINT(c) rb_isprint((unsigned char)(c)) |
| #define | ISGRAPH(c) rb_isgraph((unsigned char)(c)) |
| #define | ISSPACE(c) rb_isspace((unsigned char)(c)) |
| #define | ISUPPER(c) rb_isupper((unsigned char)(c)) |
| #define | ISLOWER(c) rb_islower((unsigned char)(c)) |
| #define | ISALNUM(c) rb_isalnum((unsigned char)(c)) |
| #define | ISALPHA(c) rb_isalpha((unsigned char)(c)) |
| #define | ISDIGIT(c) rb_isdigit((unsigned char)(c)) |
| #define | ISXDIGIT(c) rb_isxdigit((unsigned char)(c)) |
| #define | TOUPPER(c) rb_toupper((unsigned char)(c)) |
| #define | TOLOWER(c) rb_tolower((unsigned char)(c)) |
| #define | STRCASECMP(s1, s2) (st_locale_insensitive_strcasecmp((s1), (s2))) |
| #define | STRNCASECMP(s1, s2, n) (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
| #define | STRTOUL(str, endptr, base) (ruby_strtoul((str), (endptr), (base))) |
| #define | InitVM(ext) {void InitVM_##ext(void);InitVM_##ext();} |
| #define | RUBY_INIT_STACK |
| A convenience macro to call ruby_init_stack(). | |
| #define | Init_stack(addr) ruby_init_stack(addr) |
| #define | RUBY_RUBY_H 1 |
| #define | NORETURN_STYLE_NEW 1 |
| #define | NORETURN(x) x |
| #define | DEPRECATED(x) x |
| #define | NOINLINE(x) x |
| #define | UNREACHABLE |
| #define | PRINTF_ARGS(decl, string_index, first_to_check) decl |
| #define | SIGNED_VALUE long |
| #define | SIZEOF_VALUE SIZEOF_LONG |
| #define | PRI_VALUE_PREFIX "l" |
| #define | PRI_INT_PREFIX "" |
| #define | PRI_LONG_PREFIX "l" |
| #define | PRIdVALUE PRI_VALUE_PREFIX"d" |
| #define | PRIoVALUE PRI_VALUE_PREFIX"o" |
| #define | PRIuVALUE PRI_VALUE_PREFIX"u" |
| #define | PRIxVALUE PRI_VALUE_PREFIX"x" |
| #define | PRIXVALUE PRI_VALUE_PREFIX"X" |
| #define | PRIsVALUE PRI_VALUE_PREFIX"i" |
| #define | PRI_PTRDIFF_PREFIX "" |
| #define | PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d" |
| #define | PRIiPTRDIFF PRI_PTRDIFF_PREFIX"i" |
| #define | PRIoPTRDIFF PRI_PTRDIFF_PREFIX"o" |
| #define | PRIuPTRDIFF PRI_PTRDIFF_PREFIX"u" |
| #define | PRIxPTRDIFF PRI_PTRDIFF_PREFIX"x" |
| #define | PRIXPTRDIFF PRI_PTRDIFF_PREFIX"X" |
| #define | PRI_SIZE_PREFIX "" |
| #define | PRIdSIZE PRI_SIZE_PREFIX"d" |
| #define | PRIiSIZE PRI_SIZE_PREFIX"i" |
| #define | PRIoSIZE PRI_SIZE_PREFIX"o" |
| #define | PRIuSIZE PRI_SIZE_PREFIX"u" |
| #define | PRIxSIZE PRI_SIZE_PREFIX"x" |
| #define | PRIXSIZE PRI_SIZE_PREFIX"X" |
| #define | LONG_MAX 2147483647 |
| #define | LONG_MIN (-LONG_MAX-1) |
| #define | CHAR_BIT 8 |
| #define | FIXNUM_MAX (LONG_MAX>>1) |
| #define | FIXNUM_MIN RSHIFT((long)LONG_MIN,1) |
| #define | INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |
| #define | LONG2FIX(i) INT2FIX(i) |
| #define | rb_fix_new(v) INT2FIX(v) |
| #define | rb_int_new(v) rb_int2inum(v) |
| #define | rb_uint_new(v) rb_uint2inum(v) |
| #define | OFFT2NUM(v) LONG2NUM(v) |
| #define | SIZET2NUM(v) ULONG2NUM(v) |
| #define | SSIZET2NUM(v) LONG2NUM(v) |
| #define | SIZE_MAX ULONG_MAX |
| #define | SIZE_MIN ULONG_MIN |
| #define | SSIZE_MAX LONG_MAX |
| #define | SSIZE_MIN LONG_MIN |
| #define | rb_long2int(n) ((int)(n)) |
| #define | PIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2PIDT(v) NUM2LONG(v) |
| #define | UIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2UIDT(v) NUM2LONG(v) |
| #define | GIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2GIDT(v) NUM2LONG(v) |
| #define | NUM2MODET(v) NUM2INT(v) |
| #define | MODET2NUM(v) INT2NUM(v) |
| #define | FIX2LONG(x) ((long)RSHIFT((SIGNED_VALUE)(x),1)) |
| #define | FIX2ULONG(x) ((unsigned long)FIX2LONG(x)) |
| #define | FIXNUM_P(f) (((int)(SIGNED_VALUE)(f))&FIXNUM_FLAG) |
| #define | POSFIXABLE(f) ((f) < FIXNUM_MAX+1) |
| #define | NEGFIXABLE(f) ((f) >= FIXNUM_MIN) |
| #define | FIXABLE(f) (POSFIXABLE(f) && NEGFIXABLE(f)) |
| #define | IMMEDIATE_P(x) ((VALUE)(x) & IMMEDIATE_MASK) |
| #define | SYMBOL_P(x) (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG) |
| #define | ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG) |
| #define | SYM2ID(x) RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT) |
| #define | USE_FLONUM 1 |
| #define | FLONUM_P(x) ((((int)(SIGNED_VALUE)(x))&FLONUM_MASK) == FLONUM_FLAG) |
| #define | USE_SYMBOL_AS_METHOD_NAME 1 |
| #define | Qfalse ((VALUE)RUBY_Qfalse) |
| #define | Qtrue ((VALUE)RUBY_Qtrue) |
| #define | Qnil ((VALUE)RUBY_Qnil) |
| #define | Qundef ((VALUE)RUBY_Qundef) |
| #define | IMMEDIATE_MASK RUBY_IMMEDIATE_MASK |
| #define | FIXNUM_FLAG RUBY_FIXNUM_FLAG |
| #define | FLONUM_MASK RUBY_FLONUM_MASK |
| #define | FLONUM_FLAG RUBY_FLONUM_FLAG |
| #define | SYMBOL_FLAG RUBY_SYMBOL_FLAG |
| #define | RTEST(v) !(((VALUE)(v) & ~Qnil) == 0) |
| #define | NIL_P(v) !((VALUE)(v) != Qnil) |
| #define | CLASS_OF(v) rb_class_of((VALUE)(v)) |
| #define | T_NONE RUBY_T_NONE |
| #define | T_NIL RUBY_T_NIL |
| #define | T_OBJECT RUBY_T_OBJECT |
| #define | T_CLASS RUBY_T_CLASS |
| #define | T_ICLASS RUBY_T_ICLASS |
| #define | T_MODULE RUBY_T_MODULE |
| #define | T_FLOAT RUBY_T_FLOAT |
| #define | T_STRING RUBY_T_STRING |
| #define | T_REGEXP RUBY_T_REGEXP |
| #define | T_ARRAY RUBY_T_ARRAY |
| #define | T_HASH RUBY_T_HASH |
| #define | T_STRUCT RUBY_T_STRUCT |
| #define | T_BIGNUM RUBY_T_BIGNUM |
| #define | T_FILE RUBY_T_FILE |
| #define | T_FIXNUM RUBY_T_FIXNUM |
| #define | T_TRUE RUBY_T_TRUE |
| #define | T_FALSE RUBY_T_FALSE |
| #define | T_DATA RUBY_T_DATA |
| #define | T_MATCH RUBY_T_MATCH |
| #define | T_SYMBOL RUBY_T_SYMBOL |
| #define | T_RATIONAL RUBY_T_RATIONAL |
| #define | T_COMPLEX RUBY_T_COMPLEX |
| #define | T_UNDEF RUBY_T_UNDEF |
| #define | T_NODE RUBY_T_NODE |
| #define | T_ZOMBIE RUBY_T_ZOMBIE |
| #define | T_MASK RUBY_T_MASK |
| #define | BUILTIN_TYPE(x) (int)(((struct RBasic*)(x))->flags & T_MASK) |
| #define | TYPE(x) rb_type((VALUE)(x)) |
| #define | HAVE_RB_GC_GUARDED_PTR 1 |
| #define | RB_GC_GUARD_PTR(ptr) rb_gc_guarded_ptr(ptr) |
| #define | RB_GC_GUARD(v) (*RB_GC_GUARD_PTR(&(v))) |
| #define | RB_UNUSED_VAR(x) x |
| #define | Check_Type(v, t) rb_check_type((VALUE)(v),(t)) |
| #define | StringValue(v) rb_string_value(&(v)) |
| #define | StringValuePtr(v) rb_string_value_ptr(&(v)) |
| #define | StringValueCStr(v) rb_string_value_cstr(&(v)) |
| #define | SafeStringValue(v) |
| #define | Check_SafeStr(v) rb_check_safe_str((VALUE)(v)) |
| #define | ExportStringValue(v) |
| #define | FilePathValue(v) (RB_GC_GUARD(v) = rb_get_path(v)) |
| #define | FilePathStringValue(v) ((v) = rb_get_path_no_checksafe(v)) |
| #define | RUBY_SAFE_LEVEL_MAX 3 |
| #define | NUM2LONG(x) rb_num2long_inline(x) |
| #define | NUM2ULONG(x) rb_num2ulong_inline(x) |
| #define | NUM2INT(x) ((int)NUM2LONG(x)) |
| #define | NUM2UINT(x) ((unsigned int)NUM2ULONG(x)) |
| #define | FIX2INT(x) ((int)FIX2LONG(x)) |
| #define | FIX2UINT(x) ((unsigned int)FIX2ULONG(x)) |
| #define | FIX2SHORT(x) (rb_fix2short((VALUE)(x))) |
| #define | NUM2SHORT(x) rb_num2short_inline(x) |
| #define | NUM2USHORT(x) rb_num2ushort(x) |
| #define | NUM2OFFT(x) NUM2LONG(x) |
| #define | NUM2SIZET(x) NUM2ULONG(x) |
| #define | NUM2SSIZET(x) NUM2LONG(x) |
| #define | NUM2DBL(x) rb_num2dbl((VALUE)(x)) |
| #define | NEWOBJ(obj, type) type *(obj) = (type*)rb_newobj() |
| #define | NEWOBJ_OF(obj, type, klass, flags) type *(obj) = (type*)rb_newobj_of(klass, flags) |
| #define | OBJSETUP(obj, c, t) rb_obj_setup(obj, c, t) |
| #define | CLONESETUP(clone, obj) |
| #define | DUPSETUP(dup, obj) |
| #define | USE_RGENGC 1 |
| #define | RGENGC_WB_PROTECTED_ARRAY 1 |
| #define | RGENGC_WB_PROTECTED_HASH 1 |
| #define | RGENGC_WB_PROTECTED_STRUCT 1 |
| #define | RGENGC_WB_PROTECTED_STRING 1 |
| #define | RGENGC_WB_PROTECTED_OBJECT 1 |
| #define | RGENGC_WB_PROTECTED_REGEXP 1 |
| #define | RGENGC_WB_PROTECTED_CLASS 1 |
| #define | RGENGC_WB_PROTECTED_FLOAT 1 |
| #define | RGENGC_WB_PROTECTED_COMPLEX 1 |
| #define | RGENGC_WB_PROTECTED_RATIONAL 1 |
| #define | RGENGC_WB_PROTECTED_BIGNUM 1 |
| #define | RGENGC_WB_PROTECTED_NODE_CREF 1 |
| #define | RBASIC_CLASS(obj) (RBASIC(obj)->klass) |
| #define | ROBJECT_EMBED_LEN_MAX 3 |
| #define | ROBJECT_EMBED FL_USER1 |
| #define | ROBJECT_NUMIV(o) |
| #define | ROBJECT_IVPTR(o) |
| #define | ROBJECT_IV_INDEX_TBL(o) |
| #define | RCLASS_SUPER(c) rb_class_get_superclass(c) |
| #define | RMODULE_IV_TBL(m) RCLASS_IV_TBL(m) |
| #define | RMODULE_CONST_TBL(m) RCLASS_CONST_TBL(m) |
| #define | RMODULE_M_TBL(m) RCLASS_M_TBL(m) |
| #define | RMODULE_SUPER(m) RCLASS_SUPER(m) |
| #define | RMODULE_IS_OVERLAID FL_USER2 |
| #define | RMODULE_IS_REFINEMENT FL_USER3 |
| #define | RMODULE_INCLUDED_INTO_REFINEMENT FL_USER4 |
| #define | RFLOAT_VALUE(v) rb_float_value(v) |
| #define | DBL2NUM(dbl) rb_float_new(dbl) |
| #define | ELTS_SHARED FL_USER2 |
| #define | RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1)) |
| #define | RSTRING_NOEMBED FL_USER1 |
| #define | RSTRING_FSTR FL_USER17 |
| #define | RSTRING_EMBED_LEN_MASK (FL_USER2|FL_USER3|FL_USER4|FL_USER5|FL_USER6) |
| #define | RSTRING_EMBED_LEN_SHIFT (FL_USHIFT+2) |
| #define | RSTRING_EMBED_LEN(str) |
| #define | RSTRING_LEN(str) |
| #define | RSTRING_PTR(str) |
| #define | RSTRING_END(str) |
| #define | RSTRING_LENINT(str) rb_long2int(RSTRING_LEN(str)) |
| #define | RSTRING_GETMEM(str, ptrvar, lenvar) |
| #define | RARRAY_EMBED_LEN_MAX 3 |
| #define | RARRAY_EMBED_FLAG FL_USER1 |
| #define | RARRAY_EMBED_LEN_MASK (FL_USER4|FL_USER3) |
| #define | RARRAY_EMBED_LEN_SHIFT (FL_USHIFT+3) |
| #define | RARRAY_LEN(a) |
| #define | RARRAY_LENINT(ary) rb_long2int(RARRAY_LEN(ary)) |
| #define | RARRAY_CONST_PTR(a) |
| #define | RARRAY_PTR_USE_START(a) ((VALUE *)RARRAY_CONST_PTR(a)) |
| #define | RARRAY_PTR_USE_END(a) |
| #define | RARRAY_PTR_USE(ary, ptr_name, expr) |
| #define | RARRAY_AREF(a, i) (RARRAY_CONST_PTR(a)[i]) |
| #define | RARRAY_ASET(a, i, v) |
| #define | RARRAY_PTR(a) ((VALUE *)RARRAY_CONST_PTR(RGENGC_WB_PROTECTED_ARRAY ? OBJ_WB_UNPROTECT((VALUE)a) : ((VALUE)a))) |
| #define | RREGEXP_SRC(r) RREGEXP(r)->src |
| #define | RREGEXP_SRC_PTR(r) RSTRING_PTR(RREGEXP(r)->src) |
| #define | RREGEXP_SRC_LEN(r) RSTRING_LEN(RREGEXP(r)->src) |
| #define | RREGEXP_SRC_END(r) RSTRING_END(RREGEXP(r)->src) |
| #define | RHASH_TBL(h) rb_hash_tbl(h) |
| #define | RHASH_ITER_LEV(h) (RHASH(h)->iter_lev) |
| #define | RHASH_IFNONE(h) (RHASH(h)->ifnone) |
| #define | RHASH_SIZE(h) (RHASH(h)->ntbl ? (st_index_t)RHASH(h)->ntbl->num_entries : 0) |
| #define | RHASH_EMPTY_P(h) (RHASH_SIZE(h) == 0) |
| #define | RHASH_SET_IFNONE(h, ifnone) rb_hash_set_ifnone((VALUE)h, ifnone) |
| #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 | 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 | HAVE_TYPE_RB_DATA_TYPE_T 1 |
| #define | HAVE_RB_DATA_TYPE_T_FUNCTION 1 |
| #define | HAVE_RB_DATA_TYPE_T_PARENT 1 |
| #define | DATA_PTR(dta) (RDATA(dta)->data) |
| #define | RTYPEDDATA_P(v) (RTYPEDDATA(v)->typed_flag == 1) |
| #define | RTYPEDDATA_TYPE(v) (RTYPEDDATA(v)->type) |
| #define | RTYPEDDATA_DATA(v) (RTYPEDDATA(v)->data) |
| #define | Check_TypedStruct(v, t) rb_check_typeddata((VALUE)(v),(t)) |
| #define | RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
| #define | RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
| #define | RUBY_TYPED_DEFAULT_FREE RUBY_DEFAULT_FREE |
| #define | RUBY_TYPED_NEVER_FREE RUBY_NEVER_FREE |
| #define | RUBY_TYPED_FREE_IMMEDIATELY 1 |
| #define | RUBY_TYPED_WB_PROTECTED FL_WB_PROTECTED |
| #define | Data_Wrap_Struct(klass, mark, free, sval) rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
| #define | Data_Make_Struct(klass, type, mark, free, sval) |
| #define | TypedData_Wrap_Struct(klass, data_type, sval) rb_data_typed_object_alloc((klass),(sval),(data_type)) |
| #define | TypedData_Make_Struct(klass, type, data_type, sval) |
| #define | Data_Get_Struct(obj, type, sval) |
| #define | TypedData_Get_Struct(obj, type, data_type, sval) |
| #define | RSTRUCT_EMBED_LEN_MAX 3 |
| #define | RSTRUCT_EMBED_LEN_MASK (FL_USER2|FL_USER1) |
| #define | RSTRUCT_EMBED_LEN_SHIFT (FL_USHIFT+1) |
| #define | RSTRUCT_LEN(st) |
| #define | RSTRUCT_LENINT(st) rb_long2int(RSTRUCT_LEN(st)) |
| #define | RSTRUCT_CONST_PTR(st) |
| #define | RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RGENGC_WB_PROTECTED_STRUCT ? OBJ_WB_UNPROTECT((VALUE)st) : (VALUE)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 | RBIGNUM_EMBED_LEN_NUMBITS 3 |
| #define | RBIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*3/SIZEOF_ACTUAL_BDIGIT) |
| #define | RBIGNUM_SIGN_BIT FL_USER1 |
| #define | RBIGNUM_SIGN(b) ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) |
| #define | RBIGNUM_SET_SIGN(b, sign) |
| #define | RBIGNUM_POSITIVE_P(b) RBIGNUM_SIGN(b) |
| #define | RBIGNUM_NEGATIVE_P(b) (!RBIGNUM_SIGN(b)) |
| #define | RBIGNUM_EMBED_FLAG FL_USER2 |
| #define | RBIGNUM_EMBED_LEN_MASK (FL_USER5|FL_USER4|FL_USER3) |
| #define | RBIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+RBIGNUM_EMBED_LEN_NUMBITS) |
| #define | RBIGNUM_LEN(b) |
| #define | RBIGNUM_DIGITS(b) |
| #define | RBIGNUM_LENINT(b) rb_long2int(RBIGNUM_LEN(b)) |
| #define | R_CAST(st) (struct st*) |
| #define | RBASIC(obj) (R_CAST(RBasic)(obj)) |
| #define | ROBJECT(obj) (R_CAST(RObject)(obj)) |
| #define | RCLASS(obj) (R_CAST(RClass)(obj)) |
| #define | RMODULE(obj) RCLASS(obj) |
| #define | RFLOAT(obj) (R_CAST(RFloat)(obj)) |
| #define | RSTRING(obj) (R_CAST(RString)(obj)) |
| #define | RREGEXP(obj) (R_CAST(RRegexp)(obj)) |
| #define | RARRAY(obj) (R_CAST(RArray)(obj)) |
| #define | RHASH(obj) (R_CAST(RHash)(obj)) |
| #define | RDATA(obj) (R_CAST(RData)(obj)) |
| #define | RTYPEDDATA(obj) (R_CAST(RTypedData)(obj)) |
| #define | RSTRUCT(obj) (R_CAST(RStruct)(obj)) |
| #define | RBIGNUM(obj) (R_CAST(RBignum)(obj)) |
| #define | RFILE(obj) (R_CAST(RFile)(obj)) |
| #define | RRATIONAL(obj) (R_CAST(RRational)(obj)) |
| #define | RCOMPLEX(obj) (R_CAST(RComplex)(obj)) |
| #define | FL_SINGLETON FL_USER0 |
| #define | FL_WB_PROTECTED (((VALUE)1)<<5) |
| #define | FL_PROMOTED (((VALUE)1)<<6) |
| #define | FL_FINALIZE (((VALUE)1)<<7) |
| #define | FL_TAINT (((VALUE)1)<<8) |
| #define | FL_UNTRUSTED FL_TAINT |
| #define | FL_EXIVAR (((VALUE)1)<<10) |
| #define | FL_FREEZE (((VALUE)1)<<11) |
| #define | FL_USHIFT 12 |
| #define | FL_USER0 (((VALUE)1)<<(FL_USHIFT+0)) |
| #define | FL_USER1 (((VALUE)1)<<(FL_USHIFT+1)) |
| #define | FL_USER2 (((VALUE)1)<<(FL_USHIFT+2)) |
| #define | FL_USER3 (((VALUE)1)<<(FL_USHIFT+3)) |
| #define | FL_USER4 (((VALUE)1)<<(FL_USHIFT+4)) |
| #define | FL_USER5 (((VALUE)1)<<(FL_USHIFT+5)) |
| #define | FL_USER6 (((VALUE)1)<<(FL_USHIFT+6)) |
| #define | FL_USER7 (((VALUE)1)<<(FL_USHIFT+7)) |
| #define | FL_USER8 (((VALUE)1)<<(FL_USHIFT+8)) |
| #define | FL_USER9 (((VALUE)1)<<(FL_USHIFT+9)) |
| #define | FL_USER10 (((VALUE)1)<<(FL_USHIFT+10)) |
| #define | FL_USER11 (((VALUE)1)<<(FL_USHIFT+11)) |
| #define | FL_USER12 (((VALUE)1)<<(FL_USHIFT+12)) |
| #define | FL_USER13 (((VALUE)1)<<(FL_USHIFT+13)) |
| #define | FL_USER14 (((VALUE)1)<<(FL_USHIFT+14)) |
| #define | FL_USER15 (((VALUE)1)<<(FL_USHIFT+15)) |
| #define | FL_USER16 (((VALUE)1)<<(FL_USHIFT+16)) |
| #define | FL_USER17 (((VALUE)1)<<(FL_USHIFT+17)) |
| #define | FL_USER18 (((VALUE)1)<<(FL_USHIFT+18)) |
| #define | FL_USER19 (((VALUE)1)<<(FL_USHIFT+19)) |
| #define | SPECIAL_CONST_P(x) (IMMEDIATE_P(x) || !RTEST(x)) |
| #define | FL_ABLE(x) (!SPECIAL_CONST_P(x) && BUILTIN_TYPE(x) != T_NODE) |
| #define | FL_TEST_RAW(x, f) (RBASIC(x)->flags&(f)) |
| #define | FL_TEST(x, f) (FL_ABLE(x)?FL_TEST_RAW((x),(f)):0) |
| #define | FL_ANY(x, f) FL_TEST((x),(f)) |
| #define | FL_ALL(x, f) (FL_TEST((x),(f)) == (f)) |
| #define | FL_SET(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags |= (f);} while (0) |
| #define | FL_UNSET(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) |
| #define | FL_REVERSE(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags ^= (f);} while (0) |
| #define | OBJ_TAINTED(x) (!!FL_TEST((x), FL_TAINT)) |
| #define | OBJ_TAINT(x) FL_SET((x), FL_TAINT) |
| #define | OBJ_UNTRUSTED(x) OBJ_TAINTED(x) |
| #define | OBJ_UNTRUST(x) OBJ_TAINT(x) |
| #define | OBJ_INFECT(x, s) |
| #define | OBJ_FROZEN(x) (!!(FL_ABLE(x)?(RBASIC(x)->flags&(FL_FREEZE)):(FIXNUM_P(x)||FLONUM_P(x)||SYMBOL_P(x)))) |
| #define | OBJ_FREEZE(x) FL_SET((x), FL_FREEZE) |
| #define | OBJ_PROMOTED(x) (SPECIAL_CONST_P(x) ? 0 : FL_TEST_RAW((x), FL_PROMOTED)) |
| #define | OBJ_WB_PROTECTED(x) (SPECIAL_CONST_P(x) ? 1 : FL_TEST_RAW((x), FL_WB_PROTECTED)) |
| #define | OBJ_WB_UNPROTECT(x) rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
| #define | RB_OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__) |
| #define | RB_OBJ_WRITTEN(a, oldv, b) rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
| #define | USE_RGENGC_LOGGING_WB_UNPROTECT 0 |
| #define | INT2NUM(x) rb_int2num_inline(x) |
| #define | UINT2NUM(x) rb_uint2num_inline(x) |
| #define | LONG2NUM(x) rb_long2num_inline(x) |
| #define | ULONG2NUM(x) rb_ulong2num_inline(x) |
| #define | NUM2CHR(x) rb_num2char_inline(x) |
| #define | CHR2FIX(x) INT2FIX((long)((x)&0xff)) |
| #define | ALLOC_N(type, n) ((type*)xmalloc2((n),sizeof(type))) |
| #define | ALLOC(type) ((type*)xmalloc(sizeof(type))) |
| #define | REALLOC_N(var, type, n) ((var)=(type*)xrealloc2((char*)(var),(n),sizeof(type))) |
| #define | ALLOCA_N(type, n) ((type*)alloca(sizeof(type)*(n))) |
| #define | ALLOCV(v, n) ((n) < 1024 ? (RB_GC_GUARD(v) = 0, alloca(n)) : rb_alloc_tmp_buffer(&(v), (n))) |
| #define | ALLOCV_N(type, v, n) ((type*)ALLOCV((v), sizeof(type)*(n))) |
| #define | ALLOCV_END(v) rb_free_tmp_buffer(&(v)) |
| #define | MEMZERO(p, type, n) memset((p), 0, sizeof(type)*(n)) |
| #define | MEMCPY(p1, p2, type, n) memcpy((p1), (p2), sizeof(type)*(n)) |
| #define | MEMMOVE(p1, p2, type, n) memmove((p1), (p2), sizeof(type)*(n)) |
| #define | MEMCMP(p1, p2, type, n) memcmp((p1), (p2), sizeof(type)*(n)) |
| #define | RUBY_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))(func)) |
| #define | CONST_ID_CACHE(result, str) |
| #define | CONST_ID(var, str) do CONST_ID_CACHE((var) =, (str)) while (0) |
| #define | rb_intern_const(str) rb_intern2((str), (long)strlen(str)) |
| #define | rb_funcall2 rb_funcallv |
| #define | rb_funcall3 rb_funcallv_public |
| #define | HAVE_RB_SCAN_ARGS_OPTIONAL_HASH 1 |
| #define | ruby_verbose (*rb_ruby_verbose_ptr()) |
| #define | ruby_debug (*rb_ruby_debug_ptr()) |
| #define | RB_IO_WAIT_READABLE 0 |
| #define | RB_IO_WAIT_WRITABLE 1 |
| #define | RUBY_BLOCK_CALL_FUNC_TAKES_BLOCKARG 1 |
| #define | RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg) VALUE yielded_arg, VALUE callback_arg, int argc, const VALUE *argv, VALUE blockarg |
| #define | RB_FLOAT_TYPE_P(obj) (FLONUM_P(obj) || (!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == T_FLOAT)) |
| #define | RB_TYPE_P(obj, type) |
| #define | rb_type_p(obj, type) (rb_type(obj) == (type)) |
| #define | RUBY_VM 1 |
| #define | HAVE_NATIVETHREAD |
| #define | RUBY_EVENT_NONE 0x0000 |
| #define | RUBY_EVENT_LINE 0x0001 |
| #define | RUBY_EVENT_CLASS 0x0002 |
| #define | RUBY_EVENT_END 0x0004 |
| #define | RUBY_EVENT_CALL 0x0008 |
| #define | RUBY_EVENT_RETURN 0x0010 |
| #define | RUBY_EVENT_C_CALL 0x0020 |
| #define | RUBY_EVENT_C_RETURN 0x0040 |
| #define | RUBY_EVENT_RAISE 0x0080 |
| #define | RUBY_EVENT_ALL 0x00ff |
| #define | RUBY_EVENT_B_CALL 0x0100 |
| #define | RUBY_EVENT_B_RETURN 0x0200 |
| #define | RUBY_EVENT_THREAD_BEGIN 0x0400 |
| #define | RUBY_EVENT_THREAD_END 0x0800 |
| #define | RUBY_EVENT_TRACEPOINT_ALL 0xffff |
| #define | RUBY_EVENT_SPECIFIED_LINE 0x010000 |
| #define | RUBY_EVENT_COVERAGE 0x020000 |
| #define | RUBY_INTERNAL_EVENT_SWITCH 0x040000 |
| #define | RUBY_EVENT_SWITCH 0x040000 |
| #define | RUBY_INTERNAL_EVENT_NEWOBJ 0x100000 |
| #define | RUBY_INTERNAL_EVENT_FREEOBJ 0x200000 |
| #define | RUBY_INTERNAL_EVENT_GC_START 0x400000 |
| #define | RUBY_INTERNAL_EVENT_GC_END_MARK 0x800000 |
| #define | RUBY_INTERNAL_EVENT_GC_END_SWEEP 0x1000000 |
| #define | RUBY_INTERNAL_EVENT_OBJSPACE_MASK 0x1f00000 |
| #define | RUBY_INTERNAL_EVENT_MASK 0xfffe0000 |
| #define | RB_EVENT_HOOKS_HAVE_CALLBACK_DATA 1 |
| #define | rb_isascii(c) ((unsigned long)(c) < 128) |
| #define | ISASCII(c) rb_isascii((unsigned char)(c)) |
| #define | ISPRINT(c) rb_isprint((unsigned char)(c)) |
| #define | ISGRAPH(c) rb_isgraph((unsigned char)(c)) |
| #define | ISSPACE(c) rb_isspace((unsigned char)(c)) |
| #define | ISUPPER(c) rb_isupper((unsigned char)(c)) |
| #define | ISLOWER(c) rb_islower((unsigned char)(c)) |
| #define | ISALNUM(c) rb_isalnum((unsigned char)(c)) |
| #define | ISALPHA(c) rb_isalpha((unsigned char)(c)) |
| #define | ISDIGIT(c) rb_isdigit((unsigned char)(c)) |
| #define | ISXDIGIT(c) rb_isxdigit((unsigned char)(c)) |
| #define | TOUPPER(c) rb_toupper((unsigned char)(c)) |
| #define | TOLOWER(c) rb_tolower((unsigned char)(c)) |
| #define | STRCASECMP(s1, s2) (st_locale_insensitive_strcasecmp((s1), (s2))) |
| #define | STRNCASECMP(s1, s2, n) (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
| #define | STRTOUL(str, endptr, base) (ruby_strtoul((str), (endptr), (base))) |
| #define | InitVM(ext) {void InitVM_##ext(void);InitVM_##ext();} |
| #define | RUBY_INIT_STACK |
| A convenience macro to call ruby_init_stack(). | |
| #define | Init_stack(addr) ruby_init_stack(addr) |
| #define | RUBY_RUBY_H 1 |
| #define | NORETURN_STYLE_NEW 1 |
| #define | NORETURN(x) x |
| #define | DEPRECATED(x) x |
| #define | NOINLINE(x) x |
| #define | UNREACHABLE |
| #define | PRINTF_ARGS(decl, string_index, first_to_check) decl |
| #define | SIGNED_VALUE long |
| #define | SIZEOF_VALUE SIZEOF_LONG |
| #define | PRI_VALUE_PREFIX "l" |
| #define | PRI_INT_PREFIX "" |
| #define | PRI_LONG_PREFIX "l" |
| #define | PRIdVALUE PRI_VALUE_PREFIX"d" |
| #define | PRIoVALUE PRI_VALUE_PREFIX"o" |
| #define | PRIuVALUE PRI_VALUE_PREFIX"u" |
| #define | PRIxVALUE PRI_VALUE_PREFIX"x" |
| #define | PRIXVALUE PRI_VALUE_PREFIX"X" |
| #define | PRIsVALUE PRI_VALUE_PREFIX"i" |
| #define | PRI_PTRDIFF_PREFIX "" |
| #define | PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d" |
| #define | PRIiPTRDIFF PRI_PTRDIFF_PREFIX"i" |
| #define | PRIoPTRDIFF PRI_PTRDIFF_PREFIX"o" |
| #define | PRIuPTRDIFF PRI_PTRDIFF_PREFIX"u" |
| #define | PRIxPTRDIFF PRI_PTRDIFF_PREFIX"x" |
| #define | PRIXPTRDIFF PRI_PTRDIFF_PREFIX"X" |
| #define | PRI_SIZE_PREFIX "" |
| #define | PRIdSIZE PRI_SIZE_PREFIX"d" |
| #define | PRIiSIZE PRI_SIZE_PREFIX"i" |
| #define | PRIoSIZE PRI_SIZE_PREFIX"o" |
| #define | PRIuSIZE PRI_SIZE_PREFIX"u" |
| #define | PRIxSIZE PRI_SIZE_PREFIX"x" |
| #define | PRIXSIZE PRI_SIZE_PREFIX"X" |
| #define | LONG_MAX 2147483647 |
| #define | LONG_MIN (-LONG_MAX-1) |
| #define | CHAR_BIT 8 |
| #define | FIXNUM_MAX (LONG_MAX>>1) |
| #define | FIXNUM_MIN RSHIFT((long)LONG_MIN,1) |
| #define | INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |
| #define | LONG2FIX(i) INT2FIX(i) |
| #define | rb_fix_new(v) INT2FIX(v) |
| #define | rb_int_new(v) rb_int2inum(v) |
| #define | rb_uint_new(v) rb_uint2inum(v) |
| #define | OFFT2NUM(v) LONG2NUM(v) |
| #define | SIZET2NUM(v) ULONG2NUM(v) |
| #define | SSIZET2NUM(v) LONG2NUM(v) |
| #define | SIZE_MAX ULONG_MAX |
| #define | SIZE_MIN ULONG_MIN |
| #define | SSIZE_MAX LONG_MAX |
| #define | SSIZE_MIN LONG_MIN |
| #define | rb_long2int(n) ((int)(n)) |
| #define | PIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2PIDT(v) NUM2LONG(v) |
| #define | UIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2UIDT(v) NUM2LONG(v) |
| #define | GIDT2NUM(v) LONG2NUM(v) |
| #define | NUM2GIDT(v) NUM2LONG(v) |
| #define | NUM2MODET(v) NUM2INT(v) |
| #define | MODET2NUM(v) INT2NUM(v) |
| #define | FIX2LONG(x) ((long)RSHIFT((SIGNED_VALUE)(x),1)) |
| #define | FIX2ULONG(x) ((unsigned long)FIX2LONG(x)) |
| #define | FIXNUM_P(f) (((int)(SIGNED_VALUE)(f))&FIXNUM_FLAG) |
| #define | POSFIXABLE(f) ((f) < FIXNUM_MAX+1) |
| #define | NEGFIXABLE(f) ((f) >= FIXNUM_MIN) |
| #define | FIXABLE(f) (POSFIXABLE(f) && NEGFIXABLE(f)) |
| #define | IMMEDIATE_P(x) ((VALUE)(x) & IMMEDIATE_MASK) |
| #define | SYMBOL_P(x) (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG) |
| #define | ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG) |
| #define | SYM2ID(x) RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT) |
| #define | USE_FLONUM 1 |
| #define | FLONUM_P(x) ((((int)(SIGNED_VALUE)(x))&FLONUM_MASK) == FLONUM_FLAG) |
| #define | USE_SYMBOL_AS_METHOD_NAME 1 |
| #define | Qfalse ((VALUE)RUBY_Qfalse) |
| #define | Qtrue ((VALUE)RUBY_Qtrue) |
| #define | Qnil ((VALUE)RUBY_Qnil) |
| #define | Qundef ((VALUE)RUBY_Qundef) |
| #define | IMMEDIATE_MASK RUBY_IMMEDIATE_MASK |
| #define | FIXNUM_FLAG RUBY_FIXNUM_FLAG |
| #define | FLONUM_MASK RUBY_FLONUM_MASK |
| #define | FLONUM_FLAG RUBY_FLONUM_FLAG |
| #define | SYMBOL_FLAG RUBY_SYMBOL_FLAG |
| #define | RTEST(v) !(((VALUE)(v) & ~Qnil) == 0) |
| #define | NIL_P(v) !((VALUE)(v) != Qnil) |
| #define | CLASS_OF(v) rb_class_of((VALUE)(v)) |
| #define | T_NONE RUBY_T_NONE |
| #define | T_NIL RUBY_T_NIL |
| #define | T_OBJECT RUBY_T_OBJECT |
| #define | T_CLASS RUBY_T_CLASS |
| #define | T_ICLASS RUBY_T_ICLASS |
| #define | T_MODULE RUBY_T_MODULE |
| #define | T_FLOAT RUBY_T_FLOAT |
| #define | T_STRING RUBY_T_STRING |
| #define | T_REGEXP RUBY_T_REGEXP |
| #define | T_ARRAY RUBY_T_ARRAY |
| #define | T_HASH RUBY_T_HASH |
| #define | T_STRUCT RUBY_T_STRUCT |
| #define | T_BIGNUM RUBY_T_BIGNUM |
| #define | T_FILE RUBY_T_FILE |
| #define | T_FIXNUM RUBY_T_FIXNUM |
| #define | T_TRUE RUBY_T_TRUE |
| #define | T_FALSE RUBY_T_FALSE |
| #define | T_DATA RUBY_T_DATA |
| #define | T_MATCH RUBY_T_MATCH |
| #define | T_SYMBOL RUBY_T_SYMBOL |
| #define | T_RATIONAL RUBY_T_RATIONAL |
| #define | T_COMPLEX RUBY_T_COMPLEX |
| #define | T_UNDEF RUBY_T_UNDEF |
| #define | T_NODE RUBY_T_NODE |
| #define | T_ZOMBIE RUBY_T_ZOMBIE |
| #define | T_MASK RUBY_T_MASK |
| #define | BUILTIN_TYPE(x) (int)(((struct RBasic*)(x))->flags & T_MASK) |
| #define | TYPE(x) rb_type((VALUE)(x)) |
| #define | HAVE_RB_GC_GUARDED_PTR 1 |
| #define | RB_GC_GUARD_PTR(ptr) rb_gc_guarded_ptr(ptr) |
| #define | RB_GC_GUARD(v) (*RB_GC_GUARD_PTR(&(v))) |
| #define | RB_UNUSED_VAR(x) x |
| #define | Check_Type(v, t) rb_check_type((VALUE)(v),(t)) |
| #define | StringValue(v) rb_string_value(&(v)) |
| #define | StringValuePtr(v) rb_string_value_ptr(&(v)) |
| #define | StringValueCStr(v) rb_string_value_cstr(&(v)) |
| #define | SafeStringValue(v) |
| #define | Check_SafeStr(v) rb_check_safe_str((VALUE)(v)) |
| #define | ExportStringValue(v) |
| #define | FilePathValue(v) (RB_GC_GUARD(v) = rb_get_path(v)) |
| #define | FilePathStringValue(v) ((v) = rb_get_path_no_checksafe(v)) |
| #define | RUBY_SAFE_LEVEL_MAX 3 |
| #define | NUM2LONG(x) rb_num2long_inline(x) |
| #define | NUM2ULONG(x) rb_num2ulong_inline(x) |
| #define | NUM2INT(x) ((int)NUM2LONG(x)) |
| #define | NUM2UINT(x) ((unsigned int)NUM2ULONG(x)) |
| #define | FIX2INT(x) ((int)FIX2LONG(x)) |
| #define | FIX2UINT(x) ((unsigned int)FIX2ULONG(x)) |
| #define | FIX2SHORT(x) (rb_fix2short((VALUE)(x))) |
| #define | NUM2SHORT(x) rb_num2short_inline(x) |
| #define | NUM2USHORT(x) rb_num2ushort(x) |
| #define | NUM2OFFT(x) NUM2LONG(x) |
| #define | NUM2SIZET(x) NUM2ULONG(x) |
| #define | NUM2SSIZET(x) NUM2LONG(x) |
| #define | NUM2DBL(x) rb_num2dbl((VALUE)(x)) |
| #define | NEWOBJ(obj, type) type *(obj) = (type*)rb_newobj() |
| #define | NEWOBJ_OF(obj, type, klass, flags) type *(obj) = (type*)rb_newobj_of(klass, flags) |
| #define | OBJSETUP(obj, c, t) rb_obj_setup(obj, c, t) |
| #define | CLONESETUP(clone, obj) |
| #define | DUPSETUP(dup, obj) |
| #define | USE_RGENGC 1 |
| #define | RGENGC_WB_PROTECTED_ARRAY 1 |
| #define | RGENGC_WB_PROTECTED_HASH 1 |
| #define | RGENGC_WB_PROTECTED_STRUCT 1 |
| #define | RGENGC_WB_PROTECTED_STRING 1 |
| #define | RGENGC_WB_PROTECTED_OBJECT 1 |
| #define | RGENGC_WB_PROTECTED_REGEXP 1 |
| #define | RGENGC_WB_PROTECTED_CLASS 1 |
| #define | RGENGC_WB_PROTECTED_FLOAT 1 |
| #define | RGENGC_WB_PROTECTED_COMPLEX 1 |
| #define | RGENGC_WB_PROTECTED_RATIONAL 1 |
| #define | RGENGC_WB_PROTECTED_BIGNUM 1 |
| #define | RGENGC_WB_PROTECTED_NODE_CREF 1 |
| #define | RBASIC_CLASS(obj) (RBASIC(obj)->klass) |
| #define | ROBJECT_EMBED_LEN_MAX 3 |
| #define | ROBJECT_EMBED FL_USER1 |
| #define | ROBJECT_NUMIV(o) |
| #define | ROBJECT_IVPTR(o) |
| #define | ROBJECT_IV_INDEX_TBL(o) |
| #define | RCLASS_SUPER(c) rb_class_get_superclass(c) |
| #define | RMODULE_IV_TBL(m) RCLASS_IV_TBL(m) |
| #define | RMODULE_CONST_TBL(m) RCLASS_CONST_TBL(m) |
| #define | RMODULE_M_TBL(m) RCLASS_M_TBL(m) |
| #define | RMODULE_SUPER(m) RCLASS_SUPER(m) |
| #define | RMODULE_IS_OVERLAID FL_USER2 |
| #define | RMODULE_IS_REFINEMENT FL_USER3 |
| #define | RMODULE_INCLUDED_INTO_REFINEMENT FL_USER4 |
| #define | RFLOAT_VALUE(v) rb_float_value(v) |
| #define | DBL2NUM(dbl) rb_float_new(dbl) |
| #define | ELTS_SHARED FL_USER2 |
| #define | RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1)) |
| #define | RSTRING_NOEMBED FL_USER1 |
| #define | RSTRING_FSTR FL_USER17 |
| #define | RSTRING_EMBED_LEN_MASK (FL_USER2|FL_USER3|FL_USER4|FL_USER5|FL_USER6) |
| #define | RSTRING_EMBED_LEN_SHIFT (FL_USHIFT+2) |
| #define | RSTRING_EMBED_LEN(str) |
| #define | RSTRING_LEN(str) |
| #define | RSTRING_PTR(str) |
| #define | RSTRING_END(str) |
| #define | RSTRING_LENINT(str) rb_long2int(RSTRING_LEN(str)) |
| #define | RSTRING_GETMEM(str, ptrvar, lenvar) |
| #define | RARRAY_EMBED_LEN_MAX 3 |
| #define | RARRAY_EMBED_FLAG FL_USER1 |
| #define | RARRAY_EMBED_LEN_MASK (FL_USER4|FL_USER3) |
| #define | RARRAY_EMBED_LEN_SHIFT (FL_USHIFT+3) |
| #define | RARRAY_LEN(a) |
| #define | RARRAY_LENINT(ary) rb_long2int(RARRAY_LEN(ary)) |
| #define | RARRAY_CONST_PTR(a) |
| #define | RARRAY_PTR_USE_START(a) ((VALUE *)RARRAY_CONST_PTR(a)) |
| #define | RARRAY_PTR_USE_END(a) |
| #define | RARRAY_PTR_USE(ary, ptr_name, expr) |
| #define | RARRAY_AREF(a, i) (RARRAY_CONST_PTR(a)[i]) |
| #define | RARRAY_ASET(a, i, v) |
| #define | RARRAY_PTR(a) ((VALUE *)RARRAY_CONST_PTR(RGENGC_WB_PROTECTED_ARRAY ? OBJ_WB_UNPROTECT((VALUE)a) : ((VALUE)a))) |
| #define | RREGEXP_SRC(r) RREGEXP(r)->src |
| #define | RREGEXP_SRC_PTR(r) RSTRING_PTR(RREGEXP(r)->src) |
| #define | RREGEXP_SRC_LEN(r) RSTRING_LEN(RREGEXP(r)->src) |
| #define | RREGEXP_SRC_END(r) RSTRING_END(RREGEXP(r)->src) |
| #define | RHASH_TBL(h) rb_hash_tbl(h) |
| #define | RHASH_ITER_LEV(h) (RHASH(h)->iter_lev) |
| #define | RHASH_IFNONE(h) (RHASH(h)->ifnone) |
| #define | RHASH_SIZE(h) (RHASH(h)->ntbl ? (st_index_t)RHASH(h)->ntbl->num_entries : 0) |
| #define | RHASH_EMPTY_P(h) (RHASH_SIZE(h) == 0) |
| #define | RHASH_SET_IFNONE(h, ifnone) rb_hash_set_ifnone((VALUE)h, ifnone) |
| #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 | 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 | HAVE_TYPE_RB_DATA_TYPE_T 1 |
| #define | HAVE_RB_DATA_TYPE_T_FUNCTION 1 |
| #define | HAVE_RB_DATA_TYPE_T_PARENT 1 |
| #define | DATA_PTR(dta) (RDATA(dta)->data) |
| #define | RTYPEDDATA_P(v) (RTYPEDDATA(v)->typed_flag == 1) |
| #define | RTYPEDDATA_TYPE(v) (RTYPEDDATA(v)->type) |
| #define | RTYPEDDATA_DATA(v) (RTYPEDDATA(v)->data) |
| #define | Check_TypedStruct(v, t) rb_check_typeddata((VALUE)(v),(t)) |
| #define | RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
| #define | RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
| #define | RUBY_TYPED_DEFAULT_FREE RUBY_DEFAULT_FREE |
| #define | RUBY_TYPED_NEVER_FREE RUBY_NEVER_FREE |
| #define | RUBY_TYPED_FREE_IMMEDIATELY 1 |
| #define | RUBY_TYPED_WB_PROTECTED FL_WB_PROTECTED |
| #define | Data_Wrap_Struct(klass, mark, free, sval) rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
| #define | Data_Make_Struct(klass, type, mark, free, sval) |
| #define | TypedData_Wrap_Struct(klass, data_type, sval) rb_data_typed_object_alloc((klass),(sval),(data_type)) |
| #define | TypedData_Make_Struct(klass, type, data_type, sval) |
| #define | Data_Get_Struct(obj, type, sval) |
| #define | TypedData_Get_Struct(obj, type, data_type, sval) |
| #define | RSTRUCT_EMBED_LEN_MAX 3 |
| #define | RSTRUCT_EMBED_LEN_MASK (FL_USER2|FL_USER1) |
| #define | RSTRUCT_EMBED_LEN_SHIFT (FL_USHIFT+1) |
| #define | RSTRUCT_LEN(st) |
| #define | RSTRUCT_LENINT(st) rb_long2int(RSTRUCT_LEN(st)) |
| #define | RSTRUCT_CONST_PTR(st) |
| #define | RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RGENGC_WB_PROTECTED_STRUCT ? OBJ_WB_UNPROTECT((VALUE)st) : (VALUE)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 | RBIGNUM_EMBED_LEN_NUMBITS 3 |
| #define | RBIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*3/SIZEOF_ACTUAL_BDIGIT) |
| #define | RBIGNUM_SIGN_BIT FL_USER1 |
| #define | RBIGNUM_SIGN(b) ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) |
| #define | RBIGNUM_SET_SIGN(b, sign) |
| #define | RBIGNUM_POSITIVE_P(b) RBIGNUM_SIGN(b) |
| #define | RBIGNUM_NEGATIVE_P(b) (!RBIGNUM_SIGN(b)) |
| #define | RBIGNUM_EMBED_FLAG FL_USER2 |
| #define | RBIGNUM_EMBED_LEN_MASK (FL_USER5|FL_USER4|FL_USER3) |
| #define | RBIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+RBIGNUM_EMBED_LEN_NUMBITS) |
| #define | RBIGNUM_LEN(b) |
| #define | RBIGNUM_DIGITS(b) |
| #define | RBIGNUM_LENINT(b) rb_long2int(RBIGNUM_LEN(b)) |
| #define | R_CAST(st) (struct st*) |
| #define | RBASIC(obj) (R_CAST(RBasic)(obj)) |
| #define | ROBJECT(obj) (R_CAST(RObject)(obj)) |
| #define | RCLASS(obj) (R_CAST(RClass)(obj)) |
| #define | RMODULE(obj) RCLASS(obj) |
| #define | RFLOAT(obj) (R_CAST(RFloat)(obj)) |
| #define | RSTRING(obj) (R_CAST(RString)(obj)) |
| #define | RREGEXP(obj) (R_CAST(RRegexp)(obj)) |
| #define | RARRAY(obj) (R_CAST(RArray)(obj)) |
| #define | RHASH(obj) (R_CAST(RHash)(obj)) |
| #define | RDATA(obj) (R_CAST(RData)(obj)) |
| #define | RTYPEDDATA(obj) (R_CAST(RTypedData)(obj)) |
| #define | RSTRUCT(obj) (R_CAST(RStruct)(obj)) |
| #define | RBIGNUM(obj) (R_CAST(RBignum)(obj)) |
| #define | RFILE(obj) (R_CAST(RFile)(obj)) |
| #define | RRATIONAL(obj) (R_CAST(RRational)(obj)) |
| #define | RCOMPLEX(obj) (R_CAST(RComplex)(obj)) |
| #define | FL_SINGLETON FL_USER0 |
| #define | FL_WB_PROTECTED (((VALUE)1)<<5) |
| #define | FL_PROMOTED (((VALUE)1)<<6) |
| #define | FL_FINALIZE (((VALUE)1)<<7) |
| #define | FL_TAINT (((VALUE)1)<<8) |
| #define | FL_UNTRUSTED FL_TAINT |
| #define | FL_EXIVAR (((VALUE)1)<<10) |
| #define | FL_FREEZE (((VALUE)1)<<11) |
| #define | FL_USHIFT 12 |
| #define | FL_USER0 (((VALUE)1)<<(FL_USHIFT+0)) |
| #define | FL_USER1 (((VALUE)1)<<(FL_USHIFT+1)) |
| #define | FL_USER2 (((VALUE)1)<<(FL_USHIFT+2)) |
| #define | FL_USER3 (((VALUE)1)<<(FL_USHIFT+3)) |
| #define | FL_USER4 (((VALUE)1)<<(FL_USHIFT+4)) |
| #define | FL_USER5 (((VALUE)1)<<(FL_USHIFT+5)) |
| #define | FL_USER6 (((VALUE)1)<<(FL_USHIFT+6)) |
| #define | FL_USER7 (((VALUE)1)<<(FL_USHIFT+7)) |
| #define | FL_USER8 (((VALUE)1)<<(FL_USHIFT+8)) |
| #define | FL_USER9 (((VALUE)1)<<(FL_USHIFT+9)) |
| #define | FL_USER10 (((VALUE)1)<<(FL_USHIFT+10)) |
| #define | FL_USER11 (((VALUE)1)<<(FL_USHIFT+11)) |
| #define | FL_USER12 (((VALUE)1)<<(FL_USHIFT+12)) |
| #define | FL_USER13 (((VALUE)1)<<(FL_USHIFT+13)) |
| #define | FL_USER14 (((VALUE)1)<<(FL_USHIFT+14)) |
| #define | FL_USER15 (((VALUE)1)<<(FL_USHIFT+15)) |
| #define | FL_USER16 (((VALUE)1)<<(FL_USHIFT+16)) |
| #define | FL_USER17 (((VALUE)1)<<(FL_USHIFT+17)) |
| #define | FL_USER18 (((VALUE)1)<<(FL_USHIFT+18)) |
| #define | FL_USER19 (((VALUE)1)<<(FL_USHIFT+19)) |
| #define | SPECIAL_CONST_P(x) (IMMEDIATE_P(x) || !RTEST(x)) |
| #define | FL_ABLE(x) (!SPECIAL_CONST_P(x) && BUILTIN_TYPE(x) != T_NODE) |
| #define | FL_TEST_RAW(x, f) (RBASIC(x)->flags&(f)) |
| #define | FL_TEST(x, f) (FL_ABLE(x)?FL_TEST_RAW((x),(f)):0) |
| #define | FL_ANY(x, f) FL_TEST((x),(f)) |
| #define | FL_ALL(x, f) (FL_TEST((x),(f)) == (f)) |
| #define | FL_SET(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags |= (f);} while (0) |
| #define | FL_UNSET(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) |
| #define | FL_REVERSE(x, f) do {if (FL_ABLE(x)) RBASIC(x)->flags ^= (f);} while (0) |
| #define | OBJ_TAINTED(x) (!!FL_TEST((x), FL_TAINT)) |
| #define | OBJ_TAINT(x) FL_SET((x), FL_TAINT) |
| #define | OBJ_UNTRUSTED(x) OBJ_TAINTED(x) |
| #define | OBJ_UNTRUST(x) OBJ_TAINT(x) |
| #define | OBJ_INFECT(x, s) |
| #define | OBJ_FROZEN(x) (!!(FL_ABLE(x)?(RBASIC(x)->flags&(FL_FREEZE)):(FIXNUM_P(x)||FLONUM_P(x)||SYMBOL_P(x)))) |
| #define | OBJ_FREEZE(x) FL_SET((x), FL_FREEZE) |
| #define | OBJ_PROMOTED(x) (SPECIAL_CONST_P(x) ? 0 : FL_TEST_RAW((x), FL_PROMOTED)) |
| #define | OBJ_WB_PROTECTED(x) (SPECIAL_CONST_P(x) ? 1 : FL_TEST_RAW((x), FL_WB_PROTECTED)) |
| #define | OBJ_WB_UNPROTECT(x) rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
| #define | RB_OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__) |
| #define | RB_OBJ_WRITTEN(a, oldv, b) rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
| #define | USE_RGENGC_LOGGING_WB_UNPROTECT 0 |
| #define | INT2NUM(x) rb_int2num_inline(x) |
| #define | UINT2NUM(x) rb_uint2num_inline(x) |
| #define | LONG2NUM(x) rb_long2num_inline(x) |
| #define | ULONG2NUM(x) rb_ulong2num_inline(x) |
| #define | NUM2CHR(x) rb_num2char_inline(x) |
| #define | CHR2FIX(x) INT2FIX((long)((x)&0xff)) |
| #define | ALLOC_N(type, n) ((type*)xmalloc2((n),sizeof(type))) |
| #define | ALLOC(type) ((type*)xmalloc(sizeof(type))) |
| #define | REALLOC_N(var, type, n) ((var)=(type*)xrealloc2((char*)(var),(n),sizeof(type))) |
| #define | ALLOCA_N(type, n) ((type*)alloca(sizeof(type)*(n))) |
| #define | ALLOCV(v, n) ((n) < 1024 ? (RB_GC_GUARD(v) = 0, alloca(n)) : rb_alloc_tmp_buffer(&(v), (n))) |
| #define | ALLOCV_N(type, v, n) ((type*)ALLOCV((v), sizeof(type)*(n))) |
| #define | ALLOCV_END(v) rb_free_tmp_buffer(&(v)) |
| #define | MEMZERO(p, type, n) memset((p), 0, sizeof(type)*(n)) |
| #define | MEMCPY(p1, p2, type, n) memcpy((p1), (p2), sizeof(type)*(n)) |
| #define | MEMMOVE(p1, p2, type, n) memmove((p1), (p2), sizeof(type)*(n)) |
| #define | MEMCMP(p1, p2, type, n) memcmp((p1), (p2), sizeof(type)*(n)) |
| #define | RUBY_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))(func)) |
| #define | CONST_ID_CACHE(result, str) |
| #define | CONST_ID(var, str) do CONST_ID_CACHE((var) =, (str)) while (0) |
| #define | rb_intern_const(str) rb_intern2((str), (long)strlen(str)) |
| #define | rb_funcall2 rb_funcallv |
| #define | rb_funcall3 rb_funcallv_public |
| #define | HAVE_RB_SCAN_ARGS_OPTIONAL_HASH 1 |
| #define | ruby_verbose (*rb_ruby_verbose_ptr()) |
| #define | ruby_debug (*rb_ruby_debug_ptr()) |
| #define | RB_IO_WAIT_READABLE 0 |
| #define | RB_IO_WAIT_WRITABLE 1 |
| #define | RUBY_BLOCK_CALL_FUNC_TAKES_BLOCKARG 1 |
| #define | RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg) VALUE yielded_arg, VALUE callback_arg, int argc, const VALUE *argv, VALUE blockarg |
| #define | RB_FLOAT_TYPE_P(obj) (FLONUM_P(obj) || (!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == T_FLOAT)) |
| #define | RB_TYPE_P(obj, type) |
| #define | rb_type_p(obj, type) (rb_type(obj) == (type)) |
| #define | RUBY_VM 1 |
| #define | HAVE_NATIVETHREAD |
| #define | RUBY_EVENT_NONE 0x0000 |
| #define | RUBY_EVENT_LINE 0x0001 |
| #define | RUBY_EVENT_CLASS 0x0002 |
| #define | RUBY_EVENT_END 0x0004 |
| #define | RUBY_EVENT_CALL 0x0008 |
| #define | RUBY_EVENT_RETURN 0x0010 |
| #define | RUBY_EVENT_C_CALL 0x0020 |
| #define | RUBY_EVENT_C_RETURN 0x0040 |
| #define | RUBY_EVENT_RAISE 0x0080 |
| #define | RUBY_EVENT_ALL 0x00ff |
| #define | RUBY_EVENT_B_CALL 0x0100 |
| #define | RUBY_EVENT_B_RETURN 0x0200 |
| #define | RUBY_EVENT_THREAD_BEGIN 0x0400 |
| #define | RUBY_EVENT_THREAD_END 0x0800 |
| #define | RUBY_EVENT_TRACEPOINT_ALL 0xffff |
| #define | RUBY_EVENT_SPECIFIED_LINE 0x010000 |
| #define | RUBY_EVENT_COVERAGE 0x020000 |
| #define | RUBY_INTERNAL_EVENT_SWITCH 0x040000 |
| #define | RUBY_EVENT_SWITCH 0x040000 |
| #define | RUBY_INTERNAL_EVENT_NEWOBJ 0x100000 |
| #define | RUBY_INTERNAL_EVENT_FREEOBJ 0x200000 |
| #define | RUBY_INTERNAL_EVENT_GC_START 0x400000 |
| #define | RUBY_INTERNAL_EVENT_GC_END_MARK 0x800000 |
| #define | RUBY_INTERNAL_EVENT_GC_END_SWEEP 0x1000000 |
| #define | RUBY_INTERNAL_EVENT_OBJSPACE_MASK 0x1f00000 |
| #define | RUBY_INTERNAL_EVENT_MASK 0xfffe0000 |
| #define | RB_EVENT_HOOKS_HAVE_CALLBACK_DATA 1 |
| #define | rb_isascii(c) ((unsigned long)(c) < 128) |
| #define | ISASCII(c) rb_isascii((unsigned char)(c)) |
| #define | ISPRINT(c) rb_isprint((unsigned char)(c)) |
| #define | ISGRAPH(c) rb_isgraph((unsigned char)(c)) |
| #define | ISSPACE(c) rb_isspace((unsigned char)(c)) |
| #define | ISUPPER(c) rb_isupper((unsigned char)(c)) |
| #define | ISLOWER(c) rb_islower((unsigned char)(c)) |
| #define | ISALNUM(c) rb_isalnum((unsigned char)(c)) |
| #define | ISALPHA(c) rb_isalpha((unsigned char)(c)) |
| #define | ISDIGIT(c) rb_isdigit((unsigned char)(c)) |
| #define | ISXDIGIT(c) rb_isxdigit((unsigned char)(c)) |
| #define | TOUPPER(c) rb_toupper((unsigned char)(c)) |
| #define | TOLOWER(c) rb_tolower((unsigned char)(c)) |
| #define | STRCASECMP(s1, s2) (st_locale_insensitive_strcasecmp((s1), (s2))) |
| #define | STRNCASECMP(s1, s2, n) (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
| #define | STRTOUL(str, endptr, base) (ruby_strtoul((str), (endptr), (base))) |
| #define | InitVM(ext) {void InitVM_##ext(void);InitVM_##ext();} |
| #define | RUBY_INIT_STACK |
| A convenience macro to call ruby_init_stack(). | |
| #define | Init_stack(addr) ruby_init_stack(addr) |
Typedefs | |
| typedef unsigned long | VALUE |
| typedef unsigned long | ID |
| typedef char | ruby_check_sizeof_int [SIZEOF_INT==sizeof(int)?1:-1] |
| typedef char | ruby_check_sizeof_long [SIZEOF_LONG==sizeof(long)?1:-1] |
| typedef char | ruby_check_sizeof_voidp [SIZEOF_VOIDP==sizeof(void *)?1:-1] |
| typedef rb_classext_struct | rb_classext_t |
| typedef rb_data_type_struct | rb_data_type_t |
| typedef void(*) | RUBY_DATA_FUNC (void *) |
| typedef int | ruby_glob_func (const char *, VALUE, void *) |
| typedef VALUE | rb_gvar_getter_t (ID id, void *data, struct rb_global_variable *gvar) |
| typedef void | rb_gvar_setter_t (VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
| typedef void | rb_gvar_marker_t (VALUE *var) |
| typedef VALUE | rb_block_call_func (RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg)) |
| typedef VALUE(*) | rb_block_call_func_t (ANYARGS) |
| typedef unsigned long | rb_event_flag_t |
| typedef void(*) | rb_event_hook_func_t (rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass) |
Enumerations | |
| enum | ruby_special_consts { RUBY_Qfalse = 0x00, RUBY_Qtrue = 0x14, RUBY_Qnil = 0x08, RUBY_Qundef = 0x34, RUBY_IMMEDIATE_MASK = 0x07, RUBY_FIXNUM_FLAG = 0x01, RUBY_FLONUM_MASK = 0x03, RUBY_FLONUM_FLAG = 0x02, RUBY_SYMBOL_FLAG = 0x0c, RUBY_SPECIAL_SHIFT = 8 } |
| enum | ruby_value_type { RUBY_T_NONE = 0x00, RUBY_T_OBJECT = 0x01, RUBY_T_CLASS = 0x02, RUBY_T_MODULE = 0x03, RUBY_T_FLOAT = 0x04, RUBY_T_STRING = 0x05, RUBY_T_REGEXP = 0x06, RUBY_T_ARRAY = 0x07, RUBY_T_HASH = 0x08, RUBY_T_STRUCT = 0x09, RUBY_T_BIGNUM = 0x0a, RUBY_T_FILE = 0x0b, RUBY_T_DATA = 0x0c, RUBY_T_MATCH = 0x0d, RUBY_T_COMPLEX = 0x0e, RUBY_T_RATIONAL = 0x0f, RUBY_T_NIL = 0x11, RUBY_T_TRUE = 0x12, RUBY_T_FALSE = 0x13, RUBY_T_SYMBOL = 0x14, RUBY_T_FIXNUM = 0x15, RUBY_T_UNDEF = 0x1b, RUBY_T_NODE = 0x1c, RUBY_T_ICLASS = 0x1d, RUBY_T_ZOMBIE = 0x1e, RUBY_T_MASK = 0x1f } |
Functions | |
| RUBY_SYMBOL_EXPORT_BEGIN void * | alloca () |
| VALUE | rb_int2inum (SIGNED_VALUE) |
| VALUE | rb_uint2inum (VALUE) |
| static int | rb_type (VALUE obj) |
| volatile VALUE * | rb_gc_guarded_ptr (volatile VALUE *ptr) |
| void | rb_check_type (VALUE, int) |
| VALUE | rb_str_to_str (VALUE) |
| VALUE | rb_string_value (volatile VALUE *) |
| char * | rb_string_value_ptr (volatile VALUE *) |
| char * | rb_string_value_cstr (volatile VALUE *) |
| void | rb_check_safe_obj (VALUE) |
| DEPRECATED (void rb_check_safe_str(VALUE)) | |
| VALUE | rb_str_export (VALUE) |
| VALUE | rb_str_export_locale (VALUE) |
| VALUE | rb_get_path (VALUE) |
| VALUE | rb_get_path_no_checksafe (VALUE) |
| void | rb_secure (int) |
| int | rb_safe_level (void) |
| void | rb_set_safe_level (int) |
| void | rb_set_safe_level_force (int) |
| void | rb_secure_update (VALUE) |
| NORETURN (void rb_insecure_operation(void)) | |
| VALUE | rb_errinfo (void) |
| void | rb_set_errinfo (VALUE) |
| SIGNED_VALUE | rb_num2long (VALUE) |
| VALUE | rb_num2ulong (VALUE) |
| static long | rb_num2long_inline (VALUE x) |
| static unsigned long | rb_num2ulong_inline (VALUE x) |
| short | rb_num2short (VALUE) |
| unsigned short | rb_num2ushort (VALUE) |
| short | rb_fix2short (VALUE) |
| unsigned short | rb_fix2ushort (VALUE) |
| static short | rb_num2short_inline (VALUE x) |
| double | rb_num2dbl (VALUE) |
| VALUE | rb_uint2big (VALUE) |
| VALUE | rb_int2big (SIGNED_VALUE) |
| VALUE | rb_newobj (void) |
| VALUE | rb_newobj_of (VALUE, VALUE) |
| VALUE | rb_obj_setup (VALUE obj, VALUE klass, VALUE type) |
| VALUE | rb_obj_hide (VALUE obj) |
| VALUE | rb_obj_reveal (VALUE obj, VALUE klass) |
| double | rb_float_value (VALUE) |
| VALUE | rb_float_new (double) |
| VALUE | rb_float_new_in_heap (double) |
| VALUE | rb_data_object_alloc (VALUE, void *, RUBY_DATA_FUNC, RUBY_DATA_FUNC) |
| VALUE | rb_data_typed_object_alloc (VALUE klass, void *datap, const rb_data_type_t *) |
| int | rb_typeddata_inherited_p (const rb_data_type_t *child, const rb_data_type_t *parent) |
| int | rb_typeddata_is_kind_of (VALUE, const rb_data_type_t *) |
| void * | rb_check_typeddata (VALUE, const rb_data_type_t *) |
| void | rb_gc_writebarrier (VALUE a, VALUE b) |
| void | rb_gc_writebarrier_unprotect_promoted (VALUE obj) |
| static VALUE | rb_obj_wb_unprotect (VALUE x, RB_UNUSED_VAR(const char *filename), RB_UNUSED_VAR(int line)) |
| static VALUE | rb_obj_written (VALUE a, RB_UNUSED_VAR(VALUE oldv), VALUE b, RB_UNUSED_VAR(const char *filename), RB_UNUSED_VAR(int line)) |
| static VALUE | rb_obj_write (VALUE a, VALUE *slot, VALUE b, RB_UNUSED_VAR(const char *filename), RB_UNUSED_VAR(int line)) |
| static VALUE | rb_int2num_inline (int v) |
| static VALUE | rb_uint2num_inline (unsigned int v) |
| static VALUE | rb_long2num_inline (long v) |
| static VALUE | rb_ulong2num_inline (unsigned long v) |
| static char | rb_num2char_inline (VALUE x) |
| void * | rb_alloc_tmp_buffer (volatile VALUE *store, long len) RUBY_ATTR_ALLOC_SIZE((2)) |
| void | rb_free_tmp_buffer (volatile VALUE *store) |
| void | rb_obj_infect (VALUE, VALUE) |
| void | rb_glob (const char *, void(*)(const char *, VALUE, void *), VALUE) |
| int | ruby_glob (const char *, int, ruby_glob_func *, VALUE) |
| int | ruby_brace_glob (const char *, int, ruby_glob_func *, VALUE) |
| VALUE | rb_define_class (const char *, VALUE) |
| Defines a top-level class. | |
| VALUE | rb_define_module (const char *) |
| VALUE | rb_define_class_under (VALUE, const char *, VALUE) |
| Defines a class under the namespace of outer. | |
| VALUE | rb_define_module_under (VALUE, const char *) |
| void | rb_include_module (VALUE, VALUE) |
| void | rb_extend_object (VALUE, VALUE) |
| void | rb_prepend_module (VALUE, VALUE) |
| VALUE | rb_gvar_undef_getter (ID id, void *data, struct rb_global_variable *gvar) |
| void | rb_gvar_undef_setter (VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
| void | rb_gvar_undef_marker (VALUE *var) |
| VALUE | rb_gvar_val_getter (ID id, void *data, struct rb_global_variable *gvar) |
| void | rb_gvar_val_setter (VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
| void | rb_gvar_val_marker (VALUE *var) |
| VALUE | rb_gvar_var_getter (ID id, void *data, struct rb_global_variable *gvar) |
| void | rb_gvar_var_setter (VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
| void | rb_gvar_var_marker (VALUE *var) |
| void | rb_gvar_readonly_setter (VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
| void | rb_define_variable (const char *, VALUE *) |
| void | rb_define_virtual_variable (const char *, VALUE(*)(ANYARGS), void(*)(ANYARGS)) |
| void | rb_define_hooked_variable (const char *, VALUE *, VALUE(*)(ANYARGS), void(*)(ANYARGS)) |
| void | rb_define_readonly_variable (const char *, VALUE *) |
| void | rb_define_const (VALUE, const char *, VALUE) |
| void | rb_define_global_const (const char *, VALUE) |
| void | rb_define_method (VALUE, const char *, VALUE(*)(ANYARGS), int) |
| void | rb_define_module_function (VALUE, const char *, VALUE(*)(ANYARGS), int) |
| Defines a module function for module. | |
| void | rb_define_global_function (const char *, VALUE(*)(ANYARGS), int) |
| Defines a global function. | |
| void | rb_undef_method (VALUE, const char *) |
| void | rb_define_alias (VALUE, const char *, const char *) |
| Defines an alias of a method. | |
| void | rb_define_attr (VALUE, const char *, int, int) |
| Defines (a) public accessor method(s) for an attribute. | |
| void | rb_global_variable (VALUE *) |
| void | rb_gc_register_mark_object (VALUE) |
| void | rb_gc_register_address (VALUE *) |
| void | rb_gc_unregister_address (VALUE *) |
| ID | rb_intern (const char *) |
| ID | rb_intern2 (const char *, long) |
| ID | rb_intern_str (VALUE str) |
| const char * | rb_id2name (ID) |
| ID | rb_check_id (volatile VALUE *) |
| Returns ID for the given name if it is interned already, or 0. | |
| ID | rb_to_id (VALUE) |
| VALUE | rb_id2str (ID) |
| const char * | rb_class2name (VALUE) |
| const char * | rb_obj_classname (VALUE) |
| void | rb_p (VALUE) |
| VALUE | rb_eval_string (const char *) |
| Evaluates the given string in an isolated binding. | |
| VALUE | rb_eval_string_protect (const char *, int *) |
| Evaluates the given string in an isolated binding. | |
| VALUE | rb_eval_string_wrap (const char *, int *) |
| Evaluates the given string under a module binding in an isolated binding. | |
| VALUE | rb_funcall (VALUE, ID, int,...) |
| Calls a method. | |
| VALUE | rb_funcallv (VALUE, ID, int, const VALUE *) |
| Calls a method. | |
| VALUE | rb_funcallv_public (VALUE, ID, int, const VALUE *) |
| Calls a method. | |
| VALUE | rb_funcall_passing_block (VALUE, ID, int, const VALUE *) |
| VALUE | rb_funcall_with_block (VALUE, ID, int, const VALUE *, VALUE) |
| int | rb_scan_args (int, const VALUE *, const char *,...) |
| VALUE | rb_call_super (int, const VALUE *) |
| VALUE | rb_gv_set (const char *, VALUE) |
| VALUE | rb_gv_get (const char *) |
| VALUE | rb_iv_get (VALUE, const char *) |
| VALUE | rb_iv_set (VALUE, const char *, VALUE) |
| VALUE | rb_equal (VALUE, VALUE) |
| VALUE * | rb_ruby_verbose_ptr (void) |
| VALUE * | rb_ruby_debug_ptr (void) |
| PRINTF_ARGS (NORETURN(void rb_raise(VALUE, const char *,...)), 2, 3) | |
| PRINTF_ARGS (NORETURN(void rb_fatal(const char *,...)), 1, 2) | |
| PRINTF_ARGS (NORETURN(void rb_bug(const char *,...)), 1, 2) | |
| NORETURN (void rb_bug_errno(const char *, int)) | |
| NORETURN (void rb_sys_fail(const char *)) | |
| NORETURN (void rb_sys_fail_str(VALUE)) | |
| NORETURN (void rb_mod_sys_fail(VALUE, const char *)) | |
| NORETURN (void rb_mod_sys_fail_str(VALUE, VALUE)) | |
| NORETURN (void rb_readwrite_sys_fail(int, const char *)) | |
| NORETURN (void rb_exit(int)) | |
| VALUE | rb_syserr_new (int, const char *) |
| VALUE | rb_syserr_new_str (int n, VALUE arg) |
| NORETURN (void rb_syserr_fail_str(int, VALUE)) | |
| NORETURN (void rb_mod_syserr_fail(VALUE, int, const char *)) | |
| NORETURN (void rb_mod_syserr_fail_str(VALUE, int, VALUE)) | |
| PRINTF_ARGS (void rb_warning(const char *,...), 1, 2) | |
| PRINTF_ARGS (void rb_compile_warning(const char *, int, const char *,...), 3, 4) | |
| VALUE | rb_each (VALUE) |
| VALUE | rb_yield (VALUE) |
| VALUE | rb_yield_values (int n,...) |
| VALUE | rb_yield_values2 (int n, const VALUE *argv) |
| VALUE | rb_yield_splat (VALUE) |
| VALUE | rb_yield_block (VALUE, VALUE, int, const VALUE *, VALUE) |
| int | rb_block_given_p (void) |
| void | rb_need_block (void) |
| VALUE | rb_iterate (VALUE(*)(VALUE), VALUE, VALUE(*)(ANYARGS), VALUE) |
| VALUE | rb_block_call (VALUE, ID, int, const VALUE *, rb_block_call_func_t, VALUE) |
| VALUE | rb_rescue (VALUE(*)(ANYARGS), VALUE, VALUE(*)(ANYARGS), VALUE) |
| VALUE | rb_rescue2 (VALUE(*)(ANYARGS), VALUE, VALUE(*)(ANYARGS), VALUE,...) |
| VALUE | rb_ensure (VALUE(*)(ANYARGS), VALUE, VALUE(*)(ANYARGS), VALUE) |
| VALUE | rb_catch (const char *, VALUE(*)(ANYARGS), VALUE) |
| VALUE | rb_catch_obj (VALUE, VALUE(*)(ANYARGS), VALUE) |
| NORETURN (void rb_throw(const char *, VALUE)) | |
| VALUE | rb_require (const char *) |
| static VALUE | rb_class_of (VALUE obj) |
| static int | rb_special_const_p (VALUE obj) |
| int | ruby_native_thread_p (void) |
| void | rb_add_event_hook (rb_event_hook_func_t func, rb_event_flag_t events, VALUE data) |
| int | rb_remove_event_hook (rb_event_hook_func_t func) |
| int | rb_isalnum (int c) |
| int | rb_isalpha (int c) |
| int | rb_isblank (int c) |
| int | rb_iscntrl (int c) |
| int | rb_isdigit (int c) |
| int | rb_isgraph (int c) |
| int | rb_islower (int c) |
| int | rb_isprint (int c) |
| int | rb_ispunct (int c) |
| int | rb_isspace (int c) |
| int | rb_isupper (int c) |
| int | rb_isxdigit (int c) |
| int | rb_tolower (int c) |
| int | rb_toupper (int c) |
| int | st_locale_insensitive_strcasecmp (const char *s1, const char *s2) |
| int | st_locale_insensitive_strncasecmp (const char *s1, const char *s2, size_t n) |
| unsigned long | ruby_strtoul (const char *str, char **endptr, int base) |
| PRINTF_ARGS (int ruby_snprintf(char *str, size_t n, char const *fmt,...), 3, 4) | |
| int | ruby_vsnprintf (char *str, size_t n, char const *fmt, va_list ap) |
| void | ruby_sysinit (int *argc, char ***argv) |
| Initializes the process for ruby(1). | |
| void | ruby_init (void) |
| void * | ruby_options (int argc, char **argv) |
| Processes command line arguments and compiles the Ruby source to execute. | |
| int | ruby_executable_node (void *n, int *status) |
| Checks the return value of ruby_options(). | |
| int | ruby_run_node (void *n) |
| Runs the given compiled source and exits this process. | |
| void | ruby_show_version (void) |
| Prints the version information of the CRuby interpreter to stdout. | |
| void | ruby_show_copyright (void) |
| Prints the copyright notice of the CRuby interpreter to stdout and exits this process successfully. | |
| void | ruby_init_stack (volatile VALUE *) |
| int | ruby_setup (void) |
| int | ruby_cleanup (volatile int) |
| Destructs the VM. | |
| void | ruby_finalize (void) |
| Runs the VM finalization processes. | |
| void | ruby_set_stack_size (size_t) |
| int | ruby_stack_check (void) |
| size_t | ruby_stack_length (VALUE **) |
| int | ruby_exec_node (void *n) |
| Runs the given compiled source. | |
| void | ruby_script (const char *name) |
| Sets the current script name to this value. | |
| void | ruby_set_script_name (VALUE name) |
| Sets the current script name to this value. | |
| void | ruby_prog_init (void) |
| Defines built-in variables. | |
| void | ruby_set_argv (int, char **) |
| void * | ruby_process_options (int, char **) |
| void | ruby_init_loadpath (void) |
| void | ruby_incpush (const char *) |
| void | ruby_sig_finalize (void) |
Variables | |
| RUBY_EXTERN VALUE | rb_mKernel |
| RUBY_EXTERN VALUE | rb_mComparable |
| RUBY_EXTERN VALUE | rb_mEnumerable |
| RUBY_EXTERN VALUE | rb_mErrno |
| RUBY_EXTERN VALUE | rb_mFileTest |
| RUBY_EXTERN VALUE | rb_mGC |
| RUBY_EXTERN VALUE | rb_mMath |
| RUBY_EXTERN VALUE | rb_mProcess |
| RUBY_EXTERN VALUE | rb_mWaitReadable |
| RUBY_EXTERN VALUE | rb_mWaitWritable |
| RUBY_EXTERN VALUE | rb_cBasicObject |
| RUBY_EXTERN VALUE | rb_cObject |
| RUBY_EXTERN VALUE | rb_cArray |
| RUBY_EXTERN VALUE | rb_cBignum |
| RUBY_EXTERN VALUE | rb_cBinding |
| RUBY_EXTERN VALUE | rb_cClass |
| RUBY_EXTERN VALUE | rb_cCont |
| RUBY_EXTERN VALUE | rb_cDir |
| RUBY_EXTERN VALUE | rb_cData |
| RUBY_EXTERN VALUE | rb_cFalseClass |
| RUBY_EXTERN VALUE | rb_cEncoding |
| RUBY_EXTERN VALUE | rb_cEnumerator |
| RUBY_EXTERN VALUE | rb_cFile |
| RUBY_EXTERN VALUE | rb_cFixnum |
| RUBY_EXTERN VALUE | rb_cFloat |
| RUBY_EXTERN VALUE | rb_cHash |
| RUBY_EXTERN VALUE | rb_cInteger |
| RUBY_EXTERN VALUE | rb_cIO |
| RUBY_EXTERN VALUE | rb_cMatch |
| RUBY_EXTERN VALUE | rb_cMethod |
| RUBY_EXTERN VALUE | rb_cModule |
| RUBY_EXTERN VALUE | rb_cNameErrorMesg |
| RUBY_EXTERN VALUE | rb_cNilClass |
| RUBY_EXTERN VALUE | rb_cNumeric |
| RUBY_EXTERN VALUE | rb_cProc |
| RUBY_EXTERN VALUE | rb_cRandom |
| RUBY_EXTERN VALUE | rb_cRange |
| RUBY_EXTERN VALUE | rb_cRational |
| RUBY_EXTERN VALUE | rb_cComplex |
| RUBY_EXTERN VALUE | rb_cRegexp |
| RUBY_EXTERN VALUE | rb_cStat |
| RUBY_EXTERN VALUE | rb_cString |
| RUBY_EXTERN VALUE | rb_cStruct |
| RUBY_EXTERN VALUE | rb_cSymbol |
| RUBY_EXTERN VALUE | rb_cThread |
| RUBY_EXTERN VALUE | rb_cTime |
| RUBY_EXTERN VALUE | rb_cTrueClass |
| RUBY_EXTERN VALUE | rb_cUnboundMethod |
| RUBY_EXTERN VALUE | rb_eException |
| RUBY_EXTERN VALUE | rb_eStandardError |
| RUBY_EXTERN VALUE | rb_eSystemExit |
| RUBY_EXTERN VALUE | rb_eInterrupt |
| RUBY_EXTERN VALUE | rb_eSignal |
| RUBY_EXTERN VALUE | rb_eFatal |
| RUBY_EXTERN VALUE | rb_eArgError |
| RUBY_EXTERN VALUE | rb_eEOFError |
| RUBY_EXTERN VALUE | rb_eIndexError |
| RUBY_EXTERN VALUE | rb_eStopIteration |
| RUBY_EXTERN VALUE | rb_eKeyError |
| RUBY_EXTERN VALUE | rb_eRangeError |
| RUBY_EXTERN VALUE | rb_eIOError |
| RUBY_EXTERN VALUE | rb_eRuntimeError |
| RUBY_EXTERN VALUE | rb_eSecurityError |
| RUBY_EXTERN VALUE | rb_eSystemCallError |
| RUBY_EXTERN VALUE | rb_eThreadError |
| RUBY_EXTERN VALUE | rb_eTypeError |
| RUBY_EXTERN VALUE | rb_eZeroDivError |
| RUBY_EXTERN VALUE | rb_eNotImpError |
| RUBY_EXTERN VALUE | rb_eNoMemError |
| RUBY_EXTERN VALUE | rb_eNoMethodError |
| RUBY_EXTERN VALUE | rb_eFloatDomainError |
| RUBY_EXTERN VALUE | rb_eLocalJumpError |
| RUBY_EXTERN VALUE | rb_eSysStackError |
| RUBY_EXTERN VALUE | rb_eRegexpError |
| RUBY_EXTERN VALUE | rb_eEncodingError |
| RUBY_EXTERN VALUE | rb_eEncCompatError |
| RUBY_EXTERN VALUE | rb_eScriptError |
| RUBY_EXTERN VALUE | rb_eNameError |
| RUBY_EXTERN VALUE | rb_eSyntaxError |
| RUBY_EXTERN VALUE | rb_eLoadError |
| RUBY_EXTERN VALUE | rb_eMathDomainError |
| RUBY_EXTERN VALUE | rb_stdin |
| RUBY_EXTERN VALUE | rb_stdout |
| RUBY_EXTERN VALUE | rb_stderr |
Definition at line 1334 of file ruby.h.
Referenced by alloc_addrinfo(), alloc_event_hook(), allocate_cbsubst_info(), class_alloc(), clone_const(), constat_handle(), fbuffer_alloc(), fdbm_initialize(), fgdbm_initialize(), fiber_t_alloc(), force_chain_object(), fsdbm_initialize(), ip_create_slave_core(), ip_init(), ip_ruby_cmd(), JSON_allocate(), lib_eventloop_launcher(), lib_thread_callback(), local_push_gen(), make_method_entry_refined(), make_transcoder_entry(), match_alloc(), method_clone(), method_unbind(), mnew_from_me(), move_refined_method(), new_args_tail_gen(), pipe_add_fptr(), prepare_iseq_build(), rb_add_method(), rb_alias_variable(), rb_autoload(), rb_const_set(), rb_econv_alloc(), rb_f_trace_var(), rb_gc_register_address(), rb_global_entry(), rb_io_reopen(), rb_marshal_define_compat(), rb_method_entry_make(), rb_set_end_proc(), rb_stat_init(), rb_stat_init_copy(), rb_thread_blocking_region_begin(), rb_transcoding_open_by_transcoder(), rb_unlink_method_entry(), RCLASS_M_TBL_INIT(), stat_new_0(), State_allocate(), strio_alloc(), strscan_s_allocate(), token_info_push(), transcode_search_path(), transcode_search_path_i(), umethod_bind(), and vtable_alloc().
Definition at line 1333 of file ruby.h.
Referenced by ary2safe_array_index(), ary_new(), ary_new_dim(), ary_resize_capa(), bignew_1(), call_original_exit(), cbsubst_get_all_subst_keys(), cbsubst_get_subst_arg(), cbsubst_get_subst_key(), cbsubst_sym_to_subst(), compile_data_alloc(), cont_capture(), cont_save_machine_stack(), do_spawn(), EVENTSINK_Constructor(), fbuffer_inc_capa(), fiber_init(), folevariant_s_array(), fstrndup(), get_traceobj_arg(), gzfile_getc(), Init_postponed_job(), io_binwrite(), io_fillbuf(), io_ungetbyte(), ip_ruby_cmd_receiver_get(), ip_ruby_eval(), ip_set_exc_message(), iseq_set_arguments(), iseq_set_exception_local_table(), iseq_set_exception_table(), iseq_set_local_table(), iseq_set_sequence(), lib_fromUTF8_core(), lib_toUTF8_core(), local_tbl_gen(), make_readconv(), ole_alloc_str(), ole_val_ary2variant_ary(), ole_variant2val(), parser_new(), parser_newtok(), prepare_iseq_build(), proc_exec_cmd(), rand_init(), rb_ary_modify(), rb_big_realloc(), rb_econv_alloc(), rb_iseq_build_for_ruby2cext(), rb_iseq_build_from_ary(), rb_iseq_translate_threaded_code(), rb_ivar_set(), rb_name_err_mesg_new(), rb_obj_copy_ivar(), rb_str_buf_new(), reg_get_val(), ruby_setenv(), str_make_independent_expand(), str_new0(), struct_alloc(), tcl_protect_core(), tcltklib_compile_info(), thread_recycle_stack(), tr_trans(), trans_open_i(), vm_make_env_each(), vtable_alloc(), and yyparse().
Definition at line 1337 of file ruby.h.
Referenced by bsock_getsockopt(), cont_restore_0(), global_id(), hash2ptr_dispparams(), match_inspect(), method_missing(), ole_cp2encoding(), ole_invoke(), ole_invoke2(), ole_method_params(), oleparam_ole_param_from_index(), parser_yyerror(), property_name_to_ctype(), rb_apply(), rb_ary_zip(), rb_file_expand_path_internal(), rb_funcall(), rb_reg_to_s(), rb_str_buf_cat_ascii(), rb_str_concat(), rb_yield_values(), set_encoding_const(), transcode_restartable(), unescape_escaped_nonascii(), update_char_offset(), vm_call_bmethod(), vm_call_opt_call(), and vm_callee_setup_arg_complex().
| #define ALLOCV | ( | v, | |||
| n | ) | ((n) < 1024 ? (RB_GC_GUARD(v) = 0, alloca(n)) : rb_alloc_tmp_buffer(&(v), (n))) |
| #define ALLOCV | ( | v, | |||
| n | ) | ((n) < 1024 ? (RB_GC_GUARD(v) = 0, alloca(n)) : rb_alloc_tmp_buffer(&(v), (n))) |
| #define ALLOCV | ( | v, | |||
| n | ) | ((n) < 1024 ? (RB_GC_GUARD(v) = 0, alloca(n)) : rb_alloc_tmp_buffer(&(v), (n))) |
Definition at line 1346 of file ruby.h.
Referenced by rb_str_to_dbl(), rb_str_to_inum(), w32_aspawn_flags(), and w32_spawn().
| #define ALLOCV_END | ( | v | ) | rb_free_tmp_buffer(&(v)) |
Definition at line 1349 of file ruby.h.
Referenced by bary_divmod_normal(), bary_mul_balance_with_mulfunc(), bary_mul_karatsuba(), bary_mul_toom3(), big2str_generic(), limited_big_rand(), open_dir_handle(), ossl_bn_initialize(), parse_comp(), rb_ary_combination(), rb_binding_add_dynavars(), rb_file_expand_path_internal(), rb_group_member(), rb_proc_exec_n(), rb_str_to_dbl(), rb_str_to_inum(), read_digits(), str2big_karatsuba(), w32_aspawn_flags(), w32_spawn(), and wstati64().
Definition at line 1348 of file ruby.h.
Referenced by bary_divmod_normal(), bary_mul_balance_with_mulfunc(), bary_mul_karatsuba(), bary_mul_toom3(), big2str_generic(), limited_big_rand(), open_dir_handle(), ossl_bn_initialize(), parse_comp(), rb_ary_combination(), rb_binding_add_dynavars(), rb_file_expand_path_internal(), rb_group_member(), read_digits(), str2big_karatsuba(), and wstati64().
| #define BUILTIN_TYPE | ( | x | ) | (int)(((struct RBasic*)(x))->flags & T_MASK) |
| #define BUILTIN_TYPE | ( | x | ) | (int)(((struct RBasic*)(x))->flags & T_MASK) |
| #define BUILTIN_TYPE | ( | x | ) | (int)(((struct RBasic*)(x))->flags & T_MASK) |
Definition at line 502 of file ruby.h.
Referenced by cdhash_cmp(), class_instance_method_list(), class_or_module_required(), cn_i(), control_frame_dump(), cos_i(), count_objects(), cto_i(), dump_object(), enc_capable(), env_mark(), gc_mark_children(), gc_mark_maybe(), gc_page_sweep(), include_modules_at(), internal_object_p(), invoke_block_from_c(), iow_inspect(), iow_type(), is_id_value(), is_live_object(), is_markable_object(), newobj_of(), obj_free(), obj_memsize_of(), obj_resurrect(), obj_type(), opobj_inspect(), proc_call(), rand_range(), rb_any_hash(), rb_block_min_max_arity(), rb_class_real(), rb_const_defined_0(), rb_const_get_0(), rb_cvar_get(), rb_cvar_set(), rb_enc_get_index(), rb_frozen_class_p(), rb_gc_writebarrier_unprotect_promoted(), rb_include_class_new(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_ivar_set(), rb_make_metaclass(), rb_method_call_with_block(), rb_method_entry_get_without_cache(), rb_mod_ancestors(), rb_mod_define_method(), rb_mod_include_p(), rb_mod_included_modules(), rb_obj_remove_instance_variable(), rb_objspace_call_finalizer(), rb_search_method_entry(), rb_singleton_class_clone_and_attach(), rb_str_aref(), rb_str_index_m(), rb_str_match(), rb_str_rindex_m(), rb_type(), rgengc_remember(), RVALUE_PROMOTE_INFANT(), singleton_class_of(), total_i(), umethod_bind(), using_module_recursive(), vm_invoke_block(), vm_search_normal_superclass(), vm_search_super_method(), w_extended(), and w_object().
| #define CHAR_BIT 8 |
Definition at line 198 of file ruby.h.
Referenced by absint_numwords_generic(), absint_numwords_small(), bary_pack(), bary_unpack_internal(), big2str_2bdigits(), big2str_base_poweroftwo(), big2str_find_n1(), big_shift2(), bm_init_skip(), BSD_vfprintf(), fill_random_seed(), fix_aref(), fix_lshift(), fix_rshift(), flo_to_s(), integer_pack_fill_dd(), integer_pack_loop_setup(), integer_unpack_num_bdigits(), integer_unpack_num_bdigits_generic(), integer_unpack_num_bdigits_small(), integer_unpack_single_bdigit(), nlz(), nlz_int(), nlz_long(), rb_absint_numwords(), rb_absint_size(), rb_big_bit_length(), rb_cstr_to_inum(), rb_dlcfunc_call(), rb_fix2str(), rb_hash(), rb_memsearch_ss(), rb_random_bytes(), rb_str_format(), rb_str_sum(), register_label(), ruby_qsort(), signbit(), st_hash(), strio_getline(), and validate_integer_pack_format().
| #define Check_Type | ( | v, | |||
| t | ) | rb_check_type((VALUE)(v),(t)) |
Definition at line 532 of file ruby.h.
Referenced by alias(), append_method(), assert_array(), assert_hash(), BigDecimal_ceil(), BigDecimal_floor(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_round(), BigDecimal_truncate(), check_autoload_required(), check_rounding_mode(), cParser_initialize(), cState_array_nl_set(), cState_buffer_initial_length_set(), cState_configure(), cState_depth_set(), cState_indent_set(), cState_max_nesting_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), features_index_add_single(), folevariant_s_array(), generate_json(), generate_json_object(), get_pat(), GetPositiveInt(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), initialize(), initialize_params(), kwcheck_i(), kwmerge_i(), lib_do_one_event_core(), match_setter(), mObject_to_json(), mString_Extend_json_create(), mString_to_json_raw(), mSyslog_inspect(), nucomp_marshal_load(), nurat_marshal_load(), ole_invoke2(), ole_val_ary2variant_ary(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_ssl_initialize(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509name_init_i(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), random_load(), rawmode_opt(), rb_class_new(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_define_alloc_func(), rb_dlcfunc_call(), rb_frozen_class_p(), rb_fstring(), rb_get_alloc_func(), rb_gzreader_readpartial(), rb_hash_initialize_copy(), rb_include_module(), rb_mod_append_features(), rb_mod_include(), rb_mod_include_p(), rb_mod_prepend(), rb_mod_prepend_features(), rb_mod_refine(), rb_obj_extend(), rb_prepend_module(), rb_str_quote_unprintable(), rb_using_module(), rb_using_refinement(), rb_zstream_set_avail_out(), readline_s_set_input(), readline_s_set_output(), rsock_revlookup_flag(), scalar(), select_internal(), set_argv(), start_document(), start_mapping(), start_sequence(), start_stream(), strscan_do_scan(), and update_i().
| #define Check_TypedStruct | ( | v, | |||
| t | ) | rb_check_typeddata((VALUE)(v),(t)) |
| #define Check_TypedStruct | ( | v, | |||
| t | ) | rb_check_typeddata((VALUE)(v),(t)) |
| #define Check_TypedStruct | ( | v, | |||
| t | ) | rb_check_typeddata((VALUE)(v),(t)) |
| #define CHR2FIX | ( | x | ) | INT2FIX((long)((x)&0xff)) |
Definition at line 1331 of file ruby.h.
Referenced by sockopt_byte(), strio_each_byte(), and strio_getbyte().
| #define CLASS_OF | ( | v | ) | rb_class_of((VALUE)(v)) |
Definition at line 440 of file ruby.h.
Referenced by abs2twocomp(), basic_obj_respond_to(), bmcall(), check_match(), dir_inspect(), error_print(), eval_string_with_cref(), exc_inspect(), exc_to_s(), f_addsub(), f_divide(), f_muldiv(), f_round_common(), function_call(), generate_json(), hash_default_value(), Init_Binding(), Init_Complex(), Init_Encoding(), Init_Numeric(), Init_Object(), Init_Proc(), Init_process(), Init_Random(), Init_Rational(), Init_Regexp(), Init_String(), Init_VM(), Init_vm_backtrace(), Init_vm_trace(), inspect_i(), ip_create_slave_core(), iseq_build_load_iseq(), make_compile_option(), make_no_method_exception(), method_clone(), method_eq(), method_missing(), name_err_mesg_to_str(), nucomp_coerce(), nucomp_conj(), nucomp_eql_p(), nucomp_expt(), nucomp_mul(), nucomp_negate(), nucomp_numerator(), num_coerce(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_expt(), nurat_rationalize(), obj_respond_to(), ossl_asn1_default_tag(), ossl_asn1cons_to_der(), ossl_dh_to_public_key(), ossl_dsa_to_public_key(), ossl_rsa_to_public_key(), ossl_x509name_eql(), pst_inspect(), r_fixup_compat(), r_object0(), rb_any_to_s(), rb_big_clone(), rb_check_funcall(), rb_check_funcall_with_hook(), rb_insn_operand_intern(), rb_io_inspect(), rb_mod_const_get(), rb_mod_init_copy(), rb_obj_basic_to_s_p(), rb_obj_class(), rb_obj_classname(), rb_obj_inspect(), rb_obj_is_kind_of(), rb_obj_method(), rb_obj_method_arity(), rb_obj_method_location(), rb_obj_methods(), rb_obj_private_methods(), rb_obj_protected_methods(), rb_obj_public_method(), rb_obj_public_methods(), rb_obj_respond_to(), rb_obj_singleton_methods(), rb_p(), rb_rational_reciprocal(), rb_search_method_entry(), rb_threadptr_pending_interrupt_deque(), rb_vm_bugreport(), rb_vm_call_cfunc(), ruby_Init_Continuation_body(), send_internal(), set_backtrace(), umethod_bind(), vm_call_method_missing(), vm_call_opt_send(), vm_get_ev_const(), vm_search_method(), w_class(), w_uclass(), and wmap_inspect().
| #define CLONESETUP | ( | clone, | |||
| obj | ) |
Value:
do {\ OBJSETUP((clone),rb_singleton_class_clone((VALUE)(obj)),RBASIC(obj)->flags);\ rb_singleton_class_attached(RBASIC(clone)->klass, (VALUE)(clone));\ if (FL_TEST((obj), FL_EXIVAR)) rb_copy_generic_ivar((VALUE)(clone),(VALUE)(obj));\ } while (0)
| #define CLONESETUP | ( | clone, | |||
| obj | ) |
Value:
do {\ OBJSETUP((clone),rb_singleton_class_clone((VALUE)(obj)),RBASIC(obj)->flags);\ rb_singleton_class_attached(RBASIC(clone)->klass, (VALUE)(clone));\ if (FL_TEST((obj), FL_EXIVAR)) rb_copy_generic_ivar((VALUE)(clone),(VALUE)(obj));\ } while (0)
| #define CLONESETUP | ( | clone, | |||
| obj | ) |
Value:
do {\ OBJSETUP((clone),rb_singleton_class_clone((VALUE)(obj)),RBASIC(obj)->flags);\ rb_singleton_class_attached(RBASIC(clone)->klass, (VALUE)(clone));\ if (FL_TEST((obj), FL_EXIVAR)) rb_copy_generic_ivar((VALUE)(clone),(VALUE)(obj));\ } while (0)
Definition at line 696 of file ruby.h.
Referenced by binding_clone(), method_clone(), and proc_clone().
| #define CONST_ID | ( | var, | |||
| str | ) | do CONST_ID_CACHE((var) =, (str)) while (0) |
| #define CONST_ID | ( | var, | |||
| str | ) | do CONST_ID_CACHE((var) =, (str)) while (0) |
| #define CONST_ID | ( | var, | |||
| str | ) | do CONST_ID_CACHE((var) =, (str)) while (0) |
Definition at line 1428 of file ruby.h.
Referenced by debug_lines(), enum_zip(), eval_string_with_cref(), exc_backtrace(), exc_backtrace_locations(), exc_cause(), exc_equal(), exc_setup_cause(), exception_type2symbol(), get_event_id(), id_pid(), Init_readline(), Init_var_tables(), iseq_compile_each(), iseq_set_exception_local_table(), load_file_internal(), make_exception(), make_localjump_error(), rb_class_inherited(), rb_f_open(), rb_get_path_check_to_string(), rb_id_encoding(), rb_iseq_parameters(), rb_mod_include(), rb_mod_init_copy(), rb_mod_prepend(), rb_mod_refine(), rb_mod_to_s(), rb_obj_extend(), rb_refinement_module_get_refined_class(), rb_str_upto(), realpath_rec(), require_libraries(), symbol2event_flag(), syserr_eqq(), try_convert_to_exception(), unnamed_parameters(), and using_module_recursive().
| #define CONST_ID_CACHE | ( | result, | |||
| str | ) |
| #define CONST_ID_CACHE | ( | result, | |||
| str | ) |
| #define CONST_ID_CACHE | ( | result, | |||
| str | ) |
| #define Data_Get_Struct | ( | obj, | |||
| type, | |||||
| sval | ) |
| #define Data_Get_Struct | ( | obj, | |||
| type, | |||||
| sval | ) |
| #define Data_Get_Struct | ( | obj, | |||
| type, | |||||
| sval | ) |
Value:
do {\ Check_Type((obj), T_DATA); \ (sval) = (type*)DATA_PTR(obj);\ } while (0)
Definition at line 1036 of file ruby.h.
Referenced by alias(), callq_safelevel_handler(), canonical(), cbsubst_def_attr_aliases(), cbsubst_get_all_subst_keys(), cbsubst_get_subst_arg(), cbsubst_get_subst_key(), cbsubst_initialize(), cbsubst_scan_args(), cbsubst_sym_to_subst(), cState_init_copy(), end_document(), end_mapping(), end_sequence(), end_stream(), ev_advise(), ev_on_event(), evq_safelevel_handler(), fdbm_closed(), fev_unadvise(), fgdbm_closed(), folemethod_dispid(), folemethod_event(), folemethod_event_interface(), folemethod_helpcontext(), folemethod_helpfile(), folemethod_helpstring(), folemethod_initialize(), folemethod_invkind(), folemethod_invoke_kind(), folemethod_offset_vtbl(), folemethod_params(), folemethod_return_type(), folemethod_return_type_detail(), folemethod_return_vtype(), folemethod_size_opt_params(), folemethod_size_params(), folemethod_visible(), foleparam_default(), foleparam_input(), foleparam_ole_type(), foleparam_ole_type_detail(), foleparam_optional(), foleparam_output(), foleparam_retval(), foletype_default_event_sources(), foletype_default_ole_types(), foletype_guid(), foletype_helpcontext(), foletype_helpfile(), foletype_helpstring(), foletype_impl_ole_types(), foletype_major_version(), foletype_methods(), foletype_minor_version(), foletype_ole_type(), foletype_ole_typelib(), foletype_progid(), foletype_source_ole_types(), foletype_src_type(), foletype_typekind(), foletype_variables(), foletype_visible(), folevariable_ole_type(), folevariable_ole_type_detail(), folevariable_value(), folevariable_variable_kind(), folevariable_varkind(), folevariable_visible(), folevariant_ary_aref(), folevariant_ary_aset(), folevariant_initialize(), folevariant_s_array(), folevariant_set_value(), folevariant_value(), folevariant_vartype(), fsdbm_closed(), get_digest_base_metadata(), get_gzfile(), get_ip(), get_locked_safe_array(), get_zstream(), gzfile_ensure_close(), indentation(), initialize(), initialize_params(), ip_init(), ivq_safelevel_handler(), lexer_i(), lexer_iter(), line_width(), mark(), ole_invoke(), ole_set_member(), ole_val2variant(), olemethod_set_member(), oleparam_ole_param(), oleparam_ole_param_from_index(), oletype_set_member(), oletypelib_get_typelib(), oletypelib_set_member(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_ssl_read_internal(), ossl_ssl_session_initialize(), ossl_ssl_setup(), ossl_ssl_write_internal(), ossl_sslctx_add_extra_chain_cert_i(), ossl_sslctx_flush_sessions(), ossl_sslctx_get_ciphers(), ossl_sslctx_get_session_cache_mode(), ossl_sslctx_get_session_cache_size(), ossl_sslctx_get_session_cache_stats(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_sslctx_set_ciphers(), ossl_sslctx_set_session_cache_mode(), ossl_sslctx_set_session_cache_size(), ossl_sslctx_set_ssl_version(), ossl_sslctx_setup(), parse(), rb_deflate_init_copy(), rb_deflate_initialize(), rb_digest_base_copy(), rb_digest_base_finish(), rb_digest_base_reset(), rb_digest_base_update(), rb_gzfile_closed_p(), rb_gzfile_path(), rb_gzreader_initialize(), rb_gzreader_unused(), rb_gzwriter_initialize(), rb_inflate_initialize(), rb_zstream_avail_in(), rb_zstream_avail_out(), rb_zstream_closed_p(), rb_zstream_flush_next_in(), rb_zstream_flush_next_out(), reduce0(), scalar(), set_canonical(), set_indentation(), set_line_width(), start_document(), start_mapping(), start_sequence(), and start_stream().
| #define Data_Make_Struct | ( | klass, | |||
| type, | |||||
| mark, | |||||
| free, | |||||
| sval | ) |
| #define Data_Make_Struct | ( | klass, | |||
| type, | |||||
| mark, | |||||
| free, | |||||
| sval | ) |
| #define Data_Make_Struct | ( | klass, | |||
| type, | |||||
| mark, | |||||
| free, | |||||
| sval | ) |
Value:
(\
(sval) = ALLOC(type),\
memset((sval), 0, sizeof(type)),\
Data_Wrap_Struct((klass),(mark),(free),(sval))\
)
Definition at line 1021 of file ruby.h.
Referenced by d_complex_new_internal(), d_simple_new_internal(), fev_s_allocate(), fole_s_allocate(), folemethod_s_allocate(), foleparam_s_allocate(), foletype_s_allocate(), foletypelib_s_allocate(), folevariant_s_allocate(), gzfile_new(), ole_method_params(), ole_variables(), racc_cparse(), racc_yyparse(), and zstream_new().
| #define DATA_PTR | ( | dta | ) | (RDATA(dta)->data) |
Definition at line 992 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), BigDecimal_coerce(), BigDecimal_initialize(), BigDecimal_initialize_copy(), BigDecimal_new(), BigDecimal_power(), BigMath_s_exp(), BigMath_s_log(), econv_equal(), econv_init(), enc_inspect(), enc_name(), fdbm_initialize(), fgdbm_initialize(), fiber_t_alloc(), fsdbm_initialize(), GetVpValueWithPrec(), iow_inspect(), iow_internal_object_id(), iow_type(), ip_init(), method_eq(), must_encoding(), obj_free(), ossl_pkcs12_initialize(), ossl_pkcs7_copy(), ossl_pkcs7_initialize(), ossl_spki_initialize(), ossl_ssl_close(), ossl_ssl_setup(), ossl_sslctx_session_new_cb(), ossl_sslctx_session_remove_cb(), ossl_x509_copy(), ossl_x509_initialize(), ossl_x509attr_initialize(), ossl_x509crl_copy(), ossl_x509crl_initialize(), ossl_x509ext_initialize(), ossl_x509name_initialize(), ossl_x509req_copy(), ossl_x509req_initialize(), predefined_dlhandle(), predefined_fiddle_handle(), rb_autoload(), rb_check_typeddata(), rb_dlcfunc2ptr(), rb_econv_init_by_convpath(), rb_mod_define_method(), rb_objspace_call_finalizer(), rb_stat_init(), rb_stat_init_copy(), rb_str_conv_enc_opts(), rb_thread_shield_destroy(), rb_thread_shield_new(), rb_thread_shield_wait(), rb_vm_call_cfunc(), reachable_objects_from(), rsock_addrinfo_new(), run_final(), strio_copy(), strio_initialize(), time_new_timew(), and try_get_rnd().
| #define Data_Wrap_Struct | ( | klass, | |||
| mark, | |||||
| free, | |||||
| sval | ) | rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
| #define Data_Wrap_Struct | ( | klass, | |||
| mark, | |||||
| free, | |||||
| sval | ) | rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
| #define Data_Wrap_Struct | ( | klass, | |||
| mark, | |||||
| free, | |||||
| sval | ) | rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) |
Definition at line 1018 of file ruby.h.
Referenced by allocate(), allocate_cbsubst_info(), call_queue_handler(), cJSON_parser_s_allocate(), cState_s_allocate(), eval_queue_handler(), fdbm_alloc(), fdbm_s_open(), fgdbm_s_alloc(), fgdbm_s_open(), fsdbm_alloc(), fsdbm_s_open(), Init_marshal(), Init_md5(), Init_rmd160(), Init_sha1(), Init_win32ole(), invoke_queue_handler(), ip_alloc(), ip_create_slave_core(), ossl_digest_alloc(), ossl_ssl_s_alloc(), ossl_ssl_session_alloc(), ossl_sslctx_s_alloc(), and rb_digest_base_alloc().
| #define DBL2NUM | ( | dbl | ) | rb_float_new(dbl) |
Definition at line 815 of file ruby.h.
Referenced by big_fdiv(), d_lite_minus(), enum_cycle_size(), exp1(), f_to_f(), fix_divide(), fix_divmod(), fix_fdiv(), fix_minus(), fix_mod(), fix_mul(), fix_plus(), fix_pow(), fix_to_f(), flo_abs(), flo_div(), flo_divmod(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), flo_round(), flo_uminus(), gc_profile_record_get(), gc_profile_total_time(), Init_Numeric(), math_acos(), math_acosh(), math_asin(), math_asinh(), math_atan(), math_atan2(), math_atanh(), math_cbrt(), math_cos(), math_cosh(), math_erf(), math_erfc(), math_exp(), math_frexp(), math_gamma(), math_hypot(), math_ldexp(), math_lgamma(), math_log(), math_log10(), math_log2(), math_sin(), math_sinh(), math_sqrt(), math_tan(), math_tanh(), negate_lit(), nil_to_f(), num_step_scan_args(), pack_unpack(), parser_yylex(), r_object0(), rand_range(), rb_ary_cycle_size(), rb_big_divide(), rb_big_fdiv(), rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_big_to_f(), rb_f_loop_size(), rb_f_rand(), rb_Float(), rb_str_to_f(), rb_time_unmagnify_to_float(), ruby_float_step(), ruby_num_interval_step_size(), str2num(), timetick2dblnum(), and timetick2dblnum_reciprocal().
| #define DUPSETUP | ( | dup, | |||
| obj | ) |
| #define DUPSETUP | ( | dup, | |||
| obj | ) |
| #define DUPSETUP | ( | dup, | |||
| obj | ) |
| #define ELTS_SHARED FL_USER2 |
Definition at line 817 of file ruby.h.
Referenced by dump_object(), rb_str_drop_bytes(), rb_str_memsize(), and str_replace().
| #define ExportStringValue | ( | v | ) |
Value:
do {\ SafeStringValue(v);\ (v) = rb_str_export(v);\ } while (0)
| #define ExportStringValue | ( | v | ) |
Value:
do {\ SafeStringValue(v);\ (v) = rb_str_export(v);\ } while (0)
| #define ExportStringValue | ( | v | ) |
Value:
do {\ SafeStringValue(v);\ (v) = rb_str_export(v);\ } while (0)
Definition at line 553 of file ruby.h.
Referenced by fdbm_delete(), fdbm_fetch(), fdbm_has_key(), fdbm_has_value(), fdbm_key(), fsdbm_delete(), fsdbm_delete_if(), fsdbm_fetch(), fsdbm_has_key(), fsdbm_has_value(), fsdbm_key(), and fsdbm_store().
| #define FilePathStringValue | ( | v | ) | ((v) = rb_get_path_no_checksafe(v)) |
| #define FilePathStringValue | ( | v | ) | ((v) = rb_get_path_no_checksafe(v)) |
| #define FilePathStringValue | ( | v | ) | ((v) = rb_get_path_no_checksafe(v)) |
Definition at line 563 of file ruby.h.
Referenced by file_s_fnmatch(), rb_file_dirname(), rb_file_join(), rb_file_s_basename(), rb_file_s_extname(), and rb_file_s_split().
| #define FilePathValue | ( | v | ) | (RB_GC_GUARD(v) = rb_get_path(v)) |
| #define FilePathValue | ( | v | ) | (RB_GC_GUARD(v) = rb_get_path(v)) |
| #define FilePathValue | ( | v | ) | (RB_GC_GUARD(v) = rb_get_path(v)) |
Definition at line 560 of file ruby.h.
Referenced by check_dirname(), check_exec_redirect(), copy_stream_body(), dir_s_chdir(), fdbm_initialize(), fsdbm_initialize(), iseq_s_compile_file(), open_key_args(), rb_execarg_addopt(), rb_f_load(), rb_f_open(), rb_f_test(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_identical_p(), rb_file_open_str(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_s_atime(), rb_file_s_ctime(), rb_file_s_ftype(), rb_file_s_lstat(), rb_file_s_mtime(), rb_file_s_rename(), rb_file_s_size(), rb_file_s_stat(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_io_reopen(), rb_io_s_binread(), rb_io_s_sysopen(), rb_load(), rb_mod_autoload(), rb_realpath_internal(), rb_require_safe(), rb_scan_open_args(), rb_stat(), rb_stat_init(), and test_check().
| #define FIX2INT | ( | x | ) | ((int)FIX2LONG(x)) |
Definition at line 632 of file ruby.h.
Referenced by big_op(), BigDecimal_ceil(), BigDecimal_floor(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_round(), BigDecimal_truncate(), bsock_setsockopt(), call_DoOneEvent(), check_exec_fds(), check_exec_fds_1(), check_exec_redirect(), check_exec_redirect_fd(), cParser_initialize(), cto_i(), curry(), fgdbm_set_cachesize(), fix_ge(), fix_gt(), fix_le(), fix_lt(), flo_cmp(), flo_ge(), flo_gt(), flo_le(), flo_lt(), fole_s_set_code_page(), fole_s_set_locale(), foleparam_initialize(), folevariant_s_array(), garbage_collect_body(), GetPositiveInt(), insn_data_to_s_detail(), ip_get_variable2_core(), ip_set_variable2_core(), ip_unset_variable2_core(), iseq_build_from_ary_body(), iseq_compile_each(), iseq_set_arguments(), iseq_set_sequence(), k_rational_p(), lib_do_one_event_core(), make_inspectname(), marshal_dump(), match_aref(), mSyslog_log(), new_insn_send(), nurat_expt(), nurat_s_canonicalize_internal(), nurat_s_canonicalize_internal_no_reduce(), ole_invoke2(), ole_method_invoke_kind(), ossl_dh_initialize(), ossl_dsa_initialize(), ossl_rsa_initialize(), proc_binding(), proc_curry(), proc_to_s(), rb_ary_bsearch(), rb_f_kill(), rb_fix2int(), rb_io_ungetbyte(), rb_iseq_build_from_ary(), rb_iseq_compile_node(), rb_method_entry_make(), rb_reg_initialize_m(), rb_zstream_set_avail_out(), rsock_io_socket_addrinfo(), ruby_executable_node(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), run_finalizer(), strio_init(), strio_ungetbyte(), strio_ungetc(), tracepoint_inspect(), trap_signm(), VpGetRoundMode(), vtm2tm_noyear(), and w_object().
| #define FIX2LONG | ( | x | ) | ((long)RSHIFT((SIGNED_VALUE)(x),1)) |
Definition at line 345 of file ruby.h.
Referenced by add(), BigDecimal_power(), BigMath_s_log(), binop(), cdhash_hash(), cState_buffer_initial_length_set(), cState_configure(), cState_depth_set(), cState_max_nesting_set(), d_lite_minus(), d_lite_plus(), date_strftime_with_tmx(), decode_year(), dump_disasm_list(), f_add(), f_addsub(), f_cmp(), f_div(), f_eqeq_p(), f_gcd_normal(), f_gt_p(), f_lt_p(), f_minus_one_p(), f_mul(), f_muldiv(), f_one_p(), f_sub(), f_zero_p(), fix_abs(), fix_and(), fix_aref(), fix_cmp(), fix_divide(), fix_divmod(), fix_fdiv(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_minus(), fix_mod(), fix_mul(), fix_or(), fix_plus(), fix_pow(), fix_succ(), fix_to_f(), fix_uminus(), fix_xor(), fix_zero_p(), flo_div(), flo_divmod(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), float_to_r(), fun1(), fun2(), generate_json_fixnum(), GetVpValueWithPrec(), guess_style(), int_chr(), int_dotimes(), int_downto(), int_round_0(), int_upto(), is_even(), is_negative(), is_one(), is_zero(), lazy_drop_size(), lazy_take_size(), m_ajd(), mul(), negate_lit(), nucomp_expt(), num_step(), nurat_cmp(), nurat_eqeq_p(), ossl_bn_initialize(), ossl_x509req_set_version(), port_str(), quo(), rand_int(), rand_range(), range_bsearch(), range_each(), range_max(), range_step(), rb_absint_singlebit_p(), rb_absint_size(), rb_any_hash(), rb_ary_aref(), rb_ary_aset(), rb_big_and(), rb_big_cmp(), rb_big_coerce(), rb_big_divide(), rb_big_divmod(), rb_big_eq(), rb_big_fdiv(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_or(), rb_big_plus(), rb_big_pow(), rb_big_remainder(), rb_big_rshift(), rb_big_xor(), rb_cmpint(), rb_dlcfunc_call(), rb_feature_p(), rb_fix2short(), rb_fix2str(), rb_fix_bit_length(), rb_fix_lshift(), rb_fix_rshift(), rb_Float(), rb_get_values_at(), rb_int_pred(), rb_int_succ(), rb_integer_float_cmp(), rb_integer_float_eq(), rb_integer_pack(), rb_iseq_build_from_ary(), rb_num2long(), rb_num2long_inline(), rb_num2ulong_inline(), rb_num2ulong_internal(), rb_num_to_uint(), rb_str_aref(), rb_str_aset(), rb_str_concat(), rb_str_format(), rb_str_upto(), rb_strftime_with_timespec(), read_rat_nos(), ruby_num_interval_step_size(), setup_narg(), str_byte_aref(), sub(), time_mdump(), timelocalw(), update_coverage(), and w_object().
| #define FIX2SHORT | ( | x | ) | (rb_fix2short((VALUE)(x))) |
| #define FIX2UINT | ( | x | ) | ((unsigned int)FIX2ULONG(x)) |
Definition at line 633 of file ruby.h.
Referenced by check_rounding_mode(), rb_io_ungetc(), and VpGetException().
| #define FIX2ULONG | ( | x | ) | ((unsigned long)FIX2LONG(x)) |
Definition at line 346 of file ruby.h.
Referenced by int_pair_to_real_inclusive(), and rb_fix2ushort().
| #define FIXABLE | ( | f | ) | (POSFIXABLE(f) && NEGFIXABLE(f)) |
Definition at line 350 of file ruby.h.
Referenced by add(), BigDecimal_power(), case_when_optimizable_literal(), dbl2ival(), fix_mul(), flo_ceil(), flo_floor(), flo_truncate(), mul(), rb_int2inum(), rb_int2num_inline(), rb_long2num_inline(), rb_num2fix(), rb_str_format(), and sub().
| #define FIXNUM_FLAG RUBY_FIXNUM_FLAG |
Definition at line 430 of file ruby.h.
Referenced by fix_rev(), rb_obj_id(), step_i(), and sym_step_i().
| #define FIXNUM_MAX (LONG_MAX>>1) |
Definition at line 228 of file ruby.h.
Referenced by decode_year(), m_ajd(), rb_big_pow(), rb_convert_to_integer(), rb_integer_float_cmp(), and rb_str_sum().
| #define FIXNUM_MIN RSHIFT((long)LONG_MIN,1) |
Definition at line 229 of file ruby.h.
Referenced by bigfixize(), rb_convert_to_integer(), and rb_integer_float_cmp().
| #define FIXNUM_P | ( | f | ) | (((int)(SIGNED_VALUE)(f))&FIXNUM_FLAG) |
| #define FIXNUM_P | ( | f | ) | (((int)(SIGNED_VALUE)(f))&FIXNUM_FLAG) |
| #define FIXNUM_P | ( | f | ) | (((int)(SIGNED_VALUE)(f))&FIXNUM_FLAG) |
Definition at line 347 of file ruby.h.
Referenced by add(), big2str_find_n1(), big_op(), binop(), bit_coerce(), check_exec_fds(), check_exec_redirect(), check_exec_redirect_fd(), cmp(), date_strftime_with_tmx(), eq(), errinfo_place(), f_add(), f_addsub(), f_cmp(), f_div(), f_eqeq_p(), f_gcd_normal(), f_gt_p(), f_lt_p(), f_minus_one_p(), f_mul(), f_muldiv(), f_one_p(), f_sub(), f_zero_p(), fix_and(), fix_aref(), fix_cmp(), fix_divide(), fix_divmod(), fix_equal(), fix_fdiv(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_minus(), fix_mod(), fix_mul(), fix_or(), fix_plus(), fix_pow(), fix_xor(), flo_cmp(), flo_ge(), flo_gt(), flo_le(), flo_lt(), fun1(), fun2(), garbage_collect_body(), gc_stress_set(), guess_style(), id2ref(), int_chr(), int_dotimes(), int_dotimes_size(), int_downto(), int_pair_to_real_inclusive(), int_round_0(), int_upto(), is_negative(), is_one(), is_zero(), isec_to_day(), iseq_build_from_ary_body(), iseq_load(), lazy_drop_size(), lazy_take_size(), m_ajd(), marshal_dump(), match_aref(), mSyslog_log(), mul(), negative_int_p(), num_step(), nurat_cmp(), nurat_eqeq_p(), ossl_dh_initialize(), ossl_dsa_initialize(), ossl_rsa_initialize(), port_str(), positive_int_p(), quo(), rand_int(), rand_range(), range_bsearch(), range_each(), range_include(), range_init(), range_max(), range_op(), range_step(), rb_absint_singlebit_p(), rb_absint_size(), rb_any_cmp(), rb_ary_aref(), rb_ary_aset(), rb_ary_bsearch(), rb_ary_initialize(), rb_ary_slice_bang(), rb_big2str0(), rb_big2str1(), rb_big_and(), rb_big_cmp(), rb_big_coerce(), rb_big_divide(), rb_big_divmod(), rb_big_eq(), rb_big_fdiv(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_or(), rb_big_plus(), rb_big_pow(), rb_big_remainder(), rb_big_rshift(), rb_big_xor(), rb_builtin_class_name(), rb_check_to_integer(), rb_class_of(), rb_cmpint(), rb_dlcfunc_call(), rb_fix2short(), rb_fix2ushort(), rb_fix_lshift(), rb_fix_rshift(), rb_get_values_at(), rb_gzreader_ungetc(), rb_hash(), rb_int_pred(), rb_int_succ(), rb_integer_float_cmp(), rb_integer_float_eq(), rb_integer_pack(), rb_io_ungetbyte(), rb_io_ungetc(), rb_iseq_build_from_ary(), rb_load_file(), rb_load_internal0(), rb_num2fix(), rb_num2long(), rb_num2long_inline(), rb_num2short_inline(), rb_num2ulong_inline(), rb_num2ulong_internal(), rb_num_to_uint(), rb_reg_initialize_m(), rb_str_aref(), rb_str_aset(), rb_str_concat(), rb_str_format(), rb_str_upto(), rb_strftime_with_timespec(), rb_thread_status(), rb_to_integer(), rb_type(), read_rat_nos(), ruby_executable_node(), ruby_num_interval_step_size(), setup_narg(), singleton_class_of(), sock_s_getnameinfo(), sort_2(), step_i(), strio_init(), strio_ungetbyte(), strio_ungetc(), sub(), sym_step_i(), syserr_eqq(), syserr_initialize(), thread_join(), time_mdump(), timelocalw(), timew2timespec_exact(), v2w(), w_object(), and yyparse().
| #define FL_ABLE | ( | x | ) | (!SPECIAL_CONST_P(x) && BUILTIN_TYPE(x) != T_NODE) |
| #define FL_ABLE | ( | x | ) | (!SPECIAL_CONST_P(x) && BUILTIN_TYPE(x) != T_NODE) |
| #define FL_ABLE | ( | x | ) | (!SPECIAL_CONST_P(x) && BUILTIN_TYPE(x) != T_NODE) |
Definition at line 1167 of file ruby.h.
Referenced by generic_ivar_set(), rb_check_copyable(), and should_be_finalizable().
| #define FL_EXIVAR (((VALUE)1)<<10) |
Definition at line 1139 of file ruby.h.
Referenced by gc_mark_children(), generic_ivar_set(), init_copy(), obj_free(), obj_memsize_of(), rb_copy_generic_ivar(), rb_generic_ivar_table(), rb_hash_dup_empty(), rb_hash_reject(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), and rb_obj_remove_instance_variable().
| #define FL_FINALIZE (((VALUE)1)<<7) |
Definition at line 1136 of file ruby.h.
Referenced by define_final0(), gc_page_sweep(), rb_gc_copy_finalizer(), rb_obj_clone(), and rb_undefine_finalizer().
| #define FL_FREEZE (((VALUE)1)<<11) |
| #define FL_PROMOTED (((VALUE)1)<<6) |
Definition at line 1135 of file ruby.h.
Referenced by check_gen_consistency(), rb_obj_clone(), rb_obj_wb_unprotect(), rb_obj_written(), RVALUE_DEMOTE_FROM_OLD(), RVALUE_INFANT_P(), RVALUE_OLD_P(), RVALUE_PROMOTE_INFANT(), and RVALUE_PROMOTED_P().
| #define FL_REVERSE | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags ^= (f);} while (0) |
| #define FL_REVERSE | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags ^= (f);} while (0) |
| #define FL_REVERSE | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags ^= (f);} while (0) |
| #define FL_SET | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags |= (f);} while (0) |
| #define FL_SET | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags |= (f);} while (0) |
| #define FL_SET | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags |= (f);} while (0) |
Definition at line 1172 of file ruby.h.
Referenced by add_activated_refinement(), generic_ivar_set(), hash_foreach_iter(), include_modules_at(), make_metaclass(), make_singleton_class(), newobj_of(), r_entry0(), rb_ary_product(), rb_ary_sort_bang(), rb_copy_generic_ivar(), rb_gc_copy_finalizer(), rb_hash_delete_key(), rb_hash_dup_empty(), rb_hash_initialize(), rb_hash_initialize_copy(), rb_hash_replace(), rb_hash_set_default_proc(), rb_hash_to_h(), rb_match_busy(), rb_mod_refine(), rb_obj_setup(), rb_reg_compile(), rb_singleton_class_clone_and_attach(), rb_str_associate(), rb_str_buf_new(), rb_str_new_frozen(), rb_str_shared_replace(), rb_using_refinement(), RUBY_ALIAS_FUNCTION(), str_replace(), and str_replace_shared_without_enc().
| #define FL_SINGLETON FL_USER0 |
Definition at line 1133 of file ruby.h.
Referenced by call_trace_func(), class_init_copy_check(), class_instance_method_list(), cvar_front_klass(), internal_object_p(), make_metaclass(), make_singleton_class(), method_inspect(), mnew_from_me(), r_object0(), rb_check_inheritable(), rb_class_real(), rb_frozen_class_p(), rb_method_entry_get_without_cache(), rb_method_entry_make(), rb_method_name_error(), rb_mod_define_method(), rb_mod_init_copy(), rb_mod_singleton_p(), rb_mod_to_s(), rb_obj_alloc(), rb_obj_clone(), rb_obj_respond_to(), rb_obj_singleton_methods(), rb_profile_frame_classpath(), rb_profile_frame_singleton_method_p(), rb_singleton_class_attached(), rb_singleton_class_clone_and_attach(), rb_singleton_class_get(), rb_undef(), singleton_class_of(), total_i(), umethod_bind(), vm_get_cvar_base(), w_extended(), and w_object().
| #define FL_TAINT (((VALUE)1)<<8) |
Definition at line 1137 of file ruby.h.
Referenced by env_reject_bang(), env_select_bang(), etc_systmpdir(), init_copy(), load_encoding(), load_transcoder_entry(), marshal_load(), newobj_of(), rb_autoload(), rb_check_copyable(), rb_find_file_ext_safe(), rb_hash_dup_empty(), rb_hash_reject(), rb_obj_clone(), rb_obj_setup(), rb_obj_untaint(), rb_reg_search(), rb_str_new_frozen(), and singleton_class_of().
| #define FL_TEST | ( | x, | |||
| f | ) | (FL_ABLE(x)?FL_TEST_RAW((x),(f)):0) |
| #define FL_TEST | ( | x, | |||
| f | ) | (FL_ABLE(x)?FL_TEST_RAW((x),(f)):0) |
| #define FL_TEST | ( | x, | |||
| f | ) | (FL_ABLE(x)?FL_TEST_RAW((x),(f)):0) |
Definition at line 1169 of file ruby.h.
Referenced by call_trace_func(), class_init_copy_check(), class_instance_method_list(), cvar_front_klass(), dump_object(), gc_mark_children(), gc_page_sweep(), hash_default_value(), hash_equal(), hash_foreach_ensure(), include_modules_at(), internal_object_p(), marshal_load(), method_inspect(), mnew_from_me(), obj_free(), obj_memsize_of(), r_byte1_buffered(), r_bytes1(), r_bytes1_buffered(), r_object0(), rb_ary_product(), rb_copy_generic_ivar(), rb_frozen_class_p(), rb_fstring(), rb_gc_copy_finalizer(), rb_generic_ivar_table(), rb_hash_default(), rb_hash_default_proc(), rb_hash_dup_empty(), rb_hash_initialize_copy(), rb_hash_reject(), rb_hash_replace(), rb_hash_to_h(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_method_entry_make(), rb_method_name_error(), rb_mod_define_method(), rb_mod_init_copy(), rb_mod_singleton_p(), rb_mod_to_s(), rb_obj_alloc(), rb_obj_clone(), rb_obj_remove_instance_variable(), rb_obj_respond_to(), rb_obj_singleton_methods(), rb_profile_frame_classpath(), rb_profile_frame_singleton_method_p(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_initialize(), rb_reg_search(), rb_singleton_class_attached(), rb_singleton_class_clone_and_attach(), rb_singleton_class_get(), rb_str_free(), rb_str_memsize(), rb_str_unlocktmp(), rb_undef(), RUBY_ALIAS_FUNCTION(), singleton_class_of(), str_modifiable(), total_i(), umethod_bind(), vm_get_cvar_base(), vm_get_iclass(), vm_search_normal_superclass(), vm_search_super_method(), w_extended(), and w_object().
| #define FL_TEST_RAW | ( | x, | |||
| f | ) | (RBASIC(x)->flags&(f)) |
| #define FL_UNSET | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) |
| #define FL_UNSET | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) |
| #define FL_UNSET | ( | x, | |||
| f | ) | do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) |
Definition at line 1173 of file ruby.h.
Referenced by env_reject_bang(), env_select_bang(), etc_systmpdir(), hash_foreach_ensure(), load_encoding(), load_transcoder_entry(), obj_free(), rb_ary_product(), rb_ary_sort_bang(), rb_autoload(), rb_copy_generic_ivar(), rb_find_file_ext_safe(), rb_hash_initialize_copy(), rb_hash_replace(), rb_hash_set_default(), rb_hash_set_default_proc(), rb_obj_untaint(), rb_reg_search(), rb_str_new_frozen(), rb_str_unlocktmp(), rb_undefine_finalizer(), singleton_class_of(), str_buf_cat(), and str_replace().
| #define FL_USER5 (((VALUE)1)<<(FL_USHIFT+5)) |
| #define FL_WB_PROTECTED (((VALUE)1)<<5) |
Definition at line 1134 of file ruby.h.
Referenced by ary_alloc(), bignew_1(), class_alloc(), hash_alloc(), newobj_of(), nucomp_s_new_internal(), nurat_s_new_internal(), range_dumper(), rb_class_allocate_instance(), rb_float_new_in_heap(), rb_node_newnode(), rb_obj_clone(), rb_obj_wb_unprotect(), rb_reg_s_alloc(), str_alloc(), and struct_alloc().
| #define FLONUM_P | ( | x | ) | ((((int)(SIGNED_VALUE)(x))&FLONUM_MASK) == FLONUM_FLAG) |
| #define FLONUM_P | ( | x | ) | ((((int)(SIGNED_VALUE)(x))&FLONUM_MASK) == FLONUM_FLAG) |
| #define FLONUM_P | ( | x | ) | ((((int)(SIGNED_VALUE)(x))&FLONUM_MASK) == FLONUM_FLAG) |
Definition at line 367 of file ruby.h.
Referenced by id2ref(), negate_lit(), rb_class_of(), rb_float_value_inline(), rb_obj_id(), rb_type(), singleton_class_of(), and w_object().
| #define HAVE_NATIVETHREAD |
| #define ID2SYM | ( | x | ) | (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG) |
| #define ID2SYM | ( | x | ) | (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG) |
| #define ID2SYM | ( | x | ) | (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG) |
Definition at line 355 of file ruby.h.
Referenced by argf_bytes(), argf_chars(), argf_codepoints(), argf_lines(), basic_obj_respond_to(), build_postexe_iseq(), call_trace_func(), cbsubst_get_subst_arg(), check_funcall_missing(), check_funcall_respond_to(), chunk_ii(), collect_local_variables_in_iseq(), compile_array_(), compile_colon2(), console_dev(), const_missing(), constant_to_sym(), count_nodes(), count_objects_size(), cParser_initialize(), cState_configure(), cState_to_h(), cto_i(), cv_list_i(), defined_expr(), dsym_node_gen(), enum_inject(), enum_zip(), exception_type2symbol(), exec_recursive(), gc_profile_record_get(), get_exception_sym2type(), gvar_i(), id2ref(), Init_Enumerator(), Init_GC(), Init_IO(), Init_objspace_dump(), Init_ossl_ssl(), Init_stringio(), Init_Thread(), Init_transcode(), ins_methods_push(), insn_make_insn_table(), int_ossl_asn1_decode0_cons(), int_ossl_asn1_decode0_prim(), io_getpartial(), io_write_nonblock(), iseq_build_from_ary_body(), iseq_compile_each(), iseq_data_to_ary(), iseq_load(), ivar_i(), lazy_set_method(), list_i(), location_base_label(), make_clock_result(), make_localjump_error(), method_missing(), method_name(), method_original_name(), mnew_from_me(), new_struct(), obj_respond_to(), ossl_asn1_class2sym(), ossl_asn1_initialize(), ossl_asn1eoc_initialize(), ossl_pkcs7_get_type(), ossl_ssl_read_internal(), ossl_ssl_write_internal(), ossl_sslctx_get_session_cache_stats(), parse_keyword_arg_i(), r_object0(), rawmode_opt(), rb_catch(), rb_clock_getres(), rb_dlcfunc_calltype(), rb_f_callee_name(), rb_f_global_variables(), rb_f_local_variables(), rb_f_method_name(), rb_get_kwargs(), rb_gzreader_bytes(), rb_gzreader_lines(), rb_id_attrset(), rb_insn_operand_intern(), rb_io_bytes(), rb_io_chars(), rb_io_codepoints(), rb_io_lines(), rb_iseq_parameters(), rb_local_constants_i(), rb_mod_define_method(), rb_name_class(), rb_name_error(), rb_obj_respond_to(), rb_set_class_path(), rb_set_class_path_string(), rb_str_format(), rb_str_intern(), rb_struct_define(), rb_struct_define_under(), rb_struct_define_without_accessor(), rb_struct_define_without_accessor_under(), rb_struct_getmember(), rb_struct_s_def(), rb_thread_variable_get(), rb_thread_variable_p(), rb_thread_variable_set(), rb_throw(), rb_tracearg_event(), rb_tracearg_method_id(), rb_vm_add_root_module(), realpath_rec(), recursive_list_access(), recursive_pop(), reg_named_capture_assign_iter(), register_label(), ripper_init_eventids1_table(), ripper_init_eventids2_table(), strio_bytes(), strio_chars(), strio_codepoints(), strio_lines(), symbol2event_flag(), symbols_i(), thread_keys_i(), time_init_1(), unknown_keyword_error(), unnamed_parameters(), vm_call0_body(), vm_call_method_missing(), wmap_allocate(), and yyparse().
| #define IMMEDIATE_P | ( | x | ) | ((VALUE)(x) & IMMEDIATE_MASK) |
Definition at line 352 of file ruby.h.
Referenced by rb_class_of(), rb_search_method_entry(), rb_type(), and signal_exec().
| #define InitVM | ( | ext | ) | {void InitVM_##ext(void);InitVM_##ext();} |
| #define InitVM | ( | ext | ) | {void InitVM_##ext(void);InitVM_##ext();} |
| #define InitVM | ( | ext | ) | {void InitVM_##ext(void);InitVM_##ext();} |
| #define INT2FIX | ( | i | ) | ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |
| #define INT2FIX | ( | i | ) | ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |
| #define INT2FIX | ( | i | ) | ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |
Definition at line 231 of file ruby.h.
Referenced by addrinfo_mdump(), addrinfo_mload(), addrinfo_s_ip(), addrinfo_s_tcp(), addrinfo_s_udp(), allocation_sourceline(), argf_lineno(), argf_lineno_getter(), big_shift2(), big_shift3(), bigand_int(), BigDecimal_double_fig(), BigDecimal_hash(), BigDecimal_IsInfinite(), BigDecimal_mode(), BigDecimal_power(), BigDecimal_sign(), BigDecimal_split(), BigDecimal_to_i(), BigDecimal_to_r(), BigDecimalCmp(), bigfixize(), BigMath_s_exp(), BigMath_s_log(), bigor_int(), bsock_setsockopt(), bsock_shutdown(), build_postexe_iseq(), call_trace_func(), cbsubst_scan_args(), cbsubst_table_setup(), cdhash_set_label_i(), check_exec_fds(), check_exec_fds_1(), check_exec_redirect(), check_exec_redirect_fd(), clear_coverage_i(), compile_array_(), compile_cpath(), compile_dregx(), compile_dstr(), compile_massign(), compile_massign_lhs(), console_dev(), copy_stream_body(), copy_stream_fallback_body(), count_nodes(), cto_i(), d_lite_cmp(), d_lite_cwday(), d_lite_cweek(), d_lite_cwyear(), d_lite_downto(), d_lite_hour(), d_lite_httpdate(), d_lite_jd(), d_lite_mday(), d_lite_min(), d_lite_mjd(), d_lite_mon(), d_lite_plus(), d_lite_upto(), d_lite_yday(), d_lite_year(), date__strptime_internal(), date_s_httpdate(), date_s_iso8601(), date_s_jisx0301(), date_s_parse(), date_s_rfc2822(), date_s_rfc3339(), date_s_strptime(), date_s_xmlschema(), date_strftime_with_tmx(), datetime_s_httpdate(), datetime_s_iso8601(), datetime_s_jisx0301(), datetime_s_parse(), datetime_s_rfc2822(), datetime_s_rfc3339(), datetime_s_strptime(), datetime_s_xmlschema(), define_final0(), defined_expr(), dir_s_chdir(), dir_s_mkdir(), dir_s_rmdir(), dt_new_by_frags(), econv_finish(), enum_cycle_size(), enumerator_with_index(), env_size(), eval_string_with_cref(), exc_setup_cause(), exit_initialize(), f_cmp(), f_minus_one_p(), f_odd_p(), fdbm_length(), fgdbm_length(), fix_aref(), fix_cmp(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_pow(), fix_rshift(), fix_size(), flo_cmp(), flo_is_infinite_p(), float_arg(), float_decode_internal(), float_denominator(), float_to_r(), float_value(), fole_s_get_code_page(), fole_s_get_locale(), folevariant_vartype(), fsdbm_length(), function_call(), get_loaded_features_index(), gettable_gen(), gmtimew(), gmtimew_noleapsecond(), guess_local_offset(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), gzfile_reader_rewind(), hash2ptr_dispparams(), hash_recursive(), Init_bigdecimal(), Init_dbm(), Init_Dir(), Init_fcntl(), Init_File(), Init_gdbm(), Init_IO(), init_leap_second_info(), Init_marshal(), Init_Numeric(), Init_process(), Init_Regexp(), Init_tcltklib(), Init_transcode(), Init_version(), Init_win32ole(), Init_zlib(), initialize_params(), int_dotimes(), int_dotimes_size(), int_downto(), int_downto_size(), int_even_p(), int_odd_p(), int_round_0(), int_upto(), int_upto_size(), integer_denominator(), interrupt_init(), io_nread(), io_strip_bom(), io_write(), ip_get_global_var(), ip_get_global_var2(), ip_retval(), ip_RubyExitCommand(), ip_set_global_var(), ip_set_global_var2(), ip_unset_global_var(), ip_unset_global_var2(), is_negative(), is_one(), is_zero(), iseq_compile_each(), iseq_data_to_ary(), iseq_s_compile(), iseq_s_compile_file(), iseq_set_arguments(), k_rational_p(), lazy_take(), lib_eventloop_core(), lib_num_of_mainwindows_core(), load_file_internal(), load_file_read_contents_callback(), location_lineno_m(), location_to_str(), m_ajd(), m_sf_in_sec(), make_addrinfo(), match_begin(), match_end(), match_offset(), match_size(), math_lgamma(), method_arity_m(), method_hash(), mSyslogMacros_LOG_MASK(), mSyslogMacros_LOG_UPTO(), negative_int_p(), new_child_iseq(), nil_to_i(), nilclass_to_c(), nilclass_to_r(), num_cmp(), num_div(), num_exact(), num_imaginary(), num_remainder(), num_step(), num_step_scan_args(), num_uminus(), num_zero_p(), numeric_arg(), numeric_imag(), numeric_rect(), nurat_coerce(), nurat_expt(), obj2subsecx(), ole_method_helpcontext(), ole_method_invkind(), ole_method_offset_vtbl(), ole_method_return_vtype(), ole_method_size_opt_params(), ole_method_size_params(), ole_type_helpcontext(), ole_type_major_version(), ole_type_minor_version(), ole_type_typekind(), ole_typedesc2val(), ole_variable_varkind(), open_key_args(), opt_W_getter(), ossl_ssl_cipher_to_ary(), ossl_ssl_get_verify_result(), ossl_tmp_dh_callback(), ossl_x509name_cmp(), ossl_x509name_to_a(), ossl_x509stctx_get_err(), ossl_x509stctx_get_err_depth(), ossl_x509store_initialize(), parse_frag_cb(), parser_set_number_literal(), parser_yylex(), path_cmp(), path_hash(), pipe_open(), positive_int_p(), proc_arity(), proc_curry(), pruby_get_instance(), pruby_register_instance(), pruby_unregister_instance(), quo(), r_le(), rand_int(), rand_range(), random_alloc(), random_dump(), random_left(), random_load(), random_s_left(), range_bsearch(), range_each_func(), range_max(), range_size(), range_step(), range_step_size(), rawmode_opt(), rb_add_method(), rb_ary_bsearch(), rb_ary_cmp(), rb_ary_cycle_size(), rb_big_aref(), rb_big_cmp(), rb_big_hash(), rb_big_neg(), rb_big_pow(), rb_cmpint(), rb_cstr_to_inum(), rb_dbl_cmp(), rb_dlptr_cmp(), rb_execarg_addopt(), rb_f_kill(), rb_f_rand(), rb_f_sleep(), rb_fiddle_ptr_cmp(), rb_file_chmod(), rb_file_chown(), rb_file_flock(), rb_file_s_rename(), rb_file_s_umask(), rb_flt_rationalize(), rb_gzfile_level(), rb_gzfile_os_code(), rb_gzreader_getbyte(), rb_gzreader_rewind(), rb_gzwriter_write(), rb_hash_flatten(), rb_hash_hash(), rb_hash_size(), rb_insn_operand_intern(), rb_int2num_inline(), rb_int_pred(), rb_int_succ(), rb_integer_float_cmp(), rb_invcmp(), rb_io_each_byte(), rb_io_fileno(), rb_io_getbyte(), rb_io_initialize(), rb_io_rewind(), rb_io_s_pipe(), rb_io_seek(), rb_iseq_compile_node(), rb_iseq_new(), rb_iseq_new_main(), rb_iseq_new_top(), rb_last_status_set(), rb_mod_cmp(), rb_mutex_sleep(), rb_obj_cmp(), rb_provide_feature(), rb_random_int32(), rb_reset_random_seed(), rb_stat_cmp(), rb_str_aref(), rb_str_aset(), rb_str_casecmp(), rb_str_cmp_m(), rb_str_count(), rb_str_enumerate_bytes(), rb_str_getbyte(), rb_str_hash_m(), rb_str_partition(), rb_str_sum(), rb_str_upto(), rb_strftime_with_timespec(), rb_struct_hash(), rb_thread_sleep(), rb_threadptr_execute_interrupts(), rb_threadptr_signal_raise(), rb_threadptr_to_kill(), rb_tracearg_lineno(), rb_zstream_avail_in(), rb_zstream_data_type(), read_comp(), recursive_cmp(), reduce0(), reg_named_capture_assign_gen(), rsock_bsock_send(), rsock_ipaddr(), rsock_sock_listen(), rt_rewrite_frags(), ruby_num_interval_step_size(), ruby_options(), save_redirect_fd(), set_max_block_time(), set_option_encoding_once(), set_zero(), set_zero_i(), setup_args(), sig_list(), small_vtm_sub(), sock_bind(), sock_connect(), sock_connect_nonblock(), sock_initialize(), sock_s_getservbyname(), step_i(), strio_0(), strio_rewind(), strio_seek(), strio_write(), strscan_do_scan(), strscan_get_charpos(), strscan_get_pos(), strscan_rest_size(), subx(), sym_step_i(), time_arg(), time_cmp(), time_fixoff(), time_hour(), time_init_1(), time_mday(), time_mdump(), time_min(), time_mload(), time_mon(), time_round(), time_sec(), time_subsec(), time_timespec(), time_to_a(), time_utc_offset(), time_wday(), time_yday(), timegmw(), timegmw_noleapsecond(), timelocalw(), timew2timespec(), timew2timespec_exact(), timew_out_of_timet_range(), tkstr_to_number(), udp_bind(), udp_connect(), udp_send(), ulong_to_num_plus_1(), usec2subsecx(), utc_offset_arg(), validate_utc_offset(), validate_vtm(), vtm2tm_noyear(), vtm_add_offset(), when_vals(), wmul(), wquo(), and yyparse().
| #define INT2NUM | ( | x | ) | rb_int2num_inline(x) |
Definition at line 1288 of file ruby.h.
Referenced by addrinfo_afamily(), addrinfo_initialize(), addrinfo_ip_address(), addrinfo_ip_port(), addrinfo_ip_unpack(), addrinfo_mload(), addrinfo_pfamily(), addrinfo_protocol(), addrinfo_s_ip(), addrinfo_s_tcp(), addrinfo_s_udp(), addrinfo_socktype(), argf_read(), asn1time_to_time(), BigDecimal_exponent(), BigDecimal_limit(), BigDecimal_prec(), BigDecimal_split(), call_original_exit(), callback(), check_exec_redirect(), collect_trace(), console_dev(), constant_to_sym(), copy_stream_body(), each_with_index_i(), econv_convert(), econv_result_to_symbol(), enc_set_index(), enum_count(), esignal_init(), finish_writeconv(), first_i(), fole_s_free(), fole_s_reference_count(), foletypelib_major_version(), foletypelib_minor_version(), foletypelib_version(), fptr_finalize(), function_call(), generic_to_value(), get_eventloop_tick(), get_eventloop_weight(), get_no_event_wait(), gmtimew_noleapsecond(), hist_length(), indentation(), Init_dl(), Init_fcntl(), Init_fiddle(), Init_fiddle_function(), Init_fiddle_handle(), Init_openssl(), Init_ossl_asn1(), Init_ossl_x509name(), Init_psych_parser(), initialize(), int_ossl_asn1_decode0_cons(), int_ossl_asn1_decode0_prim(), io_reader(), io_s_write(), lib_getversion(), libyaml_version(), line_width(), make_exception(), make_hostent_internal(), mark(), math_frexp(), mSyslog_facility(), mSyslog_get_mask(), mSyslog_options(), ole_method_dispid(), ole_variant2val(), open_key_args(), optname_to_sym(), ossl_asn1_decode0(), ossl_asn1_initialize(), ossl_asn1eoc_initialize(), ossl_digest_block_length(), ossl_digest_size(), ossl_generate_cb(), ossl_ssl_pending(), ossl_ssl_write_internal(), ossl_sslctx_session_get_cb(), ossl_sslctx_session_new_cb(), parse(), pst_bitand(), pst_rshift(), pst_wexitstatus(), pst_wstopsig(), pst_wtermsig(), range_step(), rb_digest_base_block_length(), rb_digest_base_digest_length(), rb_digest_instance_digest_length(), rb_dlcfunc_call(), rb_dlcfunc_ctype(), rb_dlhandle_close(), rb_dlptr_aref(), rb_dlptr_cmp(), rb_execarg_addopt(), rb_exit(), rb_f_abort(), rb_fiddle_handle_close(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_cmp(), rb_fiddle_ptr_free_get(), rb_gzfile_lineno(), rb_io_lineno(), rb_io_s_pipe(), rb_io_s_sysopen(), rb_ioctl(), rb_reg_options_m(), rb_stat_dev_major(), rb_stat_dev_minor(), rb_str_count(), rb_thread_priority(), rb_thread_priority_set(), rb_thread_safe_level(), read_num(), reg_named_captures_iter(), ripper_init_eventids1_table(), ripper_init_eventids2_table(), rsock_s_accept(), rsock_sockopt_new(), safe_getter(), set_syserr(), signal_exec(), sock_s_gethostbyaddr(), sock_s_unpack_sockaddr_in(), sockopt_initialize(), sockopt_int(), sockopt_level_m(), sockopt_linger(), sockopt_optname_m(), strscan_get_charpos(), strscan_matched_size(), strscan_set_pos(), timelocalw(), and w_object().
| #define ISALNUM | ( | c | ) | rb_isalnum((unsigned char)(c)) |
Definition at line 1773 of file ruby.h.
Referenced by has_redirection(), load_encoding(), parser_yylex(), process_sflag(), set_encoding_const(), and set_file_encoding().
| #define ISALPHA | ( | c | ) | rb_isalpha((unsigned char)(c)) |
Definition at line 1774 of file ruby.h.
Referenced by has_magic(), has_redirection(), opendir_internal(), parser_number_literal_suffix(), parser_peek_variable_name(), parser_regx_options(), and rb_str_succ().
| #define ISASCII | ( | c | ) | rb_isascii((unsigned char)(c)) |
Definition at line 1766 of file ruby.h.
Referenced by enc_strlen(), intern_str(), io_getc(), is_special_global_name(), parser_number_literal_suffix(), parser_peek_variable_name(), parser_read_escape(), parser_tokadd_string(), parser_yylex(), range_include(), rb_enc_ascget(), rb_enc_strlen_cr(), rb_enc_symname_type(), rb_str_crypt(), reg_named_capture_assign_iter(), search_nonascii(), and str_nth_len().
| #define ISDIGIT | ( | c | ) | rb_isdigit((unsigned char)(c)) |
Definition at line 1775 of file ruby.h.
Referenced by BigDecimal_load(), BigDecimal_to_s(), pack_unpack(), parser_peek_variable_name(), parser_yylex(), rb_cstr_to_dbl(), rb_scan_args(), rb_str_succ(), rb_str_upto(), ruby_strtod(), set_encoding_const(), utc_offset_arg(), and VpAlloc().
| #define ISLOWER | ( | c | ) | rb_islower((unsigned char)(c)) |
Definition at line 1772 of file ruby.h.
Referenced by rb_strftime_with_timespec(), set_encoding_const(), and upcase().
| #define ISPRINT | ( | c | ) | rb_isprint((unsigned char)(c)) |
Definition at line 1768 of file ruby.h.
Referenced by proc_options(), rb_f_test(), rb_str_buf_cat_escaped_char(), rb_str_dump(), rb_str_inspect(), and rsock_inspect_sockaddr().
| #define ISSPACE | ( | c | ) | rb_isspace((unsigned char)(c)) |
Definition at line 1770 of file ruby.h.
Referenced by BigDecimal_to_s(), comment_at_top(), moreswitches(), pack_unpack(), parser_magic_comment(), parser_parse_string(), parser_tokadd_string(), parser_whole_match_p(), parser_yylex(), rb_cstr_to_dbl(), rb_cstr_to_inum(), rb_w32_cmdvector(), rsock_inspect_sockaddr(), ruby_each_words(), ruby_strtoul(), set_file_encoding(), skipspace(), str2big_scan_digits(), unescape_unicode_list(), VpAlloc(), VpFormatSt(), and w32_spawn().
| #define ISUPPER | ( | c | ) | rb_isupper((unsigned char)(c)) |
Definition at line 1771 of file ruby.h.
Referenced by downcase(), load_encoding(), parser_yylex(), rb_mod_const_defined(), rb_mod_const_get(), rb_strftime_with_timespec(), and set_encoding_const().
| #define ISXDIGIT | ( | c | ) | rb_isxdigit((unsigned char)(c)) |
| #define LONG2FIX | ( | i | ) | INT2FIX(i) |
Definition at line 232 of file ruby.h.
Referenced by add(), BigDecimal_power(), bigfixize(), bigor_int(), binomial_coefficient(), case_when_optimizable_literal(), cState_buffer_initial_length(), cState_depth(), cState_max_nesting(), cState_to_h(), dbl2ival(), decode_year(), descending_factorial(), enum_cycle_size(), enum_each_cons_size(), enum_each_slice_size(), fix_mul(), fix_rshift(), flo_ceil(), flo_floor(), flo_hash(), flo_truncate(), guess_local_offset(), Init_ossl_ssl(), int_dotimes(), int_downto(), int_upto(), io_write(), io_write_nonblock(), iseq_compile_each(), lazy_drop_size(), m_ajd(), match_hash(), mul(), negate_lit(), nucomp_hash(), num_step(), nurat_hash(), ossl_x509req_get_version(), proc_hash(), r_object0(), range_each(), range_hash(), rb_ary_cycle_size(), rb_ary_drop_while(), rb_ary_hash(), rb_ary_repeated_combination_size(), rb_ary_repeated_permutation_size(), rb_ary_take_while(), rb_big_bit_length(), rb_big_divrem_normal(), rb_cstr_to_inum(), rb_env_size(), rb_file_s_chmod(), rb_file_s_chown(), rb_file_s_unlink(), rb_file_s_utime(), rb_fix_bit_length(), rb_hash(), rb_int2inum(), rb_integer_unpack(), rb_io_syswrite(), rb_long2num_inline(), rb_num2fix(), rb_obj_hash(), rb_reg_hash(), rb_reg_match(), rb_reg_match2(), rb_str_each_byte_size(), rb_str_format(), rb_str_sum(), rb_struct_size(), rb_uint2inum(), rb_uint2num_inline(), rb_ulong2num_inline(), ruby_num_interval_step_size(), sub(), time_mdump(), time_mload(), timetick2integer(), update_coverage(), and v2w().
| #define LONG2NUM | ( | x | ) | rb_long2num_inline(x) |
Definition at line 1309 of file ruby.h.
Referenced by add(), bigadd_int(), bigand_int(), BigDecimal_to_i(), bigsub_int(), callback(), d_lite_minus(), enum_each_cons_size(), enum_each_slice_size(), f_addsub(), f_gcd_normal(), f_imul(), fix_abs(), fix_and(), fix_divide(), fix_divmod(), fix_lshift(), fix_minus(), fix_mod(), fix_or(), fix_plus(), fix_succ(), fix_uminus(), fix_xor(), flatten(), generic_to_value(), GetVpValueWithPrec(), gmtimew(), init_leap_second_info(), initialize_params(), int_ossl_asn1_decode0_prim(), int_pow(), int_round_0(), lazy_drop_func(), lazy_drop_size(), lazy_take_func(), lazy_take_size(), lazy_zip_arrays_func(), localtimew(), mul(), ossl_asn1_decode0(), ossl_sslctx_get_session_cache_mode(), ossl_sslctx_get_session_cache_size(), ossl_sslctx_get_session_cache_stats(), ossl_x509_get_version(), ossl_x509crl_get_version(), parse_main(), quo(), r_byte1_buffered(), r_bytes1(), r_bytes1_buffered(), rand_int(), rand_range(), range_max(), range_step(), rb_ary_count(), rb_ary_each_index(), rb_ary_fill(), rb_ary_index(), rb_ary_initialize(), rb_ary_length(), rb_ary_repeated_permutation_size(), rb_ary_rindex(), rb_dlptr_size_get(), rb_fiddle_ptr_size_get(), rb_int_pred(), rb_int_succ(), rb_obj_id(), rb_random_bytes(), rb_require_safe(), rb_str_bytesize(), rb_str_index_m(), rb_str_length(), rb_str_rindex_m(), read_digits(), reduce0(), set_max_block_time(), shift(), strio_get_lineno(), strio_get_pos(), strio_write(), struct_entry(), sub(), subx(), and timegmw_noleapsecond().
| #define LONG_MAX 2147483647 |
Definition at line 191 of file ruby.h.
Referenced by big2str_alloc(), big2str_base_poweroftwo(), big2str_find_n1(), big2str_generic(), big_shift3(), BSD__ultoa(), bubblebabble_str_new(), econv_primitive_convert(), enum_sort_by(), fole_missing(), hexencode_str_new(), long_mul(), rb_big2long(), rb_big2str1(), rb_big2ulong(), rb_econv_append(), rb_integer_float_eq(), rb_integer_unpack(), rb_str_conv_enc_opts(), rb_str_justify(), rb_str_times(), remain_size(), and str_buf_cat().
| #define LONG_MIN (-LONG_MAX-1) |
Definition at line 195 of file ruby.h.
Referenced by rb_big2long(), rb_big2ulong(), and rb_integer_float_eq().
Definition at line 1354 of file ruby.h.
Referenced by rb_big_eq(), rb_big_eql(), and strio_getline().
Definition at line 1352 of file ruby.h.
Referenced by abs2twocomp(), ary_memcpy(), ary_resize_capa(), bary_divmod(), bary_divmod_normal(), bary_mul_balance_with_mulfunc(), bary_mul_karatsuba(), bary_mul_precheck(), bary_mul_toom3(), bary_pack(), bary_unpack_internal(), big2str_2bdigits(), big2str_generic(), clone_const(), cont_capture(), cont_restore_1(), cont_restore_thread(), cont_save_machine_stack(), cState_init_copy(), enc_succ_alnum_char(), fbuffer_append(), fiber_init(), iseq_set_arguments(), iseq_set_local_table(), local_tbl_gen(), make_seed_value(), match_init_copy(), method_missing(), parser_yyerror(), rb_apply(), rb_ary_modify(), rb_ary_resize(), rb_big_clone(), rb_big_realloc(), rb_binding_add_dynavars(), rb_econv_set_replacement(), rb_feature_p(), rb_integer_unpack(), rb_iseq_build_for_ruby2cext(), rb_iseq_clone(), rb_iseq_translate_threaded_code(), rb_ivar_set(), rb_obj_copy_ivar(), rb_protect(), rb_str_resize(), rb_str_succ(), rb_str_to_dbl(), rb_str_to_inum(), ruby__sfvwrite(), ruby_glob0(), set_encoding_const(), st_copy(), str2big_karatsuba(), strio_read(), time_init_copy(), tk_funcall(), transcode_char_start(), transcode_restartable(), unpack_entries(), vm_call_bmethod(), vm_call_opt_call(), vm_callee_setup_arg_complex(), vm_yield_setup_block_args(), and VpCopy().
Definition at line 1353 of file ruby.h.
Referenced by ary_ensure_room_for_unshift(), bary_divmod_normal(), heap_page_allocate(), io_binwrite(), io_ungetbyte(), rb_ary_delete_at(), rb_ary_modify(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_splice(), rb_big2str0(), rb_econv_add_transcoder_at(), rb_econv_insert_output(), rb_io_ungetc(), read_buffered_data(), remove_packed_entry(), trans_sweep(), vm_call_method_missing(), vm_call_opt_send(), and vm_yield_setup_block_args_complex().
Definition at line 1351 of file ruby.h.
Referenced by bary_pack(), bary_unpack_internal(), call_getaddrinfo(), cmdline_options_init(), gc_prof_setup_new_record(), gc_profile_clear(), heap_page_allocate(), Init_BareVM(), insert(), iseq_set_sequence(), JSON_allocate(), match_alloc(), match_inspect(), new_args_tail_gen(), parser_new(), prepare_iseq_build(), rb_ary_combination(), rb_ary_permutation(), rb_const_set(), rb_exec_fillarg(), rb_execarg_run_options(), rb_getaddrinfo(), rb_io_reopen(), rb_io_s_copy_stream(), rb_reg_search(), rb_str_splice_0(), rsock_addrinfo(), sock_s_getaddrinfo(), sock_s_getnameinfo(), st_realloc_bins(), State_allocate(), strio_extend(), strio_truncate(), strscan_s_allocate(), unpack_entries(), and vm_init2().
| #define NEGFIXABLE | ( | f | ) | ((f) >= FIXNUM_MIN) |
Definition at line 694 of file ruby.h.
Referenced by ary_alloc(), ary_make_shared(), bignew_1(), class_alloc(), hash_alloc(), io_alloc(), match_alloc(), nucomp_s_new_internal(), nurat_s_new_internal(), range_dumper(), rb_class_allocate_instance(), rb_float_new_in_heap(), rb_hash_dup_empty(), rb_reg_s_alloc(), rsock_sockopt_new(), str_alloc(), and struct_alloc().
| #define NIL_P | ( | v | ) | !((VALUE)(v) != Qnil) |
Definition at line 438 of file ruby.h.
Referenced by add_activated_refinement(), add_event_call_back(), addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_inspect(), addrinfo_mload(), alias(), append_fspath(), append_method(), appendline(), argf_getbyte(), argf_getc(), argf_getline(), argf_getpartial(), argf_next_argv(), argf_read(), argf_readbyte(), argf_readchar(), argf_readline(), ary2list(), ary2list2(), ary_join_0(), ary_join_1(), assoc2kv(), assoc2kv_enc(), big_op(), BigDecimal_div(), BigDecimal_div2(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_new(), BigDecimal_power(), BigDecimal_remainder(), call_getaddrinfo(), cbsubst_get_subst_arg(), cbsubst_scan_args(), cbsubst_sym_to_subst(), check_exec_env_i(), check_exec_options_i_extract(), check_exec_redirect(), check_exec_redirect1(), check_exec_redirect_fd(), check_setter_id(), chunk_i(), chunk_ii(), classname(), cmp_eq(), collect_caller_bindings(), compile_dstr_fragments(), constant_arg(), convert_type(), copy_stream_fallback_body(), cParser_initialize(), cState_configure(), cState_from_state_s(), cState_initialize(), cto_i(), curry(), date__strptime_internal(), dir_each(), dir_initialize(), dir_inspect(), dir_path(), dir_s_glob(), dir_s_home(), divmodv(), do_checksum(), do_deflate(), do_inflate(), do_writeconv(), dump_output(), econv_args(), econv_description(), econv_init(), econv_last_error(), econv_opts(), econv_primitive_convert(), econv_putback(), econv_s_search_convpath(), enc_register_at(), enc_set_default_encoding(), encoding_table_get_name_core(), enum_cycle(), enum_find(), enum_to_h_i(), enum_zip(), enumerator_initialize(), enumerator_with_index(), env_aset(), env_delete_m(), env_has_value(), env_rassoc(), env_reject_bang(), env_select(), env_select_bang(), errat_getter(), errat_setter(), error_print(), esignal_init(), ev_on_event(), eval_string_with_cref(), eval_under(), EVENTSINK_Invoke(), exc_backtrace_locations(), exc_setup_cause(), exc_to_s(), exit_initialize(), exit_success_p(), extract_binmode(), extract_user_token(), f_current_dirname(), fdbm_fetch_m(), fdbm_initialize(), fdbm_s_open(), features_index_add_single(), fev_off_event(), fgdbm_fetch(), fgdbm_fetch_m(), fgdbm_has_value(), fgdbm_initialize(), fgdbm_key(), fgdbm_s_open(), fgdbm_shift(), fiber_switch(), fill_cbuf(), find_refinement(), flat_map_i(), flatten(), fole_initialize(), fptr_finalize(), fsdbm_fetch_m(), fsdbm_initialize(), fsdbm_s_open(), function_call(), gc_start_internal(), get_backtrace(), get_digest_base_metadata(), get_freefunc(), get_hash(), get_pat(), goruby_run_node(), gzfile_error_inspect(), gzfile_getc(), gzfile_make_header(), gzfile_raise(), gzfile_read(), gzfile_read_all(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_rescue(), gzfile_read_raw_until_zero(), gzfile_reader_get_unused(), gzfile_reader_rewind(), gzfile_readpartial(), gzreader_gets(), hash2kv(), hash2kv_enc(), host_str(), init_inetsock_internal(), initialize(), initialize_params(), inspect_enumerator(), int_downto(), int_upto(), io_encoding_set(), io_fillbuf(), io_puts_ary(), io_read(), io_read_nonblock(), io_reader(), io_readpartial(), io_s_foreach(), io_s_write(), io_setstrbuf(), io_shift_cbuf(), io_strip_bom(), io_wait_readable(), io_wait_writable(), io_write(), ip_cancel_eval_core(), ip_create_slave(), ip_create_slave_core(), ip_eval(), ip_eval_real(), ip_get_encoding_table(), ip_get_variable2(), ip_get_variable2_core(), ip_init(), ip_invoke_core(), ip_invoke_with_position(), ip_rb_threadTkWaitCommand(), ip_rb_threadUpdateCommand(), ip_rb_threadVwaitCommand(), ip_rbTkWaitCommand(), ip_rbUpdateCommand(), ip_rbVwaitCommand(), ip_ruby_cmd(), ip_set_exc_message(), ip_set_variable2(), ip_set_variable2_core(), ip_unset_variable2(), ip_unset_variable2_core(), iseq_build_from_ary_body(), iseq_load(), iseq_s_compile(), iseq_s_disasm(), JSON_parse_array(), JSON_parse_object(), JSON_parse_string(), lazy_drop_func(), lazy_drop_size(), lazy_drop_while_func(), lazy_flat_map_to_ary(), lazy_set_method(), lazy_take_func(), lazy_take_size(), lazy_zip(), lazy_zip_arrays_func(), lazy_zip_func(), lep_svar_get(), lep_svar_place(), lep_svar_set(), lex_getline(), lib_do_one_event_core(), lib_eventloop_core(), lib_eventloop_ensure(), lib_eventloop_launcher(), lib_eventloop_main(), lib_evloop_abort_on_exc_set(), lib_evloop_thread_p(), lib_fromUTF8_core(), lib_restart_core(), lib_set_system_encoding(), lib_split_tklist_core(), lib_thread_callback(), lib_toUTF8_core(), lib_watchdog_core(), literal_concat0(), literal_concat_gen(), load_encoding(), load_file_internal(), make_clock_result(), make_errno_exc_str(), make_exception(), make_inspectname(), marshal_dump(), marshal_load(), match_aref(), match_getter(), match_setter(), match_to_s(), month_arg(), mSyslog_open(), name_err_mesg_to_str(), nucomp_s_convert(), num_exact(), num_step_scan_args(), num_to_asn1integer(), nurat_s_convert(), obj_to_asn1bool(), obj_to_asn1null(), object_allocations_reporter_i(), oldbt_bugreport(), oldbt_print(), oldbt_print_to(), ole_search_event(), ole_search_event_at(), open_key_args(), ossl_asn1_get_asn1type(), ossl_asn1_initialize(), ossl_asn1_is_explicit(), ossl_asn1_tag(), ossl_asn1_tag_class(), ossl_buf2str(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_call_tmp_dh_callback(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_dh_initialize(), ossl_digest_finish(), ossl_digest_initialize(), ossl_dsa_export(), ossl_dsa_initialize(), ossl_make_error(), ossl_pkcs12_initialize(), ossl_pkcs12_s_create(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_pkey_new_from_data(), ossl_rsa_export(), ossl_rsa_initialize(), ossl_rsa_s_generate(), ossl_ssl_read_internal(), ossl_ssl_setup(), ossl_ssl_write_nonblock(), ossl_sslctx_flush_sessions(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_start_ssl(), ossl_verify_cb(), ossl_x509extfactory_create_ext(), ossl_x509extfactory_initialize(), ossl_x509name_add_entry(), ossl_x509name_init_i(), ossl_x509name_initialize(), ossl_x509name_to_s(), ossl_x509stctx_initialize(), parse_main(), parser_here_document(), parser_nextc(), pending_exception_check0(), pending_exception_check1(), pipe_open(), port_str(), power_cache_get_power(), prepare_getline_args(), prepare_iseq_build(), proc_curry(), proc_wait(), proc_wait2(), pst_inspect(), r_byte(), r_byte1_buffered(), r_bytes1(), r_bytes1_buffered(), r_le(), r_lt(), r_object0(), rand_random(), rand_range(), range_each(), range_include(), range_init(), range_step(), range_values(), rawmode_opt(), rb_alias(), rb_Array(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_compact_bang(), rb_ary_cycle(), rb_ary_fill(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_ary_initialize(), rb_ary_join(), rb_ary_join_m(), rb_ary_permutation(), rb_ary_product(), rb_ary_times(), rb_ary_to_ary(), rb_ary_to_h(), rb_attr(), rb_builtin_class_name(), rb_check_argv(), rb_check_backtrace(), rb_check_convert_type(), rb_check_id(), rb_class2name(), rb_class_path(), rb_class_path_no_cache(), rb_cmpint(), rb_compile_warn(), rb_const_set(), rb_convert_to_integer(), rb_deflate_init_copy(), rb_digest_instance_equal(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_econv_append(), rb_econv_check_error(), rb_econv_init_by_convpath(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_enc_aliases_enc_i(), rb_enc_from_encoding_index(), rb_enc_get_index(), rb_enc_set_default_external(), rb_env_clear(), rb_exc_fatal(), rb_exc_raise(), rb_exec_async_signal_safe(), rb_exec_end_proc(), rb_exec_fillarg(), rb_exec_getargs(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_execarg_setenv(), rb_f_abort(), rb_f_autoload(), rb_f_autoload_p(), rb_f_backquote(), rb_f_eval(), rb_f_kill(), rb_f_open(), rb_f_raise(), rb_f_rand(), rb_f_require_relative(), rb_f_select(), rb_f_trace_var(), rb_f_untrace_var(), rb_feature_p(), rb_fiber_start(), rb_fiddle_handle_initialize(), rb_file_chmod(), rb_file_chown(), rb_file_expand_path_internal(), rb_file_initialize(), rb_file_join(), rb_file_lstat(), rb_file_path(), rb_file_s_basename(), rb_file_s_chown(), rb_file_s_utime(), rb_funcall_with_block(), rb_get_kwargs(), rb_gets(), rb_gzfile_closed_p(), rb_gzfile_comment(), rb_gzfile_ecopts(), rb_gzfile_orig_name(), rb_gzreader_each(), rb_gzreader_each_byte(), rb_gzreader_each_char(), rb_gzreader_getbyte(), rb_gzreader_gets(), rb_gzreader_read(), rb_gzreader_readbyte(), rb_gzreader_readchar(), rb_gzreader_readline(), rb_gzreader_readlines(), rb_gzreader_readpartial(), rb_gzwriter_initialize(), rb_Hash(), rb_hash_fetch_m(), rb_hash_reject(), rb_hash_s_create(), rb_hash_set_default_proc(), rb_inflate_addstr(), rb_inflate_inflate(), rb_invcmp(), rb_io_advise(), rb_io_each_char(), rb_io_each_line(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_init_copy(), rb_io_initialize(), rb_io_inspect(), rb_io_open(), rb_io_print(), rb_io_readbyte(), rb_io_readchar(), rb_io_readline(), rb_io_readlines(), rb_io_reopen(), rb_io_s_binread(), rb_io_s_copy_stream(), rb_io_s_foreach(), rb_io_s_pipe(), rb_io_s_popen(), rb_io_s_read(), rb_io_s_readlines(), rb_io_s_sysopen(), rb_io_ungetbyte(), rb_io_ungetc(), rb_io_write_nonblock(), rb_load_internal0(), rb_locale_encindex(), rb_marshal_dump(), rb_method_call_with_block(), rb_method_entry_make(), rb_mod_cmp(), rb_mod_name(), rb_mod_nesting(), rb_mod_refine(), rb_mod_s_constants(), rb_mod_to_s(), rb_mutex_sleep(), rb_num2long(), rb_num2ulong_internal(), rb_num_coerce_relop(), rb_obj_respond_to(), rb_obj_singleton_method(), rb_proc_call_with_block(), rb_profile_frame_classpath(), rb_profile_frame_full_label(), rb_profile_frame_singleton_method_p(), rb_realpath_internal(), rb_reg_eqq(), rb_reg_initialize_m(), rb_reg_match_last(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_reg_s_last_match(), rb_reg_s_union(), rb_reg_s_union_m(), rb_reg_search(), rb_require_safe(), rb_resolve_refined_method(), rb_scan_args(), rb_scan_open_args(), rb_set_errinfo(), rb_stat(), rb_str_aref(), rb_str_chomp_bang(), rb_str_enumerate_lines(), rb_str_format(), rb_str_format_m(), rb_str_index_m(), rb_str_justify(), rb_str_match_m(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_scan(), rb_str_scrub(), rb_str_setter(), rb_str_slice_bang(), rb_str_split_m(), rb_str_strip_bang(), rb_str_sub_bang(), rb_str_upto(), rb_strftime_alloc(), rb_String(), rb_struct_s_def(), rb_struct_s_members(), rb_szqueue_max_set(), rb_thread_status(), rb_time_num_new(), rb_tmp_class_path(), rb_to_encoding_index(), rb_to_float(), rb_to_id(), rb_undef(), rb_using_refinement(), rb_vm_jump_tag_but_local_jump(), rb_w32_conv_from_wstr(), rb_warn(), rb_warn_m(), rb_yield_block(), rb_yield_splat(), rb_zstream_avail_in(), reachable_object_from_root_i(), read_all(), read_num(), readline_attempted_completion_function(), readline_s_set_completion_proc(), readline_s_set_input(), readline_s_set_output(), realpath_rec(), recursive_check(), recursive_list_access(), reduce0(), reg_compile_gen(), reg_match_pos(), return_fiber(), rsock_bsock_send(), rsock_syserr_fail_raddrinfo_or_sockaddr(), rt__valid_date_frags_p(), scalar(), select_internal(), set_trace_func(), setup_exception(), setup_narg(), singleton_class_of(), slicebefore_i(), slicebefore_ii(), sock_initialize(), sock_s_getaddrinfo(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_getservbyname(), sock_s_getservbyport(), sockopt_s_linger(), specific_eval(), ssl_renegotiation_cb(), start_mapping(), start_sequence(), str_byte_aref(), str_gsub(), str_scrub(), str_scrub_bang(), str_transcode(), str_transcode0(), str_transcode_enc_args(), strio_each(), strio_each_char(), strio_getline(), strio_read(), strio_read_nonblock(), strio_readbyte(), strio_readchar(), strio_readline(), strio_readlines(), strio_seek(), strio_set_encoding(), strio_size(), strio_sysread(), strio_ungetbyte(), strio_ungetc(), strscan_inspect(), syserr_eqq(), syserr_initialize(), take_items(), tcl_protect_core(), thread_initialize(), thread_join_m(), thread_set_trace_func_m(), threadptr_local_aset(), time_arg(), time_getlocaltime(), time_init_1(), time_localtime_m(), time_mload(), time_round(), time_timespec(), tk_funcall(), tk_hash_kv(), tk_symbolkey2str(), tr_find(), tr_setup_table(), tr_trans(), tracepoint_inspect(), transcode_loop(), trap_handler(), update_encoding_table(), uscore_get(), using_module_recursive(), utc_offset_arg(), validate_labels(), validate_vtm(), vm_backtrace_to_ary(), vm_call_method(), vm_call_super(), vm_callee_setup_keyword_arg(), vm_caller_setup_args(), vm_cref_push(), vm_define_method(), vm_get_cvar_base(), vm_get_ev_const(), vm_search_super_method(), vm_yield_setup_block_args(), VpGetException(), VpGetPrecLimit(), VpGetRoundMode(), w_object(), wakeup_first_thread(), warn_print(), wdivmod(), wmap_has_key(), yylex(), yyparse(), zip_ary(), zip_i(), zstream_append_buffer(), zstream_append_input(), zstream_buffer_ungetbyte(), zstream_buffer_ungets(), zstream_detach_buffer(), zstream_detach_input(), zstream_discard_input(), zstream_expand_buffer(), zstream_expand_buffer_into(), zstream_passthrough_input(), zstream_run(), and zstream_sync().
| #define NUM2CHR | ( | x | ) | rb_num2char_inline(x) |
Definition at line 1329 of file ruby.h.
Referenced by cbsubst_table_setup(), ole_val2ptr_variant(), r_byte(), rb_f_test(), rb_gzreader_ungetbyte(), rb_gzwriter_putc(), rb_io_putc(), sockopt_s_byte(), sockopt_s_ipv4_multicast_loop(), sockopt_s_ipv4_multicast_ttl(), and strio_putc().
| #define NUM2DBL | ( | x | ) | rb_num2dbl((VALUE)(x)) |
Definition at line 685 of file ruby.h.
Referenced by callback(), ole_val2ptr_variant(), ole_val2variant(), ossl_rand_add(), rb_random_real(), ruby_float_step(), ruby_num_interval_step_size(), set_max_block_time(), and value_to_generic().
| #define NUM2INT | ( | x | ) | ((int)NUM2LONG(x)) |
Definition at line 630 of file ruby.h.
Referenced by addrinfo_getnameinfo(), addrinfo_initialize(), argf_lineno_setter(), argf_set_lineno(), ary2safe_array_index(), bsock_s_for_fd(), call_getaddrinfo(), callback(), constant_arg(), d_lite_saturday_p(), date_strftime_with_tmx(), dir_s_glob(), dir_s_mkdir(), econv_args(), econv_primitive_convert(), econv_putback(), esignal_init(), ev_advise(), exit_status_code(), exit_success_p(), fdbm_initialize(), fgdbm_initialize(), file_s_fnmatch(), fix_to_s(), flo_round(), folevariant_initialize(), fptr_finalize(), fsdbm_initialize(), function_call(), generic_to_value(), gmtimew_noleapsecond(), guess_local_offset(), hist_delete_at(), hist_get(), init_addrinfo_getaddrinfo(), init_leap_second_info(), initialize(), int_ossl_asn1_decode0_cons(), int_round(), interpret_seek_whence(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_s_compile_file(), marshal_dump(), match_backref_number(), math_ldexp(), mSyslog_open(), mSyslog_set_mask(), mSyslogMacros_LOG_MASK(), mSyslogMacros_LOG_UPTO(), newobj_i(), obj2int(), obj2subsecx(), ole_invoke(), ole_invoke2(), ole_show_help(), ole_val2ptr_variant(), ole_val2variant(), ossl_asn1_default_tag(), ossl_asn1_get_asn1type(), ossl_asn1_initialize(), ossl_asn1_tag(), ossl_asn1cons_to_der(), ossl_asn1data_initialize(), ossl_asn1prim_to_der(), ossl_bn_initialize(), ossl_bn_to_s(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_set_key_length(), ossl_dh_initialize(), ossl_dh_s_generate(), ossl_dsa_s_generate(), ossl_pkcs12_s_create(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_rand_bytes(), ossl_rand_egd_bytes(), ossl_rand_pseudo_bytes(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_s_generate(), ossl_ssl_read_internal(), ossl_sslctx_setup(), ossl_start_ssl(), ossl_x509name_add_entry(), ossl_x509stctx_set_error(), ossl_x509stctx_set_purpose(), ossl_x509stctx_set_trust(), ossl_x509store_set_purpose(), ossl_x509store_set_trust(), pst_bitand(), pst_rshift(), rawmode_opt(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_big_to_s(), rb_dl_malloc(), rb_dl_realloc(), rb_dlcfunc_initialize(), rb_dlcfunc_set_ctype(), rb_dlhandle_initialize(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_enc_get_index(), rb_f_eval(), rb_f_integer(), rb_fiddle_handle_initialize(), rb_fiddle_malloc(), rb_fiddle_ptr_to_s(), rb_fiddle_ptr_to_str(), rb_fiddle_realloc(), rb_file_chmod(), rb_file_chown(), rb_file_flock(), rb_file_s_chmod(), rb_file_s_umask(), rb_gzfile_set_lineno(), rb_gzreader_read(), rb_gzreader_readpartial(), rb_hash_flatten(), rb_io_extract_modeenc(), rb_io_initialize(), rb_io_s_sysopen(), rb_io_set_lineno(), rb_iseq_build_from_ary(), rb_iseq_compile_with_option(), rb_iseq_line_trace_specify(), rb_num2char_inline(), rb_obj_respond_to(), rb_str_format(), rb_str_setbyte(), rb_str_split_m(), rb_str_sum(), rb_str_to_i(), rb_strftime_with_timespec(), rb_thread_priority_set(), reduce(), reg_match_pos(), rsock_bsock_send(), rsock_cmsg_type_arg(), rsock_io_socket_addrinfo(), rsock_optname_arg(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_sock_listen(), ruby_cleanup(), run_exec_open(), safe_setter(), scalar(), set_eventloop_tick(), set_eventloop_weight(), set_indentation(), set_line_width(), set_no_event_wait(), sig_signame(), sock_initialize(), sock_s_getaddrinfo(), sock_s_getnameinfo(), sockopt_inspect(), sockopt_ipv4_multicast_loop(), sockopt_ipv4_multicast_ttl(), sockopt_level(), sockopt_optname(), sockopt_s_int(), sockopt_s_ipv4_multicast_loop(), sockopt_s_ipv4_multicast_ttl(), sockopt_s_linger(), specific_eval(), start_document(), start_mapping(), start_sequence(), start_stream(), strscan_set_pos(), syserr_initialize(), sysexit_status(), tcl2rb_bool(), thread_initialize(), timegmw_noleapsecond(), timelocalw(), tr_trans(), udp_send(), value_to_generic(), vtm_add_offset(), and writer().
| #define NUM2LONG | ( | x | ) | rb_num2long_inline(x) |
Definition at line 600 of file ruby.h.
Referenced by argf_read(), ary_take_first_or_last(), assert_integer(), callback(), CHECK_INTEGER(), copy_stream_fallback_body(), date__strptime_internal(), econv_primitive_convert(), enum_cycle(), enum_cycle_size(), enum_drop(), enum_each_cons(), enum_each_cons_size(), enum_each_slice(), enum_each_slice_size(), enum_take(), first_i(), flatten(), gzreader_gets(), int_dotimes_size(), io_getpartial(), io_read(), lazy_drop(), lazy_drop_func(), lazy_drop_size(), lazy_take(), lazy_take_func(), lazy_take_size(), lazy_zip_arrays_func(), nucomp_hash(), num_to_long(), nurat_hash(), ossl_ssl_session_set_time(), ossl_ssl_session_set_timeout(), ossl_sslctx_flush_sessions(), ossl_sslctx_set_session_cache_mode(), ossl_sslctx_set_session_cache_size(), ossl_sslctx_setup(), ossl_x509_set_version(), ossl_x509crl_set_version(), ossl_x509stctx_set_flags(), ossl_x509stctx_set_time(), ossl_x509store_set_flags(), parse_main(), prepare_getline_args(), rand_random(), random_bytes(), range_first(), range_hash(), rb_ary_aref(), rb_ary_aset(), rb_ary_at(), rb_ary_combination(), rb_ary_combination_size(), rb_ary_cycle(), rb_ary_cycle_size(), rb_ary_delete_at_m(), rb_ary_drop(), rb_ary_fetch(), rb_ary_fill(), rb_ary_hash(), rb_ary_initialize(), rb_ary_insert(), rb_ary_permutation(), rb_ary_permutation_size(), rb_ary_repeated_combination(), rb_ary_repeated_combination_size(), rb_ary_repeated_permutation(), rb_ary_repeated_permutation_size(), rb_ary_rotate_bang(), rb_ary_rotate_m(), rb_ary_sample(), rb_ary_slice_bang(), rb_ary_take(), rb_ary_times(), rb_big_aref(), rb_dlptr_initialize(), rb_dlptr_minus(), rb_dlptr_plus(), rb_dlptr_s_malloc(), rb_dlptr_size_set(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_minus(), rb_fiddle_ptr_plus(), rb_fiddle_ptr_s_malloc(), rb_fiddle_ptr_size_set(), rb_fix_lshift(), rb_get_values_at(), rb_io_sysread(), rb_obj_hash(), rb_range_beg_len(), rb_reg_match_m(), rb_str_aref(), rb_str_aref_m(), rb_str_aset(), rb_str_aset_m(), rb_str_byteslice(), rb_str_getbyte(), rb_str_index_m(), rb_str_insert(), rb_str_justify(), rb_str_rindex_m(), rb_str_setbyte(), rb_str_times(), rb_strftime_with_timespec(), rb_struct_aref(), rb_struct_aset(), rb_struct_hash(), rb_szqueue_initialize(), rb_szqueue_max_set(), reduce0(), set_max_block_time(), setup_narg(), sock_s_getnameinfo(), sock_s_getservbyport(), str_byte_aref(), strio_each(), strio_getline(), strio_read(), strio_readlines(), strio_seek(), strio_set_lineno(), strio_set_pos(), strio_truncate(), strscan_aref(), strscan_peek(), subx(), syserr_initialize(), time_round(), time_timespec(), time_to_time_t(), timegmw(), timew2timespec(), timew2timespec_exact(), value_to_generic(), vm_backtrace_to_ary(), and vtm2tm_noyear().
| #define NUM2SIZET | ( | x | ) | NUM2ULONG(x) |
| #define NUM2SSIZET | ( | x | ) | NUM2LONG(x) |
Definition at line 681 of file ruby.h.
Referenced by BigDecimal_power(), BigMath_s_exp(), and BigMath_s_log().
| #define NUM2UINT | ( | x | ) | ((unsigned int)NUM2ULONG(x)) |
Definition at line 631 of file ruby.h.
Referenced by callback(), folevariant_s_array(), host_str(), proc_wait(), rb_dlptr_aset(), rb_fiddle_ptr_aset(), rb_gzfile_set_mtime(), rb_io_ungetc(), and value_to_generic().
| #define NUM2ULONG | ( | x | ) | rb_num2ulong_inline(x) |
Definition at line 609 of file ruby.h.
Referenced by callback(), do_checksum(), iseq_build_from_ary_body(), ossl_rsa_initialize(), ossl_rsa_s_generate(), ossl_x509name_to_s(), random_load(), rb_dlptr_aref(), rb_dlptr_aset(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_random_int32(), rb_random_ulong_limited(), rb_stat_inspect(), and value_to_generic().
| #define OBJ_FREEZE | ( | x | ) | FL_SET((x), FL_FREEZE) |
Definition at line 1186 of file ruby.h.
Referenced by addrinfo_firstonly_new(), addrinfo_list_new(), ary_make_shared(), bignew_1(), compile_array_(), copy_path_class(), define_final0(), enc_names_i(), exc_setup_cause(), fc_path(), fdbm_delete_if(), fgdbm_delete_if(), fstr_update_callback(), init_addrinfo_getaddrinfo(), Init_eval(), Init_GC(), Init_IO(), Init_Thread(), Init_tkutil(), load_encoding(), load_transcoder_entry(), make_inspectname(), predefined_dlhandle(), predefined_fiddle_handle(), rb_apply(), rb_autoload(), rb_check_id(), rb_enc_aliases_enc_i(), rb_enc_name_list_i(), rb_float_new_in_heap(), rb_id2str(), rb_intern3(), rb_io_getline_1(), rb_iseq_defined_string(), rb_mod_const_defined(), rb_mod_const_get(), rb_obj_freeze(), rb_require(), rb_set_class_path(), rb_set_class_path_string(), rb_str_freeze(), rb_str_new_frozen(), rb_struct_define_without_accessor(), rb_struct_define_without_accessor_under(), rb_tmp_class_path(), register_symid_str(), require_libraries(), ruby_set_argv(), search_required(), setup_struct(), singleton_class_of(), and unnamed_parameters().
| #define OBJ_FROZEN | ( | x | ) | (!!(FL_ABLE(x)?(RBASIC(x)->flags&(FL_FREEZE)):(FIXNUM_P(x)||FLONUM_P(x)||SYMBOL_P(x)))) |
| #define OBJ_FROZEN | ( | x | ) | (!!(FL_ABLE(x)?(RBASIC(x)->flags&(FL_FREEZE)):(FIXNUM_P(x)||FLONUM_P(x)||SYMBOL_P(x)))) |
| #define OBJ_FROZEN | ( | x | ) | (!!(FL_ABLE(x)?(RBASIC(x)->flags&(FL_FREEZE)):(FIXNUM_P(x)||FLONUM_P(x)||SYMBOL_P(x)))) |
Definition at line 1185 of file ruby.h.
Referenced by ary_make_shared(), ary_resize_capa(), check_modifiable(), eval_string_with_cref(), fdbm_modify(), init_copy(), newobj_i(), ossl_sslctx_setup(), rb_ary_frozen_p(), rb_econv_open_opts(), rb_frozen_class_p(), rb_gdbm_modify(), rb_obj_freeze(), rb_obj_frozen_p(), rb_provide_feature(), rb_str_new_frozen(), rb_thread_local_aset(), rb_thread_variable_set(), setup_exception(), singleton_class_of(), str_new4(), str_replace(), strio_init(), strio_set_string(), thgroup_add(), and thread_create_core().
| #define OBJ_INFECT | ( | x, | |||
| s | ) |
| #define OBJ_INFECT | ( | x, | |||
| s | ) |
| #define OBJ_INFECT | ( | x, | |||
| s | ) |
Value:
do { \ if (FL_ABLE(x) && FL_ABLE(s)) \ RBASIC(x)->flags |= RBASIC(s)->flags & FL_TAINT; \ } while (0)
Definition at line 1180 of file ruby.h.
Referenced by addrinfo_to_sockaddr(), append_method(), check_pipe_command(), enum_group_by(), enum_sort_by(), enum_to_a(), enum_to_h(), infect(), infected_str_new(), inspect_hash(), inspect_i(), inspect_obj(), inspect_range(), inspect_struct(), make_inspectname(), make_metaclass(), method_unbind(), mnew_from_me(), path_initialize(), path_sub_ext(), range_to_s(), rb_any_to_s(), rb_ary_flatten(), rb_ary_times(), rb_class_boot(), rb_deflate_addstr(), rb_deflate_deflate(), rb_deflate_s_deflate(), rb_deflate_set_dictionary(), rb_dlptr_s_to_ptr(), rb_fiddle_ptr_s_to_ptr(), rb_file_dirname(), rb_file_join(), rb_file_s_basename(), rb_file_s_extname(), rb_hash_to_a(), rb_include_class_new(), rb_include_module(), rb_inflate_addstr(), rb_inflate_inflate(), rb_inflate_s_inflate(), rb_inflate_set_dictionary(), rb_inflate_sync(), rb_nkf_convert(), rb_obj_infect(), rb_prepend_module(), rb_reg_desc(), rb_reg_initialize_str(), rb_reg_nth_match(), rb_reg_quote(), rb_reg_search(), rb_reg_to_s(), rb_stat_inspect(), rb_str_append(), rb_str_b(), rb_str_buf_append(), rb_str_conv_enc_opts(), rb_str_crypt(), rb_str_dump(), rb_str_inspect(), rb_str_justify(), rb_str_new_frozen(), rb_str_new_shared(), rb_str_reverse(), rb_str_shared_replace(), rb_str_splice_0(), rb_str_subseq(), rb_str_substr(), rb_str_succ(), rb_str_times(), rb_thread_inspect(), rb_zstream_flush_next_in(), ruby__sfvextra(), sock_s_pack_sockaddr_in(), sock_s_unpack_sockaddr_in(), str_byte_substr(), str_gsub(), str_new4(), str_new_empty(), str_replace(), strio_copy(), strio_write(), syserr_initialize(), wmap_inspect_i(), zstream_detach_buffer(), and zstream_expand_buffer().
| #define OBJ_PROMOTED | ( | x | ) | (SPECIAL_CONST_P(x) ? 0 : FL_TEST_RAW((x), FL_PROMOTED)) |
| #define OBJ_PROMOTED | ( | x | ) | (SPECIAL_CONST_P(x) ? 0 : FL_TEST_RAW((x), FL_PROMOTED)) |
| #define OBJ_PROMOTED | ( | x | ) | (SPECIAL_CONST_P(x) ? 0 : FL_TEST_RAW((x), FL_PROMOTED)) |
Definition at line 1189 of file ruby.h.
Referenced by ary_memcpy(), rb_ary_modify(), rb_hash_keys(), rb_hash_values(), and rb_obj_rgengc_promoted_p().
| #define OBJ_TAINT | ( | x | ) | FL_SET((x), FL_TAINT) |
Definition at line 1177 of file ruby.h.
Referenced by ary_join_0(), env_inspect(), gzfile_getc(), gzfile_newstr(), gzfile_read_all(), gzfile_read_header(), gzfile_reader_get_unused(), gzfile_readpartial(), gzfile_write_raw(), Init_eval(), Init_GC(), Init_Proc(), Init_Thread(), inspect_ary(), inspect_enumerator(), io_enc_str(), io_getpartial(), io_read(), io_shift_cbuf(), match_array(), match_to_s(), ossl_ssl_read_internal(), parse(), proc_to_s(), process_options(), rb_ary_join(), rb_dlcfunc_inspect(), rb_dlptr_new2(), rb_fiddle_ptr_new2(), rb_file_expand_path_internal(), rb_gdbm_fetch(), rb_gdbm_firstkey(), rb_gdbm_nextkey(), rb_gzfile_comment(), rb_gzfile_orig_name(), rb_io_sysread(), rb_obj_as_string(), rb_obj_taint(), rb_realpath_internal(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_search(), rb_reg_source(), rb_str_format(), rb_str_plus(), rb_str_sub_bang(), rb_tainted_str_new(), rb_tainted_str_new_cstr(), rb_zlib_version(), singleton_class_of(), and str_gsub().
| #define OBJ_TAINTED | ( | x | ) | (!!FL_TEST((x), FL_TAINT)) |
Definition at line 1176 of file ruby.h.
Referenced by argf_inplace_mode_set(), ary_join_0(), bsock_close_read(), bsock_close_write(), bsock_shutdown(), env_aset(), ev_advise(), fole_initialize(), fole_s_connect(), function_call(), inspect_ary(), lib_conv_listelement(), lib_do_one_event_core(), lib_fromUTF8_core(), lib_merge_tklist(), lib_split_tklist_core(), lib_toUTF8_core(), lib_UTF_backslash_core(), match_array(), match_to_s(), parse(), proc_to_s(), rb_ary_join(), rb_check_safe_obj(), rb_eval_cmd(), rb_f_trace_var(), rb_file_expand_path_internal(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_method_call_with_block(), rb_obj_as_string(), rb_obj_taint(), rb_obj_tainted(), rb_obj_untaint(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_source(), rb_str_format(), rb_str_plus(), rb_str_sub_bang(), sig_trap(), singleton_class_of(), str_gsub(), and writable().
| #define OBJ_WB_PROTECTED | ( | x | ) | (SPECIAL_CONST_P(x) ? 1 : FL_TEST_RAW((x), FL_WB_PROTECTED)) |
| #define OBJ_WB_PROTECTED | ( | x | ) | (SPECIAL_CONST_P(x) ? 1 : FL_TEST_RAW((x), FL_WB_PROTECTED)) |
| #define OBJ_WB_PROTECTED | ( | x | ) | (SPECIAL_CONST_P(x) ? 1 : FL_TEST_RAW((x), FL_WB_PROTECTED)) |
Definition at line 1190 of file ruby.h.
Referenced by rb_gc_unprotect_logging(), rb_obj_gc_flags(), and rb_obj_rgengc_writebarrier_protected_p().
| #define OBJ_WB_UNPROTECT | ( | x | ) | rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
| #define OBJ_WB_UNPROTECT | ( | x | ) | rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
| #define OBJ_WB_UNPROTECT | ( | x | ) | rb_obj_wb_unprotect(x, __FILE__, __LINE__) |
Definition at line 1191 of file ruby.h.
Referenced by rb_hash_tbl(), rb_include_class_new(), rb_prepend_module(), and rb_using_refinement().
| #define POSFIXABLE | ( | f | ) | ((f) < FIXNUM_MAX+1) |
Definition at line 348 of file ruby.h.
Referenced by bigfixize(), rb_cstr_to_inum(), rb_integer_unpack(), rb_uint2inum(), rb_uint2num_inline(), rb_ulong2num_inline(), ruby_num_interval_step_size(), and update_coverage().
| #define PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d" |
Definition at line 161 of file ruby.h.
Referenced by control_frame_dump(), delpair(), rb_insn_operand_intern(), rb_vmdebug_debug_print_register(), and str_transcode0().
| #define PRIdSIZE PRI_SIZE_PREFIX"d" |
Definition at line 176 of file ruby.h.
Referenced by gc_profile_dump_on(), get_line_info(), get_param(), rb_iseq_disasm_insn(), rb_str_format(), rgengc_rememberset_mark(), VpSqrt(), and VpToString().
| #define PRIdVALUE PRI_VALUE_PREFIX"d" |
Definition at line 132 of file ruby.h.
Referenced by BigMath_s_log(), rb_insn_operand_intern(), rb_out_of_short(), rb_threadptr_execute_interrupts(), and w_symbol().
| #define PRINTF_ARGS | ( | decl, | |||
| string_index, | |||||
| first_to_check | ) | decl |
| #define PRINTF_ARGS | ( | decl, | |||
| string_index, | |||||
| first_to_check | ) | decl |
| #define PRINTF_ARGS | ( | decl, | |||
| string_index, | |||||
| first_to_check | ) | decl |
| #define PRIsVALUE PRI_VALUE_PREFIX"i" |
Definition at line 137 of file ruby.h.
Referenced by BigDecimal_new(), bind_local_variable_get(), cbsubst_get_subst_arg(), cbsubst_sym_to_subst(), cbsubst_table_setup(), check_exec_options_i(), check_local_id(), check_path_encoding(), check_setter_id(), coerce_failed(), dump_output(), enc_inspect(), env_fetch(), error_print(), etc_getgrnam(), etc_getpwnam(), extract_user_token(), get_array(), get_eval_string_core(), get_new_timeval(), get_timeval(), inspect_enumerator(), iseq_load(), keyword_error(), make_clock_result(), make_name_for_block(), method_inspect(), mnew_from_me(), mSyslog_log(), must_be_module(), name_to_backref_error(), new_struct(), not_a_member(), not_encoding(), oldbt_print_to(), ossl_asn1_default_tag(), ossl_cipher_init(), parse_keyword_arg_i(), path2class(), path_inspect(), proc_to_s(), r_object0(), rb_any_to_s(), rb_attr(), rb_autoload(), rb_check_copyable(), rb_const_get_0(), rb_const_remove(), rb_const_set(), rb_cvar_get(), rb_cvar_set(), rb_dlptr_inspect(), rb_f_untrace_var(), rb_fiddle_ptr_inspect(), rb_file_expand_path_internal(), rb_hash_fetch_m(), rb_hash_reject(), rb_home_dir_of(), rb_id_attrset(), rb_insn_operand_intern(), rb_invalid_str(), rb_io_reopen(), rb_ivar_get(), rb_method_entry_make(), rb_method_name_error(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_const_set(), rb_mod_cvar_defined(), rb_mod_cvar_get(), rb_mod_cvar_set(), rb_mod_define_method(), rb_mod_remove_const(), rb_mod_remove_cvar(), rb_obj_alloc(), rb_obj_inspect(), rb_obj_ivar_defined(), rb_obj_ivar_get(), rb_obj_ivar_set(), rb_obj_remove_instance_variable(), rb_obj_respond_to(), rb_obj_singleton_method(), rb_path_to_class(), rb_print_undef(), rb_print_undef_str(), rb_profile_frame_full_label(), rb_profile_frame_qualified_method_name(), rb_reg_raise(), rb_struct_aref(), rb_struct_aset(), rb_throw_obj(), rb_to_id(), rb_undef(), readonly_setter(), reg_compile_gen(), reg_fragment_check_gen(), set_const_visibility(), set_method_visibility(), set_option_encoding_once(), setup_exception(), str_compat_and_valid(), str_to_encindex(), strscan_inspect(), syserr_initialize(), take_items(), tracepoint_inspect(), umethod_bind(), undef_getter(), undumpable(), uninitialized_constant(), vm_search_super_method(), and wmap_inspect().
| #define PRIuSIZE PRI_SIZE_PREFIX"u" |
Definition at line 179 of file ruby.h.
Referenced by BigDecimal_dump(), BigDecimal_inspect(), dump_object(), gc_before_sweep(), gc_profile_dump_on(), host_str(), and port_str().
| #define PRIuVALUE PRI_VALUE_PREFIX"u" |
Definition at line 134 of file ruby.h.
Referenced by heap_page_allocate(), and rb_insn_operand_intern().
| #define PRIxPTRDIFF PRI_PTRDIFF_PREFIX"x" |
| #define PRIxVALUE PRI_VALUE_PREFIX"x" |
Definition at line 135 of file ruby.h.
Referenced by BigDecimal_inspect(), obj_free(), rb_dlcfunc_call(), rb_search_method_entry(), rb_vmdebug_env_dump_raw(), rb_vmdebug_stack_dump_raw(), and thread_start_func_2().
| #define Qfalse ((VALUE)RUBY_Qfalse) |
Definition at line 425 of file ruby.h.
Referenced by addrinfo_ip_p(), addrinfo_ipv4_loopback_p(), addrinfo_ipv4_multicast_p(), addrinfo_ipv4_p(), addrinfo_ipv4_private_p(), addrinfo_ipv6_p(), addrinfo_unix_p(), append_method(), argf_binmode_p(), argf_eof(), basic_obj_respond_to(), big_op(), BigDecimal_DoDivmod(), BigDecimal_IsFinite(), BigDecimal_IsNaN(), BigDecimal_mode(), BigDecimal_zero(), BigDecimalCmp(), bigdivrem_restoring(), bind_local_variable_defined_p(), bsock_do_not_rev_lookup(), bsock_do_not_reverse_lookup(), call_DoOneEvent(), canonical(), check_definition(), check_exec_fds_1(), check_exec_redirect1(), clear_rl_instream(), clear_rl_outstream(), cmp_between(), cmp_eq(), cmp_eq_recursive(), cmp_failed(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), compile_cpath(), console_echo_p(), convert_type(), cParser_quirks_mode_p(), cState_allow_nan_p(), cState_ascii_only_p(), cState_check_circular_p(), cState_quirks_mode_p(), cState_to_h(), d_lite_equal(), d_lite_saturday_p(), decode_bool(), DEFINE_ENUMFUNCS(), defined_expr(), dh_instance(), double_cmp_ge(), double_cmp_gt(), double_cmp_le(), double_cmp_lt(), dsa_instance(), econv_equal(), enc_ascii_compatible_p(), enc_dummy_p(), enum_any(), enum_member(), enum_one(), enumerable_lazy(), enumerator_init(), enumerator_rewind(), env_empty_p(), env_has_key(), env_has_value(), eql_i(), EVENTSINK_Invoke(), exc_equal(), exit_initialize(), exit_status_code(), exit_success_p(), extract_user_token(), f_minus_one_p(), f_odd_p(), f_one_p(), f_zero_p(), false_and(), false_or(), false_value(), false_xor(), fdbm_closed(), fdbm_empty_p(), fdbm_has_key(), fdbm_has_value(), fev_on_event(), fgdbm_closed(), fgdbm_empty_p(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_set_syncmode(), file_s_fnmatch(), fix_equal(), fix_even_p(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_odd_p(), fix_zero_p(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_is_finite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_zero_p(), fole_respond_to(), folemethod_event(), foletype_initialize(), foletypelib_initialize(), foletypelib_visible(), fsdbm_closed(), fsdbm_empty_p(), fsdbm_has_key(), fsdbm_has_value(), gc_info_decode(), gc_profile_enable_get(), gc_profile_record_get(), gc_stress_set(), generate_json(), generic_ivar_defined(), get_eventloop_window_mode(), hash2list(), hash2list_enc(), hash_equal(), hist_empty_p(), id2encidx(), id2ref(), ignorecase_getter(), Init_Exception(), Init_fiddle(), Init_Object(), Init_openssl(), Init_ossl_pkcs12(), Init_ossl_pkcs7(), Init_ossl_ssl(), Init_ossl_x509ext(), Init_ossl_x509store(), int_even_p(), int_odd_p(), int_ossl_asn1_decode0_cons(), io_puts_ary(), io_read_nonblock(), io_ready_p(), io_wait_readable(), ip_allow_ruby_exit_p(), ip_allow_ruby_exit_set(), ip_cancel_eval(), ip_cancel_eval_unwind(), ip_create_slave(), ip_create_slave_core(), ip_finalize(), ip_has_invalid_namespace_p(), ip_has_mainwindow_p_core(), ip_init(), ip_is_deleted_p(), ip_is_safe_p(), ip_is_slave_of_p(), ip_ruby_cmd(), ip_ruby_cmd_core(), ip_unset_variable2_core(), is_all_index_under(), is_one(), is_zero(), iseq_compile_each(), iseq_s_compile_file(), JSON_parse_value(), lazy_set_method(), lib_do_one_event_core(), lib_eventloop_launcher(), lib_eventloop_main_core(), lib_evloop_abort_on_exc(), lib_evloop_thread_p(), lib_mainloop(), lib_mainloop_watchdog(), lib_merge_tklist(), lib_split_tklist_core(), load_encoding(), load_lock(), make_compile_option(), make_econv_exception(), match_equal(), method_eq(), mnew_from_me(), mSyslog_isopen(), name_err_mesg_equal(), name_err_mesg_to_str(), nucomp_eql_p(), nucomp_false(), num_eql(), num_int_p(), num_zero_p(), nurat_eqeq_p(), obj_respond_to(), obj_respond_to_missing(), ole_method_event(), ole_method_visible(), ole_param_flag_mask(), ole_type_visible(), ole_variable_visible(), ole_variant2val(), oleclass_from_typelib(), oletypelib_search_registry(), oletypelib_search_registry2(), opt_eq_func(), opt_W_getter(), ossl_asn1_decode0(), ossl_asn1_initialize(), ossl_asn1data_initialize(), ossl_asn1eoc_initialize(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_dh_check_params(), ossl_dh_is_private(), ossl_dh_is_public(), ossl_dh_new(), ossl_dh_s_generate(), ossl_dh_to_public_key(), ossl_dsa_is_private(), ossl_dsa_is_public(), ossl_dsa_new(), ossl_dsa_s_generate(), ossl_dsa_to_public_key(), ossl_dsa_verify(), ossl_pem_passwd_cb(), ossl_pkcs7_detached_p(), ossl_pkcs7_get_detached(), ossl_pkcs7_set_detached(), ossl_pkcs7_verify(), ossl_pkey_verify(), ossl_rand_status(), ossl_rsa_is_private(), ossl_rsa_new(), ossl_rsa_s_generate(), ossl_rsa_to_public_key(), ossl_spki_verify(), ossl_ssl_initialize(), ossl_ssl_read_internal(), ossl_ssl_session_eq(), ossl_ssl_session_reused(), ossl_ssl_write_nonblock(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_verify_cb(), ossl_x509_check_private_key(), ossl_x509_verify(), ossl_x509crl_verify(), ossl_x509ext_get_critical(), ossl_x509extfactory_create_ext(), ossl_x509name_eql(), ossl_x509req_verify(), ossl_x509stctx_verify(), p_gid_exchangeable(), p_gid_have_saved_id(), p_uid_exchangeable(), p_uid_have_saved_id(), parse(), parse_main(), parser_initialize(), path_eq(), pipe_open(), prepare_iseq_build(), proc_options(), pst_success_p(), pst_wcoredump(), pst_wifexited(), pst_wifsignaled(), pst_wifstopped(), queue_pop_should_block(), r_le(), r_lt(), r_object0(), rand_random(), rand_range(), random_equal(), range_cover(), range_each(), range_each_func(), range_eq(), range_eql(), range_exclude_end_p(), range_include(), range_step(), range_values(), rb_add_method(), rb_ary_aref(), rb_ary_bsearch(), rb_ary_empty_p(), rb_ary_eql(), rb_ary_equal(), rb_ary_frozen_p(), rb_ary_includes(), rb_ary_index(), rb_ary_rindex(), rb_ary_shared_with_p(), rb_autoload_load(), rb_big_eq(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_class_inherited_p(), rb_class_of(), rb_const_defined_0(), rb_cvar_defined(), rb_digest_instance_equal(), rb_dlhandle_close_enabled_p(), rb_dlptr_eql(), rb_dlptr_null_p(), rb_equal(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_execarg_setenv(), rb_f_block_given_p(), rb_f_rand(), rb_f_system(), rb_f_test(), rb_false(), rb_fiber_alive_p(), rb_fiddle_handle_close_enabled_p(), rb_fiddle_ptr_eql(), rb_fiddle_ptr_null_p(), rb_file_blockdev_p(), rb_file_chardev_p(), rb_file_directory_p(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_exist_p(), rb_file_file_p(), rb_file_flock(), rb_file_grpowned_p(), rb_file_identical_p(), rb_file_owned_p(), rb_file_pipe_p(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_rowned_p(), rb_file_sgid_p(), rb_file_socket_p(), rb_file_suid_p(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_file_zero_p(), rb_gc_disable(), rb_gc_enable(), rb_gvar_defined(), rb_gzfile_closed_p(), rb_gzfile_eof_p(), rb_gzfile_sync(), rb_hash_compare_by_id_p(), rb_hash_empty_p(), rb_hash_has_key(), rb_hash_has_value(), rb_inflate_sync_point_p(), rb_integer_float_eq(), rb_integer_unpack(), rb_io_autoclose_p(), rb_io_binmode_p(), rb_io_closed(), rb_io_eof(), rb_io_initialize(), rb_io_isatty(), rb_io_sync(), rb_io_write_nonblock(), rb_iseq_compile_with_option(), rb_iseq_line_trace_specify(), rb_iseq_new_with_opt(), rb_ivar_defined(), rb_load_internal0(), rb_mod_attr(), rb_mod_const_defined(), rb_mod_cvar_defined(), rb_mod_gt(), rb_mod_include_p(), rb_mod_lt(), rb_mod_method_defined(), rb_mod_singleton_p(), rb_mutex_abandon_locking_mutex(), rb_mutex_lock(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_equal(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_ivar_defined(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_rgengc_promoted_p(), rb_obj_rgengc_writebarrier_protected_p(), rb_obj_tainted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_proc_exec(), rb_proc_lambda_p(), rb_profile_frame_singleton_method_p(), rb_queue_empty_p(), rb_range_beg_len(), rb_range_values(), rb_reg_casefold_p(), rb_reg_eqq(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_nth_defined(), rb_reg_to_s(), rb_require_safe(), rb_rescue2(), rb_reset_coverages(), rb_special_const_p(), rb_stat_b(), rb_stat_c(), rb_stat_d(), rb_stat_f(), rb_stat_grpowned(), rb_stat_l(), rb_stat_owned(), rb_stat_p(), rb_stat_R(), rb_stat_r(), rb_stat_rowned(), rb_stat_S(), rb_stat_sgid(), rb_stat_sticky(), rb_stat_suid(), rb_stat_W(), rb_stat_w(), rb_stat_X(), rb_stat_x(), rb_stat_z(), rb_str_aref(), rb_str_associated(), rb_str_empty(), rb_str_end_with(), rb_str_eql(), rb_str_equal(), rb_str_include(), rb_str_is_ascii_only_p(), rb_str_start_with(), rb_str_valid_encoding_p(), rb_struct_eql(), rb_struct_equal(), rb_thread_abort_exc(), rb_thread_alive_p(), rb_thread_key_p(), rb_thread_pending_interrupt_p(), rb_thread_s_abort_exc(), rb_thread_shield_destroy(), rb_thread_shield_release(), rb_thread_shield_wait(), rb_thread_status(), rb_thread_stop_p(), rb_thread_variable_p(), rb_to_float(), rb_tracepoint_enabled_p(), rb_type(), rb_zstream_closed_p(), rb_zstream_finished_p(), recursive_check(), recursive_eql(), recursive_equal(), rsa_instance(), rsock_revlookup_flag(), ruby_executable_node(), save_env(), save_redirect_fd(), setup_args(), setup_narg(), sockopt_bool(), sockopt_linger(), special_singleton_class_of(), str_byte_aref(), str_eql(), strio_closed(), strio_closed_read(), strio_closed_write(), strio_eof(), strio_false(), strio_read_nonblock(), strscan_bol_p(), strscan_eos_p(), strscan_matched_p(), strscan_rest_p(), sym_equal(), sym_to_proc(), syserr_eqq(), tcl2rb_bool(), tcl_protect_core(), thgroup_enclosed_p(), thread_cleanup_func(), thread_create_core(), thread_free(), thread_join_sleep(), thread_start_func_2(), time_eql(), time_isdst(), time_to_a(), time_utc_p(), tk_conv_args(), tracepoint_disable_m(), tracepoint_enable_m(), true_and(), true_xor(), udp_connect_internal(), vm_backtrace_to_ary(), w_encoding(), w_object(), wmap_has_key(), and zstream_sync().
| #define Qnil ((VALUE)RUBY_Qnil) |
Definition at line 427 of file ruby.h.
Referenced by _thread_call_proc_ensure(), addrinfo_firstonly_new(), addrinfo_initialize(), addrinfo_list_new(), addrinfo_mload(), addrinfo_s_ip(), alloc_addrinfo(), allocation_class_path(), allocation_generation(), allocation_method_id(), allocation_sourcefile(), allocation_sourceline(), append_fspath(), argf_alloc(), argf_block_call_i(), argf_close(), argf_forward_call(), argf_getbyte(), argf_getc(), argf_getline(), argf_getpartial(), argf_init(), argf_inplace_mode_get(), argf_next_argv(), argf_read(), argf_set_lineno(), argument_error(), ary2list(), ary2list2(), ary2sv(), ary_new_dim(), ary_reject_bang(), asn1time_to_time(), backtrace_to_location_ary(), backtrace_to_str_ary(), big2str_generic(), BigDecimal_divide(), BigDecimal_divremain(), BigDecimal_IsInfinite(), BigDecimal_mode(), BigDecimal_nonzero(), BigDecimal_save_exception_mode(), BigDecimal_save_limit(), BigDecimal_save_rounding_mode(), BigDecimalCmp(), bigdivrem(), bind_eval(), bsock_close_read(), bsock_close_write(), bsock_shutdown(), build_postexe_iseq(), call_trace_func(), cbsubst_scan_args(), chdir_restore(), chdir_yield(), check_block(), check_env_value(), check_exec_redirect(), check_pipe_command(), chunk_i(), chunk_ii(), class_alloc(), classname(), clear_coverage_i(), coerce_rescue(), collect_all(), collect_caller_bindings_cfunc(), collect_caller_bindings_iseq(), collect_i(), console_dev(), cont_capture(), convert_type(), copy_stream_body(), copy_stream_fallback(), copy_stream_fallback_body(), copy_stream_finalize(), count_all_i(), count_i(), count_iter_i(), count_nodes(), count_objects_size(), count_tdata_objects(), coverage(), cParser_initialize(), cParser_parse_quirks_mode(), cParser_parse_strict(), create_dummy_encoding_for_tk_core(), create_encoding_table_core(), cState_array_nl_set(), cState_aset(), cState_buffer_initial_length_set(), cState_depth_set(), cState_indent_set(), cState_object_nl_set(), cState_quirks_mode_set(), cState_space_before_set(), cState_space_set(), cycle_i(), date__strptime_internal(), decode_null(), DEFINE_ENUMFUNCS(), dir_close(), dir_foreach(), dir_initialize(), dir_path(), dir_read(), dir_s_alloc(), dir_s_chdir(), dir_s_glob(), dir_s_home(), do_writeconv(), drop_i(), drop_while_i(), dsym_node_gen(), dump_output(), dump_result(), each_cons_i(), each_i(), each_slice_i(), each_val_i(), econv_args(), econv_convert(), econv_destination_encoding(), econv_equal(), econv_finish(), econv_init(), econv_insert_output(), econv_last_error(), econv_primitive_convert(), econv_primitive_errinfo(), econv_s_asciicompat_encoding(), econv_s_search_convpath(), econv_source_encoding(), enc_compatible_p(), enc_find(), encoding_table_get_name_core(), encoding_table_get_obj_core(), enum_count(), enum_cycle(), enum_cycle_size(), enum_each_cons(), enum_each_cons_size(), enum_each_slice(), enum_each_slice_size(), enum_find(), enum_find_index(), enum_first(), enum_inject(), enum_max(), enum_max_by(), enum_min(), enum_min_by(), enum_minmax(), enum_minmax_by(), enum_size(), enum_sort_by(), enum_to_h_i(), enum_zip(), enumerator_feed(), enumerator_init(), enumerator_initialize(), enumerator_rewind(), env_aset(), env_assoc(), env_delete(), env_has_value(), env_key(), env_none(), env_rassoc(), env_reject_bang(), env_replace_i(), env_select(), env_select_bang(), env_shift(), env_str_new2(), env_update_i(), env_values_at(), errat_getter(), error_print(), esignal_init(), establishShell(), etc_endgrent(), etc_endpwent(), etc_getgrent(), etc_getgrgid(), etc_getgrnam(), etc_getlogin(), etc_getpwent(), etc_getpwnam(), etc_getpwuid(), etc_group(), etc_passwd(), etc_setgrent(), etc_setpwent(), etc_systmpdir(), ev_on_event(), eval_string_from_file_helper(), eval_string_with_cref(), eval_under(), EVENTSINK_Invoke(), evs_delete(), evstr2dstr_gen(), exc_equal(), exc_initialize(), expand_include_path(), extract_beg_len(), extract_range(), f_current_dirname(), fdbm_aref(), fdbm_close(), fdbm_delete(), fdbm_fetch(), fdbm_initialize(), fdbm_key(), fdbm_s_open(), fdbm_shift(), fdbm_values_at(), features_index_add_single(), fev_initialize(), fev_off_event(), fev_s_msg_loop(), fev_unadvise(), fgdbm_close(), fgdbm_delete(), fgdbm_fetch(), fgdbm_initialize(), fgdbm_key(), fgdbm_s_open(), fgdbm_shift(), fiber_init(), fiber_t_alloc(), file_expand_path_1(), filename_completion_proc_call(), fill_id_and_klass(), fill_path_and_lineno(), find_all_i(), find_class_path(), find_i(), find_index_i(), find_index_iter_i(), find_refinement(), finish_writeconv(), first_i(), flat_map_i(), flo_cmp(), flo_is_infinite_p(), fole_activex_initialize(), fole_each(), fole_free(), fole_method_help(), fole_s_const_load(), fole_s_ole_initialize(), fole_s_ole_uninitialize(), fole_s_set_code_page(), fole_s_set_locale(), fole_s_show_help(), fole_type(), fole_typelib(), folemethod_event_interface(), folemethod_initialize(), foleparam_inspect(), foletype_initialize(), foletype_s_progids(), foletypelib_guid(), foletypelib_initialize(), foletypelib_library_name(), foletypelib_s_typelibs(), folevariant_ary_aref(), folevariant_s_array(), folevariant_set_value(), folevariant_value(), fptr_finalize(), fsdbm_aref(), fsdbm_close(), fsdbm_delete(), fsdbm_fetch(), fsdbm_initialize(), fsdbm_key(), fsdbm_s_open(), fsdbm_shift(), fsdbm_store(), fsdbm_values_at(), gc_info_decode(), gc_latest_gc_info(), gc_marks(), gc_profile_clear(), gc_profile_disable(), gc_profile_enable(), gc_profile_record_get(), gc_profile_report(), gc_start_internal(), gc_stat(), gc_stat_internal(), gc_verify_internal_consistency(), generate_json(), generic_to_value(), get_backtrace(), get_eval_string_core(), get_klass(), get_next_values(), get_stack_tail(), get_user_from_path(), glob_func_caller(), grep_i(), grep_iter_i(), group_by_i(), gzfile_close(), gzfile_ensure_close(), gzfile_getc(), gzfile_new(), gzfile_read(), gzfile_read_header(), gzfile_read_raw_rescue(), gzfile_reader_end_run(), gzfile_reader_get_unused(), gzfile_writer_end_run(), gzreader_gets(), hash2list(), hash2list_enc(), hash2named_arg(), hash2ptr_dispparams(), hash2result(), hash_alloc(), hash_default_value(), hash_foreach_call(), hist_pop(), hist_shift(), id2ref(), inetsock_cleanup(), init_addrinfo_getaddrinfo(), Init_File(), Init_generator(), Init_IO(), init_libraries(), init_libraries_internal(), Init_nkf(), Init_Object(), Init_String(), Init_tcltklib(), Init_VM(), Init_win32ole(), initialize_params(), inject_i(), inject_op_i(), insn_data_to_s_detail(), int_ossl_asn1_decode0_cons(), int_ossl_asn1_decode0_prim(), invcmp_recursive(), invoke_block_from_c(), invoke_tcl_proc(), io_ascii8bit_binmode(), io_encoding_set(), io_getc(), io_getpartial(), io_read(), io_read_nonblock(), io_ready_p(), io_reopen(), io_s_foreach(), io_s_write(), io_set_encoding_by_bom(), io_shift_cbuf(), io_wait_readable(), io_wait_writable(), ip_cancel_eval(), ip_cancel_eval_unwind(), ip_delete(), ip_eval(), ip_finalize(), ip_fromUTF8(), ip_get_encoding_table(), ip_get_variable(), ip_has_mainwindow_p_core(), ip_invoke_with_position(), ip_mainloop(), ip_mainloop_watchdog(), ip_rbTkWaitCommand(), ip_rbVwaitCommand(), ip_restart(), ip_ruby_cmd_receiver_const_get(), ip_ruby_cmd_receiver_get(), ip_s_getaddress(), ip_set_variable(), ip_toUTF8(), ip_unset_variable(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_build_load_iseq(), iseq_load(), iseq_location(), iseq_s_compile(), iseq_s_compile_file(), iseq_s_disasm(), iseq_s_load(), iseq_s_of(), jisx0301_cb(), join_der_i(), JSON_parse_array(), JSON_parse_object(), JSON_parse_value(), json_string_unescape(), kcode_getter(), lazy_drop_func(), lazy_drop_while(), lazy_drop_while_func(), lazy_flat_map(), lazy_flat_map_each(), lazy_flat_map_func(), lazy_flat_map_to_ary(), lazy_grep_func(), lazy_grep_iter(), lazy_init_block_i(), lazy_init_iterator(), lazy_initialize(), lazy_map(), lazy_map_func(), lazy_reject(), lazy_reject_func(), lazy_select(), lazy_select_func(), lazy_sweep_enable(), lazy_take_func(), lazy_take_while(), lazy_take_while_func(), lazy_to_enum_i(), lazy_zip_arrays_func(), lazy_zip_func(), lep_svar_get(), lep_svar_place(), lex_get_str(), lex_getline(), lexer_i(), lexer_iter(), lib_eventloop_core(), lib_eventloop_ensure(), lib_eventloop_main(), lib_evloop_abort_on_exc(), lib_evloop_thread_p(), lib_fromUTF8(), lib_get_system_encoding(), lib_mainloop_watchdog(), lib_set_system_encoding(), lib_split_tklist(), lib_thread_callback(), lib_toUTF8(), lib_watchdog_core(), lib_watchdog_ensure(), literal_concat_gen(), load_file_internal(), load_lock(), location_absolute_path(), location_path(), loop_i(), m_core_set_method_alias(), m_core_set_postexe(), m_core_set_variable_alias(), m_core_undef_method(), make_compile_option(), make_econv_exception(), make_errno_exc_str(), make_exception(), make_inspectname(), make_passing_arg(), make_version_str(), make_writeconv(), marshal_dump(), match_array(), match_begin(), match_end(), match_getter(), match_inspect(), match_offset(), max_by_i(), max_i(), max_ii(), member_i(), method_def_location(), method_entry_i(), min_by_i(), min_i(), min_ii(), minmax_by_i(), minmax_i(), minmax_ii(), mSyslog_close(), mSyslog_facility(), mSyslog_get_mask(), mSyslog_ident(), mSyslog_options(), name_err_initialize(), name_err_mesg_to_str(), newobj_i(), next_i(), next_ii(), next_stopped(), nometh_err_initialize(), nucomp_coerce(), null_cache(), num_cmp(), num_nonzero_p(), nurat_coerce(), objspace_dump(), objspace_dump_all(), objspace_each_objects(), ole_ary_m_entry(), ole_each_sub(), ole_hresult2msg(), ole_ienum_free(), ole_initialize(), ole_invoke2(), ole_method_dispid(), ole_method_helpcontext(), ole_method_helpfile(), ole_method_helpstring(), ole_method_offset_vtbl(), ole_method_return_type(), ole_method_size_opt_params(), ole_method_size_params(), ole_method_sub(), ole_ole_type(), ole_param_default(), ole_param_ole_type(), ole_propertyput(), ole_raise(), ole_search_event(), ole_search_handler_method(), ole_type_from_itypeinfo(), ole_type_guid(), ole_type_helpcontext(), ole_type_helpfile(), ole_type_helpstring(), ole_type_impl_ole_types(), ole_type_progid(), ole_type_src_type(), ole_typedesc2val(), ole_typelib_from_itypeinfo(), ole_usertype2val(), ole_val2olevariantdata(), ole_val2variant_ex(), ole_variable_ole_type(), ole_variable_value(), ole_variable_varkind(), ole_variant2val(), olemethod_from_typeinfo(), oletypelib_from_guid(), oletypelib_path(), oletypelib_search_registry(), oletypelib_search_registry2(), open_key_args(), opt_W_getter(), ossl_asn1_default_tag(), ossl_asn1_initialize(), ossl_asn1_traverse(), ossl_asn1cons_to_der(), ossl_asn1eoc_initialize(), ossl_asn1obj_get_ln(), ossl_asn1obj_get_sn(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_cipher_pkcs5_keyivgen(), ossl_make_error(), ossl_pem_passwd_cb(), ossl_pkcs12_initialize(), ossl_pkcs7_add_data(), ossl_pkcs7_get_type(), ossl_pkcs7_initialize(), ossl_pkcs7_s_read_smime(), ossl_pkcs7_s_sign(), ossl_pkcs7_sym2typeid(), ossl_pkcs7_verify(), ossl_pkcs7si_get_signed_time(), ossl_pkey_verify(), ossl_spki_verify(), ossl_ssl_close(), ossl_ssl_get_cert(), ossl_ssl_get_peer_cert(), ossl_ssl_get_peer_cert_chain(), ossl_ssl_initialize(), ossl_ssl_read_internal(), ossl_ssl_session_get_time(), ossl_ssl_write_nonblock(), ossl_sslctx_get_ciphers(), ossl_sslctx_initialize(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_start_ssl(), ossl_verify_cb(), ossl_x509attr_get_value(), ossl_x509extfactory_alloc(), ossl_x509name_init_i(), ossl_x509stctx_get_chain(), ossl_x509stctx_get_curr_crl(), ossl_x509store_add_file(), ossl_x509store_add_path(), ossl_x509store_initialize(), ossl_x509store_set_default_paths(), p_gid_switch(), p_uid_switch(), pack_unpack(), parse(), parse_bc_cb(), parse_main(), parse_mode_enc(), parser_initialize(), partition_i(), path_cmp(), pending_exception_check0(), pending_exception_check1(), pipe_open(), pipe_open_s(), power_cache_init(), prepare_getline_args(), prepare_iseq_build(), proc_binding(), proc_new(), proc_options(), proc_wait(), proc_wait2(), pruby_eval(), pst_success_p(), pst_wexitstatus(), pst_wstopsig(), pst_wtermsig(), pty_check(), pty_close_pty(), pty_detach_process(), pty_getpty(), push_kv(), queue_delete_from_waiting(), queue_sleep(), r_object(), r_object0(), racc_cparse(), racc_yyparse(), rand_int(), rand_random(), rand_range(), range_bsearch(), range_failed(), range_initialize(), range_max(), range_min(), range_modify(), range_size(), range_step_size(), rawmode_opt(), rb_ary_aref(), rb_ary_assoc(), rb_ary_bsearch(), rb_ary_cmp(), rb_ary_compact_bang(), rb_ary_cycle(), rb_ary_cycle_size(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_drop(), rb_ary_elt(), rb_ary_first(), rb_ary_flatten_bang(), rb_ary_index(), rb_ary_last(), rb_ary_pop(), rb_ary_product(), rb_ary_rassoc(), rb_ary_rindex(), rb_ary_rotate(), rb_ary_select_bang(), rb_ary_shift(), rb_ary_slice_bang(), rb_ary_subseq(), rb_ary_uniq_bang(), rb_ary_zip(), rb_attr_get(), rb_autoload(), rb_autoload_load(), rb_autoload_p(), rb_catch_protect(), rb_check_convert_type(), rb_check_to_float(), rb_check_to_integer(), rb_class_inherited_p(), rb_class_of(), rb_class_path_cached(), rb_class_superclass(), rb_const_remove(), rb_construct_expanded_load_path(), rb_cont_call(), rb_coverage_start(), rb_current_realfilepath(), rb_dbl_cmp(), rb_define_hooked_variable(), rb_deflate_init_copy(), rb_deflate_params(), rb_dl_free(), rb_dl_set_last_error(), rb_dlcfunc2ptr(), rb_dlcfunc_call(), rb_dlcfunc_initialize(), rb_dlcfunc_name(), rb_dlcfunc_new(), rb_dlcfunc_set_ptr(), rb_dlhandle_disable_close(), rb_dlhandle_enable_close(), rb_dlhandle_initialize(), rb_dlptr2cptr(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_cmp(), rb_dlptr_free_set(), rb_dlptr_initialize(), rb_econv_has_convpath_p(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_econv_str_convert(), rb_econv_substr_convert(), rb_enc_from_encoding(), rb_ensure(), rb_enum_values_pack(), rb_enumeratorize_with_size(), rb_env_clear(), rb_eval_cmd(), rb_execarg_extract_options(), rb_execarg_init(), rb_execarg_run_options(), rb_f_autoload_p(), rb_f_backquote(), rb_f_callee_name(), rb_f_exec(), rb_f_getenv(), rb_f_integer(), rb_f_loop(), rb_f_method_name(), rb_f_p_internal(), rb_f_print(), rb_f_printf(), rb_f_spawn(), rb_f_system(), rb_f_trace_var(), rb_f_untrace_var(), rb_feature_p(), rb_feature_provided(), rb_fiber_resume(), rb_fiber_start(), rb_fiddle_free(), rb_fiddle_handle_disable_close(), rb_fiddle_handle_enable_close(), rb_fiddle_handle_initialize(), rb_fiddle_ptr2cptr(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_cmp(), rb_fiddle_ptr_free_get(), rb_fiddle_ptr_free_set(), rb_fiddle_ptr_initialize(), rb_file_chmod(), rb_file_chown(), rb_file_expand_path_internal(), rb_file_identical_p(), rb_file_lstat(), rb_file_open_generic(), rb_file_open_internal(), rb_file_path(), rb_file_s_absolute_path(), rb_file_s_basename(), rb_file_s_expand_path(), rb_file_s_split(), rb_file_size_p(), rb_file_sticky_p(), rb_file_world_readable_p(), rb_file_world_writable_p(), rb_fstring(), rb_gc_start(), rb_gdbm_delete(), rb_gdbm_fetch(), rb_gdbm_fetch2(), rb_gdbm_firstkey(), rb_gdbm_nextkey(), rb_get_kwargs(), rb_gets(), rb_gzreader_each_byte(), rb_gzreader_each_char(), rb_gzreader_initialize(), rb_gzreader_ungetbyte(), rb_gzreader_ungetc(), rb_gzwriter_initialize(), rb_hash_assoc(), rb_hash_default(), rb_hash_default_proc(), rb_hash_delete(), rb_hash_key(), rb_hash_lookup(), rb_hash_rassoc(), rb_hash_reject_bang(), rb_hash_s_create(), rb_hash_select_bang(), rb_hash_shift(), rb_integer_float_cmp(), rb_invcmp(), rb_io_advise(), rb_io_close(), rb_io_close_m(), rb_io_close_read(), rb_io_close_write(), rb_io_ext_int_to_encs(), rb_io_external_encoding(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_fptr_finalize(), rb_io_getbyte(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_internal_encoding(), rb_io_pid(), rb_io_print(), rb_io_printf(), rb_io_puts(), rb_io_s_binread(), rb_io_s_foreach(), rb_io_s_popen(), rb_io_s_read(), rb_io_s_readlines(), rb_io_set_write_io(), rb_io_ungetbyte(), rb_io_ungetc(), rb_io_write_nonblock(), rb_iseq_compile(), rb_iseq_compile_on_base(), rb_iseq_method_name(), rb_iseq_parameters(), rb_iter_break(), rb_iterate(), rb_ivar_get(), rb_last_status_clear(), rb_load_internal0(), rb_loaderror(), rb_locale_charmap(), rb_marshal_define_compat(), rb_mem_clear(), rb_method_call(), rb_method_call_with_block(), rb_method_entry_location(), rb_method_entry_with_refinements(), rb_method_entry_without_refinements(), rb_mod_attr(), rb_mod_attr_accessor(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_autoload(), rb_mod_autoload_p(), rb_mod_cmp(), rb_mod_initialize(), rb_mutex_sleep(), rb_mutex_sleep_forever(), rb_mutex_wait_for(), rb_need_block(), rb_nkf_convert(), rb_num_coerce_cmp(), rb_num_coerce_relop(), rb_obj_cmp(), rb_obj_display(), rb_obj_dummy(), rb_obj_ivar_get(), rb_obj_match(), rb_obj_remove_instance_variable(), rb_objspace_each_objects(), rb_postponed_job_flush(), rb_profile_frame_classpath(), rb_profile_frame_qualified_method_name(), rb_protect(), rb_raise_jump(), rb_range_beg_len(), rb_readwrite_sys_fail(), rb_realpath_internal(), rb_reg_check_preprocess(), rb_reg_compile(), rb_reg_eqq(), rb_reg_initialize(), rb_reg_match(), rb_reg_match2(), rb_reg_match_last(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_reg_prepare_re(), rb_reg_preprocess(), rb_reg_preprocess_dregexp(), rb_reg_s_last_match(), rb_reg_s_union(), rb_reg_search(), rb_reg_to_s(), rb_remove_history(), rb_require_safe(), rb_rescue2(), rb_scan_args(), rb_set_coverages(), rb_singleton_class_get(), rb_sourcefilename(), rb_stat_blksize(), rb_stat_blocks(), rb_stat_cmp(), rb_stat_dev_major(), rb_stat_dev_minor(), rb_stat_init(), rb_stat_rdev(), rb_stat_rdev_major(), rb_stat_rdev_minor(), rb_stat_s(), rb_stat_wr(), rb_stat_ww(), rb_stdio_set_default_encoding(), rb_str_aref(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_conv_enc(), rb_str_delete_bang(), rb_str_downcase_bang(), rb_str_ellipsize(), rb_str_enumerate_lines(), rb_str_getbyte(), rb_str_index_m(), rb_str_lstrip_bang(), rb_str_rindex_m(), rb_str_rstrip_bang(), rb_str_scrub(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_strip_bang(), rb_str_sub_bang(), rb_str_subpat(), rb_str_substr(), rb_str_swapcase_bang(), rb_str_upcase_bang(), rb_str_upto(), rb_strftime_alloc(), rb_strftime_timespec(), rb_strftime_with_timespec(), rb_struct_initialize_m(), rb_struct_s_def(), rb_suppress_tracing(), rb_syserr_new(), rb_thread_aref(), rb_thread_current_status(), rb_thread_group(), rb_thread_s_handle_interrupt(), rb_thread_shield_wait(), rb_thread_status(), rb_thread_stop(), rb_thread_variable_get(), rb_thread_wakeup_alive(), rb_threadptr_exec_event_hooks_orig(), rb_threadptr_pending_interrupt_check_mask(), rb_threadptr_raise(), rb_threadptr_reset_recursive_data(), rb_tracearg_binding(), rb_tracearg_method_id(), rb_type(), rb_vm_call_cfunc(), rb_vm_make_jump_tag_but_local_jump(), rb_vm_pop_cfunc_frame(), rb_vmdebug_thread_dump_state(), rb_w32_conv_from_wchar(), rb_w32_special_folder(), rb_w32_write_console(), rb_warn_m(), rb_zstream_end(), rb_zstream_reset(), reachable_objects_from(), read_num(), readline_readline(), realpath_rec(), recursive_join(), recursive_list_access(), reduce0(), reg_compile_gen(), reg_enum_key(), reg_fragment_check_gen(), reg_get_typelib_file_path(), reg_get_val(), reg_get_val2(), reg_match_pos(), reg_named_capture_assign_gen(), reg_named_capture_assign_iter(), reject_i(), remove_from_join_list(), rescue_callback(), return_fiber(), rsock_fd_socket_addrinfo(), rsock_freeaddrinfo(), rsock_ipaddr(), rsock_revlookup_flag(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_sockaddr_string_value_with_addrinfo(), rsock_syserr_fail_sockaddr(), rt_complete_frags(), ruby__sfvextra(), ruby_eval_string_from_file(), ruby_finalize_1(), ruby_init_loadpath_safe(), ruby_thread_init(), run_finalizer(), run_single_final(), save_env_i(), save_redirect_fd(), scan_once(), sdr(), search_convpath_i(), select_end(), select_internal(), set_max_block_time(), set_relation(), set_trace_func(), setup_exception(), slicebefore_i(), slicebefore_ii(), sock_s_gethostbyname(), sock_s_getnameinfo(), sort_by_i(), sort_reentered(), special_singleton_class_of(), step_i(), str_byte_aref(), str_byte_substr(), str_gsub(), str_scrub(), str_scrub_bang(), str_transcode(), str_transcode0(), strftimev(), strio_alloc(), strio_close(), strio_close_read(), strio_close_write(), strio_finalize(), strio_getbyte(), strio_getc(), strio_getline(), strio_internal_encoding(), strio_nil(), strio_read(), strio_read_nonblock(), strio_ungetbyte(), strio_ungetc(), strscan_aref(), strscan_bol_p(), strscan_do_scan(), strscan_get_byte(), strscan_getch(), strscan_matched(), strscan_matched_size(), strscan_post_match(), strscan_pre_match(), strscan_s_allocate(), struct_ivar_get(), sym_casecmp(), sym_cmp(), sym_each_i(), sym_step_i(), sym_to_proc(), sys_warning_1(), syserr_initialize(), take_i(), take_while_i(), tcl2rb_bool(), tcl2rb_num_or_nil(), tcl_protect_core(), tcltkip_init_tk(), tcp_s_gethostbyname(), tcp_svr_init(), th_init(), thgroup_add(), thread_backtrace_to_ary(), thread_join(), thread_raise_m(), thread_s_pass(), thread_set_trace_func_m(), thread_start_func_2(), threadptr_local_aref(), threadptr_local_aset(), time_arg(), time_init_1(), time_mload(), time_zone(), tk_funcall(), tk_get_eval_string(), tk_hash_kv(), tk_uninstall_cmd(), tkstr_invalid_numstr(), tp_call_trace(), tr_trans(), trace_en(), trace_ev(), trace_object_allocations(), trace_object_allocations_clear(), trace_object_allocations_start(), trace_object_allocations_stop(), tracepoint_disable_m(), tracepoint_enable_m(), transcode_loop(), trap(), ttymode(), typelib_file(), typelib_file_from_clsid(), typelib_file_from_typelib(), undef_getter(), update_coverage(), update_encoding_table(), update_i(), username_completion_proc_call(), var_getter(), vm_backtrace_to_ary(), vm_call0_body(), vm_call0_cfunc_with_frame(), vm_call_iseq_setup_normal(), vm_call_iseq_setup_tailcall(), vm_call_method(), vm_callee_setup_arg_complex(), vm_caller_setup_args(), vm_cref_push(), vm_exec(), vm_expandarray(), vm_get_cref0(), vm_get_ev_const(), vm_getivar(), vm_invoke_block(), vm_once_clear(), vm_once_exec(), vm_push_frame(), vm_stat(), vm_yield_setup_block_args(), vm_yield_setup_block_args_complex(), vm_yield_with_cfunc(), w_object(), when_vals(), wmap_aref(), yyparse(), zip_ary(), zip_i(), zstream_detach_buffer(), zstream_detach_input(), zstream_discard_input(), zstream_end(), zstream_expand_buffer(), zstream_init(), zstream_passthrough_input(), zstream_reset(), zstream_reset_input(), and zstream_run().
| #define Qtrue ((VALUE)RUBY_Qtrue) |
Definition at line 426 of file ruby.h.
Referenced by _timer_for_tcl(), addrinfo_ip_p(), addrinfo_ipv4_loopback_p(), addrinfo_ipv4_multicast_p(), addrinfo_ipv4_p(), addrinfo_ipv4_private_p(), addrinfo_ipv6_p(), addrinfo_unix_p(), alloc_invoke_arguments(), argf_binmode_p(), argf_eof(), ary2list(), ary2list2(), asn1integer_to_num(), assoc2kv_enc(), basic_obj_respond_to(), big_op(), BigDecimal_DoDivmod(), BigDecimal_IsFinite(), BigDecimal_IsNaN(), BigDecimal_mode(), BigDecimal_zero(), BigDecimalCmp(), bigdivrem_restoring(), bind_local_variable_defined_p(), bsock_do_not_rev_lookup(), bsock_do_not_reverse_lookup(), call_DoOneEvent(), call_original_exit(), canonical(), cbsubst_scan_args(), cbsubst_table_setup(), check_definition(), check_exec_fds(), check_exec_fds_1(), check_funcall_respond_to(), cleanup_iseq_build(), cmp_between(), cmp_eq(), cmp_equal(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), compile_cpath(), console_echo_p(), convert_type(), cParser_quirks_mode_p(), create_dummy_encoding_for_tk(), cState_allow_nan_p(), cState_ascii_only_p(), cState_check_circular_p(), cState_quirks_mode_p(), cState_to_h(), d_lite_equal(), d_lite_saturday_p(), date_s_parse(), datetime_s_parse(), decode_bool(), DEFINE_ENUMFUNCS(), defined_expr(), delete_slaves(), double_cmp_ge(), double_cmp_gt(), double_cmp_le(), double_cmp_lt(), DupPrivPKeyPtr(), econv_equal(), enc_ascii_compatible_p(), enc_dummy_p(), encoding_table_get_name(), encoding_table_get_obj(), enum_all(), enum_none(), env_empty_p(), env_has_key(), env_has_value(), EVENTSINK_Invoke(), exc_equal(), exit_initialize(), exit_status_code(), exit_success_p(), f_odd_p(), false_or(), false_xor(), fdbm_closed(), fdbm_empty_p(), fdbm_has_key(), fdbm_has_value(), fev_on_event_with_outargs(), fgdbm_closed(), fgdbm_empty_p(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_set_syncmode(), file_s_fnmatch(), finish_writeconv(), fix_equal(), fix_even_p(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_odd_p(), fix_zero_p(), flatten(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_is_finite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_zero_p(), fole_respond_to(), folemethod_event_interface(), foletypelib_initialize(), foletypelib_visible(), fptr_finalize(), fsdbm_closed(), fsdbm_empty_p(), fsdbm_has_key(), fsdbm_has_value(), gc_info_decode(), gc_profile_enable_get(), gc_profile_record_get(), gc_stress_set(), generate_json(), generic_ivar_defined(), get_eval_string_core(), get_eventloop_window_mode(), GetPrivPKeyPtr(), goruby_run_node(), hash_equal(), hist_empty_p(), id2encidx(), id2ref(), Init_fiddle(), Init_Object(), Init_openssl(), Init_ossl_asn1(), initialize(), int_even_p(), int_int_p(), int_odd_p(), int_ossl_asn1_decode0_cons(), io_puts_ary(), io_ready_p(), io_wait_readable(), ip_allow_ruby_exit_p(), ip_allow_ruby_exit_set(), ip_CallWhenDeleted(), ip_cancel_eval(), ip_cancel_eval_unwind(), ip_create_slave_core(), ip_delete(), ip_eval(), ip_eval_real(), ip_finalize(), ip_free(), ip_get_variable2_core(), ip_has_invalid_namespace_p(), ip_has_mainwindow_p_core(), ip_invoke_core(), ip_invoke_with_position(), ip_is_deleted_p(), ip_is_safe_p(), ip_is_slave_of_p(), ip_rb_threadTkWaitCommand(), ip_rb_threadVwaitCommand(), ip_rbTkWaitCommand(), ip_rbVwaitCommand(), ip_ruby_cmd(), ip_ruby_eval(), ip_set_exc_message(), ip_set_variable2_core(), ip_unset_variable2_core(), is_all_index_under(), JSON_parse_value(), lazy_drop_while_func(), lib_conv_listelement(), lib_do_one_event_core(), lib_eventloop_core(), lib_eventloop_main_core(), lib_evloop_abort_on_exc(), lib_evloop_thread_p(), lib_fromUTF8_core(), lib_mainloop(), lib_mainloop_watchdog(), lib_merge_tklist(), lib_restart_core(), lib_split_tklist_core(), lib_toUTF8_core(), lib_UTF_backslash_core(), make_compile_option(), make_econv_exception(), match_equal(), member_i(), method_eq(), mnew_from_me(), mSyslog_isopen(), name_err_mesg_equal(), name_err_mesg_to_str(), num_equal(), num_real_p(), num_zero_p(), nurat_eqeq_p(), obj_respond_to(), ole_method_event(), ole_method_visible(), ole_param_flag_mask(), ole_set_safe_array(), ole_type_visible(), ole_variable_visible(), ole_variant2val(), oleclass_from_typelib(), oletypelib_search_registry(), oletypelib_search_registry2(), opt_eq_func(), opt_W_getter(), ossl_asn1_decode0(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_asn1obj_s_register(), ossl_bn_is_prime_fasttest(), ossl_bn_to_i(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_debug(), ossl_debug_set(), ossl_dh_check_params(), ossl_dh_is_private(), ossl_dh_is_public(), ossl_dsa_is_private(), ossl_dsa_is_public(), ossl_dsa_verify(), ossl_make_error(), ossl_pem_passwd_cb(), ossl_pkcs7_detached_p(), ossl_pkcs7_get_detached(), ossl_pkcs7_set_detached(), ossl_pkcs7_verify(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_rand_egd(), ossl_rand_egd_bytes(), ossl_rand_load_file(), ossl_rand_status(), ossl_rand_write_file(), ossl_rsa_is_private(), ossl_rsa_is_public(), ossl_spki_verify(), ossl_ssl_session_eq(), ossl_ssl_session_reused(), ossl_ssl_setup(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_sslctx_setup(), ossl_verify_cb(), ossl_x509_check_private_key(), ossl_x509_verify(), ossl_x509crl_verify(), ossl_x509ext_get_critical(), ossl_x509name_eql(), ossl_x509req_verify(), ossl_x509stctx_verify(), p_gid_exchangeable(), p_gid_have_saved_id(), p_uid_exchangeable(), p_uid_have_saved_id(), parse(), parser_nextc(), parser_yylex(), prepare_iseq_build(), proc_options(), process_options(), process_sflag(), pst_equal(), pst_success_p(), pst_wcoredump(), pst_wifexited(), pst_wifsignaled(), pst_wifstopped(), push_kv_enc(), queue_pop_should_block(), r_le(), r_lt(), r_object0(), random_equal(), range_cover(), range_each(), range_eq(), range_eql(), range_exclude_end_p(), range_include(), range_step(), rb_ary_bsearch(), rb_ary_empty_p(), rb_ary_eql(), rb_ary_equal(), rb_ary_frozen_p(), rb_ary_includes(), rb_ary_index(), rb_ary_rindex(), rb_ary_shared_with_p(), rb_ary_slice_bang(), rb_big_eq(), rb_big_eql(), rb_big_even_p(), rb_big_odd_p(), rb_big_stop(), rb_class_inherited_p(), rb_class_of(), rb_const_defined_0(), rb_cvar_defined(), rb_digest_instance_equal(), rb_dlhandle_close_enabled_p(), rb_dlptr_eql(), rb_dlptr_null_p(), rb_equal(), rb_execarg_addopt(), rb_f_block_given_p(), rb_f_load(), rb_f_system(), rb_f_test(), rb_fiber_alive_p(), rb_fiddle_handle_close_enabled_p(), rb_fiddle_ptr_eql(), rb_fiddle_ptr_null_p(), rb_file_blockdev_p(), rb_file_chardev_p(), rb_file_directory_p(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_exist_p(), rb_file_file_p(), rb_file_grpowned_p(), rb_file_identical_p(), rb_file_owned_p(), rb_file_pipe_p(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_rowned_p(), rb_file_socket_p(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_file_zero_p(), rb_gc_disable(), rb_gc_enable(), rb_get_expanded_load_path(), rb_gvar_defined(), rb_gzfile_closed_p(), rb_gzfile_eof_p(), rb_gzfile_sync(), rb_hash_compare_by_id_p(), rb_hash_empty_p(), rb_hash_has_key(), rb_hash_search_value(), rb_inflate_sync_point_p(), rb_integer_float_eq(), rb_io_autoclose_p(), rb_io_binmode_p(), rb_io_closed(), rb_io_eof(), rb_io_isatty(), rb_io_sync(), rb_iseq_line_trace_specify(), rb_ivar_defined(), rb_mod_attr(), rb_mod_class_variables(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_constants(), rb_mod_include_p(), rb_mod_method_defined(), rb_mod_singleton_p(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_obj_equal(), rb_obj_freeze(), rb_obj_frozen_p(), rb_obj_is_fiber(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_respond_to(), rb_obj_rgengc_promoted_p(), rb_obj_rgengc_writebarrier_protected_p(), rb_obj_singleton_methods(), rb_obj_tainted(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_proc_lambda_p(), rb_profile_frame_qualified_method_name(), rb_profile_frame_singleton_method_p(), rb_queue_empty_p(), rb_range_beg_len(), rb_range_values(), rb_reg_casefold_p(), rb_reg_eqq(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_nth_defined(), rb_require_safe(), rb_special_const_p(), rb_stat_b(), rb_stat_c(), rb_stat_d(), rb_stat_f(), rb_stat_grpowned(), rb_stat_l(), rb_stat_owned(), rb_stat_p(), rb_stat_R(), rb_stat_r(), rb_stat_rowned(), rb_stat_S(), rb_stat_sgid(), rb_stat_sticky(), rb_stat_suid(), rb_stat_W(), rb_stat_w(), rb_stat_X(), rb_stat_x(), rb_stat_z(), rb_str_empty(), rb_str_end_with(), rb_str_eql(), rb_str_equal(), rb_str_include(), rb_str_is_ascii_only_p(), rb_str_start_with(), rb_str_valid_encoding_p(), rb_struct_eql(), rb_struct_equal(), rb_thread_abort_exc(), rb_thread_alive_p(), rb_thread_key_p(), rb_thread_pending_interrupt_p(), rb_thread_s_abort_exc(), rb_thread_shield_destroy(), rb_thread_shield_release(), rb_thread_shield_wait(), rb_thread_stop_p(), rb_thread_variable_p(), rb_to_float(), rb_tracepoint_enabled_p(), rb_true(), rb_type(), rb_zstream_closed_p(), rb_zstream_finished_p(), recursive_check(), recursive_eql(), recursive_equal(), recursive_push(), rsock_revlookup_flag(), ruby_executable_node(), set_canonical(), set_eventloop_tick(), setup_narg(), sockopt_bool(), sockopt_linger(), special_singleton_class_of(), str_eql(), strio_closed(), strio_closed_read(), strio_closed_write(), strio_eof(), strio_get_sync(), strscan_bol_p(), strscan_eos_p(), strscan_matched_p(), strscan_rest_p(), sym_equal(), syserr_eqq(), tcl2rb_bool(), tcl_protect_core(), thgroup_enclosed_p(), thread_join_sleep(), time_isdst(), time_to_a(), time_utc_p(), tk_conv_args(), tk_funcall(), tk_get_eval_enc_str(), tr_setup_table(), tr_trans(), tracepoint_disable_m(), tracepoint_enable_m(), trap(), trap_handler(), true_and(), true_or(), true_value(), true_xor(), udp_connect_internal(), verbose_setter(), w_encoding(), w_object(), wmap_has_key(), and zstream_sync().
| #define Qundef ((VALUE)RUBY_Qundef) |
Definition at line 428 of file ruby.h.
Referenced by argf_block_call(), argf_block_call_i(), ary_add_hash(), ary_add_hash_by(), ary_memfill(), autoload_defined_p(), big_op(), bufread_call(), call_stop(), case_when_optimizable_literal(), check_funcall_failed(), check_funcall_missing(), clear_trace_func_i(), clone_const(), convert_type(), DEFINE_ENUMFUNCS(), dir_initialize(), each_attr_def(), enum_find(), enum_max(), enum_max_by(), enum_min(), enum_min_by(), enum_minmax(), enum_minmax_by(), enum_one(), enum_size(), enumerator_allocate(), enumerator_feed(), enumerator_init(), enumerator_init_copy(), enumerator_next_values(), enumerator_peek_values(), enumerator_ptr(), enumerator_rewind(), enumerator_size(), error_print(), eval_string_with_cref(), exc_equal(), exec_recursive(), fiber_store(), fiber_switch(), fill_path_and_lineno(), flo_cmp(), gc_start_internal(), generator_allocate(), generator_ptr(), generic_ivar_set(), get_hash(), get_next_values(), GetVpValueWithPrec(), hash2kv(), hash2kv_enc(), hash_default_value(), hash_foreach_call(), hash_foreach_ensure(), inspect_enumerator(), io_close(), is_integer_p(), iseq_compile_each(), kwmerge_i(), lazy_init_iterator(), lazy_take_func(), lazy_take_while_func(), lookup2_call(), lookup_rollback_func(), make_exception(), make_metaclass(), marshal_dump(), match_i(), max_by_i(), max_i(), max_ii(), method_inspect(), method_unbind(), min_by_i(), min_i(), min_ii(), minmax_by_i(), minmax_by_i_update(), minmax_i(), minmax_i_update(), minmax_ii(), minmax_ii_update(), mnew_from_me(), new_callinfo(), next_ii(), next_init(), num_exact(), num_step_scan_args(), obj_ivar_i(), opt_eq_func(), path_initialize(), process_options(), r_entry0(), r_prepare(), rand_range(), rb_add_method(), rb_any_cmp(), rb_any_hash(), rb_ary_cmp(), rb_ary_index(), rb_ary_or(), rb_ary_rindex(), rb_ary_sample(), rb_ary_shuffle_bang(), rb_ary_slice_bang(), rb_ary_splice(), rb_autoload(), rb_autoload_load(), rb_autoloading_value(), rb_check_funcall(), rb_check_funcall_with_hook(), rb_check_type(), rb_class_subclass_add(), rb_clear_method_cache_by_class(), rb_const_defined_0(), rb_const_get_0(), rb_const_remove(), rb_const_set(), rb_coverage_start(), rb_dlptr_s_to_ptr(), rb_execarg_fixup(), rb_f_eval(), rb_fiddle_ptr_s_to_ptr(), rb_get_kwargs(), rb_get_path_check_to_string(), rb_hash_assoc(), rb_hash_delete(), rb_hash_delete_key(), rb_hash_keys(), rb_hash_shift(), rb_hash_values(), rb_invcmp(), rb_io_extract_encoding_option(), rb_iseq_compile_with_option(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_get(), rb_ivar_lookup(), rb_ivar_set(), rb_method_call_status(), rb_method_call_with_block(), rb_method_entry_make(), rb_mod_instance_method(), rb_mod_public_instance_method(), rb_mutex_synchronize_m(), rb_obj_remove_instance_variable(), rb_obj_write(), rb_remove_event_hook(), rb_signal_exec(), rb_singleton_class_clone(), rb_singleton_class_clone_and_attach(), rb_st_insert_id_and_value(), rb_str_format(), rb_thread_io_blocking_region(), rb_thread_remove_event_hook(), rb_threadptr_execute_interrupts(), rb_threadptr_pending_interrupt_deque(), rb_tracearg_object(), rb_tracearg_raised_exception(), rb_tracearg_return_value(), rb_tracepoint_disable(), rb_tracepoint_enable(), rb_tracepoint_new(), rb_type(), rb_vm_jump_tag_but_local_jump(), rb_vm_make_jump_tag_but_local_jump(), rb_yield(), read_internal_call(), recursive_check(), recursive_cmp(), recursive_pop(), recursive_push(), reduce0(), remove_event_hook(), reset_hash_type(), rollback_ensure_stack(), send_internal(), specific_eval(), take_items(), tbl_copy_i(), tbl_update(), th_init(), thread_set_trace_func_m(), thread_start_func_2(), time_timespec(), tk_symbolkey2str(), transcode_loop(), trap(), trap_handler(), vm_call0_body(), vm_call_cfunc_with_frame(), vm_call_iseq_setup_normal(), vm_call_iseq_setup_tailcall(), vm_get_cbase(), vm_get_const_base(), vm_get_ev_const(), vm_getivar(), vm_invoke_block(), vm_invoke_proc(), w_objivar(), when_vals(), yield_under(), yielder_allocate(), yielder_ptr(), yylex(), and zip_i().
| #define RARRAY | ( | obj | ) | (R_CAST(RArray)(obj)) |
Definition at line 1123 of file ruby.h.
Referenced by ary_resize_capa(), ary_shrink_capa(), coverage(), ip_ruby_cmd(), rb_ary_memsize(), rb_ary_resize(), rb_ary_shared_with_p(), and rb_ary_unshare().
| #define RARRAY_AREF | ( | a, | |||
| i | ) | (RARRAY_CONST_PTR(a)[i]) |
Definition at line 901 of file ruby.h.
Referenced by append_extmod(), apply2files(), ary2sv(), ary_add_hash(), ary_join_0(), ary_join_1(), ary_reject(), ary_reject_bang(), check_exec_fds(), check_exec_fds_1(), check_exec_redirect1(), clear_coverage_i(), curry(), decorate_convpath(), do_coerce(), enum_cycle(), enum_cycle_size(), enum_each_cons_size(), enum_each_slice_size(), enum_reverse_each(), enum_sort_by(), enum_to_h_i(), env_each_key(), env_each_pair(), env_each_value(), env_reject_bang(), env_replace(), env_select(), env_select_bang(), error_print(), eval_string_with_cref(), flatten(), inspect_ary(), inspect_struct(), int_downto_size(), int_upto_size(), io_puts_ary(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_set_arguments(), keyword_error(), lazy_drop_size(), lazy_flat_map_func(), lazy_flat_map_to_ary(), lazy_take_size(), lazy_zip_arrays_func(), lazy_zip_func(), loaded_feature_path(), nucomp_marshal_load(), nurat_marshal_load(), parser_set_encode(), path_entries(), path_s_glob(), process_options(), r_object0(), range_step_size(), rb_ary_and(), rb_ary_assoc(), rb_ary_collect(), rb_ary_collect_bang(), rb_ary_combination(), rb_ary_combination_size(), rb_ary_count(), rb_ary_cycle(), rb_ary_cycle_size(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_delete_same(), rb_ary_diff(), rb_ary_drop_while(), rb_ary_each(), rb_ary_elt(), rb_ary_fetch(), rb_ary_first(), rb_ary_hash(), rb_ary_includes(), rb_ary_index(), rb_ary_join(), rb_ary_last(), rb_ary_or(), rb_ary_permutation(), rb_ary_permutation_size(), rb_ary_pop(), rb_ary_rassoc(), rb_ary_repeated_combination(), rb_ary_repeated_combination_size(), rb_ary_repeated_permutation(), rb_ary_repeated_permutation_size(), rb_ary_reverse_each(), rb_ary_rindex(), rb_ary_sample(), rb_ary_select(), rb_ary_select_bang(), rb_ary_shift(), rb_ary_take_while(), rb_ary_to_h(), rb_ary_zip(), rb_check_argv(), rb_check_backtrace(), rb_construct_expanded_load_path(), rb_env_clear(), rb_execarg_fixup(), rb_execarg_run_options(), rb_feature_p(), rb_file_join(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_hash_s_create(), rb_iseq_build_from_ary(), rb_obj_respond_to(), rb_reg_preprocess_dregexp(), rb_str_split_m(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_set(), rb_threadptr_pending_interrupt_deque(), rb_threadptr_pending_interrupt_include_p(), rb_vm_bugreport(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), run_finalizer(), select_internal(), thread_initialize(), update_coverage(), w_object(), wakeup_all_threads(), zip_ary(), and zip_i().
| #define RARRAY_ASET | ( | a, | |||
| i, | |||||
| v | ) |
Value:
do { \ const VALUE _ary_ = (a); \ RB_OBJ_WRITE(_ary_, &RARRAY_CONST_PTR(_ary_)[i], (v)); \ } while (0)
| #define RARRAY_ASET | ( | a, | |||
| i, | |||||
| v | ) |
Value:
do { \ const VALUE _ary_ = (a); \ RB_OBJ_WRITE(_ary_, &RARRAY_CONST_PTR(_ary_)[i], (v)); \ } while (0)
| #define RARRAY_ASET | ( | a, | |||
| i, | |||||
| v | ) |
Value:
do { \ const VALUE _ary_ = (a); \ RB_OBJ_WRITE(_ary_, &RARRAY_CONST_PTR(_ary_)[i], (v)); \ } while (0)
Definition at line 902 of file ruby.h.
Referenced by clear_coverage_i(), coverage(), enum_sort_by(), eval_string_with_cref(), process_options(), rb_ary_fill(), rb_ary_new_from_args(), rb_ary_push(), rb_ary_shift(), rb_ary_store(), rb_struct_s_def(), sort_by_i(), update_coverage(), and zip_i().
| #define RARRAY_CONST_PTR | ( | a | ) |
| #define RARRAY_CONST_PTR | ( | a | ) |
| #define RARRAY_CONST_PTR | ( | a | ) |
Value:
((const VALUE *)((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ RARRAY(a)->as.ary : \ RARRAY(a)->as.heap.ptr))
Definition at line 886 of file ruby.h.
Referenced by append_method(), ary_ensure_room_for_push(), ary_ensure_room_for_unshift(), ary_make_partial(), ary_make_shared(), ary_make_substitution(), ary_resize_capa(), core_hash_merge_ary(), curry(), dir_s_glob(), enumerator_size(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_set_arguments(), iseq_set_exception_table(), lazy_init_iterator(), open_key_args(), pack_unpack(), process_sflag(), random_load(), rb_apply(), rb_ary_compact_bang(), rb_ary_dup(), rb_ary_eql(), rb_ary_equal(), rb_ary_index(), rb_ary_initialize(), rb_ary_modify(), rb_ary_plus(), rb_ary_replace(), rb_ary_resurrect(), rb_ary_reverse_m(), rb_ary_rindex(), rb_ary_rotate_m(), rb_ary_shuffle_bang(), rb_ary_slice_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_times(), rb_fiber_start(), rb_proc_call(), rb_str_format_m(), rb_struct_initialize(), rb_threadptr_pending_interrupt_check_mask(), rb_yield_splat(), recursive_equal(), setup_struct(), thread_start_func_2(), vm_caller_setup_args(), vm_expandarray(), vm_yield_setup_block_args(), yield_indexed_values(), and yield_under().
| #define RARRAY_EMBED_FLAG FL_USER1 |
Definition at line 874 of file ruby.h.
Referenced by ary_alloc(), ary_discard(), dump_object(), and vm_init2().
| #define RARRAY_EMBED_LEN_MASK (FL_USER4|FL_USER3) |
| #define RARRAY_EMBED_LEN_MAX 3 |
Definition at line 859 of file ruby.h.
Referenced by ary_ensure_room_for_push(), ary_make_partial(), ary_make_substitution(), ary_new(), ary_resize_capa(), rb_ary_modify(), rb_ary_new(), rb_ary_replace(), and rb_ary_resize().
| #define RARRAY_LEN | ( | a | ) |
Value:
((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ (RARRAY_EMBED_LEN_MASK >> RARRAY_EMBED_LEN_SHIFT)) : \ RARRAY(a)->as.heap.len)
| #define RARRAY_LEN | ( | a | ) |
Value:
((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ (RARRAY_EMBED_LEN_MASK >> RARRAY_EMBED_LEN_SHIFT)) : \ RARRAY(a)->as.heap.len)
| #define RARRAY_LEN | ( | a | ) |
Value:
((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ (RARRAY_EMBED_LEN_MASK >> RARRAY_EMBED_LEN_SHIFT)) : \ RARRAY(a)->as.heap.len)
Definition at line 878 of file ruby.h.
Referenced by append_extmod(), append_method(), apply2files(), argf_getpartial(), argf_next_argv(), argf_readlines(), ary2list(), ary2list2(), ary2ptr_dispparams(), ary2sv(), ary_add_hash(), ary_add_hash_by(), ary_ensure_room_for_push(), ary_ensure_room_for_unshift(), ary_join_1(), ary_len_of_dim(), ary_make_partial(), ary_make_shared(), ary_make_shared_copy(), ary_make_substitution(), ary_reject(), ary_reject_bang(), ary_resize_capa(), ary_resize_smaller(), ary_take_first_or_last(), assoc2kv(), assoc2kv_enc(), bmcall(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_exec_fds(), check_exec_fds_1(), check_exec_redirect(), check_exec_redirect1(), check_type_val2variant(), clear_coverage_i(), collect_caller_bindings(), core_hash_from_ary(), core_hash_merge_ary(), curry(), dimension(), dir_s_glob(), do_coerce(), dump_object(), each_cons_i(), each_slice_i(), enum_cycle(), enum_cycle_size(), enum_each_slice(), enum_reverse_each(), enum_sort_by(), enum_to_h_i(), enumerator_each(), enumerator_size(), env_each_key(), env_each_pair(), env_each_value(), env_reject_bang(), env_replace(), env_select(), env_select_bang(), error_print(), eval_string_with_cref(), extract_user_token(), fdbm_delete_if(), fgdbm_delete_if(), filename_completion_proc_call(), flatten(), foletypelib_initialize(), folevariant_initialize(), folevariant_s_array(), fsdbm_delete_if(), generate_json_array(), generate_json_object(), get_loaded_features_index(), get_stack_tail(), initialize(), initialize_params(), inspect_ary(), io_puts_ary(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_set_exception_table(), keyword_error(), lazy_flat_map_func(), lazy_flat_map_to_ary(), lazy_zip_arrays_func(), lazy_zip_func(), loaded_feature_path(), nucomp_marshal_load(), num_members(), nurat_marshal_load(), ole_invoke2(), ole_search_event(), ole_search_event_at(), open_key_args(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), pack_unpack(), parse_main(), parser_set_encode(), path_entries(), path_s_glob(), process_options(), process_sflag(), queue_length(), queue_num_waiting(), r_object0(), random_load(), rb_ary_and(), rb_ary_aref(), rb_ary_aset(), rb_ary_assoc(), rb_ary_bsearch(), rb_ary_cat(), rb_ary_cmp(), rb_ary_collect(), rb_ary_collect_bang(), rb_ary_combination(), rb_ary_combination_size(), rb_ary_compact_bang(), rb_ary_concat(), rb_ary_count(), rb_ary_cycle(), rb_ary_cycle_size(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_delete_same(), rb_ary_diff(), rb_ary_drop(), rb_ary_drop_while(), rb_ary_dup(), rb_ary_each(), rb_ary_each_index(), rb_ary_elt(), rb_ary_empty_p(), rb_ary_entry(), rb_ary_eql(), rb_ary_equal(), rb_ary_fetch(), rb_ary_fill(), rb_ary_first(), rb_ary_hash(), rb_ary_includes(), rb_ary_index(), rb_ary_insert(), rb_ary_inspect(), rb_ary_join(), rb_ary_last(), rb_ary_length(), rb_ary_modify(), rb_ary_or(), rb_ary_permutation(), rb_ary_permutation_size(), rb_ary_plus(), rb_ary_pop(), rb_ary_pop_m(), rb_ary_product(), rb_ary_push(), rb_ary_rassoc(), rb_ary_repeated_combination(), rb_ary_repeated_combination_size(), rb_ary_repeated_permutation(), rb_ary_repeated_permutation_size(), rb_ary_replace(), rb_ary_resize(), rb_ary_resurrect(), rb_ary_reverse(), rb_ary_reverse_each(), rb_ary_reverse_m(), rb_ary_rindex(), rb_ary_rotate(), rb_ary_rotate_m(), rb_ary_sample(), rb_ary_select(), rb_ary_select_bang(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_shuffle_bang(), rb_ary_slice_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_store(), rb_ary_subseq(), rb_ary_take_while(), rb_ary_times(), rb_ary_to_a(), rb_ary_to_h(), rb_ary_transpose(), rb_ary_uniq(), rb_ary_uniq_bang(), rb_ary_unshift_m(), rb_ary_values_at(), rb_ary_zip(), rb_check_argv(), rb_check_backtrace(), rb_construct_expanded_load_path(), rb_debug_inspector_open(), rb_dlcfunc_call(), rb_econv_init_by_convpath(), rb_env_clear(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_run_options(), rb_feature_p(), rb_file_join(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_get_values_at(), rb_Hash(), rb_hash_s_create(), rb_io_s_popen(), rb_iseq_build_from_ary(), rb_proc_call(), rb_provide_feature(), rb_reg_preprocess_dregexp(), rb_reg_s_union(), rb_reg_s_union_m(), rb_str_split_m(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_members(), rb_struct_set(), rb_szqueue_num_waiting(), rb_threadptr_pending_interrupt_check_mask(), rb_threadptr_pending_interrupt_deque(), rb_threadptr_pending_interrupt_empty_p(), rb_threadptr_pending_interrupt_include_p(), rb_vm_bugreport(), readline_attempted_completion_function(), recursive_cmp(), recursive_eql(), recursive_equal(), reduce0(), require_libraries(), ruby_vm_run_at_exit_hooks(), run_exec_close(), run_exec_dup2(), run_exec_dup2_child(), run_exec_open(), run_finalizer(), select_internal(), set_state_ivars(), setup_struct(), sock_s_getnameinfo(), sort_by_i(), start_document(), thread_start_func_2(), update_i(), username_completion_proc_call(), vm_caller_setup_args(), vm_expandarray(), w_object(), wakeup_all_threads(), zip_ary(), and zip_i().
| #define RARRAY_LENINT | ( | ary | ) | rb_long2int(RARRAY_LEN(ary)) |
Definition at line 884 of file ruby.h.
Referenced by callback(), decorate_convpath(), enumerator_block_call(), fsdbm_delete_if(), function_call(), initialize(), iseq_build_from_ary_body(), num_step_size(), rb_apply(), rb_econv_init_by_convpath(), rb_eval_cmd(), rb_iseq_build_from_ary(), rb_str_format_m(), rb_struct_alloc(), rb_struct_initialize(), rb_yield_splat(), vm_yield_setup_block_args(), and yield_under().
| #define RARRAY_PTR | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(RGENGC_WB_PROTECTED_ARRAY ? OBJ_WB_UNPROTECT((VALUE)a) : ((VALUE)a))) |
| #define RARRAY_PTR | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(RGENGC_WB_PROTECTED_ARRAY ? OBJ_WB_UNPROTECT((VALUE)a) : ((VALUE)a))) |
| #define RARRAY_PTR | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(RGENGC_WB_PROTECTED_ARRAY ? OBJ_WB_UNPROTECT((VALUE)a) : ((VALUE)a))) |
Definition at line 907 of file ruby.h.
Referenced by ary2list(), ary2list2(), ary_memcpy(), assoc2kv(), assoc2kv_enc(), BigDecimal_to_i(), BigDecimal_to_r(), bmcall(), call_queue_handler(), callback(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_funcall_exec(), enum_zip(), enumerator_block_call(), eval_queue_handler(), fdbm_delete_if(), fgdbm_delete_if(), fsdbm_delete_if(), function_call(), initialize(), invoke_queue_handler(), ip_eval(), ip_invoke_with_position(), make_addrinfo(), method_missing(), num_step_size(), ossl_sslctx_setup(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), push_kv(), push_kv_enc(), rb_apply(), rb_ary_product(), rb_ary_rotate(), rb_ary_splice(), rb_dlcfunc_call(), rb_eval_cmd(), rb_io_s_popen(), rb_struct_alloc(), rb_struct_new(), readline_attempted_completion_function(), set_max_block_time(), sock_s_getnameinfo(), start_document(), sym_to_proc(), tk_funcall(), update_i(), vm_call0_body(), and yield_indexed_values().
| #define RARRAY_PTR_USE | ( | ary, | |||
| ptr_name, | |||||
| expr | ) |
Value:
do { \ const VALUE _ary = (ary); \ VALUE *ptr_name = (VALUE *)RARRAY_PTR_USE_START(_ary); \ expr; \ RARRAY_PTR_USE_END(_ary); \ } while (0)
| #define RARRAY_PTR_USE | ( | ary, | |||
| ptr_name, | |||||
| expr | ) |
Value:
do { \ const VALUE _ary = (ary); \ VALUE *ptr_name = (VALUE *)RARRAY_PTR_USE_START(_ary); \ expr; \ RARRAY_PTR_USE_END(_ary); \ } while (0)
| #define RARRAY_PTR_USE | ( | ary, | |||
| ptr_name, | |||||
| expr | ) |
Value:
do { \ const VALUE _ary = (ary); \ VALUE *ptr_name = (VALUE *)RARRAY_PTR_USE_START(_ary); \ expr; \ RARRAY_PTR_USE_END(_ary); \ } while (0)
Definition at line 894 of file ruby.h.
Referenced by ary_ensure_room_for_unshift(), ary_mem_clear(), ary_memcpy(), ary_memfill(), enum_sort_by(), rb_ary_delete_at(), rb_ary_modify(), rb_ary_replace(), rb_ary_reverse(), rb_ary_sample(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_shuffle_bang(), rb_ary_sort_bang(), rb_ary_splice(), rb_hash_keys(), and rb_hash_values().
| #define RARRAY_PTR_USE_START | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(a)) |
| #define RARRAY_PTR_USE_START | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(a)) |
| #define RARRAY_PTR_USE_START | ( | a | ) | ((VALUE *)RARRAY_CONST_PTR(a)) |
| #define RB_FLOAT_TYPE_P | ( | obj | ) | (FLONUM_P(obj) || (!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == T_FLOAT)) |
| #define RB_FLOAT_TYPE_P | ( | obj | ) | (FLONUM_P(obj) || (!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == T_FLOAT)) |
| #define RB_FLOAT_TYPE_P | ( | obj | ) | (FLONUM_P(obj) || (!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == T_FLOAT)) |
Definition at line 1662 of file ruby.h.
Referenced by big_op(), rb_big_cmp(), rb_big_divide(), rb_big_eq(), rb_big_fdiv(), rb_big_minus(), rb_big_mul(), rb_big_plus(), and rb_big_pow().
| #define rb_funcall2 rb_funcallv |
Definition at line 1456 of file ruby.h.
Referenced by asn1time_to_time(), basic_obj_respond_to(), callback(), check_funcall_exec(), check_match(), cleanup_iseq_build(), dir_open_dir(), do_sleep(), getc_call(), io_getch(), lazy_drop_func(), lazy_drop_while_func(), lazy_flat_map_i(), lazy_take_func(), lazy_take_while_func(), method_missing(), mproc(), nucomp_f_complex(), nucomp_rationalize(), nurat_f_rational(), obj_respond_to(), path_binread(), path_binwrite(), path_each_line(), path_open(), path_read(), path_readlines(), path_s_glob(), path_sub(), path_sysopen(), path_write(), r_byte(), r_byte1_buffered(), r_bytes1(), r_bytes1_buffered(), r_object0(), rand_range(), random_equal(), range_values(), rb_digest_class_s_bubblebabble(), rb_digest_class_s_hexdigest(), rb_eval_cmd(), rb_f_gets(), rb_f_open(), rb_f_putc(), rb_f_puts(), rb_f_readline(), rb_f_readlines(), rb_hash_flatten(), rb_io_set_encoding(), rb_obj_call_init(), rb_obj_respond_to(), rb_random_bytes(), rb_random_int32(), rb_random_real(), rb_random_ulong_limited(), rb_str_match_m(), require_libraries(), strio_readbyte(), strio_readchar(), strio_readline(), strio_sysread(), tk_do_callback(), tk_fromUTF8(), tk_toUTF8(), vm_call0_body(), and w_object().
| #define rb_funcall3 rb_funcallv_public |
Definition at line 1457 of file ruby.h.
Referenced by aref_fallback(), argf_close(), argf_forward(), argf_getbyte(), argf_getc(), argf_getline(), argf_readchar(), argf_readlines(), protected_scalar(), protected_start_document(), protected_start_mapping(), protected_start_sequence(), and rawmode_opt().
| #define RB_GC_GUARD | ( | v | ) | (*RB_GC_GUARD_PTR(&(v))) |
Definition at line 523 of file ruby.h.
Referenced by ary_recycle_hash(), backtrace_to_location_ary(), backtrace_to_str_ary(), big2str_generic(), big_shift3(), bigadd_int(), bigand_int(), BigDecimal_power(), BigMath_s_exp(), BigMath_s_log(), bigmul0(), bigor_int(), bigsq(), bigsub_int(), bigxor_int(), bmcall(), callback(), check_funcall_exec(), clone_method(), establishShell(), eval_string_with_cref(), file_s_fnmatch(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), lazy_init_iterator(), marshal_dump(), marshal_load(), parser_compile_string(), path_check_0(), proc_call(), push_glob(), rand_int(), rb_apply(), rb_ary_sample(), rb_ary_splice(), rb_autoload_load(), rb_big_and(), rb_big_divrem_normal(), rb_big_mul_balance(), rb_big_mul_karatsuba(), rb_big_mul_normal(), rb_big_mul_toom3(), rb_big_or(), rb_big_sq_fast(), rb_big_xor(), rb_check_id(), rb_define_hooked_variable(), rb_econv_substr_append(), rb_execarg_addopt(), rb_execarg_fixup(), rb_execarg_init(), rb_f_exec(), rb_f_spawn(), rb_file_s_basename(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_integer_pack(), rb_io_s_sysopen(), rb_io_syswrite(), rb_iseq_eval(), rb_iseq_eval_main(), rb_load_internal0(), rb_mod_define_method(), rb_name_err_mesg_new(), rb_parser_compile_file_path(), rb_path_to_class(), rb_proc_call(), rb_proc_call_with_block(), rb_reg_check_preprocess(), rb_reg_initialize(), rb_reg_initialize_str(), rb_reg_prepare_re(), rb_spawn_internal(), rb_str2big_karatsuba(), rb_str2big_normal(), rb_str2big_poweroftwo(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_format(), rb_str_intern(), rb_str_subpos(), rb_str_subseq(), rb_str_substr(), rb_str_symname_type(), rb_w32_write_console(), rb_write_error_str(), realpath_rec(), rmpd_power_by_big_decimal(), strio_ungetbyte(), strio_write(), vm_backtrace_to_ary(), vm_call0_body(), vm_define_method(), vm_expandarray(), w_object(), and zstream_run().
| #define rb_intern_const | ( | str | ) | rb_intern2((str), (long)strlen(str)) |
| #define rb_intern_const | ( | str | ) | rb_intern2((str), (long)strlen(str)) |
| #define rb_intern_const | ( | str | ) | rb_intern2((str), (long)strlen(str)) |
Definition at line 1442 of file ruby.h.
Referenced by Init_bigdecimal(), Init_dl(), rb_dl_init_callbacks(), ripper_init_eventids1(), ripper_init_eventids1_table(), ripper_init_eventids2(), ripper_init_eventids2_table(), rsock_init_ipsocket(), ruby_init_loadpath_safe(), and ruby_init_prelude().
| #define RB_IO_WAIT_READABLE 0 |
Definition at line 1507 of file ruby.h.
Referenced by io_getpartial(), rb_readwrite_sys_fail(), rsock_s_accept_nonblock(), and rsock_s_recvfrom_nonblock().
| #define RB_IO_WAIT_WRITABLE 1 |
Definition at line 1508 of file ruby.h.
Referenced by io_write_nonblock(), rb_readwrite_sys_fail(), and sock_connect_nonblock().
| #define rb_isascii | ( | c | ) | ((unsigned long)(c) < 128) |
| #define rb_long2int | ( | n | ) | ((int)(n)) |
Definition at line 317 of file ruby.h.
Referenced by enumerator_each(), lazy_init_iterator(), new_args_gen(), ossl_asn1prim_to_der(), ossl_bn_to_s(), ossl_create_dh(), ossl_spki_to_pem(), rb_profile_frame_full_label(), rb_str_format(), rb_str_upto(), rb_struct_new(), rb_w32_conv_from_wchar(), timegmw(), and vm_call_opt_send().
| #define RB_OBJ_WRITE | ( | a, | |||
| slot, | |||||
| b | ) | rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__) |
| #define RB_OBJ_WRITE | ( | a, | |||
| slot, | |||||
| b | ) | rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__) |
| #define RB_OBJ_WRITE | ( | a, | |||
| slot, | |||||
| b | ) | rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__) |
Definition at line 1213 of file ruby.h.
Referenced by ary_memcpy(), clone_method(), iseq_location_setup(), iseq_set_exception_table(), prepare_iseq_build(), rb_add_method(), rb_const_set(), rb_hash_set_ifnone(), rb_iseq_add_mark_object(), rb_iseq_build_for_ruby2cext(), rb_iseq_clone(), rb_ivar_set(), rb_method_entry_make(), rb_mod_define_method(), rb_reg_initialize(), rb_reg_s_alloc(), rb_str_associate(), rb_str_new_frozen(), rb_str_shared_replace(), rb_using_refinement(), rb_vm_set_progname(), rb_yield_refine_block(), RCLASS_SET_SUPER(), rewrite_cref_stack(), set_relation(), vm_cref_push(), vm_define_method(), and vm_setivar().
| #define RB_OBJ_WRITTEN | ( | a, | |||
| oldv, | |||||
| b | ) | rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
| #define RB_OBJ_WRITTEN | ( | a, | |||
| oldv, | |||||
| b | ) | rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
| #define RB_OBJ_WRITTEN | ( | a, | |||
| oldv, | |||||
| b | ) | rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__) |
Definition at line 1214 of file ruby.h.
Referenced by ary_memfill(), clone_const(), generic_ivar_set(), kwmerge_i(), rb_add_method(), rb_ary_or(), rb_autoload(), rb_execarg_fixup(), rb_method_entry_make(), rb_st_insert_id_and_value(), tbl_copy_i(), and tbl_update().
| #define RB_TYPE_P | ( | obj, | |||
| type | ) |
Value:
( \
((type) == T_FIXNUM) ? FIXNUM_P(obj) : \
((type) == T_TRUE) ? ((obj) == Qtrue) : \
((type) == T_FALSE) ? ((obj) == Qfalse) : \
((type) == T_NIL) ? ((obj) == Qnil) : \
((type) == T_UNDEF) ? ((obj) == Qundef) : \
((type) == T_SYMBOL) ? SYMBOL_P(obj) : \
((type) == T_FLOAT) ? RB_FLOAT_TYPE_P(obj) : \
(!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == (type)))
| #define RB_TYPE_P | ( | obj, | |||
| type | ) |
Value:
( \
((type) == T_FIXNUM) ? FIXNUM_P(obj) : \
((type) == T_TRUE) ? ((obj) == Qtrue) : \
((type) == T_FALSE) ? ((obj) == Qfalse) : \
((type) == T_NIL) ? ((obj) == Qnil) : \
((type) == T_UNDEF) ? ((obj) == Qundef) : \
((type) == T_SYMBOL) ? SYMBOL_P(obj) : \
((type) == T_FLOAT) ? RB_FLOAT_TYPE_P(obj) : \
(!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == (type)))
| #define RB_TYPE_P | ( | obj, | |||
| type | ) |
Value:
( \
((type) == T_FIXNUM) ? FIXNUM_P(obj) : \
((type) == T_TRUE) ? ((obj) == Qtrue) : \
((type) == T_FALSE) ? ((obj) == Qfalse) : \
((type) == T_NIL) ? ((obj) == Qnil) : \
((type) == T_UNDEF) ? ((obj) == Qundef) : \
((type) == T_SYMBOL) ? SYMBOL_P(obj) : \
((type) == T_FLOAT) ? RB_FLOAT_TYPE_P(obj) : \
(!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == (type)))
Definition at line 1664 of file ruby.h.
Referenced by add(), add_activated_refinement(), argf_close(), argf_getbyte(), argf_next_argv(), argf_readchar(), ary2sv(), ary_join_1(), BigDecimal_add(), BigDecimal_coerce(), BigDecimal_divide(), BigDecimal_divremain(), BigDecimal_DoDivmod(), BigDecimal_mult(), BigDecimal_power(), BigDecimal_sub(), BigDecimal_to_i(), BigDecimal_to_s(), binop(), bit_coerce(), call_trace_func(), case_when_optimizable_literal(), cdhash_hash(), check_exec_redirect(), check_exec_redirect1(), class2path(), classname(), compile_dstr_fragments(), cond0(), console_dev(), copy_stream_body(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cvar_front_klass(), debug_lines(), decorate_convpath(), do_coerce(), econv_opts(), enum_sort_by(), enumerator_initialize(), errinfo_place(), error_print(), eval_string_with_cref(), extract_user_token(), f_gcd(), f_minus_one_p(), f_mul(), f_one_p(), f_signbit(), f_to_f(), f_zero_p(), fc_i(), features_index_add_single(), fill_id_and_klass(), fix_and(), fix_cmp(), fix_divide(), fix_divmod(), fix_equal(), fix_fdiv(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_minus(), fix_mod(), fix_mul(), fix_or(), fix_plus(), fix_pow(), fix_xor(), flo_cmp(), flo_div(), flo_divmod(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_le(), flo_lt(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), fun1(), gc_info_decode(), gc_latest_gc_info(), gc_stat(), gc_stat_internal(), get_array(), get_klass(), get_strpath(), group_by_i(), hash_equal(), ignore_closed_stream(), Init_RandomSeed2(), int_round_0(), io_write_nonblock(), is_integer(), is_negative(), iseq_build_from_ary_body(), iseq_build_load_iseq(), lazy_flat_map_func(), load_lock(), make_inspectname(), make_metaclass(), match_equal(), match_op_gen(), method_owner(), mnew_from_me(), mul(), must_be_module(), negative_int_p(), nucomp_coerce(), nucomp_real_check(), nucomp_s_convert(), num_members(), num_step(), numeric_quo(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_int_check(), nurat_mul(), nurat_s_convert(), nurat_sub(), obj2int(), obj2subsecx(), obj2vint(), original_module(), ossl_bn_initialize(), pack_unpack(), path2class(), path_initialize(), positive_int_p(), proc_binding(), pruby_str_to_var(), pty_close_pty(), quo(), r_byte(), r_bytes0(), r_entry0(), r_object0(), rand_random(), rand_range(), range_bsearch(), range_include(), range_loader(), rb_alias(), rb_any_cmp(), rb_ary_eql(), rb_ary_equal(), rb_ary_rassoc(), rb_builtin_class_name(), rb_check_backtrace(), rb_check_id(), rb_check_inheritable(), rb_check_safe_str(), rb_check_to_float(), rb_check_to_integer(), rb_check_typeddata(), rb_class_inherited_p(), rb_class_superclass(), rb_construct_expanded_load_path(), rb_cstr_to_rat(), rb_define_class(), rb_define_class_id_under(), rb_define_module(), rb_define_module_id_under(), rb_dlcfunc_call(), rb_dlptr_aset(), rb_econv_open_opts(), rb_enc_associate_index(), rb_enc_compatible(), rb_eval_cmd(), rb_export_method(), rb_f_p_internal(), rb_f_printf(), rb_feature_p(), rb_fiddle_ptr_aset(), rb_file_exists_p(), rb_file_join(), rb_get_path_check_to_string(), rb_gzwriter_write(), rb_Hash(), rb_hash(), rb_include_class_new(), rb_include_module(), rb_int_pred(), rb_int_succ(), rb_io_flush_raw(), rb_io_getbyte(), rb_io_putc(), rb_io_puts(), rb_io_set_encoding(), rb_io_syswrite(), rb_io_ungetc(), rb_ioctl(), rb_iseq_compile_with_option(), rb_load_file(), rb_method_call_status(), rb_method_name_error(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_define_method(), rb_mod_included_modules(), rb_mod_init_copy(), rb_mod_modfunc(), rb_mod_singleton_p(), rb_num2long(), rb_num2ulong_internal(), rb_num_to_uint(), rb_obj_as_string(), rb_obj_singleton_methods(), rb_p(), rb_path_to_class(), rb_print_undef(), rb_print_undef_str(), rb_profile_frame_classpath(), rb_reg_equal(), rb_reg_initialize_m(), rb_reg_match2(), rb_singleton_class(), rb_str_aref_m(), rb_str_aset_m(), rb_str_cmp_m(), rb_str_concat(), rb_str_eql(), rb_str_equal(), rb_str_index_m(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_setter(), rb_str_split_m(), rb_string_value(), rb_struct_aref(), rb_struct_aset(), rb_struct_eql(), rb_struct_equal(), rb_struct_s_members(), rb_tmp_class_path(), rb_to_float(), rb_to_id(), rb_to_integer(), rb_typeddata_is_kind_of(), rb_undef(), rb_using_refinement(), rb_vm_bugreport(), readline_attempted_completion_function(), recursive_check(), recursive_list_access(), recursive_pop(), recursive_push(), rsock_syserr_fail_path(), ruby_cleanup(), ruby_float_step(), ruby_num_interval_step_size(), string_to_r(), string_to_r_strict(), strio_getline(), strio_putc(), strio_reopen(), strio_write(), sub(), syserr_initialize(), test_check(), thread_join(), thread_start_func_2(), time_mdump(), time_to_r(), transcode_loop(), umethod_bind(), unknown_keyword_error(), uscore_get(), usec2subsecx(), v2w(), vm_check_if_namespace(), vm_expandarray(), vm_get_iclass(), vm_getivar(), vm_rewrite_ep_in_errinfo(), vm_search_super_method(), vm_setivar(), vm_stat(), w_object(), wadd(), wmul(), wquo(), wsub(), and yyparse().
| #define RBASIC | ( | obj | ) | (R_CAST(RBasic)(obj)) |
Definition at line 1116 of file ruby.h.
Referenced by add_activated_refinement(), anonymous_struct(), ary_discard(), bignew_1(), call_trace_func(), cn_i(), cos_i(), coverage(), cto_i(), define_final0(), enum_sort_by(), features_index_add_single(), fill_id_and_klass(), flatten(), fstr_update_callback(), get_klass(), heap_i(), include_modules_at(), init_copy(), Init_VM(), make_singleton_class(), newobj_i(), newobj_of(), obj_free(), obj_memsize_of(), original_module(), proc_new(), r_object0(), range_loader(), rb_any_cmp(), rb_big_realloc(), rb_check_copyable(), rb_check_inheritable(), rb_class_initialize(), rb_class_of(), rb_class_real(), rb_define_class_id(), rb_hash_dup_empty(), rb_id2str(), rb_include_class_new(), rb_ivar_set(), rb_method_call_status(), rb_method_entry_get_without_cache(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), rb_obj_clone(), rb_obj_copy_ivar(), rb_obj_setup(), rb_obj_wb_unprotect(), rb_profile_frame_classpath(), rb_reg_desc(), rb_reg_options(), rb_reg_prepare_enc(), rb_search_method_entry(), rb_singleton_class_clone_and_attach(), rb_singleton_class_get(), rb_str_drop_bytes(), rb_str_new_frozen(), rb_str_shared_replace(), rb_str_vcatf(), rb_thread_shield_waiting_dec(), rb_thread_shield_waiting_inc(), rb_tmp_class_path(), rb_using_refinement(), rsock_s_recvfrom(), ruby__sfvextra(), ruby__sfvwrite(), singleton_class_of(), sort_by_cmp(), sort_by_i(), sort_reentered(), strio_close(), strio_close_read(), strio_close_write(), strio_copy(), strio_init(), struct_alloc(), total_i(), update_coverage(), using_module_recursive(), vm_get_iclass(), vm_getivar(), vm_rewrite_ep_in_errinfo(), vm_search_normal_superclass(), vm_search_super_method(), vm_setivar(), w_extended(), w_nbyte(), w_object(), and yield_indexed_values().
| #define RBASIC_CLASS | ( | obj | ) | (RBASIC(obj)->klass) |
Definition at line 759 of file ruby.h.
Referenced by dump_object(), method_owner(), newobj_i(), opt_eq_func(), rb_alias(), and w_object().
| #define RBIGNUM | ( | obj | ) | (R_CAST(RBignum)(obj)) |
| #define RBIGNUM_DIGITS | ( | b | ) |
| #define RBIGNUM_DIGITS | ( | b | ) |
| #define RBIGNUM_DIGITS | ( | b | ) |
Value:
((RBASIC(b)->flags & RBIGNUM_EMBED_FLAG) ? \ RBIGNUM(b)->as.ary : \ RBIGNUM(b)->as.heap.digits)
Definition at line 1109 of file ruby.h.
Referenced by obj_free(), obj_memsize_of(), ossl_bn_initialize(), and w_object().
| #define RBIGNUM_EMBED_FLAG FL_USER2 |
Definition at line 1100 of file ruby.h.
Referenced by bignew_1(), obj_free(), obj_memsize_of(), and rb_big_realloc().
| #define RBIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*3/SIZEOF_ACTUAL_BDIGIT) |
| #define RBIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*3/SIZEOF_ACTUAL_BDIGIT) |
| #define RBIGNUM_EMBED_LEN_MAX (SIZEOF_VALUE*3/SIZEOF_ACTUAL_BDIGIT) |
| #define RBIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+RBIGNUM_EMBED_LEN_NUMBITS) |
| #define RBIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+RBIGNUM_EMBED_LEN_NUMBITS) |
| #define RBIGNUM_EMBED_LEN_SHIFT (FL_USHIFT+RBIGNUM_EMBED_LEN_NUMBITS) |
| #define RBIGNUM_LEN | ( | b | ) |
Value:
((RBASIC(b)->flags & RBIGNUM_EMBED_FLAG) ? \ (long)((RBASIC(b)->flags >> RBIGNUM_EMBED_LEN_SHIFT) & \ (RBIGNUM_EMBED_LEN_MASK >> RBIGNUM_EMBED_LEN_SHIFT)) : \ RBIGNUM(b)->as.heap.len)
| #define RBIGNUM_LEN | ( | b | ) |
Value:
((RBASIC(b)->flags & RBIGNUM_EMBED_FLAG) ? \ (long)((RBASIC(b)->flags >> RBIGNUM_EMBED_LEN_SHIFT) & \ (RBIGNUM_EMBED_LEN_MASK >> RBIGNUM_EMBED_LEN_SHIFT)) : \ RBIGNUM(b)->as.heap.len)
| #define RBIGNUM_LEN | ( | b | ) |
Value:
((RBASIC(b)->flags & RBIGNUM_EMBED_FLAG) ? \ (long)((RBASIC(b)->flags >> RBIGNUM_EMBED_LEN_SHIFT) & \ (RBIGNUM_EMBED_LEN_MASK >> RBIGNUM_EMBED_LEN_SHIFT)) : \ RBIGNUM(b)->as.heap.len)
Definition at line 1103 of file ruby.h.
Referenced by abs2twocomp(), big2dbl(), big2str_find_n1(), big2str_generic(), big2str_karatsuba(), big2ulong(), big_extend_carry(), big_fdiv(), big_fdiv_int(), big_shift3(), bigadd(), bigadd_int(), bigdivrem(), bigfixize(), bigmul0(), bigor_int(), bigsq(), bigsub(), bigsub_int(), bigtrunc(), bigxor_int(), bigzero_p(), f_gcd(), get2comp(), obj_memsize_of(), rb_absint_singlebit_p(), rb_absint_size(), rb_big2str1(), rb_big_aref(), rb_big_clone(), rb_big_cmp(), rb_big_divrem_normal(), rb_big_eq(), rb_big_eql(), rb_big_even_p(), rb_big_hash(), rb_big_mul_balance(), rb_big_mul_karatsuba(), rb_big_mul_normal(), rb_big_mul_toom3(), rb_big_neg(), rb_big_odd_p(), rb_big_realloc(), rb_big_sq_fast(), rb_integer_pack(), rb_integer_unpack(), str2big_karatsuba(), and w_object().
| #define RBIGNUM_LENINT | ( | b | ) | rb_long2int(RBIGNUM_LEN(b)) |
| #define RBIGNUM_NEGATIVE_P | ( | b | ) | (!RBIGNUM_SIGN(b)) |
Definition at line 1098 of file ruby.h.
Referenced by abs2twocomp(), big2str_base_poweroftwo(), big2str_generic(), BigMath_s_log(), is_negative(), negative_int_p(), rb_big_bit_length(), rb_num2ulong_internal(), rb_num_to_uint(), and rb_str_format().
| #define RBIGNUM_POSITIVE_P | ( | b | ) | RBIGNUM_SIGN(b) |
Definition at line 1097 of file ruby.h.
Referenced by big2str_base_poweroftwo(), big_shift2(), big_shift3(), bigfixize(), math_log(), math_log10(), math_log2(), positive_int_p(), rb_big2long(), rb_big2ulong(), rb_big_aref(), rb_big_neg(), and rb_integer_pack().
| #define RBIGNUM_SET_SIGN | ( | b, | |||
| sign | ) |
Value:
((sign) ? (RBASIC(b)->flags |= RBIGNUM_SIGN_BIT) \ : (RBASIC(b)->flags &= ~RBIGNUM_SIGN_BIT))
| #define RBIGNUM_SET_SIGN | ( | b, | |||
| sign | ) |
Value:
((sign) ? (RBASIC(b)->flags |= RBIGNUM_SIGN_BIT) \ : (RBASIC(b)->flags &= ~RBIGNUM_SIGN_BIT))
| #define RBIGNUM_SET_SIGN | ( | b, | |||
| sign | ) |
Value:
((sign) ? (RBASIC(b)->flags |= RBIGNUM_SIGN_BIT) \ : (RBASIC(b)->flags &= ~RBIGNUM_SIGN_BIT))
Definition at line 1094 of file ruby.h.
Referenced by bigdivrem(), bignew_1(), bigsub_int(), rb_big_abs(), rb_big_uminus(), rb_cstr_to_inum(), rb_int2big(), rb_integer_unpack(), and twocomp2abs_bang().
| #define RBIGNUM_SIGN | ( | b | ) | ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) |
| #define RBIGNUM_SIGN | ( | b | ) | ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) |
| #define RBIGNUM_SIGN | ( | b | ) | ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) |
Definition at line 1093 of file ruby.h.
Referenced by big2dbl(), big_shift3(), bigadd(), bigadd_int(), bigdivmod(), bigdivrem(), bigmul0(), bigsub_int(), fix_aref(), ossl_bn_initialize(), rand_int(), rand_range(), rb_big_abs(), rb_big_aref(), rb_big_clone(), rb_big_cmp(), rb_big_divrem_normal(), rb_big_eq(), rb_big_eql(), rb_big_hash(), rb_big_minus(), rb_big_mul_balance(), rb_big_mul_karatsuba(), rb_big_mul_normal(), rb_big_mul_toom3(), rb_big_plus(), rb_big_pow(), rb_big_uminus(), rb_cmpint(), and w_object().
| #define RCLASS | ( | obj | ) | (R_CAST(RClass)(obj)) |
Definition at line 1118 of file ruby.h.
Referenced by obj_memsize_of(), rb_class_get_superclass(), RCLASS_SET_SUPER(), and RCLASS_SUPER().
| #define RCLASS_SUPER | ( | c | ) | rb_class_get_superclass(c) |
Definition at line 796 of file ruby.h.
Referenced by add_activated_refinement(), class_init_copy_check(), class_instance_method_list(), class_search_ancestor(), cvar_front_klass(), get_original_method_entry(), has_extra_methods(), include_modules_at(), make_metaclass(), mnew_from_me(), mod_cvar_of(), original_method_entry(), rb_alias(), rb_autoload_p(), rb_class_initialize(), rb_class_real(), rb_class_superclass(), rb_const_defined_0(), rb_const_get_0(), rb_define_class(), rb_define_class_id_under(), rb_get_alloc_func(), rb_mod_ancestors(), rb_mod_const_of(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), rb_mod_modfunc(), rb_obj_alloc(), rb_obj_singleton_methods(), rb_prepend_module(), rb_singleton_class_clone_and_attach(), rb_using_refinement(), search_method(), struct_ivar_get(), using_module_recursive(), vm_call0_body(), vm_call_method(), vm_call_super(), vm_search_const_defined_class(), vm_search_normal_superclass(), vm_search_super_method(), and w_extended().
| #define RCOMPLEX | ( | obj | ) | (R_CAST(RComplex)(obj)) |
| #define RCOMPLEX_SET_IMAG | ( | cmp, | |||
| i | ) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) |
| #define RCOMPLEX_SET_IMAG | ( | cmp, | |||
| i | ) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) |
| #define RCOMPLEX_SET_IMAG | ( | cmp, | |||
| i | ) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->imag,(i)) |
| #define RCOMPLEX_SET_REAL | ( | cmp, | |||
| r | ) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) |
| #define RCOMPLEX_SET_REAL | ( | cmp, | |||
| r | ) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) |
| #define RCOMPLEX_SET_REAL | ( | cmp, | |||
| r | ) | RB_OBJ_WRITE((cmp), &((struct RComplex *)(cmp))->real,(r)) |
| #define RDATA | ( | obj | ) | (R_CAST(RData)(obj)) |
Definition at line 1125 of file ruby.h.
Referenced by enc_check_encoding(), gc_page_sweep(), obj_free(), ossl_ssl_session_initialize(), ossl_x509stctx_clear_ptr(), rb_find_encoding(), rb_objspace_call_finalizer(), rb_to_encoding(), and run_final().
Definition at line 1335 of file ruby.h.
Referenced by ary_shrink_capa(), cont_save_machine_stack(), fbuffer_inc_capa(), match_init_copy(), parser_newtok(), parser_tokadd(), parser_tokspace(), rb_big_realloc(), rb_econv_add_transcoder_at(), rb_ivar_set(), rb_str_modify_expand(), rb_str_resize(), ruby_setenv(), tr_trans(), update_char_offset(), and vtable_add().
| #define RFILE | ( | obj | ) | (R_CAST(RFile)(obj)) |
Definition at line 1129 of file ruby.h.
Referenced by console_dev(), dump_object(), obj_memsize_of(), pipe_open(), pty_close_pty(), rb_file_initialize(), rb_file_path(), rb_io_autoclose_p(), rb_io_close(), rb_io_close_m(), rb_io_close_read(), rb_io_closed(), rb_io_fileno(), rb_io_get_write_io(), rb_io_inspect(), rb_io_reopen(), rb_io_set_write_io(), rb_write_error2(), rb_write_error_str(), and readline_readline().
| #define RFLOAT | ( | obj | ) | (R_CAST(RFloat)(obj)) |
| #define RFLOAT_VALUE | ( | v | ) | rb_float_value(v) |
Definition at line 814 of file ruby.h.
Referenced by big_fdiv_float(), BigDecimal_power(), BigMath_s_exp(), BigMath_s_log(), case_when_optimizable_literal(), d_lite_minus(), dump_object(), enumerator_initialize(), f_signbit(), fix_divide(), fix_divmod(), fix_fdiv(), fix_minus(), fix_mod(), fix_mul(), fix_plus(), fix_pow(), flo_abs(), flo_ceil(), flo_cmp(), flo_div(), flo_divmod(), flo_eq(), flo_eql(), flo_floor(), flo_ge(), flo_gt(), flo_hash(), flo_is_finite_p(), flo_is_infinite_p(), flo_is_nan_p(), flo_le(), flo_lt(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), flo_round(), flo_to_s(), flo_truncate(), flo_uminus(), flo_zero_p(), float_arg(), float_decode_internal(), float_denominator(), float_numerator(), float_value(), generate_json_float(), GetVpValueWithPrec(), is_negative(), math_acos(), math_acosh(), math_asin(), math_asinh(), math_atan(), math_atan2(), math_atanh(), math_cbrt(), math_cos(), math_cosh(), math_erf(), math_erfc(), math_exp(), math_frexp(), math_gamma(), math_hypot(), math_ldexp(), math_lgamma(), math_log(), math_log10(), math_log2(), math_sin(), math_sinh(), math_sqrt(), math_tan(), math_tanh(), negate_lit(), num_step(), opt_eq_func(), rand_range(), range_bsearch(), rb_big_divide(), rb_big_fdiv(), rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_convert_to_integer(), rb_integer_float_cmp(), rb_integer_float_eq(), rb_num2dbl(), rb_num2long(), rb_num2ulong_internal(), rb_str_format(), time_timespec(), w_object(), and wholenum_p().
| #define RGENGC_WB_PROTECTED_ARRAY 1 |
| #define RGENGC_WB_PROTECTED_BIGNUM 1 |
| #define RGENGC_WB_PROTECTED_CLASS 1 |
| #define RGENGC_WB_PROTECTED_COMPLEX 1 |
| #define RGENGC_WB_PROTECTED_FLOAT 1 |
| #define RGENGC_WB_PROTECTED_HASH 1 |
| #define RGENGC_WB_PROTECTED_NODE_CREF 1 |
| #define RGENGC_WB_PROTECTED_OBJECT 1 |
Definition at line 723 of file ruby.h.
Referenced by range_dumper(), and rb_class_allocate_instance().
| #define RGENGC_WB_PROTECTED_RATIONAL 1 |
| #define RGENGC_WB_PROTECTED_REGEXP 1 |
| #define RGENGC_WB_PROTECTED_STRING 1 |
| #define RGENGC_WB_PROTECTED_STRUCT 1 |
| #define RHASH | ( | obj | ) | (R_CAST(RHash)(obj)) |
Definition at line 1124 of file ruby.h.
Referenced by ary_recycle_hash(), hash_equal(), hash_foreach_call(), hash_foreach_ensure(), hash_foreach_iter(), hash_tbl(), obj_memsize_of(), rb_hash_aref(), rb_hash_aset(), rb_hash_assoc(), rb_hash_clear(), rb_hash_compare_by_id(), rb_hash_compare_by_id_p(), rb_hash_delete_if(), rb_hash_delete_key(), rb_hash_dup(), rb_hash_fetch_m(), rb_hash_foreach(), rb_hash_has_key(), rb_hash_initialize_copy(), rb_hash_keep_if(), rb_hash_keys(), rb_hash_lookup2(), rb_hash_rehash(), rb_hash_reject_bang(), rb_hash_replace(), rb_hash_s_create(), rb_hash_select_bang(), rb_hash_set_ifnone(), rb_hash_shift(), rb_hash_to_h(), rb_hash_values(), rb_thread_variable_p(), reset_hash_type(), and tbl_update().
| #define RHASH_EMPTY_P | ( | h | ) | (RHASH_SIZE(h) == 0) |
Definition at line 931 of file ruby.h.
Referenced by count_nodes(), count_objects_size(), count_tdata_objects(), rb_check_exec_options(), rb_execarg_extract_options(), rb_extract_keywords(), rb_hash_assoc(), rb_hash_dup(), rb_hash_empty_p(), rb_hash_inspect(), rb_hash_reject(), rb_hash_select(), rb_hash_to_h(), and recursive_pop().
| #define RHASH_IFNONE | ( | h | ) | (RHASH(h)->ifnone) |
Definition at line 929 of file ruby.h.
Referenced by dump_object(), hash_default_value(), hash_equal(), rb_hash_default(), rb_hash_default_proc(), rb_hash_dup_empty(), rb_hash_initialize_copy(), rb_hash_reject(), rb_hash_replace(), rb_hash_to_h(), and w_object().
| #define RHASH_ITER_LEV | ( | h | ) | (RHASH(h)->iter_lev) |
Definition at line 928 of file ruby.h.
Referenced by hash_foreach_ensure(), hash_foreach_ensure_rollback(), rb_hash_aset(), rb_hash_clear(), rb_hash_delete_key(), rb_hash_foreach(), rb_hash_rehash(), and rb_hash_shift().
| #define RHASH_SET_IFNONE | ( | h, | |||
| ifnone | ) | rb_hash_set_ifnone((VALUE)h, ifnone) |
| #define RHASH_SET_IFNONE | ( | h, | |||
| ifnone | ) | rb_hash_set_ifnone((VALUE)h, ifnone) |
| #define RHASH_SET_IFNONE | ( | h, | |||
| ifnone | ) | rb_hash_set_ifnone((VALUE)h, ifnone) |
Definition at line 932 of file ruby.h.
Referenced by hash_alloc(), Init_ossl_x509name(), r_object0(), rb_hash_dup_empty(), rb_hash_initialize(), rb_hash_initialize_copy(), rb_hash_replace(), rb_hash_set_default(), rb_hash_set_default_proc(), and rb_hash_to_h().
| #define RHASH_SIZE | ( | h | ) | (RHASH(h)->ntbl ? (st_index_t)RHASH(h)->ntbl->num_entries : 0) |
| #define RHASH_SIZE | ( | h | ) | (RHASH(h)->ntbl ? (st_index_t)RHASH(h)->ntbl->num_entries : 0) |
| #define RHASH_SIZE | ( | h | ) | (RHASH(h)->ntbl ? (st_index_t)RHASH(h)->ntbl->num_entries : 0) |
Definition at line 930 of file ruby.h.
Referenced by ary2list(), dump_object(), hash2kv(), hash2kv_enc(), hash_equal(), rb_ary_uniq_bang(), rb_execarg_fixup(), rb_get_kwargs(), rb_hash_flatten(), rb_hash_hash(), rb_hash_keys(), rb_hash_reject_bang(), rb_hash_size(), rb_hash_to_a(), rb_hash_values(), tk_conv_args(), and w_object().
| #define RHASH_TBL | ( | h | ) | rb_hash_tbl(h) |
Definition at line 927 of file ruby.h.
Referenced by count_nodes(), count_objects_size(), count_tdata_objects(), hash2kv(), hash2kv_enc(), rb_coverage_result(), and tk_symbolkey2str().
| #define RMODULE_CONST_TBL | ( | m | ) | RCLASS_CONST_TBL(m) |
| #define RMODULE_INCLUDED_INTO_REFINEMENT FL_USER4 |
Definition at line 803 of file ruby.h.
Referenced by include_modules_at(), and vm_search_super_method().
| #define RMODULE_IS_OVERLAID FL_USER2 |
Definition at line 801 of file ruby.h.
Referenced by add_activated_refinement(), rb_using_refinement(), and vm_get_iclass().
| #define RMODULE_IS_REFINEMENT FL_USER3 |
Definition at line 802 of file ruby.h.
Referenced by include_modules_at(), rb_method_entry_make(), rb_mod_refine(), and vm_search_normal_superclass().
| #define RMODULE_M_TBL | ( | m | ) | RCLASS_M_TBL(m) |
| #define ROBJECT | ( | obj | ) | (R_CAST(RObject)(obj)) |
Definition at line 1117 of file ruby.h.
Referenced by obj_memsize_of(), rb_ivar_set(), and rb_obj_copy_ivar().
| #define ROBJECT_EMBED FL_USER1 |
Definition at line 773 of file ruby.h.
Referenced by obj_free(), obj_memsize_of(), rb_ivar_set(), and rb_obj_copy_ivar().
| #define ROBJECT_EMBED_LEN_MAX 3 |
| #define ROBJECT_IV_INDEX_TBL | ( | o | ) |
Value:
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RCLASS_IV_INDEX_TBL(rb_obj_class(o)) : \ ROBJECT(o)->as.heap.iv_index_tbl)
| #define ROBJECT_IV_INDEX_TBL | ( | o | ) |
Value:
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RCLASS_IV_INDEX_TBL(rb_obj_class(o)) : \ ROBJECT(o)->as.heap.iv_index_tbl)
| #define ROBJECT_IV_INDEX_TBL | ( | o | ) |
Value:
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RCLASS_IV_INDEX_TBL(rb_obj_class(o)) : \ ROBJECT(o)->as.heap.iv_index_tbl)
Definition at line 782 of file ruby.h.
Referenced by obj_ivar_each(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), rb_ivar_set(), rb_obj_remove_instance_variable(), vm_getivar(), and vm_setivar().
| #define ROBJECT_IVPTR | ( | o | ) |
| #define ROBJECT_IVPTR | ( | o | ) |
| #define ROBJECT_IVPTR | ( | o | ) |
Value:
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ ROBJECT(o)->as.ary : \ ROBJECT(o)->as.heap.ivptr)
Definition at line 778 of file ruby.h.
Referenced by obj_ivar_i(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_lookup(), rb_ivar_set(), rb_obj_copy_ivar(), rb_obj_remove_instance_variable(), vm_getivar(), vm_setivar(), and w_objivar().
| #define ROBJECT_NUMIV | ( | o | ) |
Value:
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ ROBJECT_EMBED_LEN_MAX : \ ROBJECT(o)->as.heap.numiv)
| #define ROBJECT_NUMIV | ( | o | ) |
Value:
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ ROBJECT_EMBED_LEN_MAX : \ ROBJECT(o)->as.heap.numiv)
| #define ROBJECT_NUMIV | ( | o | ) |
Value:
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ ROBJECT_EMBED_LEN_MAX : \ ROBJECT(o)->as.heap.numiv)
Definition at line 774 of file ruby.h.
Referenced by dump_object(), obj_ivar_i(), rb_ivar_defined(), rb_ivar_lookup(), rb_ivar_set(), rb_obj_remove_instance_variable(), vm_getivar(), vm_setivar(), and w_objivar().
| #define RRATIONAL | ( | obj | ) | (R_CAST(RRational)(obj)) |
Definition at line 1130 of file ruby.h.
Referenced by BigDecimal_power(), f_minus_one_p(), f_one_p(), f_zero_p(), GetVpValueWithPrec(), is_one(), is_zero(), num_exact(), quo(), time_mdump(), v2w(), wmul(), and wquo().
| #define RRATIONAL_SET_DEN | ( | rat, | |||
| d | ) | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->den,(d)) |
| #define RRATIONAL_SET_DEN | ( | rat, | |||
| d | ) | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->den,(d)) |
| #define RRATIONAL_SET_DEN | ( | rat, | |||
| d | ) | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->den,(d)) |
| #define RRATIONAL_SET_NUM | ( | rat, | |||
| n | ) | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->num,(n)) |
| #define RRATIONAL_SET_NUM | ( | rat, | |||
| n | ) | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->num,(n)) |
| #define RRATIONAL_SET_NUM | ( | rat, | |||
| n | ) | RB_OBJ_WRITE((rat), &((struct RRational *)(rat))->num,(n)) |
| #define RREGEXP | ( | obj | ) | (R_CAST(RRegexp)(obj)) |
Definition at line 1122 of file ruby.h.
Referenced by match_aref(), match_backref_number(), match_inspect(), name_to_backref_number(), obj_memsize_of(), rb_reg_casefold_p(), rb_reg_check(), rb_reg_desc(), rb_reg_equal(), rb_reg_initialize(), rb_reg_inspect(), rb_reg_named_captures(), rb_reg_names(), rb_reg_options(), rb_reg_prepare_enc(), rb_reg_prepare_re(), rb_reg_regsub(), rb_reg_search(), rb_reg_to_s(), rb_str_rindex_m(), reg_hash(), reg_named_capture_assign_gen(), and strscan_do_scan().
| #define RREGEXP_SRC | ( | r | ) | RREGEXP(r)->src |
| #define RREGEXP_SRC_LEN | ( | r | ) | RSTRING_LEN(RREGEXP(r)->src) |
Definition at line 917 of file ruby.h.
Referenced by rb_reg_equal(), rb_reg_init_copy(), rb_reg_initialize_m(), rb_reg_inspect(), rb_reg_prepare_re(), rb_reg_regcomp(), rb_reg_search(), rb_reg_source(), rb_reg_to_s(), rb_str_rindex_m(), reg_hash(), and w_object().
| #define RREGEXP_SRC_PTR | ( | r | ) | RSTRING_PTR(RREGEXP(r)->src) |
Definition at line 916 of file ruby.h.
Referenced by rb_reg_check(), rb_reg_equal(), rb_reg_init_copy(), rb_reg_initialize_m(), rb_reg_inspect(), rb_reg_prepare_re(), rb_reg_regcomp(), rb_reg_search(), rb_reg_source(), rb_reg_to_s(), reg_hash(), and w_object().
| #define RSTRING | ( | obj | ) | (R_CAST(RString)(obj)) |
Definition at line 1121 of file ruby.h.
Referenced by rb_str_append(), rb_str_associate(), rb_str_associated(), rb_str_buf_new(), rb_str_capacity(), rb_str_cat(), rb_str_drop_bytes(), rb_str_freeze(), rb_str_modify_expand(), rb_str_new_frozen(), rb_str_resize(), rb_str_shared_replace(), rb_str_substr(), str_buf_cat(), str_byte_substr(), str_discard(), str_make_independent_expand(), str_new0(), str_new4(), str_replace(), str_replace_shared_without_enc(), tr_trans(), and zstream_expand_buffer_without_gvl().
| #define RSTRING_EMBED_LEN | ( | str | ) |
Value:
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \ (RSTRING_EMBED_LEN_MASK >> RSTRING_EMBED_LEN_SHIFT))
| #define RSTRING_EMBED_LEN | ( | str | ) |
Value:
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \ (RSTRING_EMBED_LEN_MASK >> RSTRING_EMBED_LEN_SHIFT))
| #define RSTRING_EMBED_LEN | ( | str | ) |
Value:
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \ (RSTRING_EMBED_LEN_MASK >> RSTRING_EMBED_LEN_SHIFT))
| #define RSTRING_EMBED_LEN_MASK (FL_USER2|FL_USER3|FL_USER4|FL_USER5|FL_USER6) |
| #define RSTRING_EMBED_LEN_MASK (FL_USER2|FL_USER3|FL_USER4|FL_USER5|FL_USER6) |
| #define RSTRING_EMBED_LEN_MASK (FL_USER2|FL_USER3|FL_USER4|FL_USER5|FL_USER6) |
| #define RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1)) |
| #define RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1)) |
| #define RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1)) |
Definition at line 819 of file ruby.h.
Referenced by econv_primitive_convert(), rb_str_capacity(), rb_str_drop_bytes(), rb_str_modify_expand(), rb_str_resize(), rb_str_shared_replace(), rb_str_subseq(), rb_str_substr(), str_buf_cat(), str_byte_substr(), str_new0(), and str_replace_shared_without_enc().
| #define RSTRING_END | ( | str | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ (RSTRING(str)->as.ary + RSTRING_EMBED_LEN(str)) : \ (RSTRING(str)->as.heap.ptr + RSTRING(str)->as.heap.len))
| #define RSTRING_END | ( | str | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ (RSTRING(str)->as.ary + RSTRING_EMBED_LEN(str)) : \ (RSTRING(str)->as.heap.ptr + RSTRING(str)->as.heap.len))
| #define RSTRING_END | ( | str | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ (RSTRING(str)->as.ary + RSTRING_EMBED_LEN(str)) : \ (RSTRING(str)->as.heap.ptr + RSTRING(str)->as.heap.len))
Definition at line 849 of file ruby.h.
Referenced by gzfile_getc(), load_encoding(), rb_enc_cr_str_copy_for_substr(), rb_enc_uint_chr(), rb_io_getline_1(), rb_reg_to_s(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_count(), rb_str_delete_bang(), rb_str_downcase_bang(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_format(), rb_str_index(), rb_str_index_m(), rb_str_inspect(), rb_str_lstrip_bang(), rb_str_offset(), rb_str_ord(), rb_str_reverse(), rb_str_reverse_bang(), rb_str_rindex(), rb_str_rindex_m(), rb_str_rstrip_bang(), rb_str_scrub(), rb_str_splice(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_substr(), rb_str_swapcase_bang(), rb_str_upcase_bang(), rb_str_upto(), rb_str_vcatf(), scan_once(), str_buf_cat(), str_encode_associate(), str_gsub(), str_rindex(), str_strlen(), strio_each_codepoint(), strio_getc(), and tr_trans().
| #define RSTRING_FSTR FL_USER17 |
Definition at line 835 of file ruby.h.
Referenced by dump_object(), fstr_update_callback(), rb_fstring(), and rb_str_free().
| #define RSTRING_GETMEM | ( | str, | |||
| ptrvar, | |||||
| lenvar | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ ((ptrvar) = RSTRING(str)->as.ary, (lenvar) = RSTRING_EMBED_LEN(str)) : \ ((ptrvar) = RSTRING(str)->as.heap.ptr, (lenvar) = RSTRING(str)->as.heap.len))
| #define RSTRING_GETMEM | ( | str, | |||
| ptrvar, | |||||
| lenvar | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ ((ptrvar) = RSTRING(str)->as.ary, (lenvar) = RSTRING_EMBED_LEN(str)) : \ ((ptrvar) = RSTRING(str)->as.heap.ptr, (lenvar) = RSTRING(str)->as.heap.len))
| #define RSTRING_GETMEM | ( | str, | |||
| ptrvar, | |||||
| lenvar | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ ((ptrvar) = RSTRING(str)->as.ary, (lenvar) = RSTRING_EMBED_LEN(str)) : \ ((ptrvar) = RSTRING(str)->as.heap.ptr, (lenvar) = RSTRING(str)->as.heap.len))
Definition at line 854 of file ruby.h.
Referenced by append_fspath(), check_dirname(), intern_str(), rb_file_join(), rb_realpath_internal(), rb_str_cmp(), and ruby__sfvextra().
| #define RSTRING_LEN | ( | str | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RSTRING_EMBED_LEN(str) : \ RSTRING(str)->as.heap.len)
| #define RSTRING_LEN | ( | str | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RSTRING_EMBED_LEN(str) : \ RSTRING(str)->as.heap.len)
| #define RSTRING_LEN | ( | str | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RSTRING_EMBED_LEN(str) : \ RSTRING(str)->as.heap.len)
Definition at line 841 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), appendline(), argf_read(), BigDecimal_to_i(), BigDecimal_to_r(), bubblebabble_str_new(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_pipe_command(), chopped_length(), constant_arg(), convert_encoding(), convert_UTF8_to_JSON(), convert_UTF8_to_JSON_ASCII(), copy_stream_body(), copy_stream_fallback_body(), cParser_initialize(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), deflate_run(), do_checksum(), do_deflate(), do_inflate(), dump_append_string_value(), dump_object(), econv_insert_output(), econv_primitive_convert(), econv_set_replacement(), env_aset(), env_assoc(), env_delete(), env_fetch(), env_has_key(), env_has_value(), env_key(), env_rassoc(), error_print(), eval_string_with_cref(), exc_inspect(), f_format(), fdbm_delete(), fdbm_delete_if(), fdbm_fetch(), fdbm_has_key(), fdbm_has_value(), fdbm_key(), features_index_add(), fgdbm_has_value(), fgdbm_key(), flo_to_s(), fsdbm_key(), fstr_update_callback(), get_actual_encoding(), gzfile_calc_crc(), gzfile_error_inspect(), gzfile_read_header(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_until_zero(), gzfile_reader_rewind(), gzfile_readpartial(), gzreader_gets(), hexencode_str_new(), ignore_closed_stream(), inflate_run(), inspect_errno(), inspect_i(), inspect_int(), inspect_timeval_as_interval(), io_encoding_set(), io_fwrite(), io_getc(), io_reader(), io_set_read_length(), io_setstrbuf(), io_ungetbyte(), io_write(), io_write_nonblock(), ip_cancel_eval_core(), ip_eval(), ip_set_exc_message(), is_popen_fork(), isArrayOrObject(), lex_get_str(), lib_fromUTF8_core(), lib_toUTF8_core(), lib_UTF_backslash_core(), load_file_internal(), loaded_feature_path(), match_aref(), month_arg(), moreswitches(), must_not_be_anonymous(), name_err_mesg_to_str(), newobj_i(), ole_val2olevariantdata(), ole_vstr2wc(), ossl_asn1_decode(), ossl_asn1_decode_all(), ossl_asn1_traverse(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_cipher_final(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_set_iv(), ossl_cipher_set_key(), ossl_cipher_update(), ossl_digest_update(), ossl_hmac_s_digest(), ossl_hmac_s_hexdigest(), ossl_hmac_update(), ossl_make_error(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_spki_initialize(), ossl_x509attr_initialize(), ossl_x509ext_initialize(), ossl_x509ext_set_value(), ossl_x509name_initialize(), pack_unpack(), parse(), parser_here_document(), parser_heredoc_restore(), parser_nextc(), path_check_0(), path_cmp(), path_initialize(), path_sub_ext(), prepare_getline_args(), pruby_str_to_var(), qpencode(), r_byte(), r_byte1_buffered(), r_bytes0(), r_bytes1(), r_bytes1_buffered(), r_object0(), range_include(), rb_ary_join(), rb_big2str0(), rb_check_id(), rb_digest_base_update(), rb_digest_instance_digest_length(), rb_digest_instance_equal(), rb_dlptr_s_to_ptr(), rb_econv_append(), rb_econv_open_opts(), rb_econv_str_append(), rb_econv_str_convert(), rb_enc_compatible(), rb_enc_cr_str_buf_cat(), rb_enc_cr_str_copy_for_substr(), rb_enc_str_coderange(), rb_execarg_fixup(), rb_f_getenv(), rb_feature_p(), rb_fiddle_ptr_s_to_ptr(), rb_file_dirname(), rb_file_expand_path_internal(), rb_file_identical_p(), rb_file_join(), rb_file_s_basename(), rb_file_s_extname(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_gdbm_delete(), rb_gdbm_fetch2(), rb_gdbm_nextkey(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_gzreader_ungetc(), rb_gzwriter_write(), rb_inflate_sync(), rb_io_getline_1(), rb_io_puts(), rb_io_syswrite(), rb_io_ungetc(), rb_ioctl(), rb_iseq_disasm(), rb_iseq_disasm_insn(), rb_load_file(), rb_mod_const_defined(), rb_mod_const_get(), rb_num2char_inline(), rb_profile_frame_full_label(), rb_push_glob(), rb_reg_adjust_startpos(), rb_reg_check_preprocess(), rb_reg_error_desc(), rb_reg_initialize(), rb_reg_initialize_m(), rb_reg_initialize_str(), rb_reg_match_post(), rb_reg_prepare_re(), rb_reg_preprocess_dregexp(), rb_reg_quote(), rb_reg_regcomp(), rb_reg_regsub(), rb_reg_search(), rb_reg_to_s(), rb_str_append(), rb_str_aref(), rb_str_associate(), rb_str_buf_append(), rb_str_bytesize(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_comparable(), rb_str_concat(), rb_str_conv_enc_opts(), rb_str_count(), rb_str_crypt(), rb_str_delete_bang(), rb_str_drop_bytes(), rb_str_dump(), rb_str_each_byte_size(), rb_str_ellipsize(), rb_str_empty(), rb_str_end_with(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_lines(), rb_str_fill_terminator(), rb_str_format(), rb_str_getbyte(), rb_str_hash(), rb_str_hash_cmp(), rb_str_index(), rb_str_justify(), rb_str_lstrip_bang(), rb_str_modify_expand(), rb_str_new_frozen(), rb_str_partition(), rb_str_plus(), rb_str_quote_unprintable(), rb_str_resize(), rb_str_resurrect(), rb_str_reverse(), rb_str_reverse_bang(), rb_str_rindex(), rb_str_rpartition(), rb_str_rstrip_bang(), rb_str_scan(), rb_str_scrub(), rb_str_setbyte(), rb_str_shared_replace(), rb_str_splice_0(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_sub_bang(), rb_str_subpos(), rb_str_subseq(), rb_str_succ(), rb_str_sum(), rb_str_symname_p(), rb_str_symname_type(), rb_str_times(), rb_str_to_dbl(), rb_str_to_inum(), rb_str_upto(), rb_string_value_cstr(), rb_w32_conv_from_wstr(), rb_w32_write_console(), rb_write_error_str(), rb_zstream_avail_in(), readline_attempted_completion_function(), realpath_rec(), recvfrom_blocking(), rscheck(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), rsock_send_blocking(), rsock_sendto_blocking(), rsock_syserr_fail_path(), rsock_syserr_fail_raddrinfo_or_sockaddr(), scalar(), scan_once(), set_state_ivars(), setup_narg(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_unpack_sockaddr_in(), sockopt_bool(), sockopt_byte(), sockopt_int(), sockopt_linger(), str_buf_cat(), str_byte_aref(), str_byte_substr(), str_end_with_asciichar(), str_eql(), str_gsub(), str_make_independent_expand(), str_mod_check(), str_new4(), str_replace(), str_replace_shared_without_enc(), str_rindex(), str_shrink(), str_strlen(), str_transcode0(), string_to_c(), string_to_c_strict(), string_to_r(), string_to_r_strict(), strio_each_byte(), strio_each_codepoint(), strio_eof(), strio_extend(), strio_getbyte(), strio_getc(), strio_getline(), strio_read(), strio_seek(), strio_size(), strio_substr(), strio_truncate(), strio_ungetbyte(), strio_ungetc(), strio_write(), sym_inspect(), tcl2rb_num_or_nil(), time_mload(), time_strftime(), tkstr_to_str(), tr_setup_table(), tr_trans(), transcode_loop(), trap_handler(), utc_offset_arg(), w_nbyte(), w_object(), w_symbol(), zstream_append_buffer(), zstream_buffer_ungetbyte(), zstream_buffer_ungets(), zstream_discard_input(), zstream_expand_buffer(), zstream_expand_buffer_without_gvl(), zstream_run(), zstream_shift_buffer(), and zstream_sync().
| #define RSTRING_LENINT | ( | str | ) | rb_long2int(RSTRING_LEN(str)) |
Definition at line 853 of file ruby.h.
Referenced by fgdbm_has_key(), fgdbm_store(), fsdbm_delete(), fsdbm_delete_if(), fsdbm_fetch(), fsdbm_has_key(), fsdbm_has_value(), fsdbm_key(), fsdbm_store(), ip_eval(), ip_set_exc_message(), lib_conv_listelement(), lib_fromUTF8_core(), lib_merge_tklist(), lib_toUTF8_core(), lib_UTF_backslash_core(), obj_to_asn1bstr(), obj_to_asn1derstr(), obj_to_asn1str(), ole_vstr2wc(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_bn_initialize(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_dsa_export(), ossl_dsa_sign(), ossl_dsa_verify(), ossl_hmac_initialize(), ossl_hmac_s_digest(), ossl_hmac_s_hexdigest(), ossl_obj2bio(), ossl_pem_passwd_cb(), ossl_pkey_verify(), ossl_rand_add(), ossl_rand_seed(), ossl_rsa_export(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_spki_set_challenge(), ossl_ssl_read_internal(), ossl_ssl_write_internal(), ossl_sslctx_setup(), ossl_x509ext_set_value(), ossl_x509name_add_entry(), proc_setproctitle(), rb_deflate_set_dictionary(), rb_inflate_set_dictionary(), rb_nkf_convert(), and rb_nkf_guess().
| #define RSTRING_NOEMBED FL_USER1 |
| #define RSTRING_PTR | ( | str | ) |
| #define RSTRING_PTR | ( | str | ) |
| #define RSTRING_PTR | ( | str | ) |
Value:
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RSTRING(str)->as.ary : \ RSTRING(str)->as.heap.ptr)
Definition at line 845 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), append_fspath(), appendline(), apply2files(), argf_inplace_mode_set(), argf_next_argv(), big2str_alloc(), big2str_base_poweroftwo(), big2str_generic(), BigDecimal_dump(), BigDecimal_inspect(), BigDecimal_load(), BigDecimal_new(), BigDecimal_split(), BigDecimal_to_f(), BigDecimal_to_s(), bsock_setsockopt(), bubblebabble_str_new(), call_original_exit(), cbsubst_get_subst_key(), cbsubst_scan_args(), cbsubst_table_setup(), check_autoload_required(), check_pipe_command(), chopped_length(), constant_arg(), control_frame_dump(), convert_encoding(), convert_UTF8_to_JSON(), convert_UTF8_to_JSON_ASCII(), copy_home_path(), copy_stream_body(), copy_stream_fallback_body(), cParser_initialize(), create_dummy_encoding_for_tk_core(), create_encoding_table_core(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), deflate_run(), dir_chdir(), dir_initialize(), dir_s_mkdir(), dir_s_rmdir(), do_checksum(), do_deflate(), do_inflate(), do_opendir(), dump_append_string_value(), econv_insert_output(), econv_primitive_convert(), econv_putback(), econv_set_replacement(), encoding_table_get_name_core(), env_aset(), env_assoc(), env_delete(), env_fetch(), env_has_key(), env_has_value(), env_key(), env_rassoc(), env_shift(), error_print(), etc_getgrnam(), etc_getpwnam(), expand_include_path(), f_format(), fdbm_delete(), fdbm_delete_if(), fdbm_fetch(), fdbm_has_key(), fdbm_has_value(), fdbm_initialize(), fdbm_key(), fdbm_store(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_initialize(), fgdbm_key(), fgdbm_store(), file_s_fnmatch(), flo_to_s(), fnmatch_brace(), fsdbm_delete(), fsdbm_delete_if(), fsdbm_fetch(), fsdbm_has_key(), fsdbm_has_value(), fsdbm_initialize(), fsdbm_key(), fsdbm_store(), fstr_update_callback(), gc_info_decode(), gc_stat_internal(), get_actual_encoding(), GetVpValueWithPrec(), gzfile_calc_crc(), gzfile_check_footer(), gzfile_getc(), gzfile_read_header(), gzfile_read_more(), gzfile_read_raw_until_zero(), gzfile_readpartial(), gzreader_charboundary(), gzreader_gets(), gzreader_skip_linebreaks(), hexencode_str_new(), hist_push(), hist_push_method(), host_str(), ignore_closed_stream(), inflate_run(), Init_tcltklib(), inspect_errno(), inspect_i(), inspect_int(), inspect_obj(), inspect_struct(), inspect_timeval_as_interval(), io_encoding_set(), io_fread(), io_fwrite(), io_getc(), io_getpartial(), io_ungetbyte(), io_write_nonblock(), ip_cancel_eval_core(), ip_eval(), ip_get_variable2_core(), ip_make_menu_embeddable_core(), ip_set_exc_message(), ip_set_variable2_core(), ip_unset_variable2_core(), is_popen_fork(), is_private_local_id(), isArrayOrObject(), iseq_build_from_ary_body(), iseq_free(), iseq_inspect(), iseq_mark(), iseq_set_sequence(), iseq_set_sequence_stackcaching(), lex_get_str(), lib_conv_listelement(), lib_fromUTF8_core(), lib_merge_tklist(), lib_set_system_encoding(), lib_split_tklist_core(), lib_toUTF8_core(), lib_UTF_backslash_core(), load_encoding(), load_ext(), load_file_internal(), load_transcoder_entry(), location_format(), make_errno_exc_str(), make_inspectname(), month_arg(), moreswitches(), mSyslog_open(), must_not_be_anonymous(), name_err_mesg_to_str(), newobj_i(), obj_to_asn1bstr(), obj_to_asn1derstr(), obj_to_asn1obj(), obj_to_asn1str(), oldbt_bugreport(), oldbt_print(), ole_alloc_vstr(), ole_val2olevariantdata(), ole_vstr2wc(), ole_wc2vstr(), opobj_inspect(), opt_enc_index(), ossl_asn1_decode(), ossl_asn1_decode_all(), ossl_asn1_traverse(), ossl_asn1cons_to_der(), ossl_asn1data_to_der(), ossl_asn1obj_s_register(), ossl_bn_initialize(), ossl_bn_to_s(), ossl_buf2str(), ossl_cipher_final(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_set_iv(), ossl_cipher_set_key(), ossl_cipher_update(), ossl_dh_compute_key(), ossl_dh_to_der(), ossl_digest_finish(), ossl_digest_update(), ossl_dsa_export(), ossl_dsa_sign(), ossl_dsa_to_der(), ossl_dsa_verify(), ossl_hmac_initialize(), ossl_hmac_s_digest(), ossl_hmac_s_hexdigest(), ossl_hmac_update(), ossl_obj2bio(), ossl_pem_passwd_cb(), ossl_pkcs12_to_der(), ossl_pkcs7_to_der(), ossl_pkey_new_from_file(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_rand_add(), ossl_rand_bytes(), ossl_rand_egd(), ossl_rand_egd_bytes(), ossl_rand_load_file(), ossl_rand_pseudo_bytes(), ossl_rand_seed(), ossl_rand_write_file(), ossl_rsa_export(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_to_der(), ossl_spki_initialize(), ossl_spki_set_challenge(), ossl_spki_to_der(), ossl_ssl_read_internal(), ossl_ssl_session_to_der(), ossl_ssl_write_internal(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_x509_new_from_file(), ossl_x509_to_der(), ossl_x509attr_get_value(), ossl_x509attr_initialize(), ossl_x509attr_to_der(), ossl_x509ext_initialize(), ossl_x509ext_set_value(), ossl_x509ext_to_der(), ossl_x509extfactory_create_ext(), ossl_x509name_add_entry(), ossl_x509name_initialize(), ossl_x509name_to_der(), ossl_x509req_to_der(), ossl_x509store_add_file(), ossl_x509store_add_path(), pack_unpack(), parse(), parser_here_document(), parser_heredoc_restore(), parser_magic_comment(), parser_nextc(), path_check_0(), path_cmp(), path_initialize(), path_sub_ext(), pipe_open(), port_str(), proc_exec_cmd(), proc_exec_sh(), proc_setproctitle(), process_options(), pruby_eval(), pruby_str_to_var(), push_glob(), qpencode(), r_byte(), r_byte1_buffered(), r_bytes0(), r_bytes1_buffered(), r_object0(), range_include(), rb_alloc_tmp_buffer(), rb_ary_permutation(), rb_ary_product(), rb_ary_repeated_combination(), rb_ary_repeated_permutation(), rb_big2str0(), rb_check_argv(), rb_check_id(), rb_class2name(), rb_const_set(), rb_construct_expanded_load_path(), rb_deflate_set_dictionary(), rb_digest_base_finish(), rb_digest_base_update(), rb_econv_append(), rb_econv_open_opts(), rb_econv_substr_append(), rb_enc_cr_str_copy_for_substr(), rb_enc_str_coderange(), rb_enc_uint_chr(), rb_enc_vsprintf(), rb_exec(), rb_exec_async_signal_safe(), rb_exec_fillarg(), rb_execarg_fixup(), rb_execarg_run_options(), rb_f_getenv(), rb_f_kill(), rb_f_load(), rb_feature_p(), rb_feature_provided(), rb_file_chmod(), rb_file_chown(), rb_file_expand_path_internal(), rb_file_identical_p(), rb_file_join(), rb_file_lstat(), rb_file_s_basename(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_gdbm_delete(), rb_gdbm_fetch2(), rb_gdbm_nextkey(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_gzreader_getbyte(), rb_gzreader_ungetc(), rb_gzwriter_write(), rb_home_dir_of(), rb_id2name(), rb_inflate_set_dictionary(), rb_inflate_sync(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_reopen(), rb_io_sysread(), rb_io_syswrite(), rb_io_ungetc(), rb_ioctl(), rb_iseq_disasm(), rb_iseq_disasm_insn(), rb_load_file(), rb_method_entry_make(), rb_mod_autoload(), rb_mod_remove_method(), rb_nkf_convert(), rb_nkf_guess(), rb_nkf_putchar(), rb_num2char_inline(), rb_obj_respond_to(), rb_path_to_class(), rb_proc_exec_n(), rb_profile_frame_full_label(), rb_push_glob(), rb_random_bytes(), rb_reg_adjust_startpos(), rb_reg_check_preprocess(), rb_reg_error_desc(), rb_reg_initialize(), rb_reg_initialize_str(), rb_reg_prepare_re(), rb_reg_preprocess_dregexp(), rb_reg_quote(), rb_reg_regcomp(), rb_reg_regsub(), rb_reg_search(), rb_reg_to_s(), rb_require_safe(), rb_sourcefile(), rb_spawn_process(), rb_str_append(), rb_str_buf_append(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_clear(), rb_str_concat(), rb_str_conv_enc_opts(), rb_str_count(), rb_str_crypt(), rb_str_delete_bang(), rb_str_downcase_bang(), rb_str_drop_bytes(), rb_str_dump(), rb_str_ellipsize(), rb_str_end_with(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_fill_terminator(), rb_str_format(), rb_str_getbyte(), rb_str_hash(), rb_str_hash_cmp(), rb_str_index(), rb_str_index_m(), rb_str_inspect(), rb_str_justify(), rb_str_lstrip_bang(), rb_str_new_frozen(), rb_str_offset(), rb_str_ord(), rb_str_plus(), rb_str_quote_unprintable(), rb_str_reverse(), rb_str_reverse_bang(), rb_str_rindex(), rb_str_rindex_m(), rb_str_rstrip_bang(), rb_str_scan(), rb_str_scrub(), rb_str_set_len(), rb_str_setbyte(), rb_str_shared_replace(), rb_str_splice(), rb_str_splice_0(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_sub_bang(), rb_str_sublen(), rb_str_subpos(), rb_str_subseq(), rb_str_succ(), rb_str_sum(), rb_str_swapcase_bang(), rb_str_symname_p(), rb_str_times(), rb_str_to_dbl(), rb_str_to_inum(), rb_str_upcase_bang(), rb_str_upto(), rb_str_vcatf(), rb_strftime_with_timespec(), rb_string_value_cstr(), rb_string_value_ptr(), rb_thread_current_status(), rb_tmp_class_path(), rb_vm_bugreport(), rb_w32_conv_from_wchar(), rb_w32_conv_from_wstr(), rb_w32_write_console(), rb_write_error_str(), read_all(), readline_attempted_completion_function(), readline_readline(), realpath_rec(), recvfrom_blocking(), register_symid_str(), rscheck(), rsock_bsock_send(), rsock_s_recvfrom_nonblock(), rsock_send_blocking(), rsock_sendto_blocking(), rsock_sockaddr_string_value_ptr(), rsock_syserr_fail_path(), rsock_syserr_fail_raddrinfo_or_sockaddr(), ruby__sfvwrite(), ruby_init_loadpath_safe(), ruby_open_tk_dll(), ruby_setenv(), ruby_tcl_create_ip_and_stubs_init(), ruby_tcltk_stubs(), run_exec_dup2(), run_exec_open(), scan_once(), search_required(), set_file_encoding(), setup_narg(), sock_bind(), sock_connect(), sock_connect_nonblock(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sockopt_bool(), sockopt_byte(), sockopt_int(), sockopt_linger(), str_buf_cat(), str_byte_substr(), str_encode_associate(), str_end_with_asciichar(), str_eql(), str_fill_term(), str_gsub(), str_make_independent_expand(), str_mod_check(), str_new0(), str_new4(), str_replace(), str_replace_shared_without_enc(), str_rindex(), str_strlen(), str_transcode0(), str_transcoding_resize(), string_to_c(), string_to_c_strict(), string_to_r(), string_to_r_strict(), strio_each_byte(), strio_each_codepoint(), strio_extend(), strio_getbyte(), strio_getc(), strio_getline(), strio_read(), strio_substr(), strio_truncate(), strio_ungetbyte(), strio_ungetc(), strio_write(), sym_inspect(), syslog_write(), sysopen_func(), tcl2rb_bool(), tcl2rb_num_or_str(), tcl2rb_string(), tcl_protect_core(), thread_initialize(), time_mload(), time_strftime(), tk_uninstall_cmd(), tkstr_invalid_numstr(), tkstr_to_float(), tkstr_to_int(), tkstr_to_number(), tkstr_to_str(), tmx_m_of(), tr_setup_table(), tr_trans(), transcode_loop(), trap_handler(), update_char_offset(), utc_offset_arg(), vm_stat(), VpAlloc(), w_object(), w_symbol(), when_vals(), wmap_inspect(), wmap_inspect_i(), yycompile(), zstream_append_buffer(), zstream_buffer_ungetbyte(), zstream_buffer_ungets(), zstream_discard_input(), zstream_expand_buffer(), zstream_expand_buffer_into(), zstream_expand_buffer_without_gvl(), zstream_run(), zstream_shift_buffer(), and zstream_sync().
| #define RSTRUCT | ( | obj | ) | (R_CAST(RStruct)(obj)) |
| #define RSTRUCT_CONST_PTR | ( | st | ) |
| #define RSTRUCT_CONST_PTR | ( | st | ) |
| #define RSTRUCT_CONST_PTR | ( | st | ) |
Value:
((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \ RSTRUCT(st)->as.ary : \ RSTRUCT(st)->as.heap.ptr)
Definition at line 1064 of file ruby.h.
Referenced by rb_struct_hash(), rb_struct_initialize_m(), rb_struct_to_a(), recursive_eql(), and recursive_equal().
| #define RSTRUCT_EMBED_LEN_MASK (FL_USER2|FL_USER1) |
Definition at line 1056 of file ruby.h.
Referenced by obj_free(), obj_memsize_of(), and struct_alloc().
| #define RSTRUCT_EMBED_LEN_MAX 3 |
| #define RSTRUCT_EMBED_LEN_SHIFT (FL_USHIFT+1) |
| #define RSTRUCT_GET | ( | st, | |||
| idx | ) | (RSTRUCT_CONST_PTR(st)[idx]) |
| #define RSTRUCT_GET | ( | st, | |||
| idx | ) | (RSTRUCT_CONST_PTR(st)[idx]) |
| #define RSTRUCT_GET | ( | st, | |||
| idx | ) | (RSTRUCT_CONST_PTR(st)[idx]) |
Definition at line 1071 of file ruby.h.
Referenced by get_array(), inspect_struct(), rb_struct_aref(), rb_struct_aref_id(), rb_struct_each(), rb_struct_each_pair(), rb_struct_getmember(), rb_struct_init_copy(), rb_struct_ref0(), rb_struct_ref1(), rb_struct_ref2(), rb_struct_ref3(), rb_struct_ref4(), rb_struct_ref5(), rb_struct_ref6(), rb_struct_ref7(), rb_struct_ref8(), rb_struct_ref9(), rb_struct_select(), rb_struct_to_h(), and w_object().
| #define RSTRUCT_LEN | ( | st | ) |
Value:
((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \ (long)((RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \ (RSTRUCT_EMBED_LEN_MASK >> RSTRUCT_EMBED_LEN_SHIFT)) : \ RSTRUCT(st)->as.heap.len)
| #define RSTRUCT_LEN | ( | st | ) |
Value:
((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \ (long)((RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \ (RSTRUCT_EMBED_LEN_MASK >> RSTRUCT_EMBED_LEN_SHIFT)) : \ RSTRUCT(st)->as.heap.len)
| #define RSTRUCT_LEN | ( | st | ) |
Value:
((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \ (long)((RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \ (RSTRUCT_EMBED_LEN_MASK >> RSTRUCT_EMBED_LEN_SHIFT)) : \ RSTRUCT(st)->as.heap.len)
Definition at line 1058 of file ruby.h.
Referenced by inspect_struct(), obj_memsize_of(), rb_struct_aref(), rb_struct_aset(), rb_struct_aset_id(), rb_struct_each(), rb_struct_each_pair(), rb_struct_eql(), rb_struct_equal(), rb_struct_hash(), rb_struct_init_copy(), rb_struct_members(), rb_struct_select(), rb_struct_size(), rb_struct_to_a(), rb_struct_to_h(), rb_struct_values_at(), recursive_eql(), recursive_equal(), and w_object().
| #define RSTRUCT_PTR | ( | st | ) | ((VALUE *)RSTRUCT_CONST_PTR(RGENGC_WB_PROTECTED_STRUCT ? OBJ_WB_UNPROTECT((VALUE)st) : (VALUE)st)) |
| #define RSTRUCT_PTR | ( | st | ) | ((VALUE *)RSTRUCT_CONST_PTR(RGENGC_WB_PROTECTED_STRUCT ? OBJ_WB_UNPROTECT((VALUE)st) : (VALUE)st)) |
| #define RSTRUCT_PTR | ( | st | ) | ((VALUE *)RSTRUCT_CONST_PTR(RGENGC_WB_PROTECTED_STRUCT ? OBJ_WB_UNPROTECT((VALUE)st) : (VALUE)st)) |
| #define RSTRUCT_SET | ( | st, | |||
| idx, | |||||
| v | ) | RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v)) |
| #define RSTRUCT_SET | ( | st, | |||
| idx, | |||||
| v | ) | RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v)) |
| #define RSTRUCT_SET | ( | st, | |||
| idx, | |||||
| v | ) | RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v)) |
Definition at line 1070 of file ruby.h.
Referenced by rb_condvar_initialize(), rb_queue_initialize(), rb_struct_aset(), rb_struct_aset_id(), rb_struct_init_copy(), rb_struct_initialize_m(), rb_struct_set(), rb_szqueue_initialize(), and rb_szqueue_max_set().
| #define RTEST | ( | v | ) | !(((VALUE)(v) & ~Qnil) == 0) |
Definition at line 437 of file ruby.h.
Referenced by argf_eof(), argf_external_encoding(), argf_inplace_mode_set(), argf_internal_encoding(), argf_write_io(), ary2list(), ary2list2(), ary_reject(), ary_reject_bang(), assoc_cmp(), assoc_i(), basic_obj_respond_to(), BigDecimal_power(), BigDecimalCmp(), block_append_gen(), bsock_do_not_rev_lookup_set(), bsock_do_not_reverse_lookup_set(), call_queue_handler(), CC_DUP_WARN(), check_exec_fds_1(), check_funcall_respond_to(), class_instance_method_list(), cleanup_iseq_build(), clear_coverage(), cmp_between(), compile_err_append(), cond0(), console_set_echo(), count_iter_i(), coverage(), cParser_initialize(), create_dummy_encoding_for_tk_core(), cState_aref(), cState_aset(), cState_configure(), cState_quirks_mode_set(), DEFINE_ENUMFUNCS(), delete_if_i(), drop_while_i(), dump_object(), dump_output(), econv_opts(), econv_primitive_convert(), encoding_table_get_name_core(), encoding_table_get_obj_core(), env_reject_bang(), env_select(), env_select_bang(), eq(), eval_queue_handler(), eval_string_with_cref(), extract_binmode(), false_or(), false_xor(), fdbm_delete_if(), fdbm_select(), fgdbm_delete_if(), fgdbm_each_key(), fgdbm_each_pair(), fgdbm_each_value(), fgdbm_has_value(), fgdbm_invert(), fgdbm_key(), fgdbm_keys(), fgdbm_select(), fgdbm_set_fastmode(), fgdbm_set_syncmode(), fgdbm_to_a(), fgdbm_to_hash(), find_all_i(), find_i(), find_index_iter_i(), flo_cmp(), fsdbm_delete_if(), fsdbm_select(), gc_start_internal(), gc_stress_set(), get_envparam_double(), get_envparam_int(), get_eval_string_core(), GetBNPtr(), grep_i(), grep_iter_i(), initialize_params(), int_dotimes(), int_dotimes_size(), int_round_0(), invoke_queue_handler(), io_close(), io_reopen(), ip_allow_ruby_exit_set(), ip_create_slave_core(), ip_rbVwaitCommand(), is_integer_p(), is_negative(), is_one(), is_zero(), iseq_location_setup(), JSON_parse_object(), JSON_parse_string(), keep_if_i(), lazy_drop_while_func(), lazy_grep_func(), lazy_grep_iter(), lazy_reject_func(), lazy_select_func(), lazy_take_while_func(), lib_eventloop_core(), lib_eventloop_ensure(), lib_eventloop_launcher(), lib_evloop_abort_on_exc_set(), lib_mainloop(), lib_mainloop_watchdog(), lib_thread_callback(), lib_watchdog_core(), load_lock(), local_push_gen(), marshal_load(), match_i(), mnew_from_me(), negative_int_p(), newobj_i(), num_nonzero_p(), num_step(), obj_respond_to(), obj_to_asn1bool(), ossl_bn_coerce(), ossl_bn_initialize(), ossl_client_cert_cb(), ossl_fips_mode_set(), ossl_ssl_close(), ossl_sslctx_setup(), ossl_tmp_dh_callback(), ossl_x509ext_set_critical(), ossl_x509extfactory_create_ext(), parse(), partition_i(), positive_int_p(), prepare_iseq_build(), pruby_get_instance(), pruby_unregister_instance(), pty_check(), queue_pop_should_block(), r_object0(), racc_cparse(), racc_yyparse(), random_equal(), range_initialize(), range_step(), rassoc_i(), rb_ary_count(), rb_ary_drop_while(), rb_ary_index(), rb_ary_rindex(), rb_ary_select(), rb_ary_select_bang(), rb_ary_take_while(), rb_autoload_load(), rb_class_of(), rb_cmpint(), rb_compile_warning(), rb_const_get_0(), rb_coverage_result(), rb_coverage_start(), rb_cvar_get(), rb_cvar_set(), rb_dlptr_s_to_ptr(), rb_econv_has_convpath_p(), rb_enumeratorize_with_size(), rb_eql(), rb_equal(), rb_execarg_addopt(), rb_f_load(), rb_fiddle_ptr_s_to_ptr(), rb_file_exists_p(), rb_gzfile_set_sync(), rb_hash_reject(), rb_io_set_autoclose(), rb_io_set_write_io(), rb_iseq_add_mark_object(), rb_method_definition_eq(), rb_method_entry_make(), rb_mod_attr(), rb_mod_class_variables(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_constants(), rb_mod_define_method(), rb_obj_methods(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_respond_to(), rb_obj_singleton_methods(), rb_parser_set_yydebug(), rb_range_values(), rb_reg_initialize_m(), rb_str_format(), rb_str_upto(), rb_struct_select(), rb_sys_warning(), rb_thread_abort_exc_set(), rb_thread_s_abort_exc_set(), rb_thread_wakeup(), rb_tracepoint_new(), rb_type(), rb_warning(), readline_attempted_completion_function(), readline_readline(), reject_i(), ruby_cleanup(), ruby_num_interval_step_size(), save_env(), select_i(), set_eventloop_window_mode(), set_relation(), setup_exception(), slicebefore_ii(), sockopt_s_bool(), sockopt_s_linger(), start_document(), strscan_scan_full(), strscan_search_full(), take_while_i(), thread_initialize(), thread_start_func_2(), time_arg(), tk_conv_args(), tk_hash_kv(), true_and(), true_xor(), UNKNOWN_ESC_WARN(), verbose_setter(), void_expr_gen(), void_stmts_gen(), wakeup_first_thread(), watchdog_evloop_launcher(), weq(), and yycompile0().
| #define RTYPEDDATA | ( | obj | ) | (R_CAST(RTypedData)(obj)) |
| #define RTYPEDDATA | ( | obj | ) | (R_CAST(RTypedData)(obj)) |
| #define RTYPEDDATA | ( | obj | ) | (R_CAST(RTypedData)(obj)) |
| #define RTYPEDDATA_DATA | ( | v | ) | (RTYPEDDATA(v)->data) |
| #define RTYPEDDATA_P | ( | v | ) | (RTYPEDDATA(v)->typed_flag == 1) |
Definition at line 994 of file ruby.h.
Referenced by dump_object(), obj_free(), rb_check_type(), rb_check_typeddata(), rb_objspace_call_finalizer(), rb_objspace_data_type_memsize(), rb_objspace_data_type_name(), rb_typeddata_is_kind_of(), and run_final().
| #define RTYPEDDATA_TYPE | ( | v | ) | (RTYPEDDATA(v)->type) |
Definition at line 995 of file ruby.h.
Referenced by dump_object(), rb_check_typeddata(), rb_objspace_data_type_memsize(), rb_objspace_data_type_name(), rb_typeddata_is_kind_of(), and run_final().
| #define ruby_debug (*rb_ruby_debug_ptr()) |
Definition at line 1476 of file ruby.h.
Referenced by ip_finalize(), load_encoding(), proc_options(), rb_str_format(), ruby_prog_init(), setup_exception(), and thread_start_func_2().
| #define RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
| #define RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
| #define RUBY_DEFAULT_FREE ((RUBY_DATA_FUNC)-1) |
| #define RUBY_EVENT_ALL 0x00ff |
Definition at line 1715 of file ruby.h.
Referenced by set_trace_func(), and thread_add_trace_func().
| #define RUBY_EVENT_B_CALL 0x0100 |
Definition at line 1718 of file ruby.h.
Referenced by rb_iseq_compile_node(), and symbol2event_flag().
| #define RUBY_EVENT_B_RETURN 0x0200 |
Definition at line 1719 of file ruby.h.
Referenced by rb_iseq_compile_node(), rb_tracearg_return_value(), symbol2event_flag(), and vm_exec().
| #define RUBY_EVENT_C_CALL 0x0020 |
Definition at line 1712 of file ruby.h.
Referenced by get_event_name(), symbol2event_flag(), tracepoint_inspect(), vm_call0_cfunc_with_frame(), and vm_call_cfunc_with_frame().
| #define RUBY_EVENT_C_RETURN 0x0040 |
Definition at line 1713 of file ruby.h.
Referenced by get_event_name(), rb_raise_jump(), rb_tracearg_return_value(), rb_vm_pop_cfunc_frame(), symbol2event_flag(), tracepoint_inspect(), vm_call0_cfunc_with_frame(), vm_call_cfunc_with_frame(), and vm_exec().
| #define RUBY_EVENT_CALL 0x0008 |
Definition at line 1710 of file ruby.h.
Referenced by get_event_name(), invoke_block_from_c(), rb_iseq_compile_node(), symbol2event_flag(), and tracepoint_inspect().
| #define RUBY_EVENT_CLASS 0x0002 |
| #define RUBY_EVENT_COVERAGE 0x020000 |
| #define RUBY_EVENT_END 0x0004 |
| #define RUBY_EVENT_LINE 0x0001 |
Definition at line 1707 of file ruby.h.
Referenced by get_event_id(), get_event_name(), iseq_compile_each(), rb_iseq_line_trace_each(), and tracepoint_inspect().
| #define RUBY_EVENT_RAISE 0x0080 |
Definition at line 1714 of file ruby.h.
Referenced by get_event_name(), rb_tracearg_raised_exception(), and setup_exception().
| #define RUBY_EVENT_RETURN 0x0010 |
Definition at line 1711 of file ruby.h.
Referenced by get_event_name(), invoke_block_from_c(), rb_iseq_compile_node(), rb_tracearg_return_value(), symbol2event_flag(), and tracepoint_inspect().
| #define RUBY_EVENT_SPECIFIED_LINE 0x010000 |
Definition at line 1725 of file ruby.h.
Referenced by get_event_id(), line_trace_specify(), rb_iseq_line_trace_each(), and tracepoint_inspect().
| #define RUBY_EVENT_THREAD_BEGIN 0x0400 |
Definition at line 1720 of file ruby.h.
Referenced by thread_start_func_2(), and tracepoint_inspect().
| #define RUBY_EVENT_THREAD_END 0x0800 |
Definition at line 1721 of file ruby.h.
Referenced by ole_initialize(), thread_start_func_2(), and tracepoint_inspect().
| #define RUBY_EVENT_TRACEPOINT_ALL 0xffff |
| #define RUBY_INTERNAL_EVENT_FREEOBJ 0x200000 |
Definition at line 1733 of file ruby.h.
Referenced by obj_free(), rb_tracearg_object(), and trace_object_allocations_start().
| #define RUBY_INTERNAL_EVENT_GC_END_MARK 0x800000 |
| #define RUBY_INTERNAL_EVENT_GC_END_SWEEP 0x1000000 |
| #define RUBY_INTERNAL_EVENT_GC_START 0x400000 |
| #define RUBY_INTERNAL_EVENT_MASK 0xfffe0000 |
Definition at line 1738 of file ruby.h.
Referenced by alloc_event_hook(), and rb_threadptr_exec_event_hooks_orig().
| #define RUBY_INTERNAL_EVENT_NEWOBJ 0x100000 |
Definition at line 1732 of file ruby.h.
Referenced by newobj_of(), rb_tracearg_object(), and trace_object_allocations_start().
| #define RUBY_INTERNAL_EVENT_OBJSPACE_MASK 0x1f00000 |
| #define RUBY_INTERNAL_EVENT_SWITCH 0x040000 |
| #define RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
| #define RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
| #define RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
| #define RUBY_TYPED_FREE_IMMEDIATELY 1 |
| #define ruby_verbose (*rb_ruby_verbose_ptr()) |
Definition at line 1475 of file ruby.h.
Referenced by block_append_gen(), CC_DUP_WARN(), cond0(), get_envparam_double(), get_envparam_int(), ip_finalize(), load_encoding(), load_lock(), local_push_gen(), marshal_load(), ossl_ssl_get_state(), proc_options(), rb_compile_warn(), rb_compile_warning(), rb_cvar_get(), rb_cvar_set(), rb_hash_reject(), rb_io_extract_encoding_option(), rb_method_entry_make(), rb_obj_respond_to(), rb_reg_to_s(), rb_str_format(), rb_sys_warning(), rb_warn(), rb_warn_m(), rb_warning(), ruby_prog_init(), UNKNOWN_ESC_WARN(), void_expr_gen(), void_stmts_gen(), and yycompile0().
| #define SafeStringValue | ( | v | ) |
Value:
do {\ StringValue(v);\ rb_check_safe_obj(v);\ } while (0)
| #define SafeStringValue | ( | v | ) |
Value:
do {\ StringValue(v);\ rb_check_safe_obj(v);\ } while (0)
| #define SafeStringValue | ( | v | ) |
Value:
do {\ StringValue(v);\ rb_check_safe_obj(v);\ } while (0)
Definition at line 545 of file ruby.h.
Referenced by BigDecimal_load(), BigDecimal_to_s(), dir_s_home(), env_aset(), env_assoc(), env_delete(), env_fetch(), env_has_key(), env_key(), etc_getgrnam(), etc_getpwnam(), ev_advise(), eval_under(), fgdbm_initialize(), fole_initialize(), fole_method_help(), fole_s_connect(), folemethod_initialize(), foletype_initialize(), foletypelib_initialize(), GetVpValueWithPrec(), host_str(), mSyslog_open(), ossl_pem_passwd_cb0(), ossl_pkey_new_from_file(), ossl_rand_egd(), ossl_rand_egd_bytes(), ossl_rand_load_file(), ossl_rand_write_file(), ossl_x509_new_from_file(), ossl_x509store_add_file(), ossl_x509store_add_path(), port_str(), rb_check_argv(), rb_f_backquote(), rb_f_eval(), rb_f_getenv(), rb_io_extract_modeenc(), rb_io_s_popen(), rb_io_s_sysopen(), rb_io_ungetbyte(), rb_io_ungetc(), specific_eval(), strio_ungetbyte(), strio_ungetc(), and trap_handler().
| #define SIGNED_VALUE long |
Definition at line 90 of file ruby.h.
Referenced by AddExponent(), BigDecimal_add2(), BigDecimal_div2(), BigDecimal_DoDivmod(), BigDecimal_mult2(), BigDecimal_power(), BigDecimal_sub2(), BigDecimal_to_f(), BigDecimalCmp(), BigMath_s_exp(), BigMath_s_log(), GetAddSubPrec(), GetPositiveInt(), Init_bigdecimal(), int_round_0(), negative_int_p(), positive_int_p(), rb_big_pow(), rb_dlptr_cmp(), rb_fiddle_ptr_cmp(), rb_obj_id(), ruby_debug_print_value(), setup_narg(), VpCtoV(), VpDtoV(), VpMidRound(), VpNmlz(), VpNumOfChars(), VpPower(), VpSqrt(), and VpVtoD().
| #define SIZE_MAX ULONG_MAX |
Definition at line 274 of file ruby.h.
Referenced by allocate_converted_string(), integer_unpack_num_bdigits(), rb_absint_numwords(), rb_big_bit_length(), and validate_integer_pack_format().
| #define SIZEOF_VALUE SIZEOF_LONG |
Definition at line 91 of file ruby.h.
Referenced by rb_fix2str(), rb_memsearch(), rb_memsearch_ss(), and rb_uint2big().
| #define SIZET2NUM | ( | v | ) | ULONG2NUM(v) |
Definition at line 262 of file ruby.h.
Referenced by allocation_generation(), count_nodes(), count_objects_size(), gc_count(), gc_profile_record_get(), gc_stat(), Init_GC(), math_log(), math_log10(), math_log2(), memsize_of_all_m(), memsize_of_m(), os_obj_of(), rb_big_bit_length(), and rb_big_size().
| #define SPECIAL_CONST_P | ( | x | ) | (IMMEDIATE_P(x) || !RTEST(x)) |
Definition at line 1165 of file ruby.h.
Referenced by cdhash_cmp(), cdhash_hash(), class_or_module_required(), enc_capable(), eval_under(), invoke_block_from_c(), iseq_add_mark_object(), iseq_add_mark_object_compile_time(), loaded_features_index_clear_i(), newobj_of(), obj_memsize_of(), opobj_inspect(), opt_eq_func(), rb_any_hash(), rb_cmperr(), rb_enc_associate_index(), rb_enc_get_index(), rb_frozen_class_p(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_ivar_set(), rb_obj_freeze(), rb_obj_frozen_p(), rb_obj_hide(), rb_obj_id(), rb_obj_instance_eval(), rb_obj_instance_exec(), rb_obj_remove_instance_variable(), rb_obj_reveal(), rb_obj_written(), rb_singleton_class_get(), rb_special_const_p(), rb_str_aref(), rb_str_aset(), rb_str_index_m(), rb_str_match(), rb_str_rindex_m(), singleton_class_of(), vm_rewrite_ep_in_errinfo(), and wmap_inspect_i().
| #define SSIZE_MAX LONG_MAX |
| #define SSIZET2NUM | ( | v | ) | LONG2NUM(v) |
Definition at line 263 of file ruby.h.
Referenced by BigMath_s_exp(), BigMath_s_log(), and rmpd_power_by_big_decimal().
| #define STRCASECMP | ( | s1, | |||
| s2 | ) | (st_locale_insensitive_strcasecmp((s1), (s2))) |
| #define STRCASECMP | ( | s1, | |||
| s2 | ) | (st_locale_insensitive_strcasecmp((s1), (s2))) |
| #define STRCASECMP | ( | s1, | |||
| s2 | ) | (st_locale_insensitive_strcasecmp((s1), (s2))) |
Definition at line 1783 of file ruby.h.
Referenced by dln_find_1(), enc_register_at(), load_file_internal(), month_arg(), proc_exec_cmd(), rb_dlhandle_initialize(), rb_enc_aliases_enc_i(), rb_enc_register(), rb_fiddle_handle_initialize(), and rb_file_expand_path_internal().
| #define StringValue | ( | v | ) | rb_string_value(&(v)) |
Definition at line 539 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), argf_getpartial(), argf_inplace_mode_set(), argf_read(), bsock_setsockopt(), bubblebabble_str_new(), cParser_initialize(), create_dummy_encoding_for_tk_core(), do_checksum(), do_deflate(), do_inflate(), econv_args(), econv_convert(), econv_insert_output(), econv_primitive_convert(), econv_set_replacement(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_key(), fgdbm_store(), file_s_fnmatch(), get_loaded_features_index(), gzreader_gets(), hexencode_str_new(), io_setstrbuf(), ip_create_slave(), ip_eval(), ip_get_variable2(), ip_make_menu_embeddable_core(), ip_set_exc_message(), ip_set_variable2(), ip_unset_variable2(), join_der_i(), lib_conv_listelement(), lib_fromUTF8_core(), lib_split_tklist_core(), lib_toUTF8_core(), lib_UTF_backslash_core(), obj_to_asn1bstr(), obj_to_asn1obj(), obj_to_asn1str(), ossl_asn1_decode(), ossl_asn1_decode_all(), ossl_asn1_traverse(), ossl_asn1data_to_der(), ossl_asn1obj_s_register(), ossl_bn_initialize(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_set_iv(), ossl_cipher_set_key(), ossl_cipher_update(), ossl_digest_finish(), ossl_digest_initialize(), ossl_digest_update(), ossl_dsa_export(), ossl_dsa_sign(), ossl_dsa_verify(), ossl_hmac_initialize(), ossl_hmac_s_digest(), ossl_hmac_s_hexdigest(), ossl_hmac_update(), ossl_obj2bio(), ossl_pkey_sign(), ossl_pkey_verify(), ossl_rand_add(), ossl_rand_seed(), ossl_rsa_export(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_spki_initialize(), ossl_spki_set_challenge(), ossl_ssl_read_internal(), ossl_ssl_write_internal(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_to_der(), ossl_x509attr_initialize(), ossl_x509ext_initialize(), ossl_x509ext_set_value(), ossl_x509extfactory_create_ext(), ossl_x509name_add_entry(), ossl_x509name_initialize(), pack_unpack(), parse(), path_initialize(), path_sub_ext(), prepare_getline_args(), proc_setproctitle(), r_byte1_buffered(), r_bytes1(), r_bytes1_buffered(), rb_ary_join(), rb_deflate_s_deflate(), rb_deflate_set_dictionary(), rb_digest_base_update(), rb_digest_class_s_digest(), rb_digest_instance_digest_length(), rb_digest_instance_equal(), rb_econv_prepare_options(), rb_exc_new_str(), rb_f_abort(), rb_f_eval(), rb_file_join(), rb_file_s_basename(), rb_gdbm_delete(), rb_gdbm_fetch2(), rb_get_path_check_to_string(), rb_gzreader_ungetc(), rb_inflate_addstr(), rb_inflate_inflate(), rb_inflate_s_inflate(), rb_inflate_set_dictionary(), rb_inflate_sync(), rb_nkf_convert(), rb_nkf_guess(), rb_reg_check_preprocess(), rb_reg_preprocess_dregexp(), rb_reg_s_union(), rb_str_append(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_count(), rb_str_crypt(), rb_str_delete_bang(), rb_str_end_with(), rb_str_enumerate_lines(), rb_str_format(), rb_str_include(), rb_str_justify(), rb_str_plus(), rb_str_prepend(), rb_str_replace(), rb_str_splice(), rb_str_split(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_sub_bang(), rb_str_subpat_set(), rb_str_to_dbl(), rb_str_to_inum(), rb_str_upto(), rb_str_vcatf(), rsock_bsock_send(), rsock_sockaddr_string_value(), rsock_sockaddr_string_value_with_addrinfo(), rsock_sockopt_new(), rsock_syserr_fail_raddrinfo_or_sockaddr(), sock_s_gethostbyaddr(), sock_s_getservbyname(), sockopt_bool(), sockopt_byte(), sockopt_data(), sockopt_initialize(), sockopt_inspect(), sockopt_int(), specific_eval(), str_compat_and_valid(), str_find_encindex(), str_gsub(), strio_getline(), strio_init(), strio_read(), strio_set_string(), strscan_concat(), strscan_initialize(), strscan_set_string(), syserr_initialize(), time_mload(), time_strftime(), tk_uninstall_cmd(), tr_trans(), transcode_loop(), and udp_send().
| #define StringValueCStr | ( | v | ) | rb_string_value_cstr(&(v)) |
Definition at line 541 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_inspect(), addrinfo_ip_unpack(), argf_next_argv(), BigDecimal_new(), check_exec_env_i(), check_exec_redirect(), control_frame_dump(), create_dummy_encoding_for_tk_core(), create_encoding_table_core(), date_strftime_with_tmx(), dir_s_home(), dump_disasm_list(), econv_args(), enc_arg(), enc_replicate(), encoding_table_get_name_core(), features_index_add_single(), fill_envp_buf_i(), find_encoding(), generate_json_float(), GetDigestPtr(), id2encidx(), iseq_s_compile_file(), iseq_setup(), load_file_internal(), make_econv_exception(), make_inspectname(), match_backref_number(), ole_cp2encoding(), path_check_0(), pipe_open(), rb_check_argv(), rb_dlhandle_s_sym(), rb_dlhandle_sym(), rb_econv_init_by_convpath(), rb_econv_prepare_options(), rb_execarg_run_options(), rb_fiddle_handle_s_sym(), rb_fiddle_handle_sym(), rb_file_dirname(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_join(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_s_basename(), rb_file_s_extname(), rb_file_s_ftype(), rb_file_s_lstat(), rb_file_s_rename(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_get_path_check_convert(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_s_sysopen(), rb_iseq_compile_with_option(), rb_locale_encindex(), rb_stat(), rb_stat_init(), rb_str2big_karatsuba(), rb_str2big_normal(), rb_str2big_poweroftwo(), rb_str_to_inum(), rb_strftime_with_timespec(), rb_to_encoding_index(), rb_vmdebug_debug_print_post(), rb_vmdebug_proc_dump_raw(), readline_attempted_completion_function(), rsock_syserr_fail_host_port(), rsock_syserr_fail_path(), rsock_syserr_fail_raddrinfo(), ruby__sfvextra(), ruby_debug_print_value(), set_state_ivars(), sock_s_getservbyname(), sock_s_getservbyport(), str_find_encindex(), strio_init(), update_encoding_table(), and validate_zone_name().
| #define StringValuePtr | ( | v | ) | rb_string_value_ptr(&(v)) |
Definition at line 540 of file ruby.h.
Referenced by advice_arg_check(), alias(), alloc_invoke_arguments(), clsid_from_remote(), esignal_init(), ev_advise(), eval_string_with_cref(), features_index_add(), filename_completion_proc_call(), fole_initialize(), fole_method_help(), fole_query_interface(), fole_s_connect(), fole_s_show_help(), folemethod_initialize(), foletype_initialize(), foletypelib_initialize(), foletypelib_s_typelibs(), get_exception_sym2type(), GetBNPtr(), io_reader(), ip_create_slave_core(), ip_init(), lib_merge_tklist(), lib_set_system_encoding(), loaded_feature_path(), match_aref(), name_to_backref_number(), nucomp_rationalize(), nucomp_to_f(), nucomp_to_i(), nucomp_to_r(), ole_bind_obj(), ole_create_dcom(), ole_invoke(), ole_invoke2(), ole_method_sub(), ole_propertyput(), ole_search_handler_method(), ole_show_help(), oletypelib_search_registry2(), ossl_asn1obj_get_ln(), ossl_asn1obj_get_sn(), ossl_cipher_initialize(), ossl_dsa_initialize(), ossl_pkcs12_initialize(), ossl_pkcs12_s_create(), ossl_pkcs7_sym2typeid(), ossl_pkey_new_from_data(), ossl_rsa_initialize(), ossl_ssl_setup(), ossl_sslctx_set_ssl_version(), ossl_sslctx_setup(), ossl_x509attr_set_oid(), ossl_x509ext_set_oid(), path2class(), private_iv_get(), process_sflag(), rb_cmperr(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_dlptr_aset(), rb_dlptr_s_to_ptr(), rb_f_load(), rb_feature_p(), rb_fiddle_handle_initialize(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_s_to_ptr(), rb_file_expand_path_internal(), rb_mod_const_defined(), rb_mod_const_get(), rb_reg_initialize_m(), rb_require_safe(), rb_spawn_process(), rb_str_symname_type(), recursive_pop(), reg_open_vkey(), rescue_callback(), scalar(), set_max_block_time(), sock_s_getnameinfo(), start_document(), start_mapping(), start_sequence(), string_to_c_strict(), string_to_r_strict(), strscan_aref(), tcl_protect_core(), time_mload(), trap_signm(), typelib_file_from_clsid(), typelib_file_from_typelib(), username_completion_proc_call(), and vm_check_if_namespace().
| #define STRNCASECMP | ( | s1, | |||
| s2, | |||||
| n | ) | (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
| #define STRNCASECMP | ( | s1, | |||
| s2, | |||||
| n | ) | (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
| #define STRNCASECMP | ( | s1, | |||
| s2, | |||||
| n | ) | (st_locale_insensitive_strncasecmp((s1), (s2), (n))) |
Definition at line 1784 of file ruby.h.
Referenced by io_encname_bom_p(), parser_magic_comment(), ruby_init_loadpath_safe(), and set_file_encoding().
| #define STRTOUL | ( | str, | |||
| endptr, | |||||
| base | ) | (ruby_strtoul((str), (endptr), (base))) |
| #define STRTOUL | ( | str, | |||
| endptr, | |||||
| base | ) | (ruby_strtoul((str), (endptr), (base))) |
| #define STRTOUL | ( | str, | |||
| endptr, | |||||
| base | ) | (ruby_strtoul((str), (endptr), (base))) |
Definition at line 1787 of file ruby.h.
Referenced by pack_unpack(), rb_cstr_to_inum(), sock_s_getservbyname(), and str_is_number().
| #define SYM2ID | ( | x | ) | RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT) |
| #define SYM2ID | ( | x | ) | RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT) |
| #define SYM2ID | ( | x | ) | RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT) |
Definition at line 356 of file ruby.h.
Referenced by append_method(), cbsubst_get_subst_arg(), cbsubst_sym_to_subst(), cbsubst_table_setup(), check_exec_redirect(), check_exec_redirect_fd(), check_funcall_failed(), check_rounding_mode(), check_setter_id(), chunk_ii(), classname(), dump_object(), each_attr_def(), econv_opts(), esignal_init(), gc_info_decode(), gc_stat_internal(), get_eval_string_core(), inject_op_i(), inspect_struct(), int_ossl_asn1_decode0_cons(), iow_inspect(), iseq_build_from_ary_body(), iseq_compile_each(), iseq_load(), iseq_set_sequence(), m_core_define_method(), m_core_define_singleton_method(), m_core_set_method_alias(), m_core_set_variable_alias(), m_core_undef_method(), match_aref(), match_backref_number(), new_insn_send(), object_allocations_reporter_i(), ossl_asn1_initialize(), ossl_asn1_is_explicit(), ossl_asn1_tag_class(), ossl_asn1data_initialize(), ossl_pkcs7_sym2typeid(), ossl_sslctx_set_ssl_version(), r_object0(), rb_check_id(), rb_dlcfunc_initialize(), rb_dlcfunc_set_calltype(), rb_enc_get_index(), rb_execarg_addopt(), rb_f_kill(), rb_iseq_build_from_ary(), rb_mod_const_defined(), rb_mod_const_get(), rb_obj_id(), rb_struct_aref(), rb_struct_aref_id(), rb_struct_aset(), rb_struct_aset_id(), rb_struct_set(), rb_sym_to_s(), rb_to_id(), rsock_revlookup_flag(), setup_struct(), sockopt_inspect(), strscan_aref(), sym_capitalize(), sym_downcase(), sym_empty(), sym_encoding(), sym_inspect(), sym_length(), sym_swapcase(), sym_to_proc(), sym_upcase(), symbol2event_flag(), tcl_protect_core(), trap_handler(), trap_signm(), value_to_id(), vm_call_opt_send(), vm_stat(), and w_object().
| #define SYMBOL_P | ( | x | ) | (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG) |
| #define SYMBOL_P | ( | x | ) | (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG) |
| #define SYMBOL_P | ( | x | ) | (((VALUE)(x)&~((~(VALUE)0)<<RUBY_SPECIAL_SHIFT))==SYMBOL_FLAG) |
Definition at line 354 of file ruby.h.
Referenced by advice_arg_check(), case_when_optimizable_literal(), check_exec_options_i(), check_exec_redirect(), check_exec_redirect_fd(), check_setter_id(), chunk_ii(), constant_arg(), econv_opts(), enc_capable(), esignal_init(), gc_info_decode(), gc_latest_gc_info(), gc_stat(), gc_stat_internal(), inject_op_i(), iseq_build_from_ary_body(), iseq_compile_each(), kwcheck_i(), kwmerge_i(), ossl_asn1_initialize(), ossl_asn1_is_explicit(), ossl_asn1_tag_class(), ossl_asn1data_initialize(), raise_method_missing(), range_each(), range_step(), rb_any_cmp(), rb_builtin_class_name(), rb_check_id(), rb_class_of(), rb_clock_getres(), rb_clock_gettime(), rb_enc_get_index(), rb_gc_stat(), rb_mod_const_defined(), rb_mod_const_get(), rb_obj_id(), rb_struct_s_def(), rb_to_id(), rb_type(), reg_operand(), separate_symbol(), singleton_class_of(), sockopt_inspect(), sym_casecmp(), sym_cmp(), trap_handler(), value_to_id(), vm_call_opt_send(), vm_stat(), and w_object().
| #define T_ARRAY RUBY_T_ARRAY |
Definition at line 484 of file ruby.h.
Referenced by add_event_call_back(), addrinfo_mload(), ary2list(), ary2list2(), ary2sv(), ary_alloc(), ary_join_1(), ary_len_of_dim(), ary_make_shared(), assert_array(), assoc2kv(), assoc2kv_enc(), cbsubst_table_setup(), check_exec_redirect(), check_exec_redirect1(), check_type_val2variant(), decorate_convpath(), dimension(), do_coerce(), dump_object(), enum_sort_by(), eval_string_with_cref(), EVENTSINK_Invoke(), extract_user_token(), features_index_add_single(), folevariant_s_array(), get_array(), get_eval_string_core(), group_by_i(), initialize(), initialize_params(), iseq_build_from_ary_body(), iseq_build_from_ary_exception(), iseq_build_load_iseq(), lazy_flat_map_func(), nucomp_marshal_load(), num_members(), nurat_marshal_load(), obj_free(), obj_memsize_of(), obj_resurrect(), ole_ary_m_entry(), ole_invoke2(), ole_val2variant(), ole_val_ary2variant_ary(), open_key_args(), opobj_inspect(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509name_init_i(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), path_entries(), path_s_glob(), random_load(), rb_Array(), rb_ary_eql(), rb_ary_equal(), rb_ary_rassoc(), rb_check_array_type(), rb_check_backtrace(), rb_dlcfunc_call(), rb_execarg_addopt(), rb_feature_p(), rb_file_join(), rb_Hash(), rb_struct_s_members(), rb_type_str(), readline_attempted_completion_function(), select_internal(), set_argv(), start_document(), tk_hash_kv(), TkStringValue(), to_ary(), type2sym(), type_name(), unknown_keyword_error(), update_i(), vm_caller_setup_args(), vm_expandarray(), vm_init2(), and w_object().
| #define T_BIGNUM RUBY_T_BIGNUM |
Definition at line 487 of file ruby.h.
Referenced by add(), BigDecimal_new(), BigDecimal_power(), BigDecimalCmp(), BigMath_s_exp(), BigMath_s_log(), bignew_1(), binop(), bit_coerce(), check_type_val2variant(), d_lite_minus(), f_gcd(), f_minus_one_p(), f_mul(), f_one_p(), f_zero_p(), fix_and(), fix_cmp(), fix_divide(), fix_divmod(), fix_equal(), fix_fdiv(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_minus(), fix_mod(), fix_mul(), fix_or(), fix_plus(), fix_pow(), fix_xor(), flo_cmp(), flo_div(), flo_divmod(), flo_eq(), flo_ge(), flo_gt(), flo_le(), flo_lt(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), fptr_finalize(), get_eval_string_core(), GetBNPtr(), GetVpValueWithPrec(), Init_RandomSeed2(), is_even(), is_integer(), is_negative(), is_one(), is_zero(), mod(), mul(), negate_lit(), negative_int_p(), nucomp_real_check(), num_exact(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_int_check(), nurat_mul(), nurat_sub(), obj_free(), obj_memsize_of(), ole_val2ptr_variant(), ole_val2variant(), ossl_bn_coerce(), ossl_bn_initialize(), positive_int_p(), rand_range(), rb_check_to_integer(), rb_convert_to_integer(), rb_dlcfunc_call(), rb_Float(), rb_hash(), rb_int_pred(), rb_int_succ(), rb_io_ungetc(), rb_num2long(), rb_num2ulong_internal(), rb_num_to_uint(), rb_str_concat(), rb_str_format(), rb_to_integer(), rb_type_str(), rsock_io_socket_addrinfo(), set_max_block_time(), singleton_class_of(), sub(), time_timespec(), type2sym(), type_name(), v2w(), w_object(), wadd(), wmul(), and wsub().
| #define T_CLASS RUBY_T_CLASS |
Definition at line 478 of file ruby.h.
Referenced by class2path(), class_or_module_required(), cvar_front_klass(), dump_object(), fc_i(), fole_s_const_load(), include_modules_at(), init_copy(), internal_object_p(), obj_free(), obj_memsize_of(), path2class(), r_entry0(), r_object0(), rb_check_inheritable(), rb_class_boot(), rb_class_new(), rb_cvar_get(), rb_cvar_set(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_define_alloc_func(), rb_define_class(), rb_define_class_id_under(), rb_file_exists_p(), rb_frozen_class_p(), rb_get_alloc_func(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_ivar_set(), rb_make_metaclass(), rb_method_entry_get_without_cache(), rb_method_name_error(), rb_mod_append_features(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_init_copy(), rb_mod_prepend_features(), rb_mod_refine(), rb_mod_singleton_p(), rb_obj_remove_instance_variable(), rb_path_to_class(), rb_profile_frame_classpath(), rb_singleton_class(), rb_singleton_class_clone_and_attach(), rb_type_str(), rb_undef(), rb_using_refinement(), rb_vm_bugreport(), total_i(), type2sym(), type_name(), vm_check_if_namespace(), and w_object().
| #define T_COMPLEX RUBY_T_COMPLEX |
Definition at line 496 of file ruby.h.
Referenced by BigMath_s_log(), negate_lit(), nucomp_coerce(), nucomp_s_convert(), nucomp_s_new_internal(), nurat_coerce(), nurat_s_convert(), obj_free(), obj_memsize_of(), rb_type_str(), type2sym(), and type_name().
| #define T_DATA RUBY_T_DATA |
Definition at line 492 of file ruby.h.
Referenced by BigDecimal_new(), BigDecimal_power(), BigDecimalCmp(), BigMath_s_exp(), BigMath_s_log(), cto_i(), dump_object(), enc_capable(), GetVpValueWithPrec(), obj_free(), obj_memsize_of(), r_object0(), rb_check_convert_type(), rb_check_type(), rb_check_typeddata(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_enc_get_index(), rb_hash_set_default_proc(), rb_objspace_call_finalizer(), rb_type_str(), rb_typeddata_is_kind_of(), strio_copy(), type2sym(), type_name(), vm_caller_setup_args(), and w_object().
| #define T_FALSE RUBY_T_FALSE |
Definition at line 491 of file ruby.h.
Referenced by ary2list(), ary2list2(), bsock_setsockopt(), check_type_val2variant(), get_eval_string_core(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), rb_builtin_class_name(), rb_type(), rb_type_str(), tcl2rb_bool(), TkStringValue(), type2sym(), and type_name().
| #define T_FILE RUBY_T_FILE |
Definition at line 488 of file ruby.h.
Referenced by argf_close(), argf_getbyte(), argf_next_argv(), argf_readchar(), check_exec_redirect(), check_exec_redirect_fd(), console_dev(), copy_stream_body(), dump_object(), enc_capable(), io_alloc(), obj_free(), obj_memsize_of(), ossl_obj2bio(), ossl_ssl_initialize(), pty_close_pty(), rb_enc_get_index(), rb_execarg_addopt(), rb_f_p_internal(), rb_io_check_io(), rb_io_flush_raw(), rb_io_get_io(), rb_io_getbyte(), rb_io_set_encoding(), rb_iseq_compile_with_option(), rb_objspace_call_finalizer(), rb_p(), rb_stat(), rb_type_str(), readline_s_set_input(), readline_s_set_output(), rsock_io_socket_addrinfo(), test_check(), type2sym(), and type_name().
| #define T_FIXNUM RUBY_T_FIXNUM |
Definition at line 489 of file ruby.h.
Referenced by BigDecimal_ceil(), BigDecimal_floor(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_new(), BigDecimal_power(), BigDecimal_round(), BigDecimal_truncate(), BigDecimalCmp(), BigMath_s_exp(), BigMath_s_log(), bsock_setsockopt(), check_exec_redirect(), check_rounding_mode(), check_type_val2variant(), cParser_initialize(), cState_buffer_initial_length_set(), cState_configure(), cState_depth_set(), cState_max_nesting_set(), d_lite_minus(), f_minus_one_p(), f_one_p(), f_zero_p(), features_index_add_single(), flo_cmp(), flo_div(), flo_divmod(), flo_eq(), flo_ge(), flo_gt(), flo_le(), flo_lt(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), fptr_finalize(), gc_mark_children(), get_eval_string_core(), GetBNPtr(), GetPositiveInt(), GetVpValueWithPrec(), is_even(), is_id_value(), is_integer(), is_one(), is_zero(), lib_do_one_event_core(), make_inspectname(), negate_lit(), nucomp_real_check(), num_exact(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_int_check(), nurat_mul(), nurat_sub(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), ossl_bn_coerce(), ossl_bn_initialize(), rb_convert_to_integer(), rb_dlcfunc_call(), rb_execarg_addopt(), rb_f_kill(), rb_file_initialize(), rb_Float(), rb_str_format(), rb_type(), rb_type_str(), rb_zstream_set_avail_out(), rsock_io_socket_addrinfo(), set_max_block_time(), start_stream(), str_byte_aref(), tcl2rb_bool(), time_timespec(), trap_signm(), type2sym(), and type_name().
| #define T_FLOAT RUBY_T_FLOAT |
Definition at line 481 of file ruby.h.
Referenced by BigDecimal_add(), BigDecimal_coerce(), BigDecimal_divide(), BigDecimal_divremain(), BigDecimal_DoDivmod(), BigDecimal_mult(), BigDecimal_new(), BigDecimal_power(), BigDecimal_sub(), BigDecimal_to_i(), BigDecimalCmp(), BigMath_s_exp(), BigMath_s_log(), case_when_optimizable_literal(), check_type_val2variant(), d_lite_minus(), dump_object(), enumerator_initialize(), f_signbit(), fix_cmp(), fix_divide(), fix_divmod(), fix_equal(), fix_fdiv(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fix_minus(), fix_mod(), fix_mul(), fix_plus(), fix_pow(), flo_cmp(), flo_div(), flo_divmod(), flo_eq(), flo_eql(), flo_ge(), flo_gt(), flo_le(), flo_lt(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), get_eval_string_core(), GetVpValueWithPrec(), int_round_0(), is_negative(), negate_lit(), nucomp_real_check(), num_step(), numeric_quo(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_mul(), nurat_s_convert(), nurat_sub(), obj_free(), obj_memsize_of(), ole_val2ptr_variant(), ole_val2variant(), rand_random(), rand_range(), range_bsearch(), rb_check_to_float(), rb_convert_to_integer(), rb_cstr_to_rat(), rb_Float(), rb_float_new_in_heap(), rb_num2dbl(), rb_num2long(), rb_num2ulong_internal(), rb_str_format(), rb_to_float(), rb_type(), rb_type_str(), ruby_float_step(), ruby_num_interval_step_size(), set_max_block_time(), singleton_class_of(), string_to_r(), string_to_r_strict(), time_timespec(), type2sym(), type_name(), and w_object().
| #define T_HASH RUBY_T_HASH |
Definition at line 485 of file ruby.h.
Referenced by ary2list(), ary2list2(), assert_hash(), cbsubst_def_attr_aliases(), core_hash_merge_kwd(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cParser_initialize(), cState_configure(), debug_lines(), dump_object(), EVENTSINK_Invoke(), gc_info_decode(), gc_latest_gc_info(), gc_stat(), gc_stat_internal(), get_eval_string_core(), hash_alloc(), hash_equal(), mString_Extend_json_create(), mString_to_json_raw(), obj_free(), obj_memsize_of(), ole_invoke(), rawmode_opt(), rb_check_hash_type(), rb_econv_open_opts(), rb_execarg_fixup(), rb_gzwriter_initialize(), rb_hash_initialize_copy(), rb_thread_s_handle_interrupt(), rb_type_str(), recursive_check(), recursive_list_access(), recursive_pop(), recursive_push(), tk_conv_args(), tk_hash_kv(), tk_symbolkey2str(), to_hash(), transcode_loop(), type2sym(), type_name(), vm_stat(), and w_object().
| #define T_ICLASS RUBY_T_ICLASS |
Definition at line 479 of file ruby.h.
Referenced by add_activated_refinement(), call_trace_func(), class_instance_method_list(), class_or_module_required(), fill_id_and_klass(), get_klass(), include_modules_at(), Init_VM(), internal_object_p(), is_id_value(), make_metaclass(), method_owner(), mnew_from_me(), obj_free(), obj_memsize_of(), original_module(), rb_alias(), rb_class_inherited_p(), rb_class_real(), rb_class_superclass(), rb_frozen_class_p(), rb_include_class_new(), rb_method_call_status(), rb_method_entry_get_without_cache(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_obj_singleton_methods(), rb_prepend_module(), rb_profile_frame_classpath(), rb_type_str(), rb_using_refinement(), total_i(), type2sym(), type_name(), using_module_recursive(), vm_get_iclass(), vm_search_normal_superclass(), vm_search_super_method(), and w_extended().
| #define T_MATCH RUBY_T_MATCH |
Definition at line 493 of file ruby.h.
Referenced by match_alloc(), match_equal(), match_setter(), obj_free(), obj_memsize_of(), rb_type_str(), type2sym(), and type_name().
| #define T_MODULE RUBY_T_MODULE |
Definition at line 480 of file ruby.h.
Referenced by class_or_module_required(), cvar_front_klass(), dump_object(), fc_i(), fole_s_const_load(), init_copy(), mnew_from_me(), mSyslog_inspect(), must_be_module(), obj_free(), obj_memsize_of(), r_entry0(), r_object0(), rb_alias(), rb_const_defined_0(), rb_const_get_0(), rb_define_module(), rb_define_module_id_under(), rb_export_method(), rb_frozen_class_p(), rb_include_module(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_ivar_set(), rb_method_call_with_block(), rb_method_name_error(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_define_method(), rb_mod_include(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_modfunc(), rb_mod_prepend(), rb_module_new(), rb_obj_extend(), rb_obj_remove_instance_variable(), rb_path_to_class(), rb_prepend_module(), rb_print_undef(), rb_print_undef_str(), rb_tmp_class_path(), rb_type_str(), rb_undef(), rb_using_module(), rb_using_refinement(), rb_vm_bugreport(), type2sym(), type_name(), umethod_bind(), using_module_recursive(), vm_check_if_namespace(), vm_get_iclass(), vm_search_super_method(), and w_object().
| #define T_NIL RUBY_T_NIL |
Definition at line 476 of file ruby.h.
Referenced by check_type_val2variant(), ev_advise(), fole_s_const_load(), gc_mark_children(), get_eval_string_core(), GetBNPtr(), num_exact(), obj_free(), ole_val2variant(), rand_range(), rb_convert_to_integer(), rb_Float(), rb_num2dbl(), rb_search_method_entry(), rb_type(), rb_type_str(), tk_hash_kv(), TkStringValue(), type2sym(), and type_name().
| #define T_NODE RUBY_T_NODE |
Definition at line 498 of file ruby.h.
Referenced by cn_i(), control_frame_dump(), dump_object(), env_mark(), errinfo_place(), gc_mark_children(), internal_object_p(), invoke_block_from_c(), load_lock(), obj_free(), obj_memsize_of(), proc_binding(), proc_call(), rb_block_min_max_arity(), rb_mod_define_method(), rb_node_newnode(), rb_type_str(), ruby_cleanup(), thread_join(), total_i(), type2sym(), type_name(), vm_invoke_block(), and vm_rewrite_ep_in_errinfo().
| #define T_NONE RUBY_T_NONE |
Definition at line 475 of file ruby.h.
Referenced by gc_mark_maybe(), internal_object_p(), is_markable_object(), rb_newobj(), rb_type_str(), rgengc_remember(), total_i(), type2sym(), and type_name().
| #define T_OBJECT RUBY_T_OBJECT |
Definition at line 477 of file ruby.h.
Referenced by dump_object(), init_copy(), obj_free(), obj_memsize_of(), r_object0(), range_dumper(), range_loader(), rb_class_allocate_instance(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_ivar_set(), rb_obj_remove_instance_variable(), rb_search_method_entry(), rb_type_str(), rsock_sockopt_new(), syserr_initialize(), thread_start_func_2(), type2sym(), type_name(), vm_getivar(), vm_setivar(), and w_object().
| #define T_RATIONAL RUBY_T_RATIONAL |
Definition at line 495 of file ruby.h.
Referenced by BigDecimal_add(), BigDecimal_coerce(), BigDecimal_divide(), BigDecimal_divremain(), BigDecimal_DoDivmod(), BigDecimal_mult(), BigDecimal_new(), BigDecimal_power(), BigDecimal_sub(), BigDecimalCmp(), BigMath_s_exp(), BigMath_s_log(), d_lite_minus(), f_minus_one_p(), f_one_p(), f_zero_p(), fix_divide(), GetVpValueWithPrec(), is_one(), is_zero(), negate_lit(), nucomp_real_check(), num_exact(), numeric_quo(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_mul(), nurat_s_convert(), nurat_s_new_internal(), nurat_sub(), obj_free(), obj_memsize_of(), quo(), rb_type_str(), time_mdump(), time_to_r(), type2sym(), type_name(), v2w(), wmul(), and wquo().
| #define T_REGEXP RUBY_T_REGEXP |
Definition at line 483 of file ruby.h.
Referenced by cond0(), enc_capable(), get_eval_string_core(), get_pat(), match_op_gen(), obj_free(), obj_memsize_of(), rb_check_regexp_type(), rb_enc_get_index(), rb_reg_equal(), rb_reg_initialize_m(), rb_reg_s_alloc(), rb_str_aref(), rb_str_aref_m(), rb_str_aset(), rb_str_aset_m(), rb_str_index_m(), rb_str_match(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_type_str(), strscan_do_scan(), type2sym(), type_name(), w_object(), and yyparse().
| #define T_STRING RUBY_T_STRING |
Definition at line 482 of file ruby.h.
Referenced by alias(), ary2list(), ary2list2(), ary_join_1(), BigDecimal_new(), BigDecimal_to_s(), cbsubst_get_subst_arg(), cbsubst_table_setup(), cdhash_cmp(), cdhash_hash(), check_autoload_required(), check_exec_redirect(), check_type_val2variant(), classname(), compile_dstr_fragments(), copy_stream_body(), cParser_initialize(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), dump_object(), each_attr_def(), enc_capable(), error_print(), ev_on_event(), eval_string_with_cref(), f_to_f(), features_index_add_single(), fev_off_event(), fole_respond_to(), fole_s_const_load(), fole_s_show_help(), folevariant_set_value(), fun1(), generate_json(), generate_json_object(), get_eval_string_core(), get_pat(), get_strpath(), GetDigestPtr(), GetVpValueWithPrec(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), hash2named_arg(), ignore_closed_stream(), io_write_nonblock(), ip_set_exc_message(), lib_fromUTF8_core(), lib_toUTF8_core(), make_inspectname(), match_aref(), match_backref_number(), mObject_to_json(), nucomp_s_convert(), num_exact(), nurat_s_convert(), obj2int(), obj2subsecx(), obj2vint(), obj_free(), obj_memsize_of(), obj_resurrect(), ole_invoke(), ole_search_event_at(), ole_val2olevariantdata(), ole_val2ptr_variant(), ole_val2variant(), opobj_inspect(), ossl_bn_coerce(), pack_unpack(), path_initialize(), pruby_str_to_var(), r_byte(), r_bytes0(), range_include(), rb_any_cmp(), rb_any_hash(), rb_check_backtrace(), rb_check_id(), rb_check_safe_str(), rb_check_string_type(), rb_construct_expanded_load_path(), rb_convert_to_integer(), rb_dlptr_aset(), rb_enc_associate_index(), rb_enc_compatible(), rb_enc_get_index(), rb_eval_cmd(), rb_f_kill(), rb_f_printf(), rb_fiddle_ptr_aset(), rb_file_join(), rb_Float(), rb_fstring(), rb_get_path_check_to_string(), rb_gzreader_readpartial(), rb_gzwriter_write(), rb_io_putc(), rb_io_puts(), rb_io_syswrite(), rb_ioctl(), rb_load_file(), rb_num2char_inline(), rb_num2dbl(), rb_obj_as_string(), rb_reg_match2(), rb_str_aref(), rb_str_aset(), rb_str_cmp_m(), rb_str_eql(), rb_str_equal(), rb_str_format(), rb_str_index_m(), rb_str_match(), rb_str_quote_unprintable(), rb_str_rindex_m(), rb_str_setter(), rb_str_split_m(), rb_str_to_str(), rb_String(), rb_string_value(), rb_struct_aref(), rb_struct_aset(), rb_to_id(), rb_type_str(), rb_vm_bugreport(), rsock_syserr_fail_path(), scalar(), setup_fake_str(), start_mapping(), start_sequence(), str_alloc(), strio_getline(), strio_putc(), strio_reopen(), strio_write(), strscan_aref(), tcl2rb_bool(), tcl2rb_num_or_nil(), tcl2rb_num_or_str(), tcl2rb_string(), tkstr_to_number(), TkStringValue(), type2sym(), type_name(), uscore_get(), usec2subsecx(), and w_object().
| #define T_STRUCT RUBY_T_STRUCT |
Definition at line 486 of file ruby.h.
Referenced by obj_free(), obj_memsize_of(), r_object0(), rb_struct_eql(), rb_struct_equal(), rb_type_str(), struct_alloc(), type2sym(), type_name(), and w_object().
| #define T_SYMBOL RUBY_T_SYMBOL |
Definition at line 494 of file ruby.h.
Referenced by append_method(), cbsubst_get_subst_arg(), cbsubst_sym_to_subst(), check_exec_redirect(), check_rounding_mode(), each_attr_def(), econv_opts(), ev_on_event(), fev_off_event(), fole_respond_to(), get_eval_string_core(), hash2named_arg(), iseq_build_from_ary_body(), kwcheck_i(), kwmerge_i(), match_aref(), match_backref_number(), ole_invoke(), ossl_pkcs7_sym2typeid(), ossl_sslctx_set_ssl_version(), rb_execarg_addopt(), rb_f_kill(), rb_struct_aref(), rb_struct_aset(), rb_type(), rb_type_str(), register_label(), rsock_revlookup_flag(), strscan_aref(), symbol2event_flag(), tcl_protect_core(), trap_signm(), type2sym(), and type_name().
| #define T_TRUE RUBY_T_TRUE |
Definition at line 490 of file ruby.h.
Referenced by ary2list(), ary2list2(), bsock_setsockopt(), check_type_val2variant(), get_eval_string_core(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), rb_builtin_class_name(), rb_type(), rb_type_str(), tcl2rb_bool(), TkStringValue(), type2sym(), and type_name().
| #define T_UNDEF RUBY_T_UNDEF |
Definition at line 497 of file ruby.h.
Referenced by rb_type(), rb_type_str(), type2sym(), and type_name().
| #define T_ZOMBIE RUBY_T_ZOMBIE |
Definition at line 499 of file ruby.h.
Referenced by dump_object(), gc_mark_maybe(), gc_page_sweep(), internal_object_p(), is_live_object(), is_markable_object(), make_deferred(), obj_memsize_of(), rb_type_str(), rgengc_remember(), total_i(), type2sym(), and type_name().
| #define TOLOWER | ( | c | ) | rb_tolower((unsigned char)(c)) |
Definition at line 1779 of file ruby.h.
Referenced by downcase(), load_encoding(), rb_file_expand_path_internal(), and rb_strftime_with_timespec().
| #define TOUPPER | ( | c | ) | rb_toupper((unsigned char)(c)) |
Definition at line 1778 of file ruby.h.
Referenced by rb_str_casecmp(), rb_strftime_with_timespec(), and upcase().
| #define TYPE | ( | x | ) | rb_type((VALUE)(x)) |
Definition at line 505 of file ruby.h.
Referenced by add_event_call_back(), ary2list(), ary2list2(), ary_len_of_dim(), assoc2kv(), assoc2kv_enc(), BigDecimal_new(), BigDecimal_power(), BigDecimalCmp(), BigMath_s_exp(), BigMath_s_log(), bsock_setsockopt(), cbsubst_def_attr_aliases(), cbsubst_get_subst_arg(), cbsubst_sym_to_subst(), cbsubst_table_setup(), check_exec_redirect(), check_rounding_mode(), check_type_val2variant(), dimension(), each_attr_def(), ev_advise(), ev_on_event(), EVENTSINK_Invoke(), fev_off_event(), fole_respond_to(), fole_s_const_load(), fole_s_show_help(), folevariant_set_value(), fptr_finalize(), get_eval_string_core(), get_pat(), GetBNPtr(), GetDigestPtr(), GetVpValueWithPrec(), hash2named_arg(), init_copy(), ip_set_exc_message(), is_even(), is_one(), is_zero(), lib_fromUTF8_core(), lib_toUTF8_core(), match_aref(), match_backref_number(), mod(), negate_lit(), num_eql(), num_exact(), obj_type_name(), ole_ary_m_entry(), ole_invoke(), ole_search_event_at(), ole_val2olevariantdata(), ole_val2ptr_variant(), ole_val2variant(), ossl_bn_coerce(), ossl_obj2bio(), ossl_pkcs7_sym2typeid(), ossl_sslctx_set_ciphers(), ossl_sslctx_set_ssl_version(), ossl_sslctx_setup(), pruby_str_to_var(), r_object0(), rand_range(), rb_check_convert_type(), rb_check_type(), rb_convert_to_integer(), rb_convert_type(), rb_execarg_addopt(), rb_f_kill(), rb_file_join(), rb_Float(), rb_method_name_error(), rb_num2char_inline(), rb_num2dbl(), rb_obj_init_copy(), rb_str_aset(), rb_str_format(), rsock_io_socket_addrinfo(), set_max_block_time(), str_byte_aref(), strscan_aref(), tcl2rb_bool(), tcl_protect_core(), time_timespec(), tk_conv_args(), tk_hash_kv(), TkStringValue(), and trap_signm().
| #define TypedData_Get_Struct | ( | obj, | |||
| type, | |||||
| data_type, | |||||
| sval | ) |
Value:
do {\ (sval) = (type*)rb_check_typeddata((obj), (data_type)); \ } while (0)
| #define TypedData_Get_Struct | ( | obj, | |||
| type, | |||||
| data_type, | |||||
| sval | ) |
Value:
do {\ (sval) = (type*)rb_check_typeddata((obj), (data_type)); \ } while (0)
| #define TypedData_Get_Struct | ( | obj, | |||
| type, | |||||
| data_type, | |||||
| sval | ) |
Value:
do {\ (sval) = (type*)rb_check_typeddata((obj), (data_type)); \ } while (0)
Definition at line 1041 of file ruby.h.
Referenced by check_econv(), dir_initialize(), dir_inspect(), dir_path(), econv_inspect(), enumerator_init(), enumerator_init_copy(), enumerator_ptr(), function_call(), generator_init(), generator_init_copy(), generator_ptr(), get_new_timeval(), get_rnd(), get_stat(), get_timeval(), initialize(), inspect_enumerator(), method_arity(), method_clone(), method_get_def(), method_hash(), method_inspect(), method_min_max_arity(), method_name(), method_original_name(), method_owner(), method_receiver(), method_unbind(), name_err_mesg_equal(), name_err_mesg_to_str(), parser_compile_string(), pruby_get_instance(), rb_dlcfunc_call(), rb_dlcfunc_calltype(), rb_dlcfunc_ctype(), rb_dlcfunc_initialize(), rb_dlcfunc_inspect(), rb_dlcfunc_name(), rb_dlcfunc_ptr(), rb_dlcfunc_set_calltype(), rb_dlcfunc_set_ctype(), rb_dlcfunc_set_ptr(), rb_dlcfunc_to_i(), rb_dlhandle_close(), rb_dlhandle_close_enabled_p(), rb_dlhandle_disable_close(), rb_dlhandle_enable_close(), rb_dlhandle_initialize(), rb_dlhandle_sym(), rb_dlhandle_to_i(), rb_dlptr2cptr(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_free_get(), rb_dlptr_free_set(), rb_dlptr_initialize(), rb_dlptr_inspect(), rb_dlptr_null_p(), rb_dlptr_ptr(), rb_dlptr_ref(), rb_dlptr_to_i(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_dlptr_to_value(), rb_execarg_get(), rb_fiddle_handle_close(), rb_fiddle_handle_close_enabled_p(), rb_fiddle_handle_disable_close(), rb_fiddle_handle_enable_close(), rb_fiddle_handle_initialize(), rb_fiddle_handle_sym(), rb_fiddle_handle_to_i(), rb_fiddle_ptr2cptr(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_free_get(), rb_fiddle_ptr_free_set(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_inspect(), rb_fiddle_ptr_null_p(), rb_fiddle_ptr_ptr(), rb_fiddle_ptr_ref(), rb_fiddle_ptr_to_i(), rb_fiddle_ptr_to_s(), rb_fiddle_ptr_to_str(), rb_fiddle_ptr_to_value(), rb_method_call_with_block(), rb_parser_append_print(), rb_parser_compile_file_path(), rb_parser_encoding(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_parser_set_yydebug(), rb_parser_while_loop(), rb_stat_inspect(), thgroup_add(), thgroup_enclose(), thgroup_enclosed_p(), to_i(), tpptr(), tracepoint_new(), umethod_bind(), wmap_aref(), wmap_aset(), wmap_each(), wmap_each_key(), wmap_each_value(), wmap_finalize(), wmap_inspect(), wmap_keys(), wmap_size(), wmap_values(), yielder_init(), and yielder_ptr().
| #define TypedData_Make_Struct | ( | klass, | |||
| type, | |||||
| data_type, | |||||
| sval | ) |
| #define TypedData_Make_Struct | ( | klass, | |||
| type, | |||||
| data_type, | |||||
| sval | ) |
| #define TypedData_Make_Struct | ( | klass, | |||
| type, | |||||
| data_type, | |||||
| sval | ) |
Value:
(\
(sval) = ALLOC(type),\
memset((sval), 0, sizeof(type)),\
TypedData_Wrap_Struct((klass),(data_type),(sval))\
)
Definition at line 1030 of file ruby.h.
Referenced by allocate(), argf_alloc(), backtrace_alloc(), cont_new(), dir_s_alloc(), dir_s_open(), enumerator_allocate(), env_alloc(), generator_allocate(), iseq_alloc(), location_create(), marshal_dump(), marshal_load(), method_clone(), method_unbind(), mnew_from_me(), mutex_alloc(), pruby_register_instance(), random_alloc(), rb_binding_alloc(), rb_dlcfunc_new(), rb_dlcfunc_s_allocate(), rb_dlhandle_s_allocate(), rb_dlptr_new2(), rb_dlptr_s_allocate(), rb_execarg_new(), rb_fiddle_handle_s_allocate(), rb_fiddle_ptr_new2(), rb_fiddle_ptr_s_allocate(), rb_proc_alloc(), thgroup_s_alloc(), thread_alloc(), time_s_alloc(), tp_alloc(), umethod_bind(), wmap_allocate(), and yielder_allocate().
| #define TypedData_Wrap_Struct | ( | klass, | |||
| data_type, | |||||
| sval | ) | rb_data_typed_object_alloc((klass),(sval),(data_type)) |
| #define TypedData_Wrap_Struct | ( | klass, | |||
| data_type, | |||||
| sval | ) | rb_data_typed_object_alloc((klass),(sval),(data_type)) |
| #define TypedData_Wrap_Struct | ( | klass, | |||
| data_type, | |||||
| sval | ) | rb_data_typed_object_alloc((klass),(sval),(data_type)) |
Definition at line 1027 of file ruby.h.
Referenced by addrinfo_s_allocate(), BigDecimal_global_new(), econv_s_allocate(), enc_new(), fiber_alloc(), Init_Random(), Init_VM(), rb_autoload(), rb_name_err_mesg_new(), rb_parser_new(), stat_new_0(), strio_s_allocate(), strscan_s_allocate(), thread_alloc(), thread_shield_alloc(), VpCreateRbObject(), and VpNewRbClass().
| #define UINT2NUM | ( | x | ) | rb_uint2num_inline(x) |
Definition at line 1298 of file ruby.h.
Referenced by callback(), find_index_i(), find_index_iter_i(), generic_to_value(), rb_file_world_readable_p(), rb_file_world_writable_p(), rb_io_each_codepoint(), rb_stat_mode(), rb_stat_nlink(), rb_stat_wr(), rb_stat_ww(), rb_str_enumerate_codepoints(), rb_str_ord(), strio_each_codepoint(), tr_find(), tr_setup_table(), and tr_trans().
| #define ULONG2NUM | ( | x | ) | rb_ulong2num_inline(x) |
Definition at line 1319 of file ruby.h.
Referenced by callback(), date__strptime_internal(), fix_lshift(), generic_to_value(), Init_ossl_x509name(), ossl_x509name_hash(), pack_unpack(), rand_int(), rand_range(), rb_queue_length(), rb_queue_num_waiting(), rb_random_int32(), rb_stat_blksize(), rb_stat_blocks(), rb_stat_ino(), rb_szqueue_num_waiting(), ruby_num_interval_step_size(), strio_size(), tk_install_cmd_core(), ulong_to_num_plus_1(), and wmap_size().
| #define UNREACHABLE |
Definition at line 42 of file ruby.h.
Referenced by BigDecimalCmp(), create_dummy_encoding_for_tk_core(), dln_load(), first_i(), generic_to_value(), ip_cancel_eval_core(), lib_get_reltype_name(), location_absolute_path(), location_base_label(), location_label(), location_lineno(), location_path(), name_to_backref_number(), num_init_copy(), num_sadded(), ossl_pkey_new(), ossl_ssl_session_reused(), pending_exception_check0(), pending_exception_check1(), proc_exec_cmd(), proc_exec_sh(), pty_check(), rb_digest_instance_block_length(), rb_digest_instance_finish(), rb_digest_instance_reset(), rb_digest_instance_update(), rb_dlhandle_close(), rb_f_abort(), rb_f_exit(), rb_f_exit_bang(), rb_f_notimplement(), rb_f_raise(), rb_f_throw(), rb_fiddle_handle_close(), rb_Float(), rb_io_set_sync(), rb_method_entry_min_max_arity(), rb_method_missing(), rb_mod_const_missing(), rb_mod_remove_cvar(), rb_obj_remove_instance_variable(), rb_remove_history(), rb_str_aref(), rb_str_scrub(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_set(), rb_uv_to_utf8(), ripper_token2eventid(), rsock_io_socket_addrinfo(), sock_s_getnameinfo(), sockopt_ipv4_multicast_loop(), sockopt_ipv4_multicast_ttl(), str_byte_aref(), strio_unimpl(), tk_hash_kv(), and undumpable().
| typedef VALUE rb_block_call_func(RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg)) |
| typedef VALUE(*) rb_block_call_func_t(ANYARGS) |
| typedef struct rb_classext_struct rb_classext_t |
| typedef struct rb_data_type_struct rb_data_type_t |
| typedef unsigned long rb_event_flag_t |
| typedef void(*) rb_event_hook_func_t(rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass) |
| typedef VALUE rb_gvar_getter_t(ID id, void *data, struct rb_global_variable *gvar) |
| typedef void rb_gvar_marker_t(VALUE *var) |
| typedef void rb_gvar_setter_t(VALUE val, ID id, void *data, struct rb_global_variable *gvar) |
| typedef char ruby_check_sizeof_int[SIZEOF_INT==sizeof(int)?1:-1] |
| typedef char ruby_check_sizeof_long[SIZEOF_LONG==sizeof(long)?1:-1] |
| typedef char ruby_check_sizeof_voidp[SIZEOF_VOIDP==sizeof(void *)?1:-1] |
| typedef void(*) RUBY_DATA_FUNC(void *) |
| typedef int ruby_glob_func(const char *, VALUE, void *) |
| enum ruby_special_consts |
| enum ruby_value_type |
| RUBY_SYMBOL_EXPORT_BEGIN void* alloca | ( | ) |
| DEPRECATED | ( | void | rb_check_safe_str(VALUE) | ) |
| NORETURN | ( | void | rb_throw(const char *, VALUE) | ) |
| NORETURN | ( | void | rb_mod_syserr_fail_str(VALUE, int, VALUE) | ) |
| NORETURN | ( | void | rb_mod_syserr_fail(VALUE, int, const char *) | ) |
| NORETURN | ( | void | rb_syserr_fail_str(int, VALUE) | ) |
| NORETURN | ( | void | rb_readwrite_sys_fail(int, const char *) | ) |
| NORETURN | ( | void | rb_mod_sys_fail_str(VALUE, VALUE) | ) |
| NORETURN | ( | void | rb_mod_sys_fail(VALUE, const char *) | ) |
| NORETURN | ( | void | rb_sys_fail_str(VALUE) | ) |
| NORETURN | ( | void | rb_sys_fail(const char *) | ) |
| NORETURN | ( | void | rb_bug_errno(const char *, int) | ) |
| NORETURN | ( | void | rb_insecure_operation(void) | ) |
| PRINTF_ARGS | ( | int | ruby_snprintf(char *str, size_t n, char const *fmt,...), | |
| 3 | , | |||
| 4 | ||||
| ) |
| PRINTF_ARGS | ( | void | rb_compile_warning(const char *, int, const char *,...), | |
| 3 | , | |||
| 4 | ||||
| ) |
| PRINTF_ARGS | ( | void | rb_warning(const char *,...), | |
| 1 | , | |||
| 2 | ||||
| ) |
| PRINTF_ARGS | ( | NORETURN(void rb_bug(const char *,...)) | , | |
| 1 | , | |||
| 2 | ||||
| ) |
| PRINTF_ARGS | ( | NORETURN(void rb_fatal(const char *,...)) | , | |
| 1 | , | |||
| 2 | ||||
| ) |
| PRINTF_ARGS | ( | NORETURN(void rb_raise(VALUE, const char *,...)) | , | |
| 2 | , | |||
| 3 | ||||
| ) |
| void rb_add_event_hook | ( | rb_event_hook_func_t | func, | |
| rb_event_flag_t | events, | |||
| VALUE | data | |||
| ) |
Definition at line 145 of file vm_trace.c.
References alloc_event_hook(), connect_event_hook(), GET_VM, and RUBY_EVENT_HOOK_FLAG_SAFE.
| void* rb_alloc_tmp_buffer | ( | volatile VALUE * | store, | |
| long | len | |||
| ) |
| VALUE rb_block_call | ( | VALUE | , | |
| ID | , | |||
| int | , | |||
| const VALUE * | , | |||
| rb_block_call_func_t | , | |||
| VALUE | ||||
| ) |
Referenced by argf_block_call(), chunk_i(), enum_all(), enum_any(), enum_chunk(), enum_collect(), enum_count(), enum_cycle(), enum_drop(), enum_drop_while(), enum_each_cons(), enum_each_entry(), enum_each_slice(), enum_each_with_index(), enum_each_with_object(), enum_find(), enum_find_all(), enum_find_index(), enum_first(), enum_flat_map(), enum_grep(), enum_group_by(), enum_inject(), enum_max(), enum_max_by(), enum_member(), enum_min(), enum_min_by(), enum_minmax(), enum_minmax_by(), enum_none(), enum_one(), enum_partition(), enum_reject(), enum_slice_before(), enum_sort_by(), enum_take(), enum_take_while(), enum_to_a(), enum_to_h(), enum_zip(), enumerator_block_call(), fdbm_replace(), fdbm_update(), fgdbm_replace(), fgdbm_update(), fsdbm_replace(), fsdbm_update(), join_der(), lazy_drop(), lazy_drop_while(), lazy_flat_map(), lazy_flat_map_each(), lazy_grep(), lazy_init_block_i(), lazy_initialize(), lazy_map(), lazy_reject(), lazy_select(), lazy_take(), lazy_take_while(), lazy_zip(), next_i(), ole_invoke(), ossl_pkcs7_set_certificates(), ossl_pkcs7_set_crls(), ossl_sslctx_setup(), ossl_x509name_initialize(), path_each_entry(), path_each_line(), path_open(), path_opendir(), path_s_glob(), path_sub(), range_each(), range_first(), range_step(), rb_ary_sort_by_bang(), save_env(), and slicebefore_i().
| int rb_block_given_p | ( | void | ) |
Definition at line 712 of file eval.c.
References rb_thread_struct::cfp, FALSE, GET_THREAD(), rb_vm_control_frame_block_ptr(), and TRUE.
Referenced by argf_bytes(), argf_chars(), argf_codepoints(), argf_lines(), dh_generate(), dir_s_chdir(), dir_s_glob(), dir_s_open(), dsa_generate(), enum_chunk(), enum_count(), enum_find_index(), enum_grep(), enum_inject(), enum_max(), enum_min(), enum_minmax(), enum_slice_before(), enum_zip(), enumerator_each(), enumerator_initialize(), env_delete_m(), env_fetch(), env_update_i(), etc_group(), etc_passwd(), fdbm_delete(), fdbm_fetch(), fdbm_fetch_m(), fdbm_s_open(), fgdbm_fetch(), fgdbm_fetch_m(), fgdbm_s_open(), fsdbm_delete(), fsdbm_fetch(), fsdbm_fetch_m(), fsdbm_s_open(), generator_initialize(), gzfile_wrap(), lazy_drop_while(), lazy_flat_map(), lazy_grep(), lazy_initialize(), lazy_map(), lazy_reject(), lazy_select(), lazy_take_while(), lazy_to_enum(), lazy_zip(), mSyslog_open(), obj_to_enum(), ossl_pem_passwd_cb(), ossl_x509store_verify(), p_gid_switch(), p_uid_switch(), pack_unpack(), path_each_line(), path_open(), path_s_glob(), path_sub(), proc_call(), pty_getpty(), pty_open(), range_max(), range_min(), rb_ary_count(), rb_ary_delete(), rb_ary_fetch(), rb_ary_fill(), rb_ary_index(), rb_ary_initialize(), rb_ary_product(), rb_ary_rindex(), rb_ary_sort_bang(), rb_ary_uniq(), rb_ary_uniq_bang(), rb_ary_zip(), rb_dlhandle_initialize(), rb_f_at_exit(), rb_f_open(), rb_fiddle_handle_initialize(), rb_gzreader_bytes(), rb_gzreader_lines(), rb_hash_delete(), rb_hash_fetch_m(), rb_hash_initialize(), rb_hash_update(), rb_io_bytes(), rb_io_chars(), rb_io_codepoints(), rb_io_lines(), rb_io_s_new(), rb_io_s_open(), rb_io_s_pipe(), rb_io_s_popen(), rb_iterator_p(), rb_method_call(), rb_mod_initialize(), rb_mutex_synchronize_m(), rb_need_block(), rb_reg_match_m(), rb_scan_args(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_match_m(), rb_str_scan(), rb_str_scrub(), rb_str_sub_bang(), rb_struct_s_def(), rb_thread_s_handle_interrupt(), rsa_generate(), specific_eval(), strio_bytes(), strio_chars(), strio_codepoints(), strio_lines(), strio_s_open(), thread_initialize(), tk_s_new(), tracepoint_disable_m(), tracepoint_enable_m(), tracepoint_new_s(), zstream_detach_buffer(), zstream_expand_buffer(), and zstream_run().
| VALUE rb_call_super | ( | int | , | |
| const VALUE * | ||||
| ) |
Definition at line 274 of file vm_eval.c.
References GET_THREAD(), PASS_PASSED_BLOCK, and vm_call_super().
Referenced by esignal_init(), exit_initialize(), float_denominator(), float_numerator(), fole_initialize(), gzfile_error_inspect(), interrupt_init(), lazy_super(), lazy_zip(), name_err_initialize(), ossl_ssl_initialize(), path_freeze(), path_taint(), path_untaint(), range_include(), range_max(), range_min(), strio_initialize(), and syserr_initialize().
| VALUE rb_catch | ( | const char * | , | |
| VALUE(*)(ANYARGS) | , | |||
| VALUE | ||||
| ) |
Referenced by reduce().
| VALUE rb_catch_obj | ( | VALUE | , | |
| VALUE(*)(ANYARGS) | , | |||
| VALUE | ||||
| ) |
Referenced by rb_catch(), and rb_f_catch().
| ID rb_check_id | ( | volatile VALUE * | namep | ) |
Returns ID for the given name if it is interned already, or 0.
| namep | the pointer to the name object |
namep must be a Symbol or a String, or possible to convert with to_str method. namep is a Symbol or a String if non-zero value is returned, or is a String if 0 is returned. Definition at line 17324 of file ripper.c.
References global_symbols, NIL_P, OBJ_FREEZE, rb_check_string_type(), rb_enc_copy(), rb_eTypeError, RB_GC_GUARD, rb_id_attrset(), rb_inspect(), rb_is_attrset_name(), rb_raise(), RB_TYPE_P, RSTRING_LEN, RSTRING_PTR, setup_fake_str(), st_data_t, st_lookup(), SYM2ID, sym_check_asciionly(), symbols::sym_id, SYMBOL_P, T_STRING, and VALUE.
| void rb_check_safe_obj | ( | VALUE | ) |
Definition at line 122 of file safe.c.
References OBJ_TAINTED, rb_insecure_operation(), and rb_safe_level.
Referenced by constant_arg(), env_has_value(), env_rassoc(), rb_check_safe_str(), and rb_dlcfunc_call().
| void rb_check_type | ( | VALUE | , | |
| int | ||||
| ) |
Definition at line 477 of file error.c.
References builtin_class_name, Qundef, rb_bug(), rb_builtin_type_name(), rb_eTypeError, rb_fatal(), rb_raise(), RTYPEDDATA_P, T_DATA, T_MASK, and TYPE.
Referenced by tcl2rb_bool(), tcl2rb_num_or_nil(), tcl2rb_num_or_str(), tcl2rb_string(), and tkstr_to_number().
| void* rb_check_typeddata | ( | VALUE | , | |
| const rb_data_type_t * | ||||
| ) |
Definition at line 520 of file error.c.
References builtin_class_name, DATA_PTR, rb_eTypeError, rb_obj_classname(), rb_raise(), RB_TYPE_P, rb_typeddata_inherited_p(), RTYPEDDATA_P, RTYPEDDATA_TYPE, T_DATA, and rb_data_type_struct::wrap_struct_name.
Referenced by BigDecimal_initialize(), BigDecimal_initialize_copy(), check_addrinfo(), check_strscan(), dir_check(), dir_open_dir(), and econv_init().
| const char* rb_class2name | ( | VALUE | ) |
Definition at line 397 of file variable.c.
References NIL_P, NULL, fc_result::path, rb_class_real(), rb_ivar_set(), rb_tmp_class_path(), RSTRING_PTR, and VALUE.
Referenced by dump_object(), mSyslog_inspect(), ossl_x509_inspect(), pst_inspect(), r_object0(), rb_clear_method_cache_by_class(), rb_define_class_id_under(), rb_define_module_id_under(), rb_io_s_new(), rb_mod_remove_method(), rb_obj_alloc(), rb_obj_classname(), rb_profile_frame_classpath(), rb_thread_current_status(), remove_method(), and thread_s_new().
| static VALUE rb_class_of | ( | VALUE | obj | ) | [inline, static] |
| VALUE rb_data_object_alloc | ( | VALUE | , | |
| void * | , | |||
| RUBY_DATA_FUNC | , | |||
| RUBY_DATA_FUNC | ||||
| ) |
Definition at line 1369 of file gc.c.
References Check_Type, newobj_of(), T_CLASS, T_DATA, and VALUE.
| VALUE rb_data_typed_object_alloc | ( | VALUE | klass, | |
| void * | datap, | |||
| const rb_data_type_t * | ||||
| ) |
Definition at line 1376 of file gc.c.
References Check_Type, newobj_of(), T_CLASS, T_DATA, T_MASK, type, and VALUE.
Referenced by iow_newobj().
| void rb_define_const | ( | VALUE | , | |
| const char * | , | |||
| VALUE | ||||
| ) |
Definition at line 2225 of file variable.c.
References rb_const_set(), rb_intern, rb_is_const_id(), and rb_warn().
Referenced by exp1(), Init_bigdecimal(), Init_Bignum(), Init_Complex(), init_constants(), Init_cparse(), Init_dbm(), Init_dl(), Init_dlhandle(), Init_dlptr(), Init_etc(), Init_fcntl(), Init_fiddle(), Init_fiddle_function(), Init_fiddle_handle(), Init_fiddle_pointer(), Init_File(), Init_GC(), Init_gdbm(), Init_IO(), Init_marshal(), Init_nkf(), Init_Numeric(), Init_openssl(), Init_ossl_asn1(), Init_ossl_config(), Init_ossl_pkcs7(), Init_ossl_ssl(), Init_ossl_x509name(), Init_process(), Init_psych_parser(), Init_Random(), Init_readline(), Init_Regexp(), Init_sizeof(), Init_tcltklib(), Init_Thread(), Init_tkutil(), Init_transcode(), Init_VM(), Init_win32ole(), Init_zlib(), ole_const_load(), rb_define_global_const(), rb_file_const(), ripper_init_eventids1_table(), ripper_init_eventids2_table(), set_encoding_const(), and set_syserr().
| void rb_define_global_const | ( | const char * | , | |
| VALUE | ||||
| ) |
Definition at line 2236 of file variable.c.
References rb_cObject, and rb_define_const().
Referenced by Init_Hash(), Init_IO(), Init_Object(), Init_version(), Init_VM(), load_file_internal(), and ruby_prog_init().
| void rb_define_hooked_variable | ( | const char * | , | |
| VALUE * | , | |||
| VALUE(*)(ANYARGS) | , | |||
| void(*)(ANYARGS) | ||||
| ) |
Definition at line 585 of file variable.c.
References global_variable::data, global_variable::getter, global_id(), gvar_getter_t, gvar_setter_t, global_variable::marker, Qnil, RB_GC_GUARD, rb_global_entry(), global_variable::setter, VALUE, rb_global_entry::var, var_getter, var_marker, and var_setter.
Referenced by Init_IO(), Init_load(), rb_define_readonly_variable(), rb_define_variable(), rb_define_virtual_variable(), and ruby_prog_init().
| void rb_define_readonly_variable | ( | const char * | , | |
| VALUE * | ||||
| ) |
Definition at line 610 of file variable.c.
References rb_define_hooked_variable(), and readonly_setter.
Referenced by Init_IO().
| void rb_define_variable | ( | const char * | , | |
| VALUE * | ||||
| ) |
Definition at line 604 of file variable.c.
References rb_define_hooked_variable().
Referenced by Init_IO(), Init_String(), and ruby_prog_init().
| void rb_define_virtual_variable | ( | const char * | , | |
| VALUE(*)(ANYARGS) | , | |||
| void(*)(ANYARGS) | ||||
| ) |
Definition at line 616 of file variable.c.
References rb_define_hooked_variable(), readonly_setter, and val_getter.
Referenced by Init_eval(), Init_IO(), Init_load(), Init_process(), Init_Regexp(), Init_safe(), and Init_Time().
| VALUE rb_each | ( | VALUE | ) |
| VALUE rb_ensure | ( | VALUE(*)(ANYARGS) | , | |
| VALUE | , | |||
| VALUE(*)(ANYARGS) | , | |||
| VALUE | ||||
| ) |
Definition at line 839 of file eval.c.
References rb_ensure_entry::data2, rb_ensure_entry::e_proc, rb_thread_struct::ensure_list, rb_ensure_list::entry, rb_thread_struct::errinfo, EXEC_TAG, GET_THREAD(), JUMP_TAG, rb_ensure_entry::marker, rb_ensure_list::next, POP_TAG, PUSH_TAG, Qnil, result, and VALUE.
Referenced by _thread_call_proc(), check_autoload_required(), dir_entries(), dir_foreach(), dir_s_chdir(), dir_s_open(), fdbm_s_open(), fgdbm_s_open(), fole_each(), fsdbm_s_open(), gzfile_reader_end(), gzfile_wrap(), gzfile_writer_end(), io_s_write(), lib_eventloop_launcher(), lib_mainloop_watchdog(), load_file(), mSyslog_open(), p_gid_switch(), p_uid_switch(), pipe_pair_close(), pty_getpty(), pty_open(), queue_do_pop(), rb_autoload_load(), rb_condvar_wait(), rb_deflate_s_deflate(), rb_dlhandle_initialize(), rb_f_open(), rb_f_select(), rb_fiddle_handle_initialize(), rb_gvar_set(), rb_hash_assoc(), rb_hash_foreach(), rb_inflate_s_inflate(), rb_io_s_binread(), rb_io_s_copy_stream(), rb_io_s_foreach(), rb_io_s_open(), rb_io_s_pipe(), rb_io_s_popen(), rb_io_s_read(), rb_io_s_readlines(), rb_io_sysread(), rb_mutex_sleep(), rb_mutex_synchronize(), rb_objspace_each_objects(), rb_str_locktmp_ensure(), rb_szqueue_push(), rb_uninterruptible(), rb_wait_for_single_fd(), rsock_init_inetsock(), rsock_make_hostent(), strio_s_open(), thread_join(), trace_object_allocations(), tracepoint_disable_m(), tracepoint_enable_m(), and udp_connect().
| VALUE rb_equal | ( | VALUE | , | |
| VALUE | ||||
| ) |
Definition at line 89 of file object.c.
References id_eq, Qfalse, Qtrue, rb_funcall(), result, RTEST, and VALUE.
Referenced by assoc_cmp(), assoc_i(), chunk_ii(), count_i(), eql_i(), exc_equal(), find_index_i(), hash_equal(), Init_Object(), key_i(), member_i(), name_err_mesg_equal(), num_div(), num_eql(), num_remainder(), num_step_scan_args(), num_zero_p(), pst_equal(), range_bsearch(), rassoc_i(), rb_ary_assoc(), rb_ary_count(), rb_ary_delete(), rb_ary_equal(), rb_ary_includes(), rb_ary_index(), rb_ary_rassoc(), rb_ary_rindex(), rb_big_eq(), rb_hash_search_value(), rb_method_definition_eq(), rb_obj_cmp(), rb_str_equal(), recursive_equal(), syserr_eqq(), time_eql(), time_mdump(), and vtm_add_offset().
| VALUE rb_errinfo | ( | void | ) |
| VALUE rb_eval_string | ( | const char * | str | ) |
Evaluates the given string in an isolated binding.
Here "isolated" means the binding does not inherit any other binding. This behaves same as the binding for required libraries.
__FILE__ will be "(eval)", and __LINE__ starts from 1 in the evaluation.
| str | Ruby code to evaluate. |
| Exception | Raises an exception on error. |
Definition at line 1404 of file vm_eval.c.
References ruby_eval_string_from_file().
Referenced by foletype_s_typelibs(), ip_ruby_eval(), and rb_eval_string_protect().
| VALUE rb_eval_string_protect | ( | const char * | str, | |
| int * | state | |||
| ) |
Evaluates the given string in an isolated binding.
__FILE__ will be "(eval)", and __LINE__ starts from 1 in the evaluation.
| str | Ruby code to evaluate. | |
| state | Being set to zero if succeeded. Nonzero if an error occurred. |
Definition at line 1420 of file vm_eval.c.
References rb_eval_string(), and rb_protect().
Referenced by ip_ruby_cmd_receiver_const_get(), and rb_eval_string_wrap().
| VALUE rb_eval_string_wrap | ( | const char * | str, | |
| int * | state | |||
| ) |
Evaluates the given string under a module binding in an isolated binding.
This is same as the binding for required libraries on "require('foo', true)".
__FILE__ will be "(eval)", and __LINE__ starts from 1 in the evaluation.
| str | Ruby code to evaluate. | |
| state | Being set to zero if succeeded. Nonzero if an error occurred. |
Definition at line 1437 of file vm_eval.c.
References GET_THREAD(), JUMP_TAG, rb_eval_string_protect(), rb_extend_object(), rb_module_new(), rb_obj_clone(), rb_vm_top_self(), rb_thread_struct::top_self, and rb_thread_struct::top_wrapper.
| void rb_extend_object | ( | VALUE | , | |
| VALUE | ||||
| ) |
Definition at line 1305 of file eval.c.
References rb_include_module(), and rb_singleton_class().
Referenced by append_extmod(), Init_etc(), Init_Hash(), Init_readline(), mSyslogMacros_included(), r_object0(), rb_eval_string_wrap(), rb_load_internal0(), rb_mod_extend_object(), rb_mod_sys_fail(), rb_mod_sys_fail_str(), rb_mod_syserr_fail(), and rb_mod_syserr_fail_str().
| short rb_fix2short | ( | VALUE | ) |
Definition at line 2240 of file numeric.c.
References check_short(), FIX2LONG, FIXNUM_P, and rb_num2long().
| unsigned short rb_fix2ushort | ( | VALUE | ) |
Definition at line 2259 of file numeric.c.
References check_ushort(), FIX2ULONG, FIXNUM_P, negative_int_p(), and rb_num2ushort().
| VALUE rb_float_new | ( | double | ) |
| VALUE rb_float_new_in_heap | ( | double | ) |
Definition at line 637 of file numeric.c.
References FL_WB_PROTECTED, NEWOBJ_OF, OBJ_FREEZE, rb_cFloat, RGENGC_WB_PROTECTED_FLOAT, T_FLOAT, and VALUE.
Referenced by rb_float_new_inline().
| double rb_float_value | ( | VALUE | ) |
| void rb_free_tmp_buffer | ( | volatile VALUE * | store | ) |
| VALUE rb_funcall | ( | VALUE | recv, | |
| ID | mid, | |||
| int | n, | |||
| ... | ||||
| ) |
Calls a method.
| recv | receiver of the method | |
| mid | an ID that represents the name of the method | |
| n | the number of arguments | |
| ... | arbitrary number of method arguments |
Definition at line 775 of file vm_eval.c.
References ALLOCA_N, CALL_FCALL, rb_call(), va_init_list, and VALUE.
Referenced by _thread_call_proc_core(), _thread_call_proc_value(), add(), argument_error(), ary2list(), ary2list2(), BigDecimal_power(), BigDecimal_to_i(), BigDecimal_to_r(), binop(), bsock_setsockopt(), call_next(), call_queue_handler(), callback(), cbsubst_def_attr_aliases(), cbsubst_get_subst_key(), cbsubst_scan_args(), chunk_i(), chunk_ii(), cmp(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), coerce_body(), const_missing(), convert_encoding(), copy_stream_fallback_body(), cParser_initialize(), create_encoding_table(), cState_aref(), cState_aset(), cState_from_state_s(), default_inspect(), dir_inspect(), divmodv(), DupPrivPKeyPtr(), encoding_table_get_name_core(), enum_cycle_size(), enum_each_cons_size(), enum_each_slice_size(), enum_find(), enum_zip(), eq(), eval_queue_handler(), evs_length(), exc_message(), f_add(), f_cmp(), f_div(), f_eqeq_p(), f_gt_p(), f_lt_p(), f_minus_one_p(), f_mul(), f_odd_p(), f_one_p(), f_sub(), f_to_f(), f_zero_p(), fix_and(), fix_or(), fix_pow(), fix_xor(), flo_pow(), flo_quo(), fole_s_show_help(), foleparam_inspect(), foletype_s_ole_classes(), foletypelib_s_typelibs(), folevariable_inspect(), folevariant_value(), fun1(), fun2(), function_call(), generate_json(), generate_json_bignum(), generate_json_float(), generate_json_object(), generate_json_string(), generic_to_value(), get_backtrace(), get_eval_string_core(), GetConfigPtr(), GetPrivPKeyPtr(), GetVpValueWithPrec(), grep_i(), grep_iter_i(), gzfile_close(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), gzfile_reader_rewind(), gzfile_write_raw(), hash_default_value(), hidden_identity_hash_new(), Init_generator(), Init_parser(), Init_syslog(), Init_win32ole(), initialize(), inject_op_i(), int_dotimes(), int_dotimes_size(), int_downto(), int_even_p(), int_odd_p(), int_round_0(), int_upto(), invoke_queue_handler(), io_reader(), io_write(), ip_eval(), ip_invoke_with_position(), ip_set_exc_message(), is_negative(), is_one(), is_zero(), JSON_parse_array(), JSON_parse_object(), JSON_parse_string(), key2keyname(), lazy_drop_size(), lazy_flat_map_func(), lazy_flat_map_to_ary(), lazy_grep_func(), lazy_grep_iter(), lazy_map_func(), lazy_reject_func(), lazy_select_func(), lazy_zip_arrays_func(), lazy_zip_func(), lexer_iter(), lib_eventloop_launcher(), lib_fromUTF8_core(), lib_set_system_encoding(), lib_thread_callback(), lib_toUTF8_core(), lib_watchdog_core(), load_file_internal(), make_exception(), make_no_method_exception(), match_i(), max_by_i(), max_i(), min_by_i(), min_i(), minmax_by_i(), minmax_by_i_update(), minmax_i(), minmax_i_update(), mlambda(), mnew_from_me(), mObject_to_json(), mod(), mString_Extend_json_create(), mString_included_s(), mString_to_json_raw_object(), mul(), negate_lit(), negative_int_p(), num_abs(), num_div(), num_equal(), num_fdiv(), num_modulo(), num_nonzero_p(), num_remainder(), num_step(), num_to_int(), num_uminus(), numeric_quo(), nurat_div(), ole_invoke(), ole_typelib_from_itypeinfo(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_call_tmp_dh_callback(), ossl_call_verify_cb_proc(), ossl_pkey_sign(), ossl_ssl_close(), ossl_ssl_initialize(), ossl_ssl_read_internal(), ossl_ssl_session_get_time(), ossl_ssl_session_set_time(), ossl_ssl_write_internal(), ossl_sslctx_flush_sessions(), ossl_to_der(), ossl_x509attr_get_value(), ossl_x509attr_initialize(), ossl_x509ext_initialize(), ossl_x509store_verify(), parse(), parse_main(), path_atime(), path_basename(), path_blockdev_p(), path_chardev_p(), path_chmod(), path_chown(), path_ctime(), path_directory_p(), path_dirname(), path_entries(), path_executable_p(), path_executable_real_p(), path_exist_p(), path_expand_path(), path_extname(), path_file_p(), path_fnmatch(), path_ftype(), path_grpowned_p(), path_lchmod(), path_lchown(), path_lstat(), path_make_link(), path_make_symlink(), path_mkdir(), path_mtime(), path_owned_p(), path_pipe_p(), path_readable_p(), path_readable_real_p(), path_readlink(), path_realdirpath(), path_realpath(), path_rename(), path_rmdir(), path_s_getwd(), path_setgid_p(), path_setuid_p(), path_size(), path_size_p(), path_socket_p(), path_split(), path_stat(), path_sticky_p(), path_symlink_p(), path_truncate(), path_utime(), path_world_readable_p(), path_world_writable_p(), path_writable_p(), path_writable_real_p(), path_zero_p(), positive_int_p(), protected_alias(), protected_empty(), protected_end_document(), protected_end_mapping(), protected_end_sequence(), protected_end_stream(), protected_start_stream(), quo(), r_le(), r_lt(), r_post_proc(), range_bsearch(), range_check(), range_each_func(), range_eqq(), range_max(), range_min(), range_step(), range_step_size(), rb_big_pow(), rb_class_inherited(), rb_cmpint(), rb_digest_class_s_digest(), rb_digest_instance_bubblebabble(), rb_digest_instance_digest(), rb_digest_instance_digest_bang(), rb_digest_instance_hexdigest(), rb_digest_instance_hexdigest_bang(), rb_digest_instance_length(), rb_digest_instance_new(), rb_digest_instance_to_s(), rb_enc_get_index(), rb_eql(), rb_equal(), rb_exc_new(), rb_exc_new_str(), rb_gzreader_initialize(), rb_gzwriter_flush(), rb_gzwriter_initialize(), rb_hash_default(), rb_inspect(), rb_int_pred(), rb_int_succ(), rb_io_flush_raw(), rb_mod_include(), rb_mod_prepend(), rb_num_coerce_bin(), rb_num_coerce_bit(), rb_num_coerce_cmp(), rb_num_coerce_relop(), rb_obj_as_string(), rb_obj_clone(), rb_obj_dup(), rb_obj_extend(), rb_obj_init_dup_clone(), rb_obj_not_equal(), rb_obj_not_match(), rb_range_values(), rb_str_match(), rb_str_sum(), rb_str_upto(), rb_strftime_with_timespec(), reachable_object_from_root_i(), reachable_objects_from_root(), readline_attempted_completion_function(), reduce0(), rescue_callback(), ruby_num_interval_step_size(), set_backtrace(), set_max_block_time(), set_option_encoding_once(), set_state_ivars(), shift(), slicebefore_i(), slicebefore_ii(), sockopt_unpack(), sort_by_cmp(), ssl_renegotiation_cb(), step_i(), strscan_get_charpos(), sub(), sym_step_i(), syserr_eqq(), tcl2rb_bool(), tcl_protect_core(), time_timespec(), timetick2integer(), tk_funcall(), tk_install_cmd_core(), TkStringValue(), to_strkey(), unknown_keyword_error(), unlink_body(), unlink_rescue(), wadd(), wcmp(), wdivmod(), weq(), wmul(), wquo(), writer(), and wsub().
| VALUE rb_funcall_passing_block | ( | VALUE | , | |
| ID | , | |||
| int | , | |||
| const VALUE * | ||||
| ) |
Definition at line 827 of file vm_eval.c.
References CALL_PUBLIC, GET_THREAD(), PASS_PASSED_BLOCK_TH, and rb_call().
Referenced by rb_f_chomp(), rb_f_chop(), rb_f_gsub(), and rb_f_sub().
| VALUE rb_funcall_with_block | ( | VALUE | , | |
| ID | , | |||
| int | , | |||
| const VALUE * | , | |||
| VALUE | ||||
| ) |
Definition at line 835 of file vm_eval.c.
References rb_proc_t::block, CALL_PUBLIC, GET_THREAD(), GetProcPtr, NIL_P, rb_thread_struct::passed_block, and rb_call().
Referenced by sym_call().
| VALUE rb_funcallv | ( | VALUE | recv, | |
| ID | mid, | |||
| int | argc, | |||
| const VALUE * | argv | |||
| ) |
Calls a method.
| recv | receiver of the method | |
| mid | an ID that represents the name of the method | |
| argc | the number of arguments | |
| argv | pointer to an array of method arguments |
Definition at line 806 of file vm_eval.c.
References CALL_FCALL, and rb_call().
Referenced by binomial_coefficient(), cmp_eq_recursive(), descending_factorial(), dump_output(), hash_recursive(), rb_ary_bsearch(), rb_ary_cycle_size(), rb_ary_repeated_permutation_size(), rb_io_write(), recursive_cmp(), and sort_2().
| VALUE rb_funcallv_public | ( | VALUE | recv, | |
| ID | mid, | |||
| int | argc, | |||
| const VALUE * | argv | |||
| ) |
Calls a method.
Same as rb_funcall2 but this function can call only public methods.
| recv | receiver of the method | |
| mid | an ID that represents the name of the method | |
| argc | the number of arguments | |
| argv | pointer to an array of method arguments |
Definition at line 821 of file vm_eval.c.
References CALL_PUBLIC, and rb_call().
| void rb_gc_register_address | ( | VALUE * | ) |
Definition at line 4927 of file gc.c.
References ALLOC, global_List, gc_list::next, rb_objspace, and gc_list::varptr.
Referenced by Init_coverage(), Init_readline(), and rb_global_variable().
| void rb_gc_register_mark_object | ( | VALUE | ) |
Definition at line 4920 of file gc.c.
References GET_THREAD(), rb_vm_struct::mark_object_ary, rb_ary_push(), VALUE, and rb_thread_struct::vm.
Referenced by date__strptime_internal(), Init_Encoding(), Init_IO(), Init_load(), Init_marshal(), Init_Random(), Init_VM(), Init_win32ole(), power_cache_get_power(), pruby_init(), rb_define_class_id_under(), rb_define_module_id_under(), rt_complete_frags(), ruby_process_options(), and sym_to_proc().
| void rb_gc_unregister_address | ( | VALUE * | ) |
Definition at line 4939 of file gc.c.
References global_List, gc_list::next, rb_objspace, gc_list::varptr, and xfree.
| void rb_gc_writebarrier | ( | VALUE | a, | |
| VALUE | b | |||
| ) |
Definition at line 4731 of file gc.c.
References obj_type_name(), rb_bug(), rb_objspace, RGENGC_CHECK_MODE, rgengc_remember(), rgengc_remembered(), rgengc_report, RVALUE_OLD_BITMAP_P(), RVALUE_OLD_P(), and RVALUE_PROMOTED_P().
Referenced by rb_obj_written().
| void rb_gc_writebarrier_unprotect_promoted | ( | VALUE | obj | ) |
Definition at line 4749 of file gc.c.
References BUILTIN_TYPE, obj_type_name(), rb_objspace::profile, rb_bug(), rb_objspace, rb_objspace::remembered_shady_object_count, rb_objspace::rgengc, RGENGC_CHECK_MODE, rgengc_remember(), rgengc_remembered(), rgengc_report, RVALUE_DEMOTE_FROM_OLD(), RVALUE_OLD_P(), RVALUE_PROMOTED_P(), and RVALUE_WB_PROTECTED.
Referenced by rb_obj_wb_unprotect().
| VALUE rb_get_path | ( | VALUE | ) |
Definition at line 225 of file file.c.
References rb_get_path_check(), and rb_safe_level.
Referenced by apply2files(), rb_feature_provided(), and rb_file_s_path().
| VALUE rb_get_path_no_checksafe | ( | VALUE | ) |
| void rb_glob | ( | const char * | , | |
| void(*)(const char *, VALUE, void *) | , | |||
| VALUE | ||||
| ) |
Definition at line 1615 of file dir.c.
References GLOB_JUMP_TAG, rb_ascii8bit_encoding(), and rb_glob2().
| void rb_global_variable | ( | VALUE * | ) |
Definition at line 4962 of file gc.c.
References rb_gc_register_address().
Referenced by Init_openssl(), Init_ossl_asn1(), Init_RandomSeed(), Init_Regexp(), Init_tcltklib(), and Init_tkutil().
| VALUE rb_gv_get | ( | const char * | ) |
Definition at line 819 of file variable.c.
References global_entry, global_id(), rb_global_entry(), and rb_gvar_get().
Referenced by ip_ruby_cmd_receiver_get(), load_file(), and mSyslog_open().
| VALUE rb_gv_set | ( | const char * | , | |
| VALUE | ||||
| ) |
Definition at line 810 of file variable.c.
References global_entry, global_id(), rb_global_entry(), and rb_gvar_set().
Referenced by process_sflag(), and restore_lineno().
| void rb_gvar_readonly_setter | ( | VALUE | val, | |
| ID | id, | |||
| void * | data, | |||
| struct rb_global_variable * | gvar | |||
| ) |
Referenced by Init_IO(), Init_load(), and ruby_prog_init().
| VALUE rb_gvar_undef_getter | ( | ID | id, | |
| void * | data, | |||
| struct rb_global_variable * | gvar | |||
| ) |
| void rb_gvar_undef_marker | ( | VALUE * | var | ) |
| void rb_gvar_undef_setter | ( | VALUE | val, | |
| ID | id, | |||
| void * | data, | |||
| struct rb_global_variable * | gvar | |||
| ) |
| VALUE rb_gvar_val_getter | ( | ID | id, | |
| void * | data, | |||
| struct rb_global_variable * | gvar | |||
| ) |
| void rb_gvar_val_marker | ( | VALUE * | var | ) |
| void rb_gvar_val_setter | ( | VALUE | val, | |
| ID | id, | |||
| void * | data, | |||
| struct rb_global_variable * | gvar | |||
| ) |
| VALUE rb_gvar_var_getter | ( | ID | id, | |
| void * | data, | |||
| struct rb_global_variable * | gvar | |||
| ) |
| void rb_gvar_var_marker | ( | VALUE * | var | ) |
| void rb_gvar_var_setter | ( | VALUE | val, | |
| ID | id, | |||
| void * | data, | |||
| struct rb_global_variable * | gvar | |||
| ) |
| const char* rb_id2name | ( | ID | ) |
| VALUE rb_id2str | ( | ID | ) |
Definition at line 17160 of file ripper.c.
References global_symbols, ID_CLASS, ID_CONST, ID_GLOBAL, ID_INSTANCE, ID_JUNK, ID_LOCAL, symbols::id_str, if(), is_attrset_id, symbols::minor_marked, OBJ_FREEZE, symbols::op_sym, op_tbl, op_tbl_count, rb_cString, rb_fstring(), rb_id2str(), rb_ispunct(), rb_str_cat(), rb_str_dup(), rb_usascii_str_new(), rb_usascii_str_new2, RBASIC, RBASIC_SET_CLASS_RAW, register_symid_str(), st_data_t, st_lookup(), tLAST_TOKEN, token, and VALUE.
| VALUE rb_int2big | ( | SIGNED_VALUE | ) |
Definition at line 3164 of file bignum.c.
References neg, rb_uint2big(), RBIGNUM_SET_SIGN, and VALUE.
Referenced by bigdivmod(), bigdivrem(), f_imul(), fix_cmp(), fix_divide(), fix_divmod(), fix_fdiv(), fix_ge(), fix_gt(), fix_le(), fix_lshift(), fix_lt(), fix_minus(), fix_mod(), fix_mul(), fix_pow(), int_pow(), rb_big_cmp(), rb_big_coerce(), rb_big_divide(), rb_big_divmod(), rb_big_eq(), rb_big_fdiv(), rb_big_modulo(), rb_big_mul(), rb_big_remainder(), rb_fix_lshift(), rb_fix_rshift(), rb_int2inum(), rb_int2num_inline(), rb_long2num_inline(), and w_object().
| VALUE rb_int2inum | ( | SIGNED_VALUE | ) |
Definition at line 3192 of file bignum.c.
References FIXABLE, LONG2FIX, and rb_int2big().
Referenced by gzfile_reader_rewind().
| static VALUE rb_int2num_inline | ( | int | v | ) | [inline, static] |
| ID rb_intern | ( | const char * | ) |
| ID rb_intern2 | ( | const char * | , | |
| long | ||||
| ) |
| ID rb_intern_str | ( | VALUE | str | ) |
Definition at line 17150 of file ripper.c.
References global_symbols, intern_str(), rb_str_dup(), st_data_t, st_lookup(), and symbols::sym_id.
| int rb_isalnum | ( | int | c | ) |
| int rb_isalpha | ( | int | c | ) |
| int rb_isblank | ( | int | c | ) |
| int rb_iscntrl | ( | int | c | ) |
| int rb_isdigit | ( | int | c | ) |
Definition at line 1925 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_DIGIT.
Referenced by f_format().
| int rb_isgraph | ( | int | c | ) |
| int rb_islower | ( | int | c | ) |
| int rb_isprint | ( | int | c | ) |
| int rb_ispunct | ( | int | c | ) |
Definition at line 1929 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_PUNCT.
Referenced by rb_id2str().
| int rb_isspace | ( | int | c | ) |
Definition at line 1930 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_SPACE.
Referenced by rb_str_lstrip_bang(), rb_str_rstrip_bang(), and rb_str_split_m().
| int rb_isupper | ( | int | c | ) |
| int rb_isxdigit | ( | int | c | ) |
| VALUE rb_iterate | ( | VALUE(*)(VALUE) | , | |
| VALUE | , | |||
| VALUE(*)(ANYARGS) | , | |||
| VALUE | ||||
| ) |
Definition at line 1052 of file vm_eval.c.
References rb_thread_struct::cfp, rb_control_frame_struct::ep, err, rb_thread_struct::errinfo, GET_THREAD(), GET_THROWOBJ_CATCH_POINT, GET_THROWOBJ_VAL, rb_block_struct::iseq, NEW_IFUNC, node, rb_thread_struct::passed_block, rb_block_struct::proc, Qnil, rb_frame_this_func(), rb_vm_rewind_cfp(), RUBY_VM_GET_BLOCK_PTR_IN_CFP, rb_thread_struct::state, TAG_BREAK, TAG_RETRY, TH_EXEC_TAG, TH_JUMP_TAG, TH_POP_TAG, TH_PUSH_TAG, and VM_CF_BLOCK_PTR().
Referenced by call_lexer(), method_proc(), rb_block_call(), rb_check_block_call(), and rb_proc_new().
| VALUE rb_iv_get | ( | VALUE | , | |
| const char * | ||||
| ) |
Definition at line 2601 of file variable.c.
References rb_intern, and rb_ivar_get().
Referenced by callback(), esignal_signo(), function_call(), localjump_reason(), localjump_xvalue(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_ssl_setup(), ossl_sslctx_setup(), ossl_x509extfactory_create_ext(), ossl_x509stctx_initialize(), ossl_x509stctx_verify(), ossl_x509store_verify(), parse(), pst_to_i(), ruby_cleanup(), set_state_ivars(), ssl_renegotiation_cb(), and sysexit_status().
| VALUE rb_iv_set | ( | VALUE | , | |
| const char * | , | |||
| VALUE | ||||
| ) |
Definition at line 2609 of file variable.c.
References rb_intern, and rb_ivar_set().
Referenced by argument_error(), build_exception(), esignal_init(), exc_initialize(), exc_set_backtrace(), exit_initialize(), Init_VM(), initialize(), initialize_params(), ip_RubyExitCommand(), make_localjump_error(), name_err_initialize(), nometh_err_initialize(), ossl_ssl_initialize(), ossl_sslctx_initialize(), ossl_x509extfactory_alloc(), ossl_x509extfactory_set_crl(), ossl_x509extfactory_set_issuer_cert(), ossl_x509extfactory_set_subject_cert(), ossl_x509extfactory_set_subject_req(), ossl_x509stctx_initialize(), ossl_x509store_initialize(), ossl_x509store_set_flags(), ossl_x509store_set_purpose(), ossl_x509store_set_time(), ossl_x509store_set_trust(), ossl_x509store_set_vfy_cb(), ossl_x509store_verify(), parse_keyword_arg_i(), raise_from_check(), rb_last_status_set(), setup_exception(), and syserr_initialize().
| static VALUE rb_long2num_inline | ( | long | v | ) | [inline, static] |
| void rb_need_block | ( | void | ) |
Definition at line 733 of file eval.c.
References Qnil, rb_block_given_p(), and rb_vm_localjump_error().
Referenced by generator_initialize(), and yielder_initialize().
| VALUE rb_newobj | ( | void | ) |
| VALUE rb_newobj_of | ( | VALUE | , | |
| VALUE | ||||
| ) |
| static char rb_num2char_inline | ( | VALUE | x | ) | [inline, static] |
Definition at line 1322 of file ruby.h.
References NUM2INT, RSTRING_LEN, RSTRING_PTR, T_STRING, and TYPE.
| double rb_num2dbl | ( | VALUE | ) |
Definition at line 2964 of file object.c.
References rb_eTypeError, rb_Float(), rb_raise(), RFLOAT_VALUE, T_FLOAT, T_NIL, T_STRING, and TYPE.
Referenced by thread_join_m().
| SIGNED_VALUE rb_num2long | ( | VALUE | ) |
Definition at line 2029 of file numeric.c.
References buf, FIX2LONG, FIXNUM_P, LONG_MAX_PLUS_ONE, LONG_MIN_MINUS_ONE_IS_LESS_THAN, NIL_P, rb_big2long(), rb_eRangeError, rb_eTypeError, rb_raise(), rb_to_int(), RB_TYPE_P, RFLOAT_VALUE, snprintf, strchr(), T_BIGNUM, and T_FLOAT.
Referenced by rb_fix2short(), rb_num2fix(), rb_num2int(), rb_num2long_inline(), and rb_num2short().
| static long rb_num2long_inline | ( | VALUE | x | ) | [inline, static] |
| short rb_num2short | ( | VALUE | ) |
Definition at line 2231 of file numeric.c.
References check_short(), and rb_num2long().
Referenced by rb_num2short_inline().
| static short rb_num2short_inline | ( | VALUE | x | ) | [inline, static] |
| VALUE rb_num2ulong | ( | VALUE | ) |
Definition at line 2109 of file numeric.c.
References NULL, and rb_num2ulong_internal().
Referenced by rb_num2ulong_inline().
| static unsigned long rb_num2ulong_inline | ( | VALUE | x | ) | [inline, static] |
| unsigned short rb_num2ushort | ( | VALUE | ) |
Definition at line 2249 of file numeric.c.
References check_ushort(), and rb_num2ulong_internal().
Referenced by rb_fix2ushort().
| const char* rb_obj_classname | ( | VALUE | ) |
Definition at line 406 of file variable.c.
References CLASS_OF, and rb_class2name().
Referenced by addrinfo_inspect(), BigDecimal_power(), check_type_val2variant(), convert_type(), divmodv(), econv_inspect(), enum_zip(), generator_initialize(), GetVpValueWithPrec(), init_copy(), iseq_inspect(), lazy_zip(), match_inspect(), method_inspect(), must_respond_to(), nucomp_coerce(), num_exact(), num_init_copy(), num_sadded(), nurat_coerce(), path_inspect(), proc_to_s(), range_bsearch(), range_each(), range_step(), rb_ary_bsearch(), rb_big_coerce(), rb_builtin_class_name(), rb_check_convert_type(), rb_check_inheritable(), rb_check_safe_str(), rb_check_typeddata(), rb_cmperr(), rb_convert_type(), rb_define_module(), rb_define_module_id_under(), rb_digest_instance_inspect(), rb_digest_instance_method_unimpl(), rb_f_kill(), rb_Hash(), rb_hash_set_default_proc(), rb_mod_define_method(), rb_obj_clone(), rb_obj_dup(), rb_stat_inspect(), rb_str_index_m(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_thread_inspect(), rb_to_float(), rb_to_integer(), rescue_callback(), setup_exception(), should_be_callable(), should_be_finalizable(), sockopt_inspect(), time_timespec(), uscore_get(), using_module_recursive(), vm_caller_setup_args(), w_object(), and wdivmod().
| VALUE rb_obj_hide | ( | VALUE | obj | ) |
Definition at line 53 of file object.c.
References RBASIC_CLEAR_CLASS, and SPECIAL_CONST_P.
Referenced by power_cache_get_power(), rb_coverage_start(), rsock_s_recvfrom(), vm_init2(), zstream_append_buffer(), zstream_append_input(), and zstream_expand_buffer_into().
| void rb_obj_infect | ( | VALUE | , | |
| VALUE | ||||
| ) |
| VALUE rb_obj_reveal | ( | VALUE | obj, | |
| VALUE | klass | |||
| ) |
Definition at line 62 of file object.c.
References RBASIC_SET_CLASS, and SPECIAL_CONST_P.
Referenced by Init_RandomSeed2(), rsock_s_recvfrom(), zstream_detach_buffer(), zstream_detach_input(), zstream_expand_buffer(), and zstream_shift_buffer().
| VALUE rb_obj_setup | ( | VALUE | obj, | |
| VALUE | klass, | |||
| VALUE | type | |||
| ) |
Definition at line 71 of file object.c.
References FL_SET, FL_TAINT, rb_safe_level, RBASIC, and RBASIC_SET_CLASS.
| static VALUE rb_obj_wb_unprotect | ( | VALUE | x, | |
| RB_UNUSED_VAR(const char *filename) | , | |||
| RB_UNUSED_VAR(int line) | ||||
| ) | [inline, static] |
Definition at line 1226 of file ruby.h.
References FL_PROMOTED, FL_TEST_RAW, FL_WB_PROTECTED, rb_gc_writebarrier_unprotect_promoted(), and RBASIC.
| static VALUE rb_obj_write | ( | VALUE | a, | |
| VALUE * | slot, | |||
| VALUE | b, | |||
| RB_UNUSED_VAR(const char *filename) | , | |||
| RB_UNUSED_VAR(int line) | ||||
| ) | [inline, static] |
| static VALUE rb_obj_written | ( | VALUE | a, | |
| RB_UNUSED_VAR(VALUE oldv) | , | |||
| VALUE | b, | |||
| RB_UNUSED_VAR(const char *filename) | , | |||
| RB_UNUSED_VAR(int line) | ||||
| ) | [inline, static] |
Definition at line 1245 of file ruby.h.
References FL_PROMOTED, FL_TEST_RAW, rb_gc_writebarrier(), and SPECIAL_CONST_P.
Referenced by rb_obj_write().
| void rb_p | ( | VALUE | ) |
Definition at line 7032 of file io.c.
References CLASS_OF, id_write, io_write(), rb_default_rs, rb_inspect(), rb_io_write(), rb_method_basic_definition_p(), rb_obj_as_string(), rb_stdout, RB_TYPE_P, T_FILE, and VALUE.
Referenced by rb_f_p_internal().
| int rb_remove_event_hook | ( | rb_event_hook_func_t | func | ) |
| VALUE rb_require | ( | const char * | ) |
Definition at line 1034 of file load.c.
References OBJ_FREEZE, rb_require_safe(), rb_safe_level, rb_str_new2, and VALUE.
Referenced by dump_output(), Init_bubblebabble(), Init_generator(), Init_md5(), Init_ossl_digest(), Init_parser(), Init_psych_parser(), Init_rmd160(), Init_sha1(), Init_sha2(), and Init_tkutil().
| VALUE rb_rescue | ( | VALUE(*)(ANYARGS) | , | |
| VALUE | , | |||
| VALUE(*)(ANYARGS) | , | |||
| VALUE | ||||
| ) |
Definition at line 799 of file eval.c.
References rb_eStandardError, rb_rescue2(), and VALUE.
Referenced by cmp_equal(), do_coerce(), range_init(), and time_mload().
| VALUE rb_rescue2 | ( | VALUE(*)(ANYARGS) | , | |
| VALUE | , | |||
| VALUE(*)(ANYARGS) | , | |||
| VALUE | , | |||
| ... | ||||
| ) |
Definition at line 741 of file eval.c.
References args, rb_thread_struct::cfp, rb_thread_struct::errinfo, FALSE, GET_THREAD(), JUMP_TAG, Qfalse, Qnil, rb_obj_is_kind_of(), rb_vm_rewind_cfp(), result, TAG_RAISE, TAG_RETRY, TH_EXEC_TAG, TH_POP_TAG, TH_PUSH_TAG, TRUE, va_init_list, and VALUE.
Referenced by argf_getpartial(), check_funcall_missing(), copy_stream_fallback(), gzfile_read_raw(), io_close(), lazy_zip_func(), path_unlink(), rb_f_loop(), rb_rescue(), tcl2rb_num_or_str(), tkstr_rescue_float(), tkstr_to_number(), and zip_i().
| VALUE* rb_ruby_debug_ptr | ( | void | ) |
| VALUE* rb_ruby_verbose_ptr | ( | void | ) |
| int rb_safe_level | ( | void | ) |
| void rb_secure | ( | int | ) |
Definition at line 88 of file safe.c.
References rb_eSecurityError, rb_frame_callee(), rb_id2name(), rb_raise(), and rb_safe_level.
Referenced by bsock_setsockopt(), check_dirname(), check_gid_switch(), check_uid_switch(), dir_s_chdir(), dlhandle_sym(), fiddle_handle_sym(), gc_stress_set(), get_pid(), get_ppid(), iseq_eval(), iseq_s_compile(), iseq_s_compile_file(), iseq_s_compile_option_set(), iseq_s_of(), iseq_to_a(), proc_detach(), proc_wait(), proc_waitall(), rb_dlhandle_initialize(), rb_execarg_addopt(), rb_f_kill(), rb_fiddle_handle_initialize(), rb_file_chmod(), rb_file_chown(), rb_file_executable_p(), rb_file_executable_real_p(), rb_file_flock(), rb_file_identical_p(), rb_file_lstat(), rb_file_readable_p(), rb_file_readable_real_p(), rb_file_s_chmod(), rb_file_s_chown(), rb_file_s_ftype(), rb_file_s_lstat(), rb_file_s_rename(), rb_file_s_umask(), rb_file_s_unlink(), rb_file_s_utime(), rb_file_symlink_p(), rb_file_writable_p(), rb_file_writable_real_p(), rb_ioctl(), rb_iseq_disasm(), rb_obj_untaint(), rb_realpath_internal(), rb_stat(), rb_stat_init(), rsock_s_accept(), rsock_s_accept_nonblock(), sig_trap(), sock_initialize(), sock_s_gethostbyname(), tcp_s_gethostbyname(), test_check(), udp_bind(), udp_connect(), and udp_init().
| void rb_set_errinfo | ( | VALUE | ) |
Definition at line 1504 of file eval.c.
References rb_thread_struct::errinfo, GET_THREAD(), NIL_P, rb_eException, rb_eTypeError, rb_obj_is_kind_of(), and rb_raise().
Referenced by exc_equal(), load_encoding(), name_err_mesg_to_str(), ossl_pem_passwd_cb(), ossl_verify_cb(), pruby_eval(), rb_reg_compile(), reg_compile_gen(), and run_finalizer().
| void rb_set_safe_level | ( | int | ) |
Definition at line 49 of file safe.c.
References GET_THREAD(), rb_eArgError, rb_raise(), rb_thread_struct::safe_level, and SAFE_LEVEL_MAX.
Referenced by callq_safelevel_handler(), create_encoding_table_core(), evq_safelevel_handler(), and ivq_safelevel_handler().
| void rb_set_safe_level_force | ( | int | ) |
Definition at line 43 of file safe.c.
References GET_THREAD(), and rb_thread_struct::safe_level.
Referenced by check_autoload_required(), create_encoding_table_core(), exec_end_procs_chain(), rb_autoload_load(), rb_eval_cmd(), rb_exec_end_proc(), rb_method_call_with_block(), rb_require_safe(), and reset_safe().
| static int rb_special_const_p | ( | VALUE | obj | ) | [inline, static] |
Definition at line 1687 of file ruby.h.
References Qfalse, Qtrue, and SPECIAL_CONST_P.
Referenced by cannot_be_coerced_into_BigDecimal(), coerce_failed(), generic_ivar_set(), givar_i(), is_markable_object(), r_object0(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_lookup(), rb_obj_clone(), rb_obj_dup(), and rb_obj_remove_instance_variable().
| VALUE rb_str_export | ( | VALUE | ) |
Definition at line 743 of file string.c.
References rb_default_external_encoding(), rb_str_conv_enc(), and STR_ENC_GET.
| VALUE rb_str_export_locale | ( | VALUE | ) |
Definition at line 749 of file string.c.
References rb_locale_encoding(), rb_str_conv_enc(), and STR_ENC_GET.
| VALUE rb_str_to_str | ( | VALUE | ) |
Definition at line 964 of file string.c.
References rb_convert_type(), and T_STRING.
Referenced by new_struct(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_string_value(), and reg_operand().
| VALUE rb_string_value | ( | volatile VALUE * | ) |
Definition at line 1589 of file string.c.
References rb_str_to_str(), RB_TYPE_P, T_STRING, and VALUE.
Referenced by rb_string_value_cstr(), and rb_string_value_ptr().
| char* rb_string_value_cstr | ( | volatile VALUE * | ) |
Definition at line 1644 of file string.c.
References len, rb_eArgError, rb_enc_get(), rb_enc_mbminlen, rb_raise(), rb_str_modify(), rb_string_value(), RSTRING_LEN, RSTRING_PTR, str_fill_term(), str_null_char(), and VALUE.
| char* rb_string_value_ptr | ( | volatile VALUE * | ) |
| VALUE rb_syserr_new | ( | int | , | |
| const char * | ||||
| ) |
Definition at line 1950 of file error.c.
References Qnil, rb_str_new2, rb_syserr_new_str(), and VALUE.
Referenced by make_errno_exc(), rb_mod_syserr_fail(), and rb_syserr_fail().
| VALUE rb_syserr_new_str | ( | int | n, | |
| VALUE | arg | |||
| ) |
Definition at line 1958 of file error.c.
References get_syserr(), and rb_class_new_instance().
Referenced by make_errno_exc_str(), rb_mod_syserr_fail_str(), rb_syserr_fail_str(), and rb_syserr_new().
| ID rb_to_id | ( | VALUE | ) |
Definition at line 8730 of file string.c.
References NIL_P, PRIsVALUE, rb_check_string_type(), rb_eTypeError, rb_intern_str, rb_raise(), RB_TYPE_P, SYM2ID, SYMBOL_P, and T_STRING.
Referenced by check_setter_id(), enumerator_init(), fole_missing(), new_struct(), num_sadded(), obj_respond_to(), ole_search_handler_method(), rb_f_trace_var(), rb_mod_alias_method(), rb_mod_autoload(), rb_mod_const_missing(), rb_mod_define_method(), rb_mod_modfunc(), rb_struct_s_def(), rb_thread_aset(), rb_thread_variable_set(), send_internal(), and vm_call_opt_send().
| int rb_tolower | ( | int | c | ) |
Definition at line 1935 of file encoding.c.
References ONIGENC_ASCII_CODE_TO_LOWER_CASE, and rb_isascii.
Referenced by readline_attempted_completion_function().
| int rb_toupper | ( | int | c | ) |
Definition at line 1941 of file encoding.c.
References ONIGENC_ASCII_CODE_TO_UPPER_CASE, and rb_isascii.
| static int rb_type | ( | VALUE | obj | ) | [inline, static] |
| int rb_typeddata_inherited_p | ( | const rb_data_type_t * | child, | |
| const rb_data_type_t * | parent | |||
| ) |
Definition at line 500 of file error.c.
References rb_data_type_struct::parent.
Referenced by rb_check_typeddata(), and rb_typeddata_is_kind_of().
| int rb_typeddata_is_kind_of | ( | VALUE | , | |
| const rb_data_type_t * | ||||
| ) |
Definition at line 510 of file error.c.
References RB_TYPE_P, rb_typeddata_inherited_p(), RTYPEDDATA_P, RTYPEDDATA_TYPE, and T_DATA.
Referenced by econv_equal(), is_kind_of_BigDecimal(), rb_backtrace_p(), rb_dlcfunc2ptr(), rb_dlcfunc_kind_p(), rb_obj_is_fiber(), rb_obj_is_method(), rb_obj_is_mutex(), rb_obj_is_proc(), rb_obj_is_thread(), reachable_objects_from(), and try_get_rnd().
| VALUE rb_uint2big | ( | VALUE | ) |
Definition at line 3142 of file bignum.c.
References BDIGIT, bdigit_roomof, BDIGITS, BIGDN, BIGLO, bignew, RBIGNUM_SET_LEN, SIZEOF_VALUE, and VALUE.
Referenced by bigdivrem(), rb_cstr_to_inum(), rb_int2big(), rb_uint2inum(), rb_uint2num_inline(), and rb_ulong2num_inline().
| VALUE rb_uint2inum | ( | VALUE | ) |
Definition at line 3185 of file bignum.c.
References LONG2FIX, POSFIXABLE, and rb_uint2big().
Referenced by do_checksum(), rb_gzfile_crc(), rb_gzfile_total_in(), rb_gzfile_total_out(), rb_zlib_crc_table(), rb_zstream_adler(), rb_zstream_avail_out(), rb_zstream_total_in(), rb_zstream_total_out(), and zstream_run().
| static VALUE rb_uint2num_inline | ( | unsigned int | v | ) | [inline, static] |
| static VALUE rb_ulong2num_inline | ( | unsigned long | v | ) | [inline, static] |
| VALUE rb_yield | ( | VALUE | ) |
Definition at line 942 of file vm_eval.c.
References Qundef, and rb_yield_0().
Referenced by ary_add_hash_by(), ary_reject(), ary_reject_bang(), BigDecimal_save_exception_mode(), BigDecimal_save_limit(), BigDecimal_save_rounding_mode(), chdir_yield(), console_cooked(), console_noecho(), console_raw(), cycle_i(), d_lite_downto(), d_lite_upto(), dir_each(), dir_s_open(), drop_while_i(), each_cons_i(), each_entry_i(), each_i(), each_key_i(), each_pair_i(), each_slice_i(), each_val_i(), each_value_i(), enum_cycle(), enum_each_slice(), enum_reverse_each(), env_delete_m(), env_each_key(), env_each_pair(), env_each_value(), env_fetch(), fdbm_delete(), fdbm_delete_if(), fdbm_each_key(), fdbm_each_pair(), fdbm_each_value(), fdbm_fetch(), fdbm_s_open(), fdbm_select(), fgdbm_delete_if(), fgdbm_each_key(), fgdbm_each_pair(), fgdbm_each_value(), fgdbm_fetch(), fgdbm_s_open(), fgdbm_select(), find_all_i(), find_i(), fsdbm_delete(), fsdbm_delete_if(), fsdbm_each_key(), fsdbm_each_pair(), fsdbm_each_value(), fsdbm_fetch(), fsdbm_s_open(), fsdbm_select(), glob_i(), grep_iter_i(), group_by_i(), gzfile_wrap(), hist_each(), int_dotimes(), int_downto(), int_upto(), io_s_foreach(), lazy_grep_iter(), lazy_reject_func(), lazy_select_func(), max_by_i(), min_by_i(), minmax_by_i(), mSyslog_open(), num_step(), ole_each_sub(), os_obj_of_i(), ossl_asn1_decode0(), ossl_generate_cb(), ossl_pem_passwd_cb0(), p_gid_switch(), p_uid_switch(), partition_i(), pty_getpty(), pty_open(), range_each(), range_step(), rb_ary_bsearch(), rb_ary_collect(), rb_ary_collect_bang(), rb_ary_combination(), rb_ary_count(), rb_ary_cycle(), rb_ary_delete(), rb_ary_drop_while(), rb_ary_each(), rb_ary_each_index(), rb_ary_fetch(), rb_ary_fill(), rb_ary_index(), rb_ary_initialize(), rb_ary_permutation(), rb_ary_product(), rb_ary_repeated_combination(), rb_ary_repeated_permutation(), rb_ary_reverse_each(), rb_ary_rindex(), rb_ary_select(), rb_ary_select_bang(), rb_ary_take_while(), rb_ary_zip(), rb_callcc(), rb_dlhandle_initialize(), rb_f_open(), rb_fiddle_handle_initialize(), rb_gzreader_each(), rb_gzreader_each_byte(), rb_gzreader_each_char(), rb_hash_delete(), rb_hash_fetch_m(), rb_io_each_byte(), rb_io_each_char(), rb_io_each_codepoint(), rb_io_each_line(), rb_io_s_open(), rb_io_s_pipe(), rb_io_s_popen(), rb_mutex_synchronize_m(), rb_obj_tap(), rb_reg_match_m(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_match_m(), rb_str_scan(), rb_str_scrub(), rb_str_sub_bang(), rb_str_upto(), rb_struct_each(), rb_struct_each_pair(), rb_struct_select(), rb_thread_s_handle_interrupt(), reject_i(), ruby_float_step(), sort_by_i(), step_i(), str_gsub(), strio_each(), strio_each_byte(), strio_each_char(), strio_each_codepoint(), strio_s_open(), sym_each_i(), sym_step_i(), trace_object_allocations(), tracepoint_disable_m(), tracepoint_enable_m(), wmap_each_key_i(), wmap_each_value_i(), yield_indexed_values(), zip_ary(), zip_i(), zstream_detach_buffer(), and zstream_expand_buffer().
| VALUE rb_yield_block | ( | VALUE | , | |
| VALUE | , | |||
| int | , | |||
| const VALUE * | , | |||
| VALUE | ||||
| ) |
Definition at line 993 of file vm_eval.c.
References rb_proc_t::block, GET_THREAD(), GetProcPtr, NIL_P, and vm_yield_with_block().
| VALUE rb_yield_splat | ( | VALUE | ) |
Definition at line 981 of file vm_eval.c.
References NIL_P, RARRAY_CONST_PTR, RARRAY_LENINT, rb_check_array_type(), rb_eArgError, rb_raise(), rb_yield_0(), and VALUE.
| VALUE rb_yield_values | ( | int | n, | |
| ... | ||||
| ) |
Definition at line 953 of file vm_eval.c.
References ALLOCA_N, args, rb_yield_0(), va_init_list, and VALUE.
Referenced by delete_if_i(), each_pair_i_fast(), each_with_index_i(), each_with_object_i(), enumerator_with_index_i(), enumerator_with_object_i(), env_each_pair(), env_reject_bang(), env_select(), env_select_bang(), env_update_i(), inject_i(), keep_if_i(), max_ii(), min_ii(), minmax_ii(), minmax_ii_update(), rb_hash_update_block_callback(), rb_struct_each_pair(), reject_i(), select_i(), sort_1(), and wmap_each_i().
| VALUE rb_yield_values2 | ( | int | n, | |
| const VALUE * | argv | |||
| ) |
Definition at line 975 of file vm_eval.c.
References rb_yield_0().
Referenced by argf_block_call_i(), lazy_drop_while_func(), lazy_flat_map_func(), lazy_init_iterator(), lazy_map_func(), lazy_take_while_func(), rb_ary_zip(), and yielder_yield_i().
| int ruby_brace_glob | ( | const char * | , | |
| int | , | |||
| ruby_glob_func * | , | |||
| VALUE | ||||
| ) |
Definition at line 1713 of file dir.c.
References GLOB_VERBOSE, rb_ascii8bit_encoding(), and ruby_brace_glob0().
Referenced by cmdglob().
| int ruby_glob | ( | const char * | , | |
| int | , | |||
| ruby_glob_func * | , | |||
| VALUE | ||||
| ) |
Definition at line 1578 of file dir.c.
References GLOB_VERBOSE, rb_ascii8bit_encoding(), and ruby_glob0().
| unsigned long ruby_strtoul | ( | const char * | str, | |
| char ** | endptr, | |||
| int | base | |||
| ) |
| int ruby_vsnprintf | ( | char * | str, | |
| size_t | n, | |||
| char const * | fmt, | |||
| va_list | ap | |||
| ) |
Definition at line 1302 of file vsnprintf.c.
References __SSTR, __SWR, __sbuf::_base, __sFILE::_bf, __sFILE::_flags, __sFILE::_p, __sbuf::_size, __sFILE::_w, BSD__sfvwrite(), BSD_vfprintf(), EOF, f, __sFILE::vextra, and __sFILE::vwrite.
| int st_locale_insensitive_strcasecmp | ( | const char * | s1, | |
| const char * | s2 | |||
| ) |
| int st_locale_insensitive_strncasecmp | ( | const char * | s1, | |
| const char * | s2, | |||
| size_t | n | |||
| ) |
| RUBY_EXTERN VALUE rb_cBasicObject |
Definition at line 1552 of file ruby.h.
Referenced by class_init_copy_check(), Init_class_hierarchy(), Init_GC(), Init_Object(), Init_VM(), Init_vm_eval(), rb_class_initialize(), rb_class_superclass(), rb_clear_method_cache_by_class(), and rb_obj_alloc().
| RUBY_EXTERN VALUE rb_cBignum |
| RUBY_EXTERN VALUE rb_cBinding |
Definition at line 1556 of file ruby.h.
Referenced by binding_dup(), Init_Binding(), proc_binding(), and rb_vm_make_binding().
| RUBY_EXTERN VALUE rb_cClass |
Definition at line 1557 of file ruby.h.
Referenced by Init_class_hierarchy(), Init_eval(), Init_Object(), make_metaclass(), rb_check_inheritable(), rb_class_boot(), and rb_include_class_new().
| RUBY_EXTERN VALUE rb_cComplex |
| RUBY_EXTERN VALUE rb_cData |
Definition at line 1560 of file ruby.h.
Referenced by call_queue_handler(), eval_queue_handler(), Init_Exception(), Init_marshal(), Init_Object(), Init_stringio(), Init_transcode(), Init_win32ole(), invoke_queue_handler(), marshal_dump(), marshal_load(), pruby_register_instance(), rb_execarg_new(), rsock_init_addrinfo(), and rsock_init_sockifaddr().
| RUBY_EXTERN VALUE rb_cEncoding |
| RUBY_EXTERN VALUE rb_cEnumerator |
| RUBY_EXTERN VALUE rb_cFalseClass |
Definition at line 1561 of file ruby.h.
Referenced by Init_Object(), and special_singleton_class_of().
| RUBY_EXTERN VALUE rb_cFixnum |
Definition at line 1565 of file ruby.h.
Referenced by generate_json(), Init_Numeric(), k_fixnum_p(), negative_int_p(), positive_int_p(), and vm_redefinition_check_flag().
| RUBY_EXTERN VALUE rb_cFloat |
Definition at line 1566 of file ruby.h.
Referenced by generate_json(), Init_Complex(), Init_Numeric(), Init_Rational(), k_float_p(), opt_eq_func(), rb_float_new_in_heap(), and vm_redefinition_check_flag().
| RUBY_EXTERN VALUE rb_cInteger |
Definition at line 1568 of file ruby.h.
Referenced by host_str(), Init_Bignum(), Init_Numeric(), Init_Rational(), k_integer_p(), range_max(), rb_check_to_integer(), and rb_to_integer().
| RUBY_EXTERN VALUE rb_cIO |
Definition at line 1569 of file ruby.h.
Referenced by console_dev(), Init_File(), Init_IO(), Init_nonblock(), Init_stringio(), Init_wait(), InitVM_console(), parse(), path_binread(), path_binwrite(), path_each_line(), path_read(), path_readlines(), path_sysopen(), path_write(), pipe_open(), pty_open(), rb_dlptr_s_to_ptr(), rb_f_open(), rb_fiddle_ptr_s_to_ptr(), rb_io_fdopen(), and rsock_init_basicsocket().
| RUBY_EXTERN VALUE rb_cMatch |
| RUBY_EXTERN VALUE rb_cMethod |
Definition at line 1571 of file ruby.h.
Referenced by Init_Proc(), rb_obj_method(), rb_obj_public_method(), rb_obj_singleton_method(), and umethod_bind().
| RUBY_EXTERN VALUE rb_cModule |
Definition at line 1572 of file ruby.h.
Referenced by check_match(), Init_class_hierarchy(), Init_eval(), Init_eval_method(), Init_load(), Init_Object(), Init_Proc(), Init_vm_eval(), rb_mod_s_constants(), rb_module_new(), rb_thread_pending_interrupt_p(), and rb_tmp_class_path().
| RUBY_EXTERN VALUE rb_cNameErrorMesg |
| RUBY_EXTERN VALUE rb_cNilClass |
Definition at line 1574 of file ruby.h.
Referenced by Init_Complex(), Init_Object(), Init_Rational(), and special_singleton_class_of().
| RUBY_EXTERN VALUE rb_cNumeric |
Definition at line 1575 of file ruby.h.
Referenced by case_when_optimizable_literal(), Init_bigdecimal(), Init_Complex(), Init_Numeric(), Init_Rational(), k_date_p(), k_numeric_p(), range_include(), range_max(), range_size(), range_step(), range_step_size(), rb_ary_bsearch(), rb_check_to_float(), and rb_to_float().
| RUBY_EXTERN VALUE rb_cObject |
Definition at line 1553 of file ruby.h.
Referenced by boot_defclass(), classname(), compile_colon2(), compile_cpath(), debug_lines(), defined_expr(), fc_path(), find_class_path(), Init_Array(), Init_Binding(), Init_bubblebabble(), Init_class_hierarchy(), Init_Complex(), Init_Cont(), Init_cparse(), Init_dbm(), Init_digest(), Init_Dir(), Init_dlcfunc(), Init_dlhandle(), Init_dlptr(), Init_Encoding(), Init_Exception(), Init_fiddle_closure(), Init_fiddle_function(), Init_fiddle_handle(), Init_fiddle_pointer(), Init_File(), Init_GC(), Init_gdbm(), Init_generator(), Init_Hash(), Init_IO(), Init_ISeq(), Init_md5(), Init_Numeric(), Init_Object(), Init_objspace(), Init_ossl_asn1(), Init_ossl_cipher(), Init_ossl_config(), Init_ossl_hmac(), Init_ossl_ns_spki(), Init_ossl_pkcs12(), Init_ossl_pkcs7(), Init_ossl_pkey(), Init_ossl_ssl(), Init_ossl_ssl_session(), Init_ossl_x509attr(), Init_ossl_x509cert(), Init_ossl_x509crl(), Init_ossl_x509ext(), Init_ossl_x509name(), Init_ossl_x509req(), Init_ossl_x509revoked(), Init_ossl_x509store(), Init_parser(), Init_pathname(), Init_Proc(), Init_process(), Init_psych_emitter(), Init_psych_parser(), Init_psych_to_ruby(), Init_psych_yaml_tree(), Init_Random(), Init_Range(), Init_Rational(), Init_readline(), Init_Regexp(), Init_rmd160(), Init_sdbm(), Init_sha1(), Init_String(), Init_strscan(), Init_Struct(), Init_tcltklib(), Init_Thread(), Init_thread(), Init_Time(), Init_tkutil(), Init_top_self(), Init_VM(), Init_vm_backtrace(), Init_vm_trace(), Init_win32ole(), Init_zlib(), InitVM_Enumerator(), ip_ruby_cmd_receiver_const_get(), iseq_compile_each(), process_options(), range_dumper(), range_loader(), rb_alias(), rb_catch(), rb_class_inherited(), rb_class_initialize(), rb_clear_method_cache_by_class(), rb_const_defined_0(), rb_const_get_0(), rb_const_set(), rb_define_class(), rb_define_class_id(), rb_define_global_const(), rb_define_module(), rb_execarg_fixup(), rb_export_method(), rb_f_catch(), rb_method_entry_make(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_const_of(), rb_mod_modfunc(), rb_path_to_class(), rb_set_class_path(), rb_set_class_path_string(), rb_uninterruptible(), rb_using_module(), rsock_init_ancdata(), rsock_init_sockopt(), ruby_Init_Continuation_body(), ruby_init_loadpath_safe(), ruby_init_prelude(), save_env(), set_relation(), top_define_method(), top_include(), top_private(), top_public(), uninitialized_constant(), vm_search_const_defined_class(), vm_set_main_stack(), and vm_set_top_stack().
| RUBY_EXTERN VALUE rb_cProc |
Definition at line 1576 of file ruby.h.
Referenced by get_eval_string_core(), Init_Proc(), proc_dup(), rb_block_lambda(), rb_block_proc(), vm_make_proc_from_block(), vm_make_proc_with_iseq(), and vm_yield_with_cfunc().
| RUBY_EXTERN VALUE rb_cRandom |
Definition at line 1577 of file ruby.h.
Referenced by Init_Random(), rb_ary_sample(), rb_ary_shuffle_bang(), and try_get_rnd().
| RUBY_EXTERN VALUE rb_cRange |
Definition at line 1578 of file ruby.h.
Referenced by Init_Range(), range_eq(), range_eql(), rb_range_new(), and rb_range_values().
| RUBY_EXTERN VALUE rb_cRational |
Definition at line 1579 of file ruby.h.
Referenced by Init_Rational(), k_numeric_p(), k_rational_p(), nurat_f_rational(), rb_Rational(), rb_rational_new(), and rb_rational_raw().
| RUBY_EXTERN VALUE rb_cRegexp |
Definition at line 1581 of file ruby.h.
Referenced by Init_generator(), vm_redefinition_check_flag(), and w_object().
| RUBY_EXTERN VALUE rb_cString |
Definition at line 1583 of file ruby.h.
Referenced by generate_json(), Init_Complex(), Init_pack(), Init_Rational(), Init_String(), Init_transcode(), intern_str(), opt_eq_func(), rb_any_cmp(), rb_dlptr_s_to_ptr(), rb_enc_str_new(), rb_enc_vsprintf(), rb_fiddle_ptr_s_to_ptr(), rb_file_join(), rb_hash_aset(), rb_id2str(), rb_str_b(), rb_str_buf_new(), rb_str_new(), rb_str_resurrect(), rb_str_to_s(), rb_sym_to_s(), require_libraries(), setup_fake_str(), vm_redefinition_check_flag(), w_object(), zstream_detach_buffer(), zstream_detach_input(), zstream_expand_buffer(), and zstream_shift_buffer().
| RUBY_EXTERN VALUE rb_cStruct |
Definition at line 1584 of file ruby.h.
Referenced by Init_etc(), Init_process(), Init_Struct(), rb_struct_define(), rb_struct_define_under(), and struct_ivar_get().
| RUBY_EXTERN VALUE rb_cSymbol |
Definition at line 1585 of file ruby.h.
Referenced by Init_String(), and vm_redefinition_check_flag().
| RUBY_EXTERN VALUE rb_cThread |
Definition at line 1586 of file ruby.h.
Referenced by Init_Thread(), Init_VM(), Init_vm_backtrace(), Init_vm_trace(), and rb_thread_create().
| RUBY_EXTERN VALUE rb_cTime |
Definition at line 1587 of file ruby.h.
Referenced by asn1time_to_time(), check_type_val2variant(), discrete_object_p(), ole_val2variant(), ossl_ssl_session_get_time(), ossl_ssl_session_set_time(), ossl_sslctx_flush_sessions(), and vm_redefinition_check_flag().
| RUBY_EXTERN VALUE rb_cTrueClass |
Definition at line 1588 of file ruby.h.
Referenced by Init_Object(), and special_singleton_class_of().
| RUBY_EXTERN VALUE rb_cUnboundMethod |
Definition at line 1589 of file ruby.h.
Referenced by Init_Proc(), method_unbind(), rb_mod_instance_method(), and rb_mod_public_instance_method().
| RUBY_EXTERN VALUE rb_eArgError |
| RUBY_EXTERN VALUE rb_eEncCompatError |
| RUBY_EXTERN VALUE rb_eEncodingError |
| RUBY_EXTERN VALUE rb_eEOFError |
Definition at line 1598 of file ruby.h.
Referenced by argf_getpartial(), copy_stream_fallback(), gzfile_read_raw(), gzfile_readpartial(), Init_IO(), rb_eof_error(), rb_gzreader_readbyte(), rb_gzreader_readchar(), and rb_gzreader_readline().
| RUBY_EXTERN VALUE rb_eException |
| RUBY_EXTERN VALUE rb_eFloatDomainError |
Definition at line 1613 of file ruby.h.
Referenced by BigDecimal_to_i(), dbl2big(), Init_Numeric(), rb_cstr_to_rat(), string_to_r(), string_to_r_strict(), and VpException().
| RUBY_EXTERN VALUE rb_eIndexError |
| RUBY_EXTERN VALUE rb_eInterrupt |
| RUBY_EXTERN VALUE rb_eIOError |
Definition at line 1603 of file ruby.h.
Referenced by argf_write_io(), check_modifiable(), copy_stream_body(), dir_closed(), finish_writeconv(), get_strio(), Init_IO(), Init_Thread(), io_close(), io_getc(), io_ungetbyte(), rb_io_check_byte_readable(), rb_io_check_char_readable(), rb_io_check_closed(), rb_io_check_initialized(), rb_io_check_writable(), rb_io_close_read(), rb_io_close_write(), rb_io_each_codepoint(), rb_io_sysread(), rb_io_sysseek(), rb_io_ungetc(), rb_io_wait_readable(), rb_io_wait_writable(), rb_thread_wait_fd_rw(), readable(), readline_readline(), remain_size(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), strio_close(), strio_close_read(), strio_close_write(), strio_seek(), strio_size(), and writable().
| RUBY_EXTERN VALUE rb_eKeyError |
| RUBY_EXTERN VALUE rb_eLoadError |
| RUBY_EXTERN VALUE rb_eLocalJumpError |
| RUBY_EXTERN VALUE rb_eMathDomainError |
Definition at line 1625 of file ruby.h.
Referenced by BigDecimal_power(), BigMath_s_log(), and exp1().
| RUBY_EXTERN VALUE rb_eNameError |
| RUBY_EXTERN VALUE rb_eNoMemError |
| RUBY_EXTERN VALUE rb_eNoMethodError |
| RUBY_EXTERN VALUE rb_eNotImpError |
| RUBY_EXTERN VALUE rb_eRangeError |
| RUBY_EXTERN VALUE rb_eRegexpError |
Definition at line 1616 of file ruby.h.
Referenced by Init_Regexp(), rb_enc_reg_error_desc(), rb_reg_preprocess_dregexp(), and rb_reg_raise().
| RUBY_EXTERN VALUE rb_eRuntimeError |
| RUBY_EXTERN VALUE rb_eScriptError |
| RUBY_EXTERN VALUE rb_eSecurityError |
| RUBY_EXTERN VALUE rb_eSignal |
| RUBY_EXTERN VALUE rb_eStandardError |
| RUBY_EXTERN VALUE rb_eStopIteration |
| RUBY_EXTERN VALUE rb_eSyntaxError |
| RUBY_EXTERN VALUE rb_eSysStackError |
| RUBY_EXTERN VALUE rb_eSystemCallError |
| RUBY_EXTERN VALUE rb_eSystemExit |
| RUBY_EXTERN VALUE rb_eThreadError |
| RUBY_EXTERN VALUE rb_eTypeError |
| RUBY_EXTERN VALUE rb_eZeroDivError |
Definition at line 1609 of file ruby.h.
Referenced by BigDecimal_DoDivmod(), Init_Numeric(), and rb_num_zerodiv().
| RUBY_EXTERN VALUE rb_mComparable |
| RUBY_EXTERN VALUE rb_mEnumerable |
| RUBY_EXTERN VALUE rb_mFileTest |
| RUBY_EXTERN VALUE rb_mKernel |
Definition at line 1541 of file ruby.h.
Referenced by Init_eval(), Init_eval_method(), Init_GC(), Init_IO(), Init_Object(), Init_Proc(), Init_vm_eval(), InitVM_Enumerator(), rb_clear_method_cache_by_class(), and rb_define_global_function().
| RUBY_EXTERN VALUE rb_mMath |
| RUBY_EXTERN VALUE rb_mProcess |
| RUBY_EXTERN VALUE rb_mWaitReadable |
Definition at line 1549 of file ruby.h.
Referenced by Init_IO(), Init_ossl_ssl(), and rb_readwrite_sys_fail().
| RUBY_EXTERN VALUE rb_mWaitWritable |
Definition at line 1550 of file ruby.h.
Referenced by Init_IO(), Init_ossl_ssl(), and rb_readwrite_sys_fail().
| RUBY_EXTERN VALUE rb_stderr |
Definition at line 1627 of file ruby.h.
Referenced by Init_IO(), load_lock(), rb_f_abort(), rb_io_s_popen(), rb_stdio_set_default_encoding(), rb_warn_m(), rb_write_error2(), and rb_write_error_str().
| RUBY_EXTERN VALUE rb_stdin |
Definition at line 1627 of file ruby.h.
Referenced by argf_close(), argf_next_argv(), Init_IO(), load_file_internal(), and rb_stdio_set_default_encoding().
| RUBY_EXTERN VALUE rb_stdout |
Definition at line 1627 of file ruby.h.
Referenced by argf_next_argv(), gc_profile_report(), Init_IO(), rb_f_p_internal(), rb_f_print(), rb_f_printf(), rb_f_putc(), rb_f_puts(), rb_io_getbyte(), rb_io_s_popen(), rb_obj_display(), rb_p(), and rb_stdio_set_default_encoding().
1.4.7