#include "ruby/config.h"
#include <strings.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include "defines.h"
#include "ruby/missing.h"
#include "ruby/intern.h"
Go to the source code of this file.
Data Structures | |
struct | RBasic |
struct | RObject |
struct | rb_classext_t |
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 |
struct | rb_event_hook_struct |
Defines | |
#define | NORETURN_STYLE_NEW 1 |
#define | NORETURN(x) x |
#define | DEPRECATED(x) x |
#define | NOINLINE(x) x |
#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 | PRIdVALUE PRI_VALUE_PREFIX"d" |
#define | PRIiVALUE PRI_VALUE_PREFIX"i" |
#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 | PRI_TIMET_PREFIX |
#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 | 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 | FIX2LONG(x) RSHIFT((SIGNED_VALUE)x,1) |
#define | FIX2ULONG(x) ((((VALUE)(x))>>1)&LONG_MAX) |
#define | FIXNUM_P(f) (((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_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 | 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 | RB_GC_GUARD_PTR(ptr) rb_gc_guarded_ptr(ptr) |
#define | RB_GC_GUARD(v) (*RB_GC_GUARD_PTR(&(v))) |
#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 | NUM2LONG_internal(x) (FIXNUM_P(x) ? FIX2LONG(x) : rb_num2long(x)) |
#define | NUM2ULONG(x) rb_num2ulong((VALUE)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 | 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 | OBJSETUP(obj, c, t) |
#define | CLONESETUP(clone, obj) |
#define | DUPSETUP(dup, obj) |
#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_IV_TBL(c) (RCLASS(c)->ptr->iv_tbl) |
#define | RCLASS_M_TBL(c) (RCLASS(c)->m_tbl) |
#define | RCLASS_SUPER(c) (RCLASS(c)->ptr->super) |
#define | RCLASS_IV_INDEX_TBL(c) (RCLASS(c)->iv_index_tbl) |
#define | RMODULE_IV_TBL(m) RCLASS_IV_TBL(m) |
#define | RMODULE_M_TBL(m) RCLASS_M_TBL(m) |
#define | RMODULE_SUPER(m) RCLASS_SUPER(m) |
#define | RFLOAT_VALUE(v) (RFLOAT(v)->float_value) |
#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_EMBED_LEN_MASK (FL_USER2|FL_USER3|FL_USER4|FL_USER5|FL_USER6) |
#define | RSTRING_EMBED_LEN_SHIFT (FL_USHIFT+2) |
#define | RSTRING_LEN(str) |
#define | RSTRING_PTR(str) |
#define | RSTRING_END(str) |
#define | RSTRING_LENINT(str) rb_long2int(RSTRING_LEN(str)) |
#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_PTR(a) |
#define | RARRAY_LENINT(ary) rb_long2int(RARRAY_LEN(ary)) |
#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 ? RHASH(h)->ntbl->num_entries : 0) |
#define | RHASH_EMPTY_P(h) (RHASH_SIZE(h) == 0) |
#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 | 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_PTR(st) |
#define | RSTRUCT_LENINT(st) rb_long2int(RSTRUCT_LEN(st)) |
#define | RBIGNUM_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(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+3) |
#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_MARK (((VALUE)1)<<5) |
#define | FL_RESERVED (((VALUE)1)<<6) |
#define | FL_FINALIZE (((VALUE)1)<<7) |
#define | FL_TAINT (((VALUE)1)<<8) |
#define | FL_UNTRUSTED (((VALUE)1)<<9) |
#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(x, f) (FL_ABLE(x)?(RBASIC(x)->flags&(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) (!!FL_TEST((x), FL_UNTRUSTED)) |
#define | OBJ_UNTRUST(x) FL_SET((x), FL_UNTRUSTED) |
#define | OBJ_INFECT(x, s) do {if (FL_ABLE(x) && FL_ABLE(s)) RBASIC(x)->flags |= RBASIC(s)->flags & (FL_TAINT | FL_UNTRUSTED);} while (0) |
#define | OBJ_FROZEN(x) (!!FL_TEST((x), FL_FREEZE)) |
#define | OBJ_FREEZE(x) FL_SET((x), FL_FREEZE) |
#define | INT2NUM_internal(v) (FIXABLE(v) ? INT2FIX(v) : rb_int2big(v)) |
#define | UINT2NUM_internal(v) (POSFIXABLE(v) ? LONG2FIX(v) : rb_uint2big(v)) |
#define | LONG2NUM_internal(v) (FIXABLE(v) ? LONG2FIX(v) : rb_int2big(v)) |
#define | ULONG2NUM_internal(v) (POSFIXABLE(v) ? LONG2FIX(v) : rb_uint2big(v)) |
#define | NUM2CHR_internal(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 | 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 | ruby_verbose (*rb_ruby_verbose_ptr()) |
#define | ruby_debug (*rb_ruby_debug_ptr()) |
#define | RUBY_INIT_STACK |
#define | RB_TYPE_P(obj, type) |
#define | rb_type_p(obj, type) (rb_type(obj) == (type)) |
#define | RUBY_GLOBAL_SETUP |
#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 0xffff |
#define | RUBY_EVENT_VM 0x10000 |
#define | RUBY_EVENT_SWITCH 0x20000 |
#define | RUBY_EVENT_COVERAGE 0x40000 |
#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 | 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_strcasecmp(s1, s2)) |
#define | STRNCASECMP(s1, s2, n) (st_strncasecmp(s1, s2, n)) |
#define | STRTOUL(str, endptr, base) (ruby_strtoul(str, endptr, base)) |
#define | InitVM(ext) {void InitVM_##ext(void);InitVM_##ext();} |
#define | snprintf ruby_snprintf |
#define | vsnprintf ruby_vsnprintf |
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 struct 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 (VALUE, VALUE, int, VALUE *) |
typedef unsigned int | rb_event_flag_t |
typedef void(* | rb_event_hook_func_t )(rb_event_flag_t, VALUE data, VALUE, ID, VALUE klass) |
typedef struct rb_event_hook_struct | rb_event_hook_t |
Enumerations | |
enum | ruby_special_consts { RUBY_Qfalse = 0, RUBY_Qtrue = 2, RUBY_Qnil = 4, RUBY_Qundef = 6, RUBY_IMMEDIATE_MASK = 0x03, RUBY_FIXNUM_FLAG = 0x01, RUBY_SYMBOL_FLAG = 0x0e, 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 | |
VALUE | rb_int2inum (SIGNED_VALUE) |
VALUE | rb_uint2inum (VALUE) |
static int | rb_type (VALUE obj) |
static 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 | NUM2LONG (VALUE x) |
double | rb_num2dbl (VALUE) |
VALUE | rb_uint2big (VALUE) |
VALUE | rb_int2big (SIGNED_VALUE) |
VALUE | rb_newobj (void) |
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_is_kind_of (VALUE, const rb_data_type_t *) |
void * | rb_check_typeddata (VALUE, const rb_data_type_t *) |
static VALUE | INT2NUM (int v) |
static VALUE | UINT2NUM (unsigned int v) |
static VALUE | LONG2NUM (long v) |
static VALUE | ULONG2NUM (unsigned long v) |
static char | NUM2CHR (VALUE x) |
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) |
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_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 *) |
VALUE | rb_eval_string_protect (const char *, int *) |
VALUE | rb_eval_string_wrap (const char *, int *) |
VALUE | rb_funcall (VALUE, ID, int,...) |
Calls a method. | |
VALUE | rb_funcall2 (VALUE, ID, int, const VALUE *) |
Calls a method. | |
VALUE | rb_funcall3 (VALUE, ID, int, const VALUE *) |
Calls a method. | |
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_mod_sys_fail(VALUE, const char *)) | |
NORETURN (void rb_exit(int)) | |
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) |
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, VALUE *, VALUE(*)(ANYARGS), 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)) | |
NORETURN (void rb_throw_obj(VALUE, VALUE)) | |
VALUE | rb_require (const char *) |
void | ruby_init_stack (volatile VALUE *) |
void | ruby_init (void) |
void * | ruby_options (int, char **) |
int | ruby_run_node (void *) |
int | ruby_exec_node (void *) |
static VALUE | rb_class_of (VALUE obj) |
static int | rb_special_const_p (VALUE obj) |
void | ruby_sysinit (int *, char ***) |
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_strcasecmp (const char *s1, const char *s2) |
int | st_strncasecmp (const char *s1, const char *s2, size_t n) |
unsigned long | ruby_strtoul (const char *str, char **endptr, int base) |
int | ruby_snprintf (char *str, size_t n, char const *fmt,...) |
int | ruby_vsnprintf (char *str, size_t n, char const *fmt, va_list ap) |
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 1002 of file ruby.h.
Referenced by alloc_addrinfo(), alloc_event_hook(), allocate_cbsubst_info(), class_alloc(), fbuffer_alloc(), fbuffer_alloc_with_length(), 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_transcoder_entry(), match_alloc(), mnew(), pipe_add_fptr(), prepare_iseq_build(), rb_add_method(), rb_alias_variable(), 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(), stat_new_0(), State_allocate(), strio_alloc(), strscan_s_allocate(), token_info_push(), transcode_search_path(), transcode_search_path_i(), and vtable_alloc().
Definition at line 1001 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(), init_copy(), 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_val_ary2variant_ary(), ole_variant2val(), ole_wc2mb(), parser_new(), parser_newtok(), prepare_iseq_build(), 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_str_buf_new(), rb_str_resize(), readline_attempted_completion_function(), reg_get_val(), ruby_setenv(), str_make_independent(), str_new(), 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 1005 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(), open_dir_handle(), parser_yyerror(), proc_exec_v(), rb_apply(), rb_funcall(), rb_proc_exec(), rb_proc_exec_n(), rb_str_buf_cat_ascii(), rb_str_to_dbl(), rb_str_to_inum(), rb_w32_aspawn(), rb_w32_spawn(), rb_yield_values(), rlimit_resource_name2int(), ruby_setenv(), set_encoding_const(), sys_fail2(), transcode_restartable(), unescape_escaped_nonascii(), update_char_offset(), vm_call_method(), vm_callee_setup_arg_complex(), vm_method_missing(), and wstati64().
#define BUILTIN_TYPE | ( | x | ) | (int)(((struct RBasic*)(x))->flags & T_MASK) |
Definition at line 414 of file ruby.h.
Referenced by cdhash_cmp(), chain_finalized_object(), class_instance_method_list(), cn_i(), control_frame_dump(), cos_i(), count_objects(), cto_i(), enc_capable(), env_mark(), gc_mark_children(), gc_sweep(), id2ref(), include_class_new(), invoke_block_from_c(), memsize_of(), mod_av_set(), obj_free(), obj_resurrect(), os_obj_of_i(), proc_call(), random_rand(), rb_check_typeddata(), rb_class_real(), rb_const_defined_0(), rb_const_get_0(), rb_cvar_get(), rb_cvar_set(), rb_enc_compatible(), rb_enc_get_index(), rb_include_module(), rb_make_metaclass(), rb_mod_ancestors(), rb_mod_define_method(), rb_mod_include_p(), rb_mod_included_modules(), rb_objspace_call_finalizer(), rb_proc_arity(), rb_search_method_entry(), rb_singleton_class_clone(), rb_type(), rb_typeddata_is_kind_of(), vm_invoke_block(), vm_search_normal_superclass(), vm_throw(), w_extended(), and w_object().
#define CHAR_BIT 8 |
Definition at line 190 of file ruby.h.
Referenced by big2str_find_n1(), BSD_vfprintf(), fill_random_seed(), fix_aref(), fix_lshift(), fix_rshift(), flo_to_s(), rb_cstr_to_inum(), rb_fix2str(), rb_memsearch_ss(), rb_str_sum(), register_label(), signbit(), and st_hash().
#define Check_Type | ( | v, | ||
t | ||||
) | rb_check_type((VALUE)(v),t) |
Definition at line 435 of file ruby.h.
Referenced by assert_array(), assert_hash(), autoload_node(), BigDecimal_ceil(), BigDecimal_floor(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_power(), BigDecimal_round(), BigDecimal_truncate(), check_iconv(), cParser_initialize(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_max_nesting_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), folevariant_s_array(), generate_json(), get_pat(), GetPositiveInt(), initialize(), initialize_params(), lib_do_one_event_core(), match_setter(), mObject_to_json(), mString_Extend_json_create(), mString_to_json_raw(), 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_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(), rb_check_typeddata(), rb_class_new(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_define_alloc_func(), rb_dlcfunc_call(), rb_get_alloc_func(), rb_include_module(), rb_mod_append_features(), rb_mod_include(), rb_mod_include_p(), rb_obj_extend(), rb_undef_alloc_func(), rb_zstream_set_avail_out(), readline_s_set_input(), readline_s_set_output(), rsock_revlookup_flag(), scalar(), select_internal(), set_argv(), set_conf_section_i(), start_document(), start_stream(), strscan_do_scan(), syck_emitter_reset(), syck_parser_initialize(), and update_i().
#define Check_TypedStruct | ( | v, | ||
t | ||||
) | rb_check_typeddata((VALUE)(v),t) |
Definition at line 778 of file ruby.h.
Referenced by method_eq().
#define CHR2FIX | ( | x | ) | INT2FIX((long)((x)&0xff)) |
Definition at line 999 of file ruby.h.
Referenced by strio_each_byte(), and strio_getbyte().
#define CLASS_OF | ( | v | ) | rb_class_of((VALUE)(v)) |
Definition at line 352 of file ruby.h.
Referenced by basic_obj_respond_to(), bmcall(), check_funcall(), check_iconv(), error_print(), exc_inspect(), exc_to_s(), extract_user_token(), f_addsub(), f_divide(), f_muldiv(), f_round_common(), function_call(), iconv_failure_inspect(), Init_Binding(), Init_Complex(), Init_curses(), Init_Encoding(), Init_Numeric(), Init_Object(), Init_ossl_config(), Init_Proc(), Init_process(), Init_Random(), Init_Rational(), Init_Regexp(), Init_String(), Init_VM(), insn_operand_intern(), inspect_i(), ip_create_slave_core(), iseq_build_body(), make_compile_option(), method_clone(), method_eq(), method_missing(), mSyslog_log(), name_err_to_s(), 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(), opt_eq_func(), ossl_asn1_default_tag(), ossl_dh_to_public_key(), ossl_dsa_to_public_key(), ossl_rsa_to_public_key(), ossl_x509name_eql(), pst_inspect(), r_leave(), raise_method_missing(), rb_big_clone(), rb_dlptr_inspect(), rb_get_alloc_func(), rb_mod_init_copy(), rb_mod_private_method(), rb_mod_public_method(), rb_obj_basic_to_s_p(), rb_obj_class(), rb_obj_classname(), rb_obj_is_kind_of(), rb_obj_method(), rb_obj_method_arity(), 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(), ruby_Init_Continuation_body(), strscan_inspect(), time_dup(), umethod_bind(), vm_call_method(), vm_get_ev_const(), vm_search_normal_superclass(), w_class(), and w_uclass().
#define CLONESETUP | ( | clone, | ||
obj | ||||
) |
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 562 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) |
Definition at line 1082 of file ruby.h.
Referenced by debug_lines(), enum_zip(), eval_string_with_cref(), exc_backtrace(), exc_equal(), exception_type2symbol(), id_pid(), 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(), rb_id_encoding(), rb_iseq_parameters(), rb_mod_init_copy(), rb_str_upto(), rb_thread_method_id_and_class(), realpath_rec(), require_libraries(), shadowing_lvar_gen(), syserr_eqq(), and unnamed_parameters().
#define CONST_ID_CACHE | ( | result, | ||
str | ||||
) |
{ \ static ID rb_intern_id_cache; \ if (!rb_intern_id_cache) \ rb_intern_id_cache = rb_intern2(str, (long)strlen(str)); \ result rb_intern_id_cache; \ }
#define Data_Get_Struct | ( | obj, | ||
type, | ||||
sval | ||||
) |
do {\ Check_Type(obj, T_DATA); \ sval = (type*)DATA_PTR(obj);\ } while (0)
Definition at line 802 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_ip(), get_locked_safe_array(), get_zstream(), indentation(), initialize(), initialize_params(), ip_init(), ivq_safelevel_handler(), lexer_i(), lexer_iter(), 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_close(), ossl_ssl_get_cert(), ossl_ssl_get_cipher(), ossl_ssl_get_peer_cert(), ossl_ssl_get_peer_cert_chain(), ossl_ssl_get_state(), ossl_ssl_get_verify_result(), ossl_ssl_pending(), ossl_ssl_read_internal(), ossl_ssl_session_initialize(), ossl_ssl_session_reused(), ossl_ssl_set_session(), 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(), ossl_start_ssl(), prep_window(), rb_deflate_init_copy(), rb_deflate_initialize(), rb_digest_base_copy(), rb_digest_base_finish(), rb_digest_base_reset(), rb_digest_base_update(), rb_inflate_initialize(), rb_syck_emitter_handler(), 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(), start_document(), start_mapping(), start_sequence(), start_stream(), strscan_init_copy(), strscan_initialize(), strscan_inspect(), strscan_set_string(), syck_defaultresolver_node_import(), syck_emitter_emit(), syck_emitter_reset(), syck_genericresolver_node_import(), syck_map_add_m(), syck_map_initialize(), syck_map_style_set(), syck_map_value_set(), syck_node_init_copy(), syck_node_transform(), syck_node_type_id_set(), syck_out_mark(), syck_parser_bufsize_get(), syck_parser_bufsize_set(), syck_parser_load(), syck_parser_load_documents(), syck_resolver_node_import(), syck_scalar_style_set(), syck_scalar_value_set(), syck_seq_add_m(), syck_seq_initialize(), syck_seq_style_set(), syck_seq_value_set(), syck_set_model(), and window_initialize().
#define Data_Make_Struct | ( | klass, | ||
type, | ||||
mark, | ||||
free, | ||||
sval | ||||
) |
(\ sval = ALLOC(type),\ memset(sval, 0, sizeof(type)),\ Data_Wrap_Struct(klass,mark,free,sval)\ )
Definition at line 787 of file ruby.h.
Referenced by argf_alloc(), fev_s_allocate(), fole_s_allocate(), folemethod_s_allocate(), foleparam_s_allocate(), foletype_s_allocate(), foletypelib_s_allocate(), folevariant_s_allocate(), ole_method_params(), ole_variables(), racc_cparse(), racc_yyparse(), window_s_allocate(), and zstream_new().
#define DATA_PTR | ( | dta | ) | (RDATA(dta)->data) |
Definition at line 763 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), check_iconv(), econv_init(), enc_inspect(), enc_name(), fdbm_initialize(), fgdbm_initialize(), fiber_t_alloc(), fsdbm_initialize(), gc_mark_children(), GetVpValue(), iconv_init_state(), iconv_initialize(), ip_init(), method_eq(), obj_free(), ossl_pkcs12_initialize(), ossl_pkcs7_copy(), ossl_pkcs7_initialize(), ossl_spki_initialize(), 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(), prelude_prefix_path(), prelude_require(), rb_autoload(), rb_barrier_destroy(), rb_barrier_new(), rb_barrier_wait(), 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_vm_call_cfunc(), rsock_addrinfo_new(), run_final(), strio_copy(), strio_initialize(), and syck_node_transform().
#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 784 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(), iconv_s_allocate(), iconv_s_open(), Init_marshal(), Init_md5(), Init_prelude(), 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(), rb_digest_base_alloc(), rb_syck_load_handler(), strscan_s_allocate(), syck_emitter_s_alloc(), syck_map_alloc(), syck_node_transform(), syck_parser_s_alloc(), syck_scalar_alloc(), and syck_seq_alloc().
#define DBL2NUM | ( | dbl | ) | rb_float_new(dbl) |
Definition at line 628 of file ruby.h.
Referenced by big_fdiv(), exp1(), 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(), nil_to_f(), pack_unpack(), parser_yylex(), r_object0(), rb_big_divide(), rb_big_fdiv(), rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_big_to_f(), rb_f_rand(), rb_Float(), rb_str_to_f(), rb_time_unmagnify_to_float(), and ruby_float_step().
#define DUPSETUP | ( | dup, | ||
obj | ||||
) |
do {\ OBJSETUP(dup,rb_obj_class(obj), (RBASIC(obj)->flags)&(T_MASK|FL_EXIVAR|FL_TAINT|FL_UNTRUSTED)); \ if (FL_TEST(obj, FL_EXIVAR)) rb_copy_generic_ivar((VALUE)dup,(VALUE)obj);\ } while (0)
Definition at line 567 of file ruby.h.
Referenced by rb_ary_dup_setup(), and rb_hash_dup().
#define ELTS_SHARED FL_USER2 |
Definition at line 630 of file ruby.h.
Referenced by gc_mark_children(), RUBY_ALIAS_FUNCTION(), str_replace(), and str_replace_shared().
#define ExportStringValue | ( | v | ) |
do {\ SafeStringValue(v);\ (v) = rb_str_export(v);\ } while (0)
Definition at line 456 of file ruby.h.
Referenced by fdbm_delete(), fdbm_delete_if(), 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)) |
Definition at line 466 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)) |
Definition at line 463 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_exec_arg_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 514 of file ruby.h.
Referenced by big_op(), BigDecimal_ceil(), BigDecimal_floor(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_power(), BigDecimal_round(), BigDecimal_truncate(), bsock_setsockopt(), call_DoOneEvent(), check_exec_fds(), check_exec_redirect(), check_exec_redirect_fd(), cParser_initialize(), cState_partial_generate(), cto_i(), curry(), fgdbm_set_cachesize(), fix_ge(), fix_gt(), fix_le(), fix_lt(), fole_s_set_code_page(), fole_s_set_locale(), foleparam_initialize(), folevariant_s_array(), GetPositiveInt(), iconv_convert(), insn_data_to_s_detail(), io_strip_bom(), ip_get_variable2_core(), ip_set_variable2_core(), ip_unset_variable2_core(), iseq_data_to_ary(), iseq_set_sequence(), iseq_specialized_instruction(), lib_do_one_event_core(), make_inspectname(), marshal_dump(), match_aref(), mSyslog_log(), nurat_expt(), nurat_s_canonicalize_internal(), nurat_s_canonicalize_internal_no_reduce(), ole_invoke2(), ole_method_invoke_kind(), opt_case_dispatch_i(), ossl_dh_initialize(), ossl_dsa_initialize(), ossl_rsa_initialize(), prelude_require(), proc_curry(), rb_f_kill(), rb_fix2int(), rb_io_ungetbyte(), rb_io_ungetc(), rb_iseq_build_from_ary(), rb_iseq_compile_node(), rb_iseq_first_lineno(), rb_reg_initialize_m(), rb_run_exec_options_err(), 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(), syck_emitter_emit(), trap_signm(), vm_getspecial(), vm_throw(), vtm2tm_noyear(), and w_object().
#define FIX2LONG | ( | x | ) | RSHIFT((SIGNED_VALUE)x,1) |
Definition at line 312 of file ruby.h.
Referenced by add(), big_fdiv(), binop(), cdhash_hash(), cState_configure(), cState_max_nesting_set(), dump_disasm_list(), f_add(), f_addsub(), f_cmp(), f_div(), f_gt_p(), f_lt_p(), f_muldiv(), f_one_p(), f_sub(), f_zero_p(), fix_abs(), 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_rev(), fix_succ(), fix_to_f(), fix_uminus(), fix_xor(), fix_zero_p(), 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(), float_to_r(), fun1(), fun2(), generate_json(), GetVpValue(), int_dotimes(), int_downto(), int_pred(), int_round(), int_succ(), int_upto(), mul(), negate_lit(), nucomp_expt(), num_step(), nurat_cmp(), nurat_eqeq_p(), ossl_x509req_set_version(), port_str(), quo(), rand_init(), rand_int(), random_rand(), range_each(), range_max(), range_step(), 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_pack(), rb_big_plus(), rb_big_pow(), rb_big_remainder(), rb_big_rshift(), rb_big_xor(), rb_cmpint(), rb_dlcfunc_call(), rb_fix2str(), rb_fix_lshift(), rb_fix_rshift(), rb_Float(), rb_get_values_at(), rb_io_ctl(), rb_iseq_build_from_ary(), rb_num2long(), rb_num2ulong(), rb_quad_pack(), rb_str_aref(), rb_str_aset(), rb_str_cmp_m(), rb_str_concat(), rb_str_format(), rb_str_upto(), rb_strftime_with_timespec(), sub(), time_mdump(), timelocalw(), update_coverage(), and w_object().
#define FIX2UINT | ( | x | ) | ((unsigned int)FIX2ULONG(x)) |
Definition at line 515 of file ruby.h.
Referenced by proc_setmaxgroups().
#define FIX2ULONG | ( | x | ) | ((((VALUE)(x))>>1)&LONG_MAX) |
Definition at line 313 of file ruby.h.
Referenced by int_pair_to_real_inclusive(), and random_load().
#define FIXABLE | ( | f | ) | (POSFIXABLE(f) && NEGFIXABLE(f)) |
Definition at line 317 of file ruby.h.
Referenced by add(), dbl2ival(), fix_mul(), flo_ceil(), flo_floor(), flo_round(), flo_truncate(), mul(), rb_int2inum(), rb_num2fix(), rb_str_format(), and sub().
#define FIXNUM_FLAG RUBY_FIXNUM_FLAG |
Definition at line 346 of file ruby.h.
Referenced by rb_obj_id().
#define FIXNUM_MAX (LONG_MAX>>1) |
Definition at line 220 of file ruby.h.
Referenced by pipe_open(), rb_big_pow(), rb_convert_to_integer(), and rb_str_sum().
#define FIXNUM_MIN RSHIFT((long)LONG_MIN,1) |
Definition at line 221 of file ruby.h.
Referenced by rb_convert_to_integer().
#define FIXNUM_P | ( | f | ) | (((SIGNED_VALUE)(f))&FIXNUM_FLAG) |
Definition at line 314 of file ruby.h.
Referenced by add(), big2str_find_n1(), bignorm(), binop(), bit_coerce(), check_exec_fds(), check_exec_redirect(), check_exec_redirect_fd(), cmp(), curses_char(), eq(), errinfo_place(), exit_initialize(), f_add(), f_addsub(), f_cmp(), f_div(), f_gt_p(), f_lt_p(), 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(), fun1(), fun2(), iconv_convert(), id2ref(), int_dotimes(), int_downto(), int_pair_to_real_inclusive(), int_pred(), int_round(), int_succ(), int_upto(), iseq_build_body(), iseq_load(), marshal_dump(), match_aref(), mSyslog_log(), mul(), num_step(), nurat_cmp(), nurat_eqeq_p(), ossl_dh_initialize(), ossl_dsa_initialize(), ossl_rsa_initialize(), port_str(), quo(), rand_int(), random_load(), random_rand(), range_each(), range_include(), range_init(), range_max(), range_op(), range_step(), rb_any_cmp(), rb_ary_aref(), rb_ary_aset(), rb_ary_initialize(), rb_ary_slice_bang(), rb_big2str0(), rb_big_and(), rb_big_coerce(), rb_big_lshift(), rb_big_or(), rb_big_pack(), rb_big_rshift(), rb_big_xor(), rb_check_to_integer(), rb_check_type(), rb_class_of(), rb_cmpint(), rb_dlcfunc_call(), rb_fix_lshift(), rb_fix_rshift(), rb_get_values_at(), rb_io_ctl(), rb_io_ungetbyte(), rb_io_ungetc(), rb_iseq_build_from_ary(), rb_num2fix(), rb_num2long(), rb_num2ulong(), rb_quad_pack(), rb_reg_initialize_m(), rb_str_cmp_m(), rb_str_concat(), rb_str_format(), rb_str_upto(), rb_strftime_with_timespec(), rb_thread_status(), rb_to_integer(), rb_type(), ruby_executable_node(), 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(), vm_define_method(), vm_getspecial(), vm_throw(), w_object(), and yyparse().
#define FL_ABLE | ( | x | ) | (!SPECIAL_CONST_P(x) && BUILTIN_TYPE(x) != T_NODE) |
Definition at line 922 of file ruby.h.
Referenced by define_final().
#define FL_ANY | ( | x, | ||
f | ||||
) | FL_TEST(x,f) |
Definition at line 924 of file ruby.h.
Referenced by gc_mark_children().
#define FL_EXIVAR (((VALUE)1)<<10) |
Definition at line 894 of file ruby.h.
Referenced by gc_mark_children(), generic_ivar_set(), init_copy(), ivar_get(), memsize_of(), obj_free(), rb_copy_generic_ivar(), rb_generic_ivar_table(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), and rb_obj_remove_instance_variable().
#define FL_FINALIZE (((VALUE)1)<<7) |
Definition at line 891 of file ruby.h.
Referenced by chain_finalized_object(), gc_sweep(), rb_gc_copy_finalizer(), rb_obj_clone(), and undefine_final().
#define FL_FREEZE (((VALUE)1)<<11) |
Definition at line 895 of file ruby.h.
Referenced by rb_ary_sort_bang(), and rb_obj_clone().
#define FL_MARK (((VALUE)1)<<5) |
Definition at line 889 of file ruby.h.
Referenced by chain_finalized_object(), gc_mark(), gc_mark_all(), gc_mark_children(), and gc_sweep().
#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) |
Definition at line 926 of file ruby.h.
Referenced by generic_ivar_set(), hash_foreach_iter(), make_metaclass(), make_singleton_class(), r_entry0(), rb_ary_product(), rb_ary_sort_bang(), rb_copy_generic_ivar(), rb_gc_copy_finalizer(), rb_hash_delete_key(), rb_hash_dup(), rb_hash_initialize(), rb_hash_replace(), rb_hash_set_default_proc(), rb_match_busy(), rb_reg_compile(), rb_singleton_class_clone(), rb_str_associate(), rb_str_buf_new(), rb_str_new_frozen(), rb_str_shared_replace(), RUBY_ALIAS_FUNCTION(), str_replace(), and str_replace_shared().
#define FL_SINGLETON FL_USER0 |
Definition at line 888 of file ruby.h.
Referenced by call_trace_proc(), class_instance_method_list(), finalize_list(), make_metaclass(), make_singleton_class(), method_inspect(), mnew(), os_obj_of_i(), r_object0(), rb_check_inheritable(), rb_class_init_copy(), rb_class_real(), rb_frozen_class_p(), rb_method_entry_make(), rb_mod_ancestors(), rb_mod_define_method(), rb_mod_init_copy(), rb_mod_to_s(), rb_obj_alloc(), rb_obj_singleton_methods(), rb_singleton_class_attached(), rb_singleton_class_clone(), rb_undef(), singleton_class_of(), umethod_bind(), vm_get_cvar_base(), w_extended(), and w_object().
#define FL_TAINT (((VALUE)1)<<8) |
Definition at line 892 of file ruby.h.
Referenced by env_reject_bang(), env_select_bang(), init_copy(), marshal_load(), process_options(), rb_autoload(), rb_find_file_ext_safe(), rb_obj_clone(), rb_obj_untaint(), rb_reg_search(), and singleton_class_of().
#define FL_TEST | ( | x, | ||
f | ||||
) | (FL_ABLE(x)?(RBASIC(x)->flags&(f)):0) |
Definition at line 923 of file ruby.h.
Referenced by call_trace_proc(), class_instance_method_list(), finalize_list(), gc_mark_children(), gc_sweep(), hash_equal(), hash_foreach_ensure(), ivar_get(), make_metaclass(), marshal_load(), memsize_of(), method_inspect(), mnew(), obj_free(), os_obj_of_i(), r_bytes0(), r_object0(), rb_ary_product(), rb_class_init_copy(), rb_copy_generic_ivar(), rb_frozen_class_p(), rb_gc_copy_finalizer(), rb_generic_ivar_table(), rb_hash_default(), rb_hash_default_proc(), rb_hash_dup(), rb_hash_replace(), rb_hash_shift(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_method_entry_make(), rb_mod_ancestors(), rb_mod_define_method(), rb_mod_init_copy(), rb_mod_to_s(), rb_obj_alloc(), rb_obj_clone(), rb_obj_remove_instance_variable(), rb_obj_singleton_methods(), rb_reg_equal(), rb_reg_fixed_encoding_p(), rb_reg_initialize(), rb_reg_search(), rb_singleton_class_attached(), rb_singleton_class_clone(), rb_str_unlocktmp(), rb_undef(), RUBY_ALIAS_FUNCTION(), singleton_class_of(), str_modifiable(), umethod_bind(), vm_get_cvar_base(), w_extended(), and w_object().
#define FL_UNSET | ( | x, | ||
f | ||||
) | do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) |
Definition at line 927 of file ruby.h.
Referenced by env_reject_bang(), env_select_bang(), hash_foreach_ensure(), obj_free(), process_options(), rb_ary_product(), rb_ary_sort_bang(), rb_autoload(), rb_copy_generic_ivar(), rb_find_file_ext_safe(), rb_hash_replace(), rb_hash_set_default(), rb_obj_trust(), rb_obj_untaint(), rb_reg_search(), rb_str_new_frozen(), rb_str_unlocktmp(), singleton_class_of(), str_buf_cat(), str_replace(), and undefine_final().
#define FL_UNTRUSTED (((VALUE)1)<<9) |
Definition at line 893 of file ruby.h.
Referenced by marshal_load(), rb_find_file_ext_safe(), rb_obj_clone(), rb_obj_trust(), and singleton_class_of().
#define FL_USER2 (((VALUE)1)<<(FL_USHIFT+2)) |
Definition at line 901 of file ruby.h.
Referenced by w_object().
#define FL_USER5 (((VALUE)1)<<(FL_USHIFT+5)) |
Definition at line 904 of file ruby.h.
Referenced by rb_ary_product().
#define GIDT2NUM | ( | v | ) | LONG2NUM(v) |
Definition at line 306 of file ruby.h.
Referenced by p_gid_exchange(), p_gid_switch(), proc_getegid(), proc_getgid(), and rb_stat_gid().
#define HAVE_NATIVETHREAD |
Definition at line 1343 of file ruby.h.
Referenced by tcltklib_compile_info().
#define ID2SYM | ( | x | ) | (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG) |
#define IMMEDIATE_P | ( | x | ) | ((VALUE)(x) & IMMEDIATE_MASK) |
Definition at line 319 of file ruby.h.
Referenced by rb_class_of(), rb_search_method_entry(), and rb_type().
#define InitVM | ( | ext | ) | {void InitVM_##ext(void);InitVM_##ext();} |
#define INT2FIX | ( | i | ) | ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG)) |
Definition at line 223 of file ruby.h.
Referenced by addrinfo_mdump(), addrinfo_mload(), addrinfo_s_ip(), addrinfo_s_tcp(), addrinfo_s_udp(), argf_lineno(), argf_lineno_getter(), big_op(), big_rshift(), bigand_int(), BigDecimal_double_fig(), BigDecimal_hash(), BigDecimal_IsInfinite(), BigDecimal_mode(), BigDecimal_sign(), BigDecimal_split(), BigDecimal_to_i(), BigDecimal_to_r(), BigDecimalCmp(), bigfixize(), bsock_setsockopt(), bsock_shutdown(), call_trace_proc(), cbsubst_scan_args(), cbsubst_table_setup(), check_exec_fds(), check_exec_redirect(), check_exec_redirect_fd(), check_shiftdown(), clear_coverage_i(), compile_array_(), compile_cpath(), compile_dregx(), compile_dstr(), compile_massign(), copy_stream_body(), copy_stream_fallback_body(), count_nodes(), cto_i(), curses_cols(), curses_curs_set(), curses_lines(), define_final(), defined_expr(), dir_s_chdir(), dir_s_mkdir(), dir_s_rmdir(), enumerator_with_index_i(), env_size(), eval_string_with_cref(), exit_initialize(), exit_success_p(), f_cmp(), f_round_common(), fdbm_length(), fgdbm_length(), fix_aref(), fix_cmp(), fix_pow(), fix_rshift(), fix_size(), flo_cmp(), flo_is_infinite_p(), float_arg(), float_decode_internal(), float_denominator(), float_rationalize(), float_to_r(), float_value(), fole_s_get_code_page(), fole_s_get_locale(), folevariant_vartype(), fsdbm_length(), generate_json(), gettable_gen(), gmtimew(), gmtimew_noleapsecond(), guess_local_offset(), hash2ptr_dispparams(), Init_bigdecimal(), Init_curses(), Init_dbm(), Init_Dir(), Init_fcntl(), Init_File(), Init_gdbm(), Init_golf(), Init_IO(), init_leap_second_info(), Init_marshal(), Init_Numeric(), Init_prelude(), Init_process(), Init_Regexp(), Init_tcltklib(), Init_transcode(), Init_version(), Init_win32ole(), Init_zlib(), initialize_params(), insn_operand_intern(), insn_set_specialized_instruction(), int_dotimes(), int_downto(), int_even_p(), int_odd_p(), int_pair_to_real_inclusive(), int_pred(), int_round(), int_succ(), int_upto(), 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(), iseq_compile_each(), iseq_data_to_ary(), iseq_location(), iseq_s_compile(), iseq_s_compile_file(), iseq_set_sequence(), iseq_specialized_instruction(), lib_eventloop_core(), lib_num_of_mainwindows_core(), load_file_internal(), make_addrinfo(), match_begin(), match_end(), match_offset(), match_size(), math_lgamma(), method_arity_m(), method_hash(), mktime_do(), mSyslogConstants_LOG_MASK(), mSyslogConstants_LOG_UPTO(), new_child_iseq(), new_insn_send(), nil_to_i(), nilclass_to_c(), nilclass_to_r(), num_abs(), num_cmp(), num_div(), num_exact(), num_imaginary(), num_remainder(), num_step(), num_uminus(), num_zero_p(), numeric_arg(), numeric_imag(), numeric_rect(), 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(), pack_unpack(), parser_yylex(), pipe_open(), power_cache_get_power0(), prelude_require(), proc_arity(), proc_curry(), proc_getmaxgroups(), proc_setmaxgroups(), quo(), r_le(), rand_int(), random_alloc(), random_dump(), random_left(), random_load(), random_rand(), random_s_left(), range_each_func(), range_max(), range_step(), rb_add_method(), rb_ary_cmp(), rb_big_aref(), rb_big_cmp(), rb_big_hash(), rb_big_neg(), rb_big_pow(), rb_big_unpack(), rb_cmpint(), rb_cstr_to_inum(), rb_dbl_cmp(), rb_dlptr_cmp(), rb_exec_arg_addopt(), rb_f_kill(), rb_f_rand(), rb_f_sleep(), rb_file_chmod(), rb_file_chown(), rb_file_flock(), rb_file_s_rename(), rb_file_s_umask(), rb_hash_flatten(), rb_hash_size(), 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_reset_random_seed(), rb_stat_cmp(), rb_str_aref(), rb_str_aset(), rb_str_casecmp(), rb_str_count(), rb_str_each_byte(), rb_str_getbyte(), rb_str_hash_m(), rb_str_partition(), rb_str_sum(), rb_str_upto(), rb_strftime_with_timespec(), rb_syck_load_handler(), rb_thread_sleep(), rb_threadptr_execute_interrupts_rec(), rb_threadptr_signal_raise(), rb_zstream_avail_in(), rb_zstream_data_type(), recursive_cmp(), recursive_hash(), reduce0(), reg_named_capture_assign_gen(), rsock_bsock_send(), rsock_ipaddr(), rsock_sock_listen(), 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(), string_to_c(), string_to_c_internal(), string_to_r(), string_to_r_internal(), strio_0(), strio_rewind(), strio_seek(), strio_write(), strscan_do_scan(), strscan_get_pos(), strscan_rest_size(), syck_emitter_emit(), syck_emitter_reset(), syck_parser_bufsize_get(), 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(), usec2subsecx(), utc_offset_arg(), validate_utc_offset(), validate_vtm(), vtm2tm_noyear(), vtm_add_offset(), when_vals(), window_attroff(), window_attron(), window_attrset(), window_begx(), window_begy(), window_curx(), window_cury(), window_maxx(), window_maxy(), wmul(), wquo(), yaml_org_handler(), and yyparse().
#define INT2NUM_internal | ( | v | ) | (FIXABLE(v) ? INT2FIX(v) : rb_int2big(v)) |
#define ISALNUM | ( | c | ) | rb_isalnum((unsigned char)(c)) |
Definition at line 1400 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 1401 of file ruby.h.
Referenced by has_magic(), has_redirection(), pack_pack(), parser_regx_options(), rb_proc_exec(), rb_str_succ(), and rb_w32_opendir().
#define ISASCII | ( | c | ) | rb_isascii((unsigned char)(c)) |
Definition at line 1394 of file ruby.h.
Referenced by enc_strlen(), io_getc(), is_special_global_name(), parser_read_escape(), parser_yylex(), range_include(), rb_enc_ascget(), rb_enc_nth(), rb_enc_strlen_cr(), rb_enc_symname2_p(), rb_intern3(), rb_str_crypt(), reg_named_capture_assign_iter(), and search_nonascii().
#define ISLOWER | ( | c | ) | rb_islower((unsigned char)(c)) |
Definition at line 1399 of file ruby.h.
Referenced by rb_strftime_with_timespec(), rlimit_resource_name2int(), and set_encoding_const().
#define ISPRINT | ( | c | ) | rb_isprint((unsigned char)(c)) |
Definition at line 1396 of file ruby.h.
Referenced by inspect_sockaddr(), proc_options(), rb_f_test(), rb_str_buf_cat_escaped_char(), rb_str_dump(), and rb_str_inspect().
#define ISSPACE | ( | c | ) | rb_isspace((unsigned char)(c)) |
Definition at line 1397 of file ruby.h.
Referenced by BigDecimal_to_s(), comment_at_top(), inspect_sockaddr(), moreswitches(), pack_pack(), 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_proc_exec(), rb_w32_cmdvector(), rb_w32_spawn(), ruby_each_words(), ruby_strtoul(), set_file_encoding(), skipspace(), unescape_unicode_list(), VpAlloc(), and VpFormatSt().
#define ISUPPER | ( | c | ) | rb_isupper((unsigned char)(c)) |
Definition at line 1398 of file ruby.h.
Referenced by load_encoding(), parser_yylex(), rb_strftime_with_timespec(), and set_encoding_const().
#define ISXDIGIT | ( | c | ) | rb_isxdigit((unsigned char)(c)) |
Definition at line 1403 of file ruby.h.
Referenced by parser_yylex().
#define LONG2FIX | ( | i | ) | INT2FIX(i) |
Definition at line 224 of file ruby.h.
Referenced by add(), bigfixize(), cState_max_nesting(), cState_to_h(), dbl2ival(), fix_mul(), fix_rshift(), flo_ceil(), flo_floor(), flo_hash(), flo_round(), flo_truncate(), guess_local_offset(), Init_ossl_ssl(), int_dotimes(), int_downto(), int_upto(), io_write(), iseq_compile_each(), match_hash(), mktime_do(), mul(), negate_lit(), nucomp_hash(), num_step(), nurat_hash(), ossl_x509req_get_version(), proc_hash(), r_object0(), range_each(), rb_ary_drop_while(), rb_ary_take_while(), rb_big_size(), rb_cstr_to_inum(), rb_file_s_chmod(), rb_file_s_chown(), rb_file_s_unlink(), rb_file_s_utime(), rb_hash(), rb_int2inum(), rb_io_syswrite(), rb_io_write_nonblock(), rb_num2fix(), rb_obj_hash(), rb_reg_hash(), rb_reg_match(), rb_reg_match2(), rb_str_cmp_m(), rb_str_format(), rb_str_sum(), rb_struct_size(), rb_uint2inum(), recursive_hash(), sub(), time_mdump(), time_mload(), and update_coverage().
#define LONG2NUM_internal | ( | v | ) | (FIXABLE(v) ? LONG2FIX(v) : rb_int2big(v)) |
Definition at line 966 of file ruby.h.
Referenced by LONG2NUM().
#define LONG_MAX 2147483647 |
Definition at line 183 of file ruby.h.
Referenced by big2str_find_n1(), bubblebabble_str_new(), econv_primitive_convert(), hexencode_str_new(), long_mul(), rb_econv_substr_append(), rb_num2long(), rb_num2ulong(), rb_str_justify(), rb_str_times(), remain_size(), and str_buf_cat().
#define LONG_MIN (-LONG_MAX-1) |
Definition at line 187 of file ruby.h.
Referenced by rb_big2long(), rb_num2long(), and rb_num2ulong().
Definition at line 1010 of file ruby.h.
Referenced by proc_eq(), rb_big_eq(), rb_big_eql(), and strio_getline().
Definition at line 1008 of file ruby.h.
Referenced by ary_make_partial(), ary_make_substitution(), ary_resize_capa(), big_split(), bigmul1_balance(), bigmul1_karatsuba(), cont_capture(), cont_restore_1(), cont_save_machine_stack(), cState_init_copy(), enc_succ_alnum_char(), fbuffer_append(), fiber_init(), gc_mark_rest(), init_copy(), iseq_set_arguments(), iseq_set_local_table(), make_seed_value(), match_init_copy(), method_missing(), mktime_do(), parser_yyerror(), r_object0(), rb_apply(), rb_ary_dup(), rb_ary_modify(), rb_ary_new4(), rb_ary_plus(), rb_ary_replace(), rb_ary_rotate_m(), rb_ary_s_create(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_times(), rb_ary_unshift_m(), rb_big_clone(), rb_big_realloc(), rb_econv_set_replacement(), rb_feature_p(), rb_iseq_translate_threaded_code(), rb_ivar_set(), rb_protect(), rb_str_resize(), rb_str_succ(), rb_str_to_dbl(), rb_str_to_inum(), rb_struct_init_copy(), rb_struct_initialize_m(), rb_syck_load_handler(), ruby__sfvwrite(), ruby_glob0(), set_encoding_const(), strio_read(), syck_node_init_copy(), time_init_copy(), tk_funcall(), transcode_char_start(), transcode_restartable(), vm_call_method(), vm_callee_setup_arg_complex(), vm_method_missing_args(), and vm_yield_setup_block_args().
Definition at line 1009 of file ruby.h.
Referenced by assign_heap_slot(), big2str_orig(), int_pair_to_real_inclusive(), io_binwrite(), io_ungetbyte(), rb_ary_delete_at(), rb_ary_shift(), rb_ary_shift_m(), rb_ary_splice(), rb_ary_unshift_m(), rb_econv_add_transcoder_at(), rb_econv_insert_output(), rb_io_ungetc(), read_buffered_data(), trans_sweep(), vm_call_method(), and vm_yield_setup_block_args_complex().
Definition at line 1007 of file ruby.h.
Referenced by call_getaddrinfo(), cmdline_options_init(), cState_initialize(), gc_profile_clear(), Init_BareVM(), insert(), int_pair_to_real_inclusive(), iseq_set_sequence(), JSON_allocate(), make_inetaddr(), match_alloc(), match_inspect(), parser_new(), prepare_iseq_build(), r_object0(), rb_ary_combination(), rb_ary_permutation(), rb_exec_fillarg(), rb_getaddrinfo(), rb_io_reopen(), rb_io_s_copy_stream(), rb_newobj_from_heap(), rb_reg_search(), rb_str_splice_0(), rb_syck_load_handler(), rsock_addrinfo(), sock_s_getaddrinfo(), sock_s_getnameinfo(), strio_extend(), strio_truncate(), strscan_s_allocate(), and vm_init2().
#define NEGFIXABLE | ( | f | ) | ((f) >= FIXNUM_MIN) |
Definition at line 316 of file ruby.h.
Referenced by bigfixize().
Definition at line 556 of file ruby.h.
Referenced by ary_alloc(), ary_make_shared(), bignew_1(), class_alloc(), hash_alloc(), io_alloc(), make_seed_value(), match_alloc(), nucomp_s_new_internal(), nurat_s_new_internal(), r_object0(), range_dumper(), rb_class_allocate_instance(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_float_new(), rb_hash_dup(), rb_reg_s_alloc(), rsock_sockopt_new(), str_alloc(), and struct_alloc().
#define NIL_P | ( | v | ) | ((VALUE)(v) == Qnil) |
Definition at line 350 of file ruby.h.
Referenced by add_event_call_back(), addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_inspect(), addrinfo_mload(), alias(), appendline(), argf_getbyte(), argf_getc(), argf_getline(), argf_next_argv(), argf_read(), argf_readbyte(), argf_readchar(), argf_readline(), argf_readlines(), argf_readpartial(), ary2list(), ary2list2(), ary_join_0(), ary_join_1(), assoc2kv(), assoc2kv_enc(), big_op(), bugreport_backtrace(), call_getaddrinfo(), caller_setup_args(), cbsubst_get_subst_arg(), cbsubst_scan_args(), cbsubst_sym_to_subst(), check_exec_env_i(), check_exec_fds(), check_exec_redirect(), check_exec_redirect_fd(), chunk_i(), chunk_ii(), cmp_eq(), compile_dstr_fragments(), constant_arg(), convert_type(), copy_stream_body(), cParser_initialize(), cState_configure(), cState_from_state_s(), cState_generate(), cState_initialize(), cState_partial_generate(), cto_i(), curry(), curses_addstr(), dir_initialize(), dir_inspect(), dir_path(), dir_s_glob(), dir_s_home(), divmodv(), do_checksum(), do_deflate(), do_inflate(), do_writeconv(), econv_args(), econv_description(), econv_init(), econv_last_error(), econv_opts(), econv_primitive_convert(), econv_putback(), econv_s_search_convpath(), enc_register_at(), enc_set_default_encoding(), enum_cycle(), enum_find(), enum_zip(), enumerator_with_index(), env_aset(), env_delete_m(), env_has_value(), env_rassoc(), env_reject_bang(), env_select_bang(), errat_getter(), errat_setter(), error_print(), esignal_init(), ev_on_event(), eval_string_with_cref(), EVENTSINK_Invoke(), exc_to_s(), exit_success_p(), extract_binmode(), extract_user_token(), fdbm_fetch_m(), fdbm_initialize(), fdbm_s_open(), fev_off_event(), fgdbm_fetch(), fgdbm_fetch_m(), fgdbm_has_value(), fgdbm_initialize(), fgdbm_key(), fgdbm_s_open(), fgdbm_shift(), fiber_switch(), file_expand_path(), fill_cbuf(), first_i(), flat_map_i(), flatten(), fole_initialize(), fptr_finalize(), fsdbm_fetch_m(), fsdbm_initialize(), fsdbm_s_open(), function_call(), get_backtrace(), get_freefunc(), get_hash(), get_iconv_opt(), get_pat(), goruby_run_node(), group_by_i(), hash2kv(), hash2kv_enc(), host_str(), iconv_convert(), iconv_iconv(), iconv_s_convert(), init_inetsock_internal(), initialize(), initialize_params(), int_downto(), int_upto(), io_encoding_set(), io_getpartial(), io_read(), io_read_nonblock(), io_reader(), io_readpartial(), io_s_foreach(), io_shift_cbuf(), io_wait(), 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_load(), iseq_s_compile(), JSON_parse_array(), JSON_parse_object(), JSON_parse_string(), lex_getline(), lfp_svar_place(), 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_exception(), make_inspectname(), make_struct(), marshal_dump(), marshal_load(), match_aref(), match_getter(), match_setter(), match_to_s(), month_arg(), mSyslog_open(), name_err_mesg_to_str(), name_err_to_s(), nucomp_s_convert(), num_exact(), nurat_s_convert(), obj_to_asn1null(), 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_tmp_dh_callback(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_config_get_value_old(), ossl_config_initialize(), ossl_dh_initialize(), ossl_digest_finish(), ossl_digest_initialize(), ossl_dsa_export(), ossl_dsa_initialize(), 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_rsa_export(), ossl_rsa_initialize(), ossl_rsa_s_generate(), ossl_ssl_read_internal(), ossl_ssl_setup(), ossl_sslctx_flush_sessions(), ossl_sslctx_set_ciphers(), ossl_sslctx_setup(), ossl_start_ssl(), ossl_verify_cb(), ossl_x509extfactory_create_ext(), ossl_x509extfactory_initialize(), ossl_x509name_add_entry(), ossl_x509name_init_i(), ossl_x509name_initialize(), ossl_x509name_to_s(), ossl_x509stctx_initialize(), pack_pack(), parse_main(), parser_here_document(), parser_nextc(), pending_exception_check0(), pending_exception_check1(), pop_last_hash(), port_str(), power_cache_get_power0(), prepare_getline_args(), prepare_iseq_build(), print_backtrace(), proc_curry(), proc_wait(), proc_wait2(), pst_inspect(), r_byte(), r_bytes0(), r_le(), r_lt(), r_object0(), random_rand(), range_each(), range_include(), range_init(), range_step(), range_values(), rb_alias(), rb_Array(), rb_ary_assoc(), rb_ary_cmp(), rb_ary_compact_bang(), rb_ary_cycle(), rb_ary_fill(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_ary_initialize(), rb_ary_join(), rb_ary_join_m(), rb_ary_permutation(), rb_ary_product(), rb_ary_times(), rb_ary_to_ary(), rb_ary_zip(), rb_big_lshift(), rb_big_rshift(), rb_check_argv(), rb_check_backtrace(), rb_check_convert_type(), rb_check_type(), rb_class_path(), rb_cmpint(), rb_compile_warn(), rb_const_set(), rb_convert_to_integer(), rb_deflate_init_copy(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_econv_check_error(), rb_econv_init_by_convpath(), rb_econv_open_opts(), rb_econv_prepare_opts(), rb_econv_substr_append(), rb_enc_aliases_enc_i(), rb_enc_from_encoding_index(), rb_enc_get_index(), rb_enc_set_default_external(), rb_env_clear(), rb_exc_fatal(), rb_exc_raise(), rb_exec_arg_addopt(), rb_exec_arg_prepare(), rb_exec_fillarg(), rb_exec_getargs(), rb_f_abort(), rb_f_autoload(), rb_f_autoload_p(), rb_f_backquote(), rb_f_caller(), rb_f_eval(), rb_f_exec(), 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_file_chmod(), rb_file_chown(), 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_get_expanded_load_path(), rb_gets(), rb_hash_fetch_m(), rb_hash_s_create(), rb_hash_set_default_proc(), rb_inflate_addstr(), rb_inflate_inflate(), rb_io_ctl(), 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_puts(), 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_sysread(), rb_io_ungetbyte(), rb_io_ungetc(), rb_load_internal(), rb_locale_encindex(), rb_marshal_dump(), rb_method_entry_make(), rb_mod_cmp(), rb_mod_name(), rb_mod_nesting(), rb_mod_s_constants(), rb_mutex_sleep(), rb_num2long(), rb_num2ulong(), rb_num_coerce_relop(), rb_proc_call_with_block(), rb_realpath_internal(), rb_reg_eqq(), rb_reg_initialize_m(), rb_reg_match_last(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_reg_s_last_match(), rb_reg_s_union(), rb_reg_s_union_m(), rb_reg_search(), rb_require_safe(), rb_run_exec_options_err(), rb_scan_open_args(), rb_set_errinfo(), rb_stat(), rb_str_aref(), rb_str_chomp_bang(), rb_str_cmp_m(), rb_str_derive(), rb_str_each_line(), rb_str_end_with(), rb_str_format(), rb_str_format_m(), rb_str_index_m(), rb_str_justify(), rb_str_match_m(), rb_str_partition(), rb_str_rindex_m(), rb_str_rpartition(), rb_str_scan(), rb_str_setter(), rb_str_slice_bang(), rb_str_split_m(), rb_str_start_with(), rb_str_strip_bang(), rb_str_sub_bang(), rb_str_upto(), rb_struct_s_def(), rb_struct_s_members(), rb_syck_io_str_read(), rb_syck_load_handler(), rb_thread_local_aset(), rb_thread_status(), rb_time_num_new(), rb_to_encoding_index(), rb_to_float(), rb_to_id(), rb_undef(), rb_w32_conv_from_wstr(), rb_warn(), rb_warn_m(), rb_yield_splat(), rb_zstream_avail_in(), read_all(), readline_attempted_completion_function(), readline_s_set_completion_proc(), realpath_rec(), recursive_check(), recursive_list_access(), reduce0(), reg_compile_gen(), reg_match_pos(), reg_operand(), rlimit_resource_type(), rlimit_resource_value(), rsock_bsock_send(), run_exec_rlimit(), save_env(), save_redirect_fd(), scalar(), select_internal(), set_trace_func(), setup_exception(), slicebefore_i(), slicebefore_ii(), sock_initialize(), sock_s_getaddrinfo(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_getservbyname(), sock_s_getservbyport(), sockopt_s_linger(), start_mapping(), start_sequence(), str_gsub(), str_transcode(), str_transcode0(), str_transcode_enc_args(), string_to_c(), string_to_c_internal(), string_to_c_strict(), string_to_r(), string_to_r_internal(), string_to_r_strict(), strio_each(), strio_each_char(), strio_getline(), strio_read(), strio_readbyte(), strio_readchar(), strio_readline(), strio_readlines(), strio_seek(), strio_size(), strio_sysread(), strio_ungetbyte(), strio_ungetc(), strscan_inspect(), syck_defaultresolver_detect_implicit(), syck_emitter_emit(), syck_emitter_reset(), syck_get_hash_aref(), syck_map_initialize(), syck_map_value_set(), syck_merge_i(), syck_node_type_id_set(), syck_out_mark(), syck_parser_assign_io(), syck_parser_load(), syck_resolver_tagurize(), syck_resolver_transfer(), syck_scalar_style_set(), syck_seq_value_set(), syck_set_model(), syserr_eqq(), syserr_initialize(), take_items(), tcl_protect_core(), thread_initialize(), thread_join_m(), thread_set_trace_func_m(), thread_start_func_2(), time_arg(), time_cmp(), 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(), transcode_loop(), trap_handler(), uscore_get(), utc_offset_arg(), validate_vtm(), vm_backtrace_each(), vm_define_method(), vm_get_cvar_base(), vm_get_ev_const(), vm_yield_setup_block_args(), w_object(), wdivmod(), window_addstr(), window_box(), yaml_org_handler(), 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_internal | ( | x | ) |
(((TYPE(x) == T_STRING)&&(RSTRING_LEN(x)>=1))?\ RSTRING_PTR(x)[0]:(char)(NUM2INT(x)&0xff))
Definition at line 988 of file ruby.h.
Referenced by NUM2CHR().
#define NUM2DBL | ( | x | ) | rb_num2dbl((VALUE)(x)) |
Definition at line 550 of file ruby.h.
Referenced by callback(), gc_profile_result(), ole_val2ptr_variant(), ole_val2variant(), ossl_rand_add(), ruby_float_step(), set_max_block_time(), and value_to_generic().
#define NUM2GIDT | ( | v | ) | NUM2LONG(v) |
Definition at line 309 of file ruby.h.
Referenced by etc_getgrgid(), p_gid_change_privilege(), p_gid_grant_privilege(), and rb_file_s_chown().
#define NUM2INT | ( | x | ) | ((int)NUM2LONG(x)) |
Definition at line 512 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(), curses_char(), curses_curs_set(), curses_resizeterm(), curses_scrl(), curses_setpos(), curses_setscrreg(), dir_s_glob(), dir_s_mkdir(), econv_args(), econv_primitive_convert(), econv_putback(), esignal_init(), ev_advise(), fdbm_initialize(), fgdbm_initialize(), file_s_fnmatch(), fix_to_s(), flo_round(), folevariant_initialize(), fptr_finalize(), fsdbm_initialize(), function_call(), gc_profile_result(), generic_to_value(), gmtimew_noleapsecond(), guess_local_offset(), hist_delete_at(), hist_get(), init_addrinfo_getaddrinfo(), init_leap_second_info(), initialize(), int_round(), iseq_build_body(), iseq_build_exception(), iseq_s_compile_file(), marshal_dump(), match_backref_number(), math_ldexp(), mSyslog_open(), mSyslog_set_mask(), mSyslogConstants_LOG_MASK(), mSyslogConstants_LOG_UPTO(), obj2int(), obj2subsecx(), ole_invoke(), ole_invoke2(), ole_show_help(), ole_val2ptr_variant(), ole_val2variant(), 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_initialize(), 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(), pack_pack(), pst_bitand(), pst_rshift(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_big_to_s(), rb_dl_callback_int_0_0_cdecl(), rb_dl_callback_int_0_1_cdecl(), rb_dl_callback_int_0_2_cdecl(), rb_dl_callback_int_0_3_cdecl(), rb_dl_callback_int_0_4_cdecl(), rb_dl_callback_int_10_0_cdecl(), rb_dl_callback_int_10_1_cdecl(), rb_dl_callback_int_10_2_cdecl(), rb_dl_callback_int_10_3_cdecl(), rb_dl_callback_int_10_4_cdecl(), rb_dl_callback_int_11_0_cdecl(), rb_dl_callback_int_11_1_cdecl(), rb_dl_callback_int_11_2_cdecl(), rb_dl_callback_int_11_3_cdecl(), rb_dl_callback_int_11_4_cdecl(), rb_dl_callback_int_12_0_cdecl(), rb_dl_callback_int_12_1_cdecl(), rb_dl_callback_int_12_2_cdecl(), rb_dl_callback_int_12_3_cdecl(), rb_dl_callback_int_12_4_cdecl(), rb_dl_callback_int_13_0_cdecl(), rb_dl_callback_int_13_1_cdecl(), rb_dl_callback_int_13_2_cdecl(), rb_dl_callback_int_13_3_cdecl(), rb_dl_callback_int_13_4_cdecl(), rb_dl_callback_int_14_0_cdecl(), rb_dl_callback_int_14_1_cdecl(), rb_dl_callback_int_14_2_cdecl(), rb_dl_callback_int_14_3_cdecl(), rb_dl_callback_int_14_4_cdecl(), rb_dl_callback_int_15_0_cdecl(), rb_dl_callback_int_15_1_cdecl(), rb_dl_callback_int_15_2_cdecl(), rb_dl_callback_int_15_3_cdecl(), rb_dl_callback_int_15_4_cdecl(), rb_dl_callback_int_16_0_cdecl(), rb_dl_callback_int_16_1_cdecl(), rb_dl_callback_int_16_2_cdecl(), rb_dl_callback_int_16_3_cdecl(), rb_dl_callback_int_16_4_cdecl(), rb_dl_callback_int_17_0_cdecl(), rb_dl_callback_int_17_1_cdecl(), rb_dl_callback_int_17_2_cdecl(), rb_dl_callback_int_17_3_cdecl(), rb_dl_callback_int_17_4_cdecl(), rb_dl_callback_int_18_0_cdecl(), rb_dl_callback_int_18_1_cdecl(), rb_dl_callback_int_18_2_cdecl(), rb_dl_callback_int_18_3_cdecl(), rb_dl_callback_int_18_4_cdecl(), rb_dl_callback_int_19_0_cdecl(), rb_dl_callback_int_19_1_cdecl(), rb_dl_callback_int_19_2_cdecl(), rb_dl_callback_int_19_3_cdecl(), rb_dl_callback_int_19_4_cdecl(), rb_dl_callback_int_1_0_cdecl(), rb_dl_callback_int_1_1_cdecl(), rb_dl_callback_int_1_2_cdecl(), rb_dl_callback_int_1_3_cdecl(), rb_dl_callback_int_1_4_cdecl(), rb_dl_callback_int_2_0_cdecl(), rb_dl_callback_int_2_1_cdecl(), rb_dl_callback_int_2_2_cdecl(), rb_dl_callback_int_2_3_cdecl(), rb_dl_callback_int_2_4_cdecl(), rb_dl_callback_int_3_0_cdecl(), rb_dl_callback_int_3_1_cdecl(), rb_dl_callback_int_3_2_cdecl(), rb_dl_callback_int_3_3_cdecl(), rb_dl_callback_int_3_4_cdecl(), rb_dl_callback_int_4_0_cdecl(), rb_dl_callback_int_4_1_cdecl(), rb_dl_callback_int_4_2_cdecl(), rb_dl_callback_int_4_3_cdecl(), rb_dl_callback_int_4_4_cdecl(), rb_dl_callback_int_5_0_cdecl(), rb_dl_callback_int_5_1_cdecl(), rb_dl_callback_int_5_2_cdecl(), rb_dl_callback_int_5_3_cdecl(), rb_dl_callback_int_5_4_cdecl(), rb_dl_callback_int_6_0_cdecl(), rb_dl_callback_int_6_1_cdecl(), rb_dl_callback_int_6_2_cdecl(), rb_dl_callback_int_6_3_cdecl(), rb_dl_callback_int_6_4_cdecl(), rb_dl_callback_int_7_0_cdecl(), rb_dl_callback_int_7_1_cdecl(), rb_dl_callback_int_7_2_cdecl(), rb_dl_callback_int_7_3_cdecl(), rb_dl_callback_int_7_4_cdecl(), rb_dl_callback_int_8_0_cdecl(), rb_dl_callback_int_8_1_cdecl(), rb_dl_callback_int_8_2_cdecl(), rb_dl_callback_int_8_3_cdecl(), rb_dl_callback_int_8_4_cdecl(), rb_dl_callback_int_9_0_cdecl(), rb_dl_callback_int_9_1_cdecl(), rb_dl_callback_int_9_2_cdecl(), rb_dl_callback_int_9_3_cdecl(), rb_dl_callback_int_9_4_cdecl(), rb_dl_callback_short_0_0_cdecl(), rb_dl_callback_short_0_1_cdecl(), rb_dl_callback_short_0_2_cdecl(), rb_dl_callback_short_0_3_cdecl(), rb_dl_callback_short_0_4_cdecl(), rb_dl_callback_short_10_0_cdecl(), rb_dl_callback_short_10_1_cdecl(), rb_dl_callback_short_10_2_cdecl(), rb_dl_callback_short_10_3_cdecl(), rb_dl_callback_short_10_4_cdecl(), rb_dl_callback_short_11_0_cdecl(), rb_dl_callback_short_11_1_cdecl(), rb_dl_callback_short_11_2_cdecl(), rb_dl_callback_short_11_3_cdecl(), rb_dl_callback_short_11_4_cdecl(), rb_dl_callback_short_12_0_cdecl(), rb_dl_callback_short_12_1_cdecl(), rb_dl_callback_short_12_2_cdecl(), rb_dl_callback_short_12_3_cdecl(), rb_dl_callback_short_12_4_cdecl(), rb_dl_callback_short_13_0_cdecl(), rb_dl_callback_short_13_1_cdecl(), rb_dl_callback_short_13_2_cdecl(), rb_dl_callback_short_13_3_cdecl(), rb_dl_callback_short_13_4_cdecl(), rb_dl_callback_short_14_0_cdecl(), rb_dl_callback_short_14_1_cdecl(), rb_dl_callback_short_14_2_cdecl(), rb_dl_callback_short_14_3_cdecl(), rb_dl_callback_short_14_4_cdecl(), rb_dl_callback_short_15_0_cdecl(), rb_dl_callback_short_15_1_cdecl(), rb_dl_callback_short_15_2_cdecl(), rb_dl_callback_short_15_3_cdecl(), rb_dl_callback_short_15_4_cdecl(), rb_dl_callback_short_16_0_cdecl(), rb_dl_callback_short_16_1_cdecl(), rb_dl_callback_short_16_2_cdecl(), rb_dl_callback_short_16_3_cdecl(), rb_dl_callback_short_16_4_cdecl(), rb_dl_callback_short_17_0_cdecl(), rb_dl_callback_short_17_1_cdecl(), rb_dl_callback_short_17_2_cdecl(), rb_dl_callback_short_17_3_cdecl(), rb_dl_callback_short_17_4_cdecl(), rb_dl_callback_short_18_0_cdecl(), rb_dl_callback_short_18_1_cdecl(), rb_dl_callback_short_18_2_cdecl(), rb_dl_callback_short_18_3_cdecl(), rb_dl_callback_short_18_4_cdecl(), rb_dl_callback_short_19_0_cdecl(), rb_dl_callback_short_19_1_cdecl(), rb_dl_callback_short_19_2_cdecl(), rb_dl_callback_short_19_3_cdecl(), rb_dl_callback_short_19_4_cdecl(), rb_dl_callback_short_1_0_cdecl(), rb_dl_callback_short_1_1_cdecl(), rb_dl_callback_short_1_2_cdecl(), rb_dl_callback_short_1_3_cdecl(), rb_dl_callback_short_1_4_cdecl(), rb_dl_callback_short_2_0_cdecl(), rb_dl_callback_short_2_1_cdecl(), rb_dl_callback_short_2_2_cdecl(), rb_dl_callback_short_2_3_cdecl(), rb_dl_callback_short_2_4_cdecl(), rb_dl_callback_short_3_0_cdecl(), rb_dl_callback_short_3_1_cdecl(), rb_dl_callback_short_3_2_cdecl(), rb_dl_callback_short_3_3_cdecl(), rb_dl_callback_short_3_4_cdecl(), rb_dl_callback_short_4_0_cdecl(), rb_dl_callback_short_4_1_cdecl(), rb_dl_callback_short_4_2_cdecl(), rb_dl_callback_short_4_3_cdecl(), rb_dl_callback_short_4_4_cdecl(), rb_dl_callback_short_5_0_cdecl(), rb_dl_callback_short_5_1_cdecl(), rb_dl_callback_short_5_2_cdecl(), rb_dl_callback_short_5_3_cdecl(), rb_dl_callback_short_5_4_cdecl(), rb_dl_callback_short_6_0_cdecl(), rb_dl_callback_short_6_1_cdecl(), rb_dl_callback_short_6_2_cdecl(), rb_dl_callback_short_6_3_cdecl(), rb_dl_callback_short_6_4_cdecl(), rb_dl_callback_short_7_0_cdecl(), rb_dl_callback_short_7_1_cdecl(), rb_dl_callback_short_7_2_cdecl(), rb_dl_callback_short_7_3_cdecl(), rb_dl_callback_short_7_4_cdecl(), rb_dl_callback_short_8_0_cdecl(), rb_dl_callback_short_8_1_cdecl(), rb_dl_callback_short_8_2_cdecl(), rb_dl_callback_short_8_3_cdecl(), rb_dl_callback_short_8_4_cdecl(), rb_dl_callback_short_9_0_cdecl(), rb_dl_callback_short_9_1_cdecl(), rb_dl_callback_short_9_2_cdecl(), rb_dl_callback_short_9_3_cdecl(), rb_dl_callback_short_9_4_cdecl(), 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_caller(), rb_f_eval(), rb_f_exit(), rb_f_exit_bang(), rb_f_integer(), rb_file_chmod(), rb_file_chown(), rb_file_flock(), rb_file_s_chmod(), rb_file_s_umask(), rb_io_extract_modeenc(), rb_io_initialize(), rb_io_s_sysopen(), rb_io_seek_m(), rb_io_set_lineno(), rb_io_sysseek(), rb_iseq_build_from_ary(), rb_iseq_compile_with_option(), 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(), rlimit_resource_type(), 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(), run_exec_rlimit(), safe_setter(), scalar(), set_eventloop_tick(), set_eventloop_weight(), set_indentation(), set_no_event_wait(), sock_initialize(), sock_s_getaddrinfo(), sock_s_getnameinfo(), sockopt_inspect(), sockopt_level(), sockopt_optname(), sockopt_s_int(), sockopt_s_linger(), specific_eval(), start_document(), start_mapping(), start_sequence(), start_stream(), strscan_set_pos(), syck_parser_bufsize_set(), syserr_initialize(), sysexit_status(), tcl2rb_bool(), thread_initialize(), time_init_1(), timegmw_noleapsecond(), timelocalw(), tr_trans(), udp_send(), value_to_generic(), vtm_add_offset(), window_attroff(), window_attron(), window_attrset(), window_box(), window_initialize(), window_move(), window_resize(), window_scrl(), window_setpos(), window_setscrreg(), window_subwin(), and writer().
#define NUM2LONG_internal | ( | x | ) | (FIXNUM_P(x) ? FIX2LONG(x) : rb_num2long(x)) |
Definition at line 480 of file ruby.h.
Referenced by NUM2LONG().
#define NUM2OFFT | ( | x | ) | NUM2LONG(x) |
Definition at line 538 of file ruby.h.
Referenced by rb_io_s_copy_stream(), rb_io_seek(), rb_io_set_pos(), and rb_io_sysseek().
#define NUM2PIDT | ( | v | ) | NUM2LONG(v) |
Definition at line 297 of file ruby.h.
Referenced by proc_detach(), proc_wait(), pst_inspect(), pst_to_s(), pty_check(), rb_exec_arg_addopt(), and rb_f_kill().
#define NUM2UIDT | ( | v | ) | NUM2LONG(v) |
Definition at line 303 of file ruby.h.
Referenced by etc_getpwuid(), p_uid_change_privilege(), p_uid_grant_privilege(), and rb_file_s_chown().
#define NUM2UINT | ( | x | ) | ((unsigned int)NUM2ULONG(x)) |
Definition at line 513 of file ruby.h.
Referenced by folevariant_s_array(), host_str(), proc_wait(), rb_dlptr_aset(), rb_io_open(), rb_io_s_sysopen(), and rb_scan_open_args().
#define NUM2ULONG | ( | x | ) | rb_num2ulong((VALUE)x) |
Definition at line 491 of file ruby.h.
Referenced by do_checksum(), ossl_x509name_to_s(), random_load(), rb_dlptr_aref(), rb_dlptr_aset(), rb_io_ctl(), and rb_stat_inspect().
#define OBJ_FREEZE | ( | x | ) | FL_SET((x), FL_FREEZE) |
Definition at line 937 of file ruby.h.
Referenced by addrinfo_firstonly_new(), addrinfo_list_new(), ary_make_shared(), classname(), compile_array_(), copy_path_class(), define_final(), enc_names_i(), fc_path(), init_addrinfo_getaddrinfo(), Init_eval(), Init_GC(), Init_IO(), Init_tkutil(), iseq_compile_each(), load_encoding(), make_inspectname(), make_struct(), predefined_dlhandle(), prepare_iseq_build(), rb_autoload(), rb_class_path(), rb_enc_aliases_enc_i(), rb_enc_name_list_i(), rb_id2str(), rb_io_getline_1(), rb_obj_freeze(), rb_reg_initialize(), rb_require(), rb_set_class_path(), rb_set_class_path_string(), rb_str_freeze(), rb_str_new_frozen(), rb_struct_define_without_accessor(), register_symid(), ruby_set_argv(), search_required(), singleton_class_of(), and unnamed_parameters().
#define OBJ_FROZEN | ( | x | ) | (!!FL_TEST((x), FL_FREEZE)) |
Definition at line 936 of file ruby.h.
Referenced by ary_make_shared(), ary_resize_capa(), check_modifiable(), define_final(), eval_string_with_cref(), fdbm_modify(), init_copy(), mod_av_set(), ossl_sslctx_setup(), rb_ary_frozen_p(), rb_ary_modify_check(), rb_check_frozen(), rb_const_remove(), rb_econv_open_opts(), rb_frozen_class_p(), rb_gdbm_modify(), rb_hash_modify_check(), rb_ivar_set(), rb_method_entry_make(), rb_mod_remove_cvar(), rb_obj_freeze(), rb_obj_frozen_p(), rb_obj_remove_instance_variable(), rb_obj_taint(), rb_obj_trust(), rb_obj_untaint(), rb_obj_untrust(), rb_ossl_config_modify_check(), rb_str_associate(), rb_str_new_frozen(), rb_struct_modify(), rb_thread_local_aset(), remove_method(), RUBY_ALIAS_FUNCTION(), setup_exception(), singleton_class_of(), str_encode_bang(), str_frozen_check(), str_modifiable(), str_replace(), strio_init(), strio_set_string(), thgroup_add(), thread_create_core(), undefine_final(), vm_define_method(), and vm_setivar().
#define OBJ_INFECT | ( | x, | ||
s | ||||
) | do {if (FL_ABLE(x) && FL_ABLE(s)) RBASIC(x)->flags |= RBASIC(s)->flags & (FL_TAINT | FL_UNTRUSTED);} while (0) |
Definition at line 934 of file ruby.h.
Referenced by addrinfo_to_sockaddr(), check_pipe_command(), enum_group_by(), enum_sort_by(), enum_to_a(), iconv_convert(), include_class_new(), infect(), infected_str_new(), inspect_hash(), inspect_i(), inspect_obj(), inspect_range(), inspect_struct(), make_inspectname(), make_metaclass(), method_unbind(), mnew(), pack_pack(), range_to_s(), rb_any_to_s(), rb_ary_flatten(), rb_ary_times(), rb_class_boot(), rb_deflate_addstr(), rb_deflate_deflate(), rb_deflate_flush(), rb_deflate_s_deflate(), rb_deflate_set_dictionary(), rb_dlptr_s_to_ptr(), rb_file_dirname(), rb_file_join(), rb_file_s_basename(), rb_file_s_extname(), rb_hash_to_a(), 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_reg_desc(), rb_reg_nth_match(), rb_reg_quote(), rb_reg_search(), rb_reg_to_s(), rb_stat_inspect(), rb_str_append(), rb_str_buf_append(), rb_str_chop(), rb_str_crypt(), rb_str_derive(), rb_str_dump(), rb_str_each_line(), 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_finish(), rb_zstream_flush_next_in(), rb_zstream_flush_next_out(), RUBY_ALIAS_FUNCTION(), sock_s_pack_sockaddr_in(), sock_s_unpack_sockaddr_in(), str_gsub(), str_replace(), strio_copy(), strio_putc(), and strio_write().
#define OBJ_TAINT | ( | x | ) | FL_SET((x), FL_TAINT) |
Definition at line 931 of file ruby.h.
Referenced by ary_join_0(), dlptr_init(), env_inspect(), exc_to_s(), file_expand_path(), Init_eval(), Init_GC(), Init_Proc(), inspect_ary(), inspect_enumerator(), io_enc_str(), io_getpartial(), io_read(), io_shift_cbuf(), match_array(), match_to_s(), name_err_mesg_to_str(), name_err_to_s(), ossl_ssl_read_internal(), proc_to_s(), process_options(), rb_ary_join(), rb_dlcfunc_inspect(), rb_gdbm_fetch(), rb_gdbm_firstkey(), rb_gdbm_nextkey(), 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_syck_compile(), rb_syck_load_handler(), rb_tainted_str_new_cstr(), rb_zlib_version(), RUBY_ALIAS_FUNCTION(), singleton_class_of(), and str_gsub().
#define OBJ_TAINTED | ( | x | ) | (!!FL_TEST((x), FL_TAINT)) |
Definition at line 930 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(), exc_to_s(), file_expand_path(), fole_initialize(), fole_s_connect(), inspect_ary(), inspect_enumerator(), 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(), name_err_mesg_to_str(), name_err_to_s(), proc_to_s(), rb_ary_join(), rb_check_safe_obj(), rb_eval_cmd(), rb_f_eval(), rb_f_trace_var(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_method_call(), 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_secure_update(), rb_str_format(), rb_str_new_frozen(), rb_str_plus(), rb_str_sub_bang(), sig_trap(), singleton_class_of(), str_gsub(), strio_reopen(), strio_set_string(), syck_parser_assign_io(), and writable().
#define OBJ_UNTRUST | ( | x | ) | FL_SET((x), FL_UNTRUSTED) |
Definition at line 933 of file ruby.h.
Referenced by inspect_ary(), inspect_enumerator(), prepare_iseq_build(), rb_ary_join(), rb_iseq_build_for_ruby2cext(), rb_obj_untrust(), rb_str_sub_bang(), recursive_list_access(), recursive_push(), and singleton_class_of().
#define OBJ_UNTRUSTED | ( | x | ) | (!!FL_TEST((x), FL_UNTRUSTED)) |
Definition at line 932 of file ruby.h.
Referenced by ary_join_0(), dir_check(), dir_rewind(), inspect_ary(), inspect_enumerator(), io_reopen(), mod_av_set(), rb_ary_join(), rb_ary_modify_check(), rb_const_remove(), rb_hash_modify_check(), rb_include_module(), rb_io_close_m(), rb_io_close_read(), rb_io_close_write(), rb_io_taint_check(), rb_ivar_set(), rb_method_entry_make(), rb_mod_remove_cvar(), rb_obj_freeze(), rb_obj_remove_instance_variable(), rb_obj_trust(), rb_obj_untrust(), rb_obj_untrusted(), rb_ossl_config_modify_check(), rb_reg_initialize(), rb_str_sub_bang(), rb_struct_modify(), rb_undef(), remove_method(), secure_visibility(), singleton_class_of(), str_modifiable(), time_modify(), and vm_setivar().
#define OBJSETUP | ( | obj, | ||
c, | ||||
t | ||||
) |
do {\ RBASIC(obj)->flags = (t);\ RBASIC(obj)->klass = (c);\ if (rb_safe_level() >= 3) FL_SET(obj, FL_TAINT | FL_UNTRUSTED);\ } while (0)
Definition at line 557 of file ruby.h.
Referenced by ary_alloc(), ary_make_shared(), bignew_1(), class_alloc(), hash_alloc(), io_alloc(), make_seed_value(), match_alloc(), nucomp_s_new_internal(), nurat_s_new_internal(), r_object0(), range_dumper(), rb_class_allocate_instance(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_float_new(), rb_reg_s_alloc(), rsock_sockopt_new(), str_alloc(), and struct_alloc().
#define OFFT2NUM | ( | v | ) | LONG2NUM(v) |
Definition at line 243 of file ruby.h.
Referenced by rb_file_s_size(), rb_file_size(), rb_file_size_p(), rb_io_s_copy_stream(), rb_io_set_pos(), rb_io_sysseek(), rb_io_tell(), rb_stat_s(), and rb_stat_size().
#define PIDT2NUM | ( | v | ) | LONG2NUM(v) |
Definition at line 294 of file ruby.h.
Referenced by get_pid(), get_ppid(), proc_wait(), proc_waitall(), pty_getpty(), rb_detach_process(), rb_exec_arg_addopt(), rb_f_spawn(), rb_io_pid(), rb_last_status_set(), and waitall_each().
#define POSFIXABLE | ( | f | ) | ((f) < FIXNUM_MAX+1) |
Definition at line 315 of file ruby.h.
Referenced by bigfixize(), dbl2big(), int_pow(), rb_cstr_to_inum(), rb_uint2inum(), and update_coverage().
#define PRI_TIMET_PREFIX |
Definition at line 135 of file ruby.h.
Referenced by rb_strftime_with_timespec().
#define PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d" |
Definition at line 152 of file ruby.h.
Referenced by control_frame_dump(), insn_operand_intern(), rb_syck_err_handler(), rb_vmdebug_debug_print_pre(), rb_vmdebug_debug_print_register(), str_transcode0(), and syck_default_error_handler().
#define PRIdSIZE PRI_SIZE_PREFIX"d" |
Definition at line 168 of file ruby.h.
Referenced by rb_iseq_disasm_insn().
#define PRIdVALUE PRI_VALUE_PREFIX"d" |
Definition at line 122 of file ruby.h.
Referenced by int_chr(), and rb_num2fix().
#define PRINTF_ARGS | ( | decl, | ||
string_index, | ||||
first_to_check | ||||
) | decl |
#define PRIuSIZE PRI_SIZE_PREFIX"u" |
Definition at line 171 of file ruby.h.
Referenced by host_str(), and port_str().
#define PRIuVALUE PRI_VALUE_PREFIX"u" |
Definition at line 125 of file ruby.h.
Referenced by assign_heap_slot(), and rb_str_concat().
#define PRIxPTRDIFF PRI_PTRDIFF_PREFIX"x" |
Definition at line 156 of file ruby.h.
Referenced by control_frame_dump().
#define PRIxVALUE PRI_VALUE_PREFIX"x" |
Definition at line 126 of file ruby.h.
Referenced by insn_data_to_s_detail(), rb_search_method_entry(), rb_vmdebug_stack_dump_raw(), and thread_start_func_2().
#define Qfalse ((VALUE)RUBY_Qfalse) |
Definition at line 341 of file ruby.h.
Referenced by basic_obj_respond_to(), BigDecimal_mode(), canonical(), cbsubst_scan_args(), check_exec_fds(), convert_type(), cState_to_h(), defined_expr(), fev_on_event(), fgdbm_set_syncmode(), foletype_initialize(), foletypelib_initialize(), hash2list(), hash2list_enc(), id2encidx(), id2ref(), Init_fiddle(), Init_Object(), Init_ossl_pkcs12(), Init_ossl_pkcs7(), Init_ossl_x509ext(), Init_ossl_x509store(), ip_create_slave(), ip_create_slave_core(), ip_init(), ip_ruby_cmd(), iseq_compile_each(), iseq_s_compile_file(), lib_merge_tklist(), lib_split_tklist_core(), make_compile_option(), make_econv_exception(), mnew(), opt_W_getter(), ossl_asn1_decode0(), ossl_call_client_cert_cb(), ossl_call_tmp_dh_callback(), ossl_dh_new(), ossl_dh_s_generate(), ossl_dh_to_public_key(), ossl_dsa_new(), ossl_dsa_s_generate(), ossl_dsa_to_public_key(), ossl_pkcs7_set_detached(), ossl_rsa_new(), ossl_rsa_s_generate(), ossl_rsa_to_public_key(), ossl_ssl_initialize(), parse(), proc_options(), random_rand(), range_each_func(), rb_ary_aref(), rb_class_of(), rb_dlptr_null_p(), rb_f_exec(), rb_f_exit(), rb_f_exit_bang(), rb_get_values_at(), rb_io_autoclose_p(), rb_io_closed(), rb_io_ctl(), rb_io_initialize(), rb_iseq_compile_with_option(), rb_iseq_new_with_opt(), rb_load_internal(), rb_mod_attr(), rb_mutex_lock(), rb_obj_not(), rb_obj_not_equal(), rb_obj_not_match(), rb_run_exec_options_err(), rb_str_aref(), rb_str_valid_encoding_p(), rb_to_float(), rb_type(), rb_zstream_closed_p(), recursive_eql(), recursive_equal(), rsock_revlookup_flag(), ruby_executable_node(), setup_args(), singleton_class_of(), sockopt_bool(), strscan_rest_p(), tcl_protect_core(), thread_create_core(), thread_free(), thread_start_func_2(), time_to_a(), tk_conv_args(), true_xor(), w_encoding(), w_object(), when_vals(), and yyparse().
#define Qnil ((VALUE)RUBY_Qnil) |
Definition at line 343 of file ruby.h.
Referenced by addrinfo_s_ip(), argf_alloc(), argf_readpartial(), ary2list(), ary_new_dim(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_nonzero(), BigDecimalCmp(), bind_eval(), bsock_shutdown(), call_trace_proc(), caller_setup_args(), chdir_yield(), check_block(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cState_generate(), econv_insert_output(), econv_primitive_errinfo(), enum_minmax(), env_reject_bang(), env_replace_i(), env_select_bang(), env_shift(), env_update_i(), env_values_at(), establishShell(), eval_string_with_cref(), eval_under(), EVENTSINK_Invoke(), evs_delete(), evstr2dstr_gen(), exc_initialize(), expand_include_path(), fdbm_aref(), fdbm_fetch(), fdbm_values_at(), fev_initialize(), fgdbm_delete(), fgdbm_fetch(), file_expand_path(), file_expand_path_1(), fole_method_help(), fole_s_const_load(), fole_type(), fole_typelib(), folemethod_initialize(), foleparam_inspect(), foletype_initialize(), foletype_s_progids(), foletypelib_s_typelibs(), fsdbm_aref(), fsdbm_fetch(), fsdbm_store(), fsdbm_values_at(), hash2list(), hash2list_enc(), hash2ptr_dispparams(), hash2result(), iconv_conv(), iconv_convert(), iconv_create(), iconv_init_state(), iconv_s_convert(), id2ref(), init_addrinfo_getaddrinfo(), Init_File(), Init_nkf(), Init_Object(), Init_VM(), Init_win32ole(), initialize_params(), io_reopen(), io_set_encoding_by_bom(), ip_eval(), ip_get_variable(), ip_invoke_with_position(), ip_rbTkWaitCommand(), ip_rbVwaitCommand(), ip_s_getaddress(), ip_set_variable(), ip_unset_variable(), iseq_build_body(), iseq_build_exception(), iseq_compile_each(), iseq_data_to_ary(), iseq_load(), lex_getline(), lfp_svar_get(), lfp_svar_place(), lfp_svar_set(), lib_eventloop_core(), lib_fromUTF8(), lib_mainloop_watchdog(), lib_split_tklist(), lib_toUTF8(), literal_concat_gen(), load_encoding(), make_compile_option(), make_econv_exception(), make_version_str(), match_array(), match_inspect(), match_offset(), mlambda(), mproc(), name_err_initialize(), nometh_err_initialize(), ole_invoke2(), ole_method_return_type(), ole_param_ole_type(), ole_raise(), ole_type_impl_ole_types(), ole_type_src_type(), ole_typedesc2val(), ole_usertype2val(), ole_val2olevariantdata(), ole_val2variant_ex(), ole_variable_ole_type(), olemethod_from_typeinfo(), oletypelib_from_guid(), oletypelib_path(), oletypelib_search_registry(), oletypelib_search_registry2(), open_key_args(), opt_W_getter(), ossl_pkcs7_add_data(), ossl_pkcs7_initialize(), ossl_pkcs7_s_read_smime(), ossl_pkcs7_s_sign(), ossl_pkcs7_verify(), ossl_ssl_initialize(), ossl_sslctx_initialize(), ossl_start_ssl(), ossl_x509extfactory_alloc(), ossl_x509store_add_file(), ossl_x509store_add_path(), ossl_x509store_initialize(), p_gid_switch(), p_uid_switch(), pack_unpack(), parse_mode_enc(), pipe_open(), prelude_eval(), prepare_iseq_build(), process_options(), push_kv(), r_object(), racc_cparse(), racc_yyparse(), range_initialize(), rb_ary_aref(), rb_ary_drop(), rb_ary_product(), rb_ary_slice_bang(), rb_autoload_p(), rb_class_of(), rb_deflate_init_copy(), rb_dl_init_callbacks_0(), rb_dl_init_callbacks_1(), rb_dl_init_callbacks_2(), rb_dl_init_callbacks_3(), rb_dl_init_callbacks_4(), rb_dl_init_callbacks_5(), rb_dl_init_callbacks_6(), rb_dl_init_callbacks_7(), rb_dl_init_callbacks_8(), rb_dlcfunc2ptr(), rb_dlptr2cptr(), rb_econv_str_convert(), rb_econv_substr_convert(), rb_env_clear(), rb_eval_cmd(), rb_eval_string(), rb_f_backquote(), rb_feature_provided(), rb_fiber_resume(), rb_file_identical_p(), rb_file_s_absolute_path(), rb_file_s_expand_path(), rb_file_s_split(), rb_get_expanded_load_path(), rb_get_values_at(), rb_hash_lookup(), rb_hash_s_create(), rb_hash_shift(), rb_iconv_sys_fail(), rb_io_ext_int_to_encs(), rb_io_extract_encoding_option(), rb_io_getline_1(), rb_io_s_binread(), rb_io_s_popen(), rb_iseq_compile(), rb_iseq_parameters(), rb_mutex_sleep(), rb_need_block(), rb_reg_check_preprocess(), rb_reg_eqq(), rb_reg_initialize(), rb_reg_match2(), rb_reg_match_m(), rb_reg_prepare_re(), rb_reg_preprocess_dregexp(), rb_reg_s_union(), rb_reg_search(), rb_set_coverages(), rb_str_aref(), rb_str_conv_enc(), rb_str_encode_ospath(), rb_str_index_m(), rb_str_rindex_m(), rb_strftime_alloc(), rb_strftime_timespec(), rb_type(), rb_vm_jump_tag_but_local_jump(), rb_vm_make_jump_tag_but_local_jump(), rb_vm_set_finish_env(), reg_fragment_check_gen(), reg_get_typelib_file_path(), reg_get_val2(), reg_match_pos(), reg_named_capture_assign_gen(), reg_named_capture_assign_iter(), return_fiber(), rsock_fd_socket_addrinfo(), rsock_ipaddr(), rsock_revlookup_flag(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), ruby_init_ext(), ruby_init_loadpath_safe(), save_redirect_fd(), search_convpath_i(), singleton_class_of(), sock_s_gethostbyname(), str_transcode0(), string_to_c_internal(), string_to_r_internal(), syck_emitter_reset(), syck_parser_initialize(), syck_parser_s_alloc(), syck_resolver_transfer(), sym_to_proc(), tcp_s_gethostbyname(), tcp_svr_init(), th_init2(), thread_join(), thread_start_func_2(), time_mload(), tk_funcall(), typelib_file(), typelib_file_from_clsid(), typelib_file_from_typelib(), update_coverage(), vm_get_cref(), vm_get_ev_const(), vm_invoke_block(), vm_iter_break(), w_object(), yyparse(), zip_ary(), and zip_i().
#define Qtrue ((VALUE)RUBY_Qtrue) |
Definition at line 342 of file ruby.h.
Referenced by addrinfo_ip_p(), addrinfo_ipv4_p(), addrinfo_ipv6_p(), addrinfo_unix_p(), argf_binmode_p(), ary2list(), ary2list2(), ary_add_hash(), asn1integer_to_num(), assoc2kv_enc(), basic_obj_respond_to(), big_op(), big_sparse_p(), BigDecimal_mode(), BigDecimal_zero(), BigDecimalCmp(), bsock_do_not_rev_lookup(), bsock_do_not_reverse_lookup(), cbsubst_table_setup(), check_exec_fds(), compile_array_(), convert_type(), create_dummy_encoding_for_tk(), cState_allow_nan_p(), cState_ascii_only_p(), cState_check_circular_p(), cState_to_h(), curses_bkgd(), curses_resizeterm(), curses_scrl(), curses_setscrreg(), decode_bool(), DEFINE_ENUMFUNCS(), defined_expr(), DupPrivPKeyPtr(), enc_ascii_compatible_p(), enc_dummy_p(), encoding_table_get_name(), encoding_table_get_obj(), EVENTSINK_Invoke(), false_or(), false_xor(), fev_on_event_with_outargs(), fgdbm_set_syncmode(), finish_writeconv(), fix_equal(), fix_ge(), fix_gt(), fix_le(), fix_lt(), flatten(), flo_eq(), flo_ge(), flo_gt(), flo_is_nan_p(), flo_le(), flo_lt(), fole_respond_to(), folemethod_event_interface(), fptr_finalize(), gc_stress_get(), get_eval_string_core(), GetPrivPKeyPtr(), goruby_run_node(), hist_empty_p(), id2encidx(), id2ref(), Init_fiddle(), Init_Object(), Init_ossl_asn1(), iseq_compile_each(), make_compile_option(), make_econv_exception(), mnew(), mSyslog_isopen(), ole_set_safe_array(), ole_variant2val(), opt_eq_func(), opt_W_getter(), ossl_asn1_decode0(), ossl_bn_to_i(), 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_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_rand_status(), ossl_rsa_is_private(), ossl_sslctx_session_add(), ossl_sslctx_session_remove(), ossl_verify_cb(), ossl_x509ext_get_critical(), ossl_x509name_eql(), ossl_x509stctx_verify(), parse(), prelude_eval(), proc_options(), process_options(), pst_success_p(), push_kv_enc(), range_each(), range_exclude_end_p(), range_step(), rb_ary_slice_bang(), rb_big_eq(), rb_class_of(), rb_cvar_defined(), rb_digest_instance_equal(), rb_dlptr_eql(), rb_exec_arg_addopt(), rb_exec_arg_prepare(), rb_f_exit(), rb_f_exit_bang(), rb_fiber_alive_p(), rb_gc_disable(), rb_gc_enable(), rb_hash_empty_p(), rb_io_binmode_p(), rb_io_ctl(), rb_io_sync(), rb_mod_attr(), rb_mod_include_p(), rb_mutex_locked_p(), rb_obj_freeze(), rb_obj_respond_to(), rb_parser_end_seen_p(), rb_parser_get_yydebug(), rb_proc_lambda_p(), rb_stat_R(), rb_stat_r(), rb_stat_W(), rb_stat_w(), rb_stat_X(), rb_stat_x(), rb_str_is_ascii_only_p(), rb_thread_abort_exc(), rb_thread_s_abort_exc(), rb_to_float(), rb_type(), rb_zstream_finished_p(), recursive_push(), rsock_revlookup_flag(), ruby_executable_node(), save_env(), set_canonical(), singleton_class_of(), strscan_bol_p(), strscan_eos_p(), strscan_matched_p(), time_isdst(), time_to_a(), tk_get_eval_enc_str(), tr_setup_table(), tr_trans(), true_and(), verbose_setter(), w_encoding(), w_object(), window_bkgd(), window_resize(), window_scrl(), window_scroll(), and window_setscrreg().
#define Qundef ((VALUE)RUBY_Qundef) |
Definition at line 344 of file ruby.h.
Referenced by ary_add_hash_by(), assoc_i(), autoload_node_id(), bigmul1_karatsuba(), check_funcall(), convert_type(), DEFINE_ENUMFUNCS(), delete_if_i(), each_attr_def(), each_key_i(), each_pair_i(), each_value_i(), enum_find(), enum_inject(), enum_max(), enum_min(), enum_minmax(), enum_minmax_by(), enum_one(), enumerator_feed(), enumerator_next_values(), enumerator_peek_values(), enumerator_ptr(), env_replace_i(), env_update_i(), eql_i(), exc_equal(), fiber_switch(), foreach_safe_i(), generator_ptr(), get_hash(), GetVpValue(), hash_foreach_ensure(), hash_foreach_iter(), hash_i(), iconv_create(), inject_i(), inject_op_i(), inspect_enumerator(), inspect_i(), iseq_compile_each(), ivar_get(), keep_if_i(), keys_i(), make_exception(), make_metaclass(), max_by_i(), max_i(), max_ii(), method_inspect(), 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(), mod_av_set(), next_ii(), num_exact(), obj_ivar_i(), push_kv(), push_kv_enc(), r_entry0(), r_prepare(), random_rand(), rassoc_i(), rb_any_cmp(), rb_ary_cmp(), rb_ary_slice_bang(), rb_ary_splice(), rb_autoload(), rb_call(), rb_check_type(), rb_const_defined_0(), rb_const_get_0(), rb_const_remove(), rb_get_path_check(), rb_hash_delete(), rb_hash_delete_key(), rb_hash_invert_i(), rb_hash_rehash_i(), rb_hash_search_value(), rb_hash_shift(), rb_hash_update_block_i(), rb_hash_update_i(), rb_io_extract_encoding_option(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_set(), rb_load_internal(), rb_method_call(), rb_method_call_status(), rb_mod_instance_method(), rb_mod_public_instance_method(), rb_obj_inspect(), rb_obj_remove_instance_variable(), rb_signal_exec(), rb_str_format(), rb_type(), rb_vm_make_jump_tag_but_local_jump(), rb_yield(), recursive_check(), recursive_pop(), recursive_push(), replace_i(), select_i(), shift_i(), shift_i_safe(), specific_eval(), time_timespec(), to_a_i(), to_strkey(), transcode_loop(), trap(), values_i(), vm_get_ev_const(), vm_getivar(), w_objivar(), yield_under(), yielder_ptr(), yyparse(), and zip_i().
#define RARRAY | ( | obj | ) | (R_CAST(RArray)(obj)) |
Definition at line 878 of file ruby.h.
Referenced by ary_resize_capa(), coverage(), ip_ruby_cmd(), rb_ary_memsize(), and rb_ary_unshare().
#define RARRAY_EMBED_LEN_MAX 3 |
Definition at line 667 of file ruby.h.
Referenced by ary_make_partial(), ary_make_substitution(), ary_new(), ary_resize_capa(), rb_ary_modify(), rb_ary_new(), and rb_ary_replace().
#define RARRAY_LEN | ( | a | ) |
((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_LENINT | ( | ary | ) | rb_long2int(RARRAY_LEN(ary)) |
Definition at line 695 of file ruby.h.
Referenced by callback(), decorate_convpath(), enumerator_block_call(), function_call(), initialize(), iseq_build_body(), 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 | ) |
#define RB_GC_GUARD | ( | v | ) | (*RB_GC_GUARD_PTR(&(v))) |
Definition at line 432 of file ruby.h.
Referenced by bigdivrem(), bmcall(), check_funcall_exec(), iseq_build_body(), iseq_build_exception(), marshal_dump(), marshal_load(), path_check_0(), pipe_open(), push_glob(), rand_int(), rb_ary_sample(), rb_define_hooked_variable(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_intern_str(), rb_io_s_sysopen(), rb_load_internal(), rb_name_err_mesg_new(), rb_reg_check_preprocess(), rb_reg_initialize(), rb_reg_initialize_str(), rb_reg_prepare_re(), rb_str_intern(), reg_fragment_check_gen(), setup_exception(), strio_ungetbyte(), strio_write(), vm_call0(), and zstream_run().
#define rb_intern_const | ( | str | ) | rb_intern2(str, (long)strlen(str)) |
Definition at line 1096 of file ruby.h.
Referenced by Init_dl(), Init_readline(), rb_dl_init_callbacks(), ripper_init_eventids1(), ripper_init_eventids2(), ripper_init_eventids2_table(), rsock_init_ipsocket(), ruby_init_gems(), and ruby_init_loadpath_safe().
#define rb_isascii | ( | c | ) | ((unsigned long)(c) < 128) |
Definition at line 1377 of file ruby.h.
Referenced by rb_tolower(), and rb_toupper().
#define rb_long2int | ( | n | ) | ((int)(n)) |
Definition at line 290 of file ruby.h.
Referenced by rb_str_format(), rb_str_upto(), rb_struct_new(), and timegmw().
#define RB_TYPE_P | ( | obj, | ||
type | ||||
) |
( \ ((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) : \ (!SPECIAL_CONST_P(obj) && BUILTIN_TYPE(obj) == (type)))
Definition at line 1297 of file ruby.h.
Referenced by Init_RandomSeed2(), and rb_dlcfunc_call().
#define RBASIC | ( | obj | ) | (R_CAST(RBasic)(obj)) |
Definition at line 871 of file ruby.h.
Referenced by add_modules(), ary_discard(), ary_tmp_hash_new(), bignew_1(), call_trace_proc(), cn_i(), copy_path_class(), cos_i(), coverage(), coverage_result_i(), cto_i(), define_final(), dispose_string(), enum_cycle(), enum_sort_by(), flatten(), gc_sweep(), hide_obj(), id2ref(), include_class_new(), Init_class_hierarchy(), init_copy(), Init_Encoding(), Init_RandomSeed2(), Init_VM(), io_reopen(), make_singleton_class(), make_struct(), memsize_of(), mnew(), obj_free(), original_module(), permute0(), prepare_iseq_build(), proc_new(), r_object0(), range_loader(), rb_any_cmp(), rb_ary_combination(), rb_ary_permutation(), rb_ary_product(), rb_ary_repeated_combination(), rb_ary_repeated_permutation(), rb_ary_slice_bang(), rb_ary_sort_bang(), rb_big_realloc(), rb_check_inheritable(), rb_class_initialize(), rb_class_of(), rb_class_path(), rb_class_real(), rb_coverage_result(), rb_coverage_start(), rb_define_class_id(), rb_enc_vsprintf(), rb_find_file_ext_safe(), rb_id2str(), rb_io_s_popen(), rb_ivar_set(), rb_method_call_status(), rb_mod_ancestors(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), rb_module_s_alloc(), rb_newobj(), rb_obj_clone(), rb_reg_desc(), rb_reg_options(), rb_reg_prepare_enc(), rb_search_method_entry(), rb_singleton_class_clone(), rb_str_associate(), rb_str_drop_bytes(), rb_str_encode(), rb_str_new_frozen(), rb_str_shared_replace(), rb_str_vcatf(), rb_struct_define_without_accessor(), rcombinate0(), rpermute0(), rsock_s_recvfrom(), ruby__sfvwrite(), run_final(), singleton_class_of(), sort_by_cmp(), sort_by_i(), sort_reentered(), str_encode(), str_gsub(), struct_alloc(), syserr_initialize(), thread_free(), update_coverage(), vm_call_method(), vm_getivar(), vm_search_normal_superclass(), vm_setivar(), w_extended(), w_nbyte(), w_object(), zstream_append_buffer(), zstream_append_input(), zstream_detach_buffer(), zstream_detach_input(), zstream_expand_buffer(), zstream_expand_buffer_into(), and zstream_shift_buffer().
#define RBIGNUM | ( | obj | ) | (R_CAST(RBignum)(obj)) |
Definition at line 883 of file ruby.h.
Referenced by bignew_1(), rand_int(), random_rand(), and rb_big_realloc().
#define RBIGNUM_DIGITS | ( | b | ) |
Definition at line 864 of file ruby.h.
Referenced by make_seed_value(), memsize_of(), mt_state(), obj_free(), r_object0(), rand_init(), random_load(), rb_hash(), and w_object().
#define RBIGNUM_EMBED_FLAG FL_USER2 |
Definition at line 855 of file ruby.h.
Referenced by memsize_of(), obj_free(), and rb_big_realloc().
#define RBIGNUM_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(BDIGIT))) |
Definition at line 835 of file ruby.h.
Referenced by bignew_1(), and rb_big_realloc().
#define RBIGNUM_LEN | ( | b | ) |
((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 858 of file ruby.h.
Referenced by big2dbl(), big2str_find_n1(), big2str_orig(), big2ulong(), big_fdiv(), big_lshift(), big_real_len(), big_rshift(), big_sparse_p(), big_split(), bigadd(), bigadd_int(), bigand_int(), bigdivrem(), bigfixize(), bigmul0(), bigmul1_balance(), bigmul1_karatsuba(), bigmul1_normal(), bigor_int(), bigsqr_fast(), bigsub(), bigsub_int(), bigtrunc(), bigxor_int(), bigzero_p(), check_shiftdown(), get2comp(), int_pair_to_real_inclusive(), limited_big_rand(), memsize_of(), r_object0(), rand_init(), random_load(), rb_big_and(), rb_big_aref(), rb_big_clone(), rb_big_cmp(), rb_big_eq(), rb_big_eql(), rb_big_hash(), rb_big_neg(), rb_big_or(), rb_big_pack(), rb_big_pow(), rb_big_realloc(), rb_big_size(), rb_big_xor(), rb_quad_pack(), v2w(), and w_object().
#define RBIGNUM_NEGATIVE_P | ( | b | ) | (!RBIGNUM_SIGN(b)) |
Definition at line 853 of file ruby.h.
Referenced by rb_big_pack(), and rb_quad_pack().
#define RBIGNUM_SET_SIGN | ( | b, | ||
sign | ||||
) |
Definition at line 849 of file ruby.h.
Referenced by bigdivrem(), bignew_1(), bigsub_int(), limited_big_rand(), make_seed_value(), r_object0(), rand_int(), rb_big2str0(), rb_big_abs(), rb_big_neg(), rb_big_uminus(), rb_big_unpack(), rb_big_xor(), rb_cstr_to_inum(), rb_int2big(), and rb_quad_unpack().
#define RBIGNUM_SIGN | ( | b | ) | ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) |
Definition at line 848 of file ruby.h.
Referenced by big2dbl(), big_lshift(), big_rshift(), bigadd(), bigadd_int(), bigand_int(), bigdivmod(), bigdivrem(), bigfixize(), bigmul1_balance(), bigmul1_karatsuba(), bigmul1_normal(), bigmul1_single(), bigor_int(), bigsub_int(), bigxor_int(), check_shiftdown(), fix_aref(), rand_int(), random_rand(), rb_big2long(), rb_big2str0(), rb_big2ulong(), rb_big2ulong_pack(), rb_big_abs(), rb_big_and(), rb_big_aref(), rb_big_clone(), rb_big_cmp(), rb_big_eq(), rb_big_eql(), rb_big_hash(), rb_big_lshift(), rb_big_minus(), rb_big_neg(), rb_big_or(), rb_big_plus(), rb_big_pow(), rb_big_rshift(), rb_big_uminus(), rb_big_xor(), rb_cmpint(), rb_str_concat(), rb_str_format(), and w_object().
#define RCLASS | ( | obj | ) | (R_CAST(RClass)(obj)) |
Definition at line 873 of file ruby.h.
Referenced by memsize_of().
#define RCLASS_IV_INDEX_TBL | ( | c | ) | (RCLASS(c)->iv_index_tbl) |
Definition at line 618 of file ruby.h.
Referenced by class_alloc(), memsize_of(), obj_free(), and rb_ivar_set().
#define RCLASS_IV_TBL | ( | c | ) | (RCLASS(c)->ptr->iv_tbl) |
Definition at line 615 of file ruby.h.
Referenced by autoload_delete(), autoload_node(), autoload_node_id(), class_alloc(), classname(), fc_i(), fc_path(), find_class_path(), gc_mark_children(), include_class_new(), init_copy(), ivar_get(), memsize_of(), mod_av_set(), obj_free(), rb_autoload(), rb_class_path(), rb_const_defined_0(), rb_const_get_0(), rb_const_remove(), rb_cvar_get(), rb_cvar_set(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_set(), rb_mod_class_variables(), rb_mod_const_at(), rb_mod_init_copy(), rb_mod_remove_cvar(), rb_obj_remove_instance_variable(), rb_singleton_class_attached(), rb_singleton_class_clone(), vm_get_ev_const(), and w_extended().
#define RCLASS_M_TBL | ( | c | ) | (RCLASS(c)->m_tbl) |
Definition at line 616 of file ruby.h.
Referenced by add_opt_method(), class_alloc(), class_instance_method_list(), gc_mark_children(), include_class_new(), memsize_of(), obj_free(), rb_class_boot(), rb_class_inherited_p(), rb_include_module(), rb_method_entry_make(), rb_mod_init_copy(), rb_module_new(), rb_obj_is_kind_of(), rb_obj_singleton_methods(), rb_singleton_class_clone(), remove_method(), search_method(), and w_extended().
#define RCLASS_SUPER | ( | c | ) | (RCLASS(c)->ptr->super) |
Definition at line 617 of file ruby.h.
Referenced by class_alloc(), class_instance_method_list(), gc_mark_children(), get_digest_base_metadata(), include_class_new(), make_metaclass(), mnew(), rb_alias(), rb_class_boot(), rb_class_inherited_p(), rb_class_init_copy(), rb_class_initialize(), rb_class_real(), rb_class_superclass(), rb_const_defined_0(), rb_const_get_0(), rb_define_class(), rb_define_class_id_under(), rb_include_module(), rb_mod_ancestors(), rb_mod_const_of(), rb_mod_include_p(), rb_mod_included_modules(), rb_mod_init_copy(), rb_mod_modfunc(), rb_obj_alloc(), rb_obj_is_kind_of(), rb_obj_singleton_methods(), rb_singleton_class_clone(), search_method(), struct_ivar_get(), vm_call0(), vm_call_method(), vm_call_super(), vm_search_normal_superclass(), and w_extended().
#define RCOMPLEX | ( | obj | ) | (R_CAST(RComplex)(obj)) |
Definition at line 886 of file ruby.h.
Referenced by nurat_coerce(), and nurat_s_convert().
#define RDATA | ( | obj | ) | (R_CAST(RData)(obj)) |
Definition at line 880 of file ruby.h.
Referenced by chain_finalized_object(), check_iconv(), check_strscan(), enc_check_encoding(), finalize_list(), gc_sweep(), obj_free(), ossl_ssl_session_initialize(), ossl_x509stctx_clear_ptr(), rb_objspace_call_finalizer(), rb_to_encoding(), and run_final().
Definition at line 1003 of file ruby.h.
Referenced by ary_resize_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_append(), rb_str_cat(), rb_str_resize(), ruby_setenv(), tr_trans(), update_char_offset(), and vtable_add().
#define RFILE | ( | obj | ) | (R_CAST(RFile)(obj)) |
Definition at line 884 of file ruby.h.
Referenced by memsize_of(), pipe_open(), pty_close_pty(), rb_file_initialize(), rb_file_path(), rb_io_close(), rb_io_close_m(), rb_io_close_read(), rb_io_closed(), rb_io_get_write_io(), rb_io_inspect(), rb_io_reopen(), and rb_write_error2().
#define RFLOAT | ( | obj | ) | (R_CAST(RFloat)(obj)) |
Definition at line 875 of file ruby.h.
Referenced by negate_lit().
#define RHASH | ( | obj | ) | (R_CAST(RHash)(obj)) |
Definition at line 879 of file ruby.h.
Referenced by ary_recycle_hash(), hash_equal(), hash_foreach_call(), hash_foreach_ensure(), hash_foreach_iter(), hash_update(), Init_ossl_x509name(), memsize_of(), rb_hash_aref(), rb_hash_aset(), rb_hash_clear(), rb_hash_compare_by_id(), rb_hash_compare_by_id_p(), rb_hash_delete_key(), rb_hash_dup(), rb_hash_fetch_m(), rb_hash_foreach(), rb_hash_has_key(), rb_hash_lookup2(), rb_hash_rehash(), rb_hash_reject_bang(), rb_hash_replace(), rb_hash_s_create(), rb_hash_select_bang(), rb_hash_shift(), rb_hash_size(), rb_hash_tbl(), rb_hash_update_block_i(), rb_hash_update_i(), and recursive_hash().
#define RHASH_EMPTY_P | ( | h | ) | (RHASH_SIZE(h) == 0) |
Definition at line 719 of file ruby.h.
Referenced by count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), rb_ary_and(), rb_check_exec_options(), rb_hash_dup(), rb_hash_empty_p(), rb_hash_inspect(), and recursive_pop().
#define RHASH_IFNONE | ( | h | ) | (RHASH(h)->ifnone) |
Definition at line 717 of file ruby.h.
Referenced by hash_alloc(), hash_equal(), r_object0(), rb_hash_default(), rb_hash_default_proc(), rb_hash_dup(), rb_hash_initialize(), rb_hash_replace(), rb_hash_set_default(), rb_hash_set_default_proc(), rb_hash_shift(), and w_object().
#define RHASH_SIZE | ( | h | ) | (RHASH(h)->ntbl ? RHASH(h)->ntbl->num_entries : 0) |
#define ROBJECT | ( | obj | ) | (R_CAST(RObject)(obj)) |
Definition at line 872 of file ruby.h.
Referenced by init_copy(), memsize_of(), and rb_ivar_set().
#define ROBJECT_EMBED FL_USER1 |
Definition at line 589 of file ruby.h.
Referenced by init_copy(), memsize_of(), and obj_free().
#define ROBJECT_EMBED_LEN_MAX 3 |
Definition at line 577 of file ruby.h.
Referenced by init_copy(), and rb_ivar_set().
#define ROBJECT_IV_INDEX_TBL | ( | o | ) |
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RCLASS_IV_INDEX_TBL(rb_obj_class(o)) : \ ROBJECT(o)->as.heap.iv_index_tbl)
Definition at line 598 of file ruby.h.
Referenced by ivar_get(), obj_ivar_each(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_set(), rb_obj_remove_instance_variable(), vm_getivar(), and vm_setivar().
#define ROBJECT_IVPTR | ( | o | ) |
Definition at line 594 of file ruby.h.
Referenced by gc_mark_children(), init_copy(), ivar_get(), obj_ivar_i(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_set(), rb_obj_inspect(), rb_obj_remove_instance_variable(), vm_getivar(), vm_setivar(), and w_objivar().
#define ROBJECT_NUMIV | ( | o | ) |
((RBASIC(o)->flags & ROBJECT_EMBED) ? \ ROBJECT_EMBED_LEN_MAX : \ ROBJECT(o)->as.heap.numiv)
Definition at line 590 of file ruby.h.
Referenced by gc_mark_children(), ivar_get(), obj_ivar_i(), rb_ivar_defined(), rb_ivar_set(), rb_obj_inspect(), rb_obj_remove_instance_variable(), vm_getivar(), vm_setivar(), and w_objivar().
#define RRATIONAL | ( | obj | ) | (R_CAST(RRational)(obj)) |
Definition at line 885 of file ruby.h.
Referenced by f_one_p(), f_zero_p(), num_exact(), quo(), time_mdump(), wmul(), and wquo().
#define RREGEXP | ( | obj | ) | (R_CAST(RRegexp)(obj)) |
Definition at line 877 of file ruby.h.
Referenced by match_backref_number(), match_inspect(), memsize_of(), name_to_backref_number(), 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 |
Definition at line 703 of file ruby.h.
Referenced by rb_reg_check(), and rb_reg_inspect().
#define RREGEXP_SRC_LEN | ( | r | ) | RSTRING_LEN(RREGEXP(r)->src) |
Definition at line 705 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 704 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 876 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_free(), rb_str_freeze(), rb_str_memsize(), rb_str_new_frozen(), rb_str_resize(), rb_str_shared_replace(), rb_str_substr(), RUBY_ALIAS_FUNCTION(), str_buf_cat(), str_discard(), str_make_independent(), str_new(), str_replace(), str_replace_shared(), and tr_trans().
#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)) |
Definition at line 632 of file ruby.h.
Referenced by rb_str_drop_bytes(), rb_str_resize(), rb_str_shared_replace(), rb_str_subseq(), rb_str_substr(), str_new(), and str_replace_shared().
#define RSTRING_END | ( | str | ) |
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ (RSTRING(str)->as.ary + \ ((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \ (RSTRING_EMBED_LEN_MASK >> RSTRING_EMBED_LEN_SHIFT))) : \ (RSTRING(str)->as.heap.ptr + RSTRING(str)->as.heap.len))
Definition at line 659 of file ruby.h.
Referenced by load_encoding(), rb_enc_cr_str_copy_for_substr(), rb_str_capitalize_bang(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_count(), rb_str_delete_bang(), rb_str_downcase_bang(), rb_str_each_codepoint(), rb_str_each_line(), 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_splice(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_swapcase_bang(), rb_str_upcase_bang(), rb_str_upto(), rb_str_vcatf(), RUBY_ALIAS_FUNCTION(), scan_once(), str_buf_cat(), str_encode_associate(), str_gsub(), str_strlen(), strio_each_codepoint(), strio_getc(), strip_glibc_option(), and tr_trans().
#define RSTRING_LEN | ( | str | ) |
(!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ (long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \ (RSTRING_EMBED_LEN_MASK >> RSTRING_EMBED_LEN_SHIFT)) : \ RSTRING(str)->as.heap.len)
#define RSTRING_LENINT | ( | str | ) | rb_long2int(RSTRING_LEN(str)) |
Definition at line 665 of file ruby.h.
Referenced by addrinfo_initialize(), bsock_setsockopt(), rb_nkf_convert(), rb_nkf_guess(), rsock_bsock_send(), sock_bind(), sock_connect(), sock_connect_nonblock(), and sock_s_gethostbyaddr().
#define RSTRING_NOEMBED FL_USER1 |
Definition at line 647 of file ruby.h.
Referenced by dispose_string(), gc_mark_children(), and rb_intern3().
#define RSTRING_PTR | ( | str | ) |
#define RSTRUCT | ( | obj | ) | (R_CAST(RStruct)(obj)) |
Definition at line 882 of file ruby.h.
Referenced by memsize_of(), range_init(), and range_loader().
#define RSTRUCT_EMBED_LEN_MASK (FL_USER2|FL_USER1) |
Definition at line 822 of file ruby.h.
Referenced by memsize_of(), and obj_free().
#define RSTRUCT_EMBED_LEN_MAX 3 |
Definition at line 811 of file ruby.h.
Referenced by struct_alloc().
#define RSTRUCT_LEN | ( | st | ) |
((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 824 of file ruby.h.
Referenced by gc_mark_children(), inspect_struct(), 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_init_copy(), rb_struct_members(), rb_struct_select(), rb_struct_size(), rb_struct_to_a(), rb_struct_values_at(), recursive_eql(), recursive_equal(), recursive_hash(), and w_object().
#define RSTRUCT_PTR | ( | st | ) |
Definition at line 829 of file ruby.h.
Referenced by gc_mark_children(), inspect_struct(), rb_struct_aref(), rb_struct_aref_id(), rb_struct_aset(), rb_struct_aset_id(), rb_struct_each(), rb_struct_each_pair(), rb_struct_getmember(), rb_struct_init_copy(), rb_struct_initialize_m(), 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_set(), rb_struct_to_a(), recursive_eql(), recursive_equal(), recursive_hash(), and w_object().
#define RTEST | ( | v | ) | (((VALUE)(v) & ~Qnil) != 0) |
Definition at line 349 of file ruby.h.
Referenced by argf_eof(), argf_external_encoding(), argf_inplace_mode_set(), argf_internal_encoding(), ary2list(), ary2list2(), assoc_i(), basic_obj_respond_to(), 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(), class_instance_method_list(), cleanup_iseq_build(), clear_coverage(), cmp_between(), cond0(), count_iter_i(), coverage(), cParser_initialize(), create_dummy_encoding_for_tk_core(), cState_aref(), cState_configure(), DEFINE_ENUMFUNCS(), delete_if_i(), drop_while_i(), econv_opts(), econv_primitive_convert(), env_reject_bang(), env_select(), env_select_bang(), eq(), err_append(), eval_queue_handler(), 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_stress_set(), get_eval_string_core(), GetBNPtr(), grep_i(), grep_iter_i(), iconv_convert(), iconv_create(), iconv_iconv(), initialize_params(), int_dotimes(), int_round(), invoke_queue_handler(), io_reopen(), ip_allow_ruby_exit_set(), ip_create_slave_core(), ip_rbUpdateCommand(), ip_rbVwaitCommand(), JSON_parse_object(), keep_if_i(), 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(), marshal_load(), mnew(), num_abs(), num_nonzero_p(), num_remainder(), num_step(), obj_respond_to(), obj_to_asn1bool(), opt_case_dispatch_i(), ossl_bn_coerce(), ossl_bn_initialize(), ossl_ssl_close(), ossl_sslctx_session_new_cb(), ossl_sslctx_setup(), ossl_x509ext_set_critical(), ossl_x509extfactory_create_ext(), partition_i(), prepare_iseq_build(), pty_check(), 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_reject_bang(), rb_ary_rindex(), rb_ary_select(), rb_ary_select_bang(), rb_ary_take_while(), 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_eql(), rb_equal(), rb_exec_arg_addopt(), rb_f_load(), rb_io_set_autoclose(), rb_io_set_sync(), rb_method_definition_eq(), rb_method_entry_make(), rb_mod_attr(), 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_run_exec_options_err(), rb_str_format(), rb_str_upto(), rb_struct_select(), rb_sys_warning(), rb_thread_abort_exc_set(), rb_thread_s_abort_exc_set(), rb_type(), rb_warning(), readline_attempted_completion_function(), readline_readline(), reject_i(), ruby_cleanup(), run_exec_dup2(), 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(), syck_emitter_emit(), syck_resolver_transfer(), 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(), watchdog_evloop_launcher(), weq(), window_idlok(), and window_scrollok().
#define RTYPEDDATA | ( | obj | ) | (R_CAST(RTypedData)(obj)) |
#define RTYPEDDATA_DATA | ( | v | ) | (RTYPEDDATA(v)->data) |
Definition at line 767 of file ruby.h.
Referenced by rb_objspace_data_type_memsize().
#define RTYPEDDATA_P | ( | v | ) | (RTYPEDDATA(v)->typed_flag == 1) |
Definition at line 765 of file ruby.h.
Referenced by gc_mark_children(), 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 766 of file ruby.h.
Referenced by 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 1123 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_EVENT_ALL 0xffff |
Definition at line 1355 of file ruby.h.
Referenced by set_trace_func(), and thread_add_trace_func().
#define RUBY_EVENT_C_CALL 0x0020 |
Definition at line 1352 of file ruby.h.
Referenced by call_trace_proc(), get_event_name(), vm_call0(), and vm_call_cfunc().
#define RUBY_EVENT_C_RETURN 0x0040 |
Definition at line 1353 of file ruby.h.
Referenced by call_trace_proc(), get_event_name(), rb_iterate(), rb_raise_jump(), vm_call0(), vm_call_cfunc(), and vm_exec().
#define RUBY_EVENT_CALL 0x0008 |
Definition at line 1350 of file ruby.h.
Referenced by get_event_name(), and rb_iseq_compile_node().
#define RUBY_EVENT_CLASS 0x0002 |
Definition at line 1348 of file ruby.h.
Referenced by get_event_name(), and rb_iseq_compile_node().
#define RUBY_EVENT_COVERAGE 0x40000 |
Definition at line 1358 of file ruby.h.
Referenced by rb_set_coverages().
#define RUBY_EVENT_END 0x0004 |
Definition at line 1349 of file ruby.h.
Referenced by get_event_name(), rb_iseq_compile_node(), and vm_exec().
#define RUBY_EVENT_LINE 0x0001 |
Definition at line 1347 of file ruby.h.
Referenced by get_event_name(), and iseq_compile_each().
#define RUBY_EVENT_RAISE 0x0080 |
Definition at line 1354 of file ruby.h.
Referenced by get_event_name(), and setup_exception().
#define RUBY_EVENT_RETURN 0x0010 |
Definition at line 1351 of file ruby.h.
Referenced by get_event_name(), iseq_compile_each(), rb_iseq_compile_node(), and vm_exec().
#define RUBY_EVENT_SWITCH 0x20000 |
Definition at line 1357 of file ruby.h.
Referenced by rb_threadptr_execute_interrupts_rec().
#define RUBY_EVENT_VM 0x10000 |
Definition at line 1356 of file ruby.h.
Referenced by rb_threadptr_exec_event_hooks().
#define RUBY_INIT_STACK |
VALUE variable_in_this_stack_frame; \ ruby_init_stack(&variable_in_this_stack_frame);
Definition at line 1054 of file ruby.h.
Referenced by argf_readpartial().
#define RUBY_NEVER_FREE ((RUBY_DATA_FUNC)0) |
#define ruby_verbose (*rb_ruby_verbose_ptr()) |
Definition at line 1122 of file ruby.h.
Referenced by block_append_gen(), CC_DUP_WARN(), cond0(), ip_finalize(), load_encoding(), load_lock(), marshal_load(), ossl_ssl_get_state(), proc_options(), rb_compile_warn(), rb_compile_warning(), rb_cvar_get(), rb_cvar_set(), rb_method_entry_make(), rb_str_format(), rb_sys_warning(), rb_warn(), rb_warn_m(), rb_warning(), ruby_prog_init(), UNKNOWN_ESC_WARN(), void_expr_gen(), and void_stmts_gen().
#define SafeStringValue | ( | v | ) |
do {\ StringValue(v);\ rb_check_safe_obj(v);\ } while (0)
Definition at line 448 of file ruby.h.
Referenced by BigDecimal_global_new(), BigDecimal_load(), BigDecimal_new(), BigDecimal_to_s(), dir_s_home(), env_delete(), env_fetch(), etc_getgrnam(), etc_getpwnam(), ev_advise(), eval_under(), fgdbm_initialize(), fole_initialize(), fole_method_help(), fole_s_connect(), folemethod_initialize(), foletype_initialize(), foletypelib_initialize(), GetVpValue(), host_str(), mSyslog_open(), ossl_config_initialize(), 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 93 of file ruby.h.
Referenced by int_chr(), int_round(), pack_pack(), rb_big2long(), rb_big2ulong(), rb_big_neg(), rb_big_pow(), rb_dlptr_cmp(), rb_num2long(), rb_obj_id(), rb_str_concat(), and ruby_debug_print_value().
#define SIZEOF_VALUE SIZEOF_LONG |
Definition at line 94 of file ruby.h.
Referenced by rb_fix2str(), rb_memsearch(), and rb_memsearch_ss().
#define SIZET2NUM | ( | v | ) | ULONG2NUM(v) |
Definition at line 252 of file ruby.h.
Referenced by count_nodes(), count_objects(), count_objects_size(), memsize_of_m(), and os_obj_of().
#define snprintf ruby_snprintf |
Definition at line 1422 of file ruby.h.
Referenced by append_utf8(), control_frame_dump(), enc_set_filesystem_encoding(), err_position_0(), fmt_setup(), get_device_once(), get_syserr(), getnameinfo(), inet_ntop(), init_funcname_len(), lcid_installed(), mSyslog_inspect(), ossl_make_error(), ossl_sslctx_initialize(), output_hex_charref(), parser_yylex(), port_str(), raise_from_check(), raise_zlib_error(), rb_compile_warn(), rb_compile_warning(), rb_dlptr_inspect(), rb_io_inspect(), rb_iseq_disasm(), rb_locale_charmap(), rb_num2long(), rb_num2ulong(), rb_reg_expr_str(), rb_str_buf_cat_escaped_char(), rb_str_dump(), rb_str_format(), rb_str_inspect(), rb_strftime_with_timespec(), rb_sys_warning(), rb_w32_pipe(), rb_warn(), rb_warning(), register_label(), ruby_setenv(), sock_s_getnameinfo(), strscan_inspect(), sys_fail2(), unescape_escaped_nonascii(), and w_float().
#define SPECIAL_CONST_P | ( | x | ) | (IMMEDIATE_P(x) || !RTEST(x)) |
Definition at line 920 of file ruby.h.
Referenced by cdhash_cmp(), cdhash_hash(), enc_capable(), enc_check_encoding(), invoke_block_from_c(), iseq_add_mark_object(), iseq_add_mark_object_compile_time(), memsize_of(), opt_eq_func(), rb_check_typeddata(), rb_cmperr(), rb_enc_associate_index(), rb_enc_get_index(), rb_obj_freeze(), rb_obj_frozen_p(), rb_obj_id(), rb_obj_instance_eval(), rb_obj_instance_exec(), rb_special_const_p(), and rb_typeddata_is_kind_of().
#define STRCASECMP | ( | s1, | ||
s2 | ||||
) | (st_strcasecmp(s1, s2)) |
Definition at line 1410 of file ruby.h.
Referenced by dln_find_1(), enc_register_at(), file_expand_path(), load_file_internal(), month_arg(), proc_exec_v(), rb_dlhandle_initialize(), rb_enc_aliases_enc_i(), rb_enc_register(), and ruby_init_loadpath_safe().
#define StringValue | ( | v | ) | rb_string_value(&(v)) |
Definition at line 442 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_mload(), argf_inplace_mode_set(), argf_read(), argf_readpartial(), bsock_setsockopt(), bubblebabble_str_new(), cParser_initialize(), create_dummy_encoding_for_tk_core(), curses_addstr(), curses_char(), do_checksum(), do_deflate(), do_inflate(), econv_args(), econv_convert(), econv_insert_output(), econv_primitive_convert(), econv_set_replacement(), env_aset(), env_key(), error_print(), eval_under(), fgdbm_has_key(), fgdbm_has_value(), fgdbm_key(), fgdbm_store(), file_s_fnmatch(), hexencode_str_new(), iconv_convert(), iconv_iconv(), io_getpartial(), io_read(), 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(), map_charset(), name_err_to_s(), 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_config_add_value(), ossl_config_get_section(), ossl_config_get_value(), ossl_digest_finish(), ossl_digest_initialize(), ossl_digest_update(), 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_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_pack(), pack_unpack(), parse(), prepare_getline_args(), r_bytes0(), 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_opts(), rb_exc_new3(), rb_f_abort(), rb_f_eval(), rb_file_join(), rb_file_s_basename(), rb_gdbm_delete(), rb_gdbm_fetch2(), rb_get_path_check(), rb_inflate_addstr(), rb_inflate_inflate(), rb_inflate_s_inflate(), rb_inflate_set_dictionary(), rb_inflate_sync(), rb_io_sysread(), rb_iseq_compile_with_option(), 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_each_line(), rb_str_format(), rb_str_include(), rb_str_justify(), rb_str_plus(), rb_str_replace(), rb_str_splice(), rb_str_split(), rb_str_squeeze_bang(), rb_str_sub_bang(), rb_str_subpat_set(), rb_str_to_dbl(), rb_str_to_inum(), rb_str_upto(), rb_str_vcatf(), rb_syck_io_str_read(), rsock_bsock_send(), rsock_sockaddr_string_value(), rsock_sockopt_new(), set_arg0(), sock_s_getservbyname(), sockopt_bool(), sockopt_data(), sockopt_initialize(), sockopt_inspect(), sockopt_int(), specific_eval(), str_gsub(), strio_getline(), strio_init(), strio_read(), strio_set_string(), strip_glibc_option(), strscan_concat(), strscan_initialize(), strscan_set_string(), syck_node_type_id_set(), syck_resolver_transfer(), syck_scalar_value_set(), syck_set_ivars(), syserr_initialize(), time_mload(), time_strftime(), tk_uninstall_cmd(), to_encoding(), tr_trans(), transcode_loop(), udp_send(), and window_addstr().
#define StringValueCStr | ( | v | ) | rb_string_value_cstr(&(v)) |
Definition at line 444 of file ruby.h.
Referenced by addrinfo_initialize(), addrinfo_inspect(), addrinfo_ip_unpack(), apply2files(), argf_next_argv(), check_exec_env_i(), check_exec_redirect(), control_frame_dump(), create_dummy_encoding_for_tk_core(), curses_addstr(), dir_s_home(), dump_disasm_list(), econv_args(), enc_arg(), enc_replicate(), generate_json(), get_iconv_opt_i(), GetDigestPtr(), id2encidx(), iseq_s_compile_file(), iseq_setup(), 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_opts(), 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(), rb_io_extract_encoding_option(), rb_io_extract_modeenc(), rb_io_reopen(), rb_io_s_sysopen(), rb_iseq_compile_with_option(), rb_locale_encindex(), rb_run_exec_options_err(), rb_stat(), rb_stat_init(), rb_str_to_inum(), rb_strftime_with_timespec(), rb_to_encoding_index(), rb_vmdebug_debug_print_post(), rb_vmdebug_proc_dump_raw(), rlimit_resource_type(), rlimit_resource_value(), ruby_debug_print_value(), sock_s_getservbyname(), sock_s_getservbyport(), strio_init(), to_encoding(), and window_addstr().
#define StringValuePtr | ( | v | ) | rb_string_value_ptr(&(v)) |
Definition at line 443 of file ruby.h.
Referenced by alias(), alloc_invoke_arguments(), clsid_from_remote(), env_assoc(), env_has_key(), esignal_init(), ev_advise(), file_expand_path(), 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_name(), foletypelib_path(), foletypelib_s_typelibs(), GetBNPtr(), io_reader(), ip_create_slave_core(), ip_init(), lib_merge_tklist(), lib_set_system_encoding(), loaded_feature_path(), make_struct(), map_charset(), match_aref(), name_to_backref_number(), 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_raise(), ole_search_handler_method(), ole_show_help(), oletypelib_search_registry2(), ossl_asn1obj_get_ln(), ossl_asn1obj_get_sn(), ossl_cipher_initialize(), ossl_config_get_section(), ossl_config_initialize(), ossl_dsa_export(), ossl_dsa_initialize(), ossl_pkcs12_initialize(), ossl_pkcs12_s_create(), ossl_pkcs7_sym2typeid(), ossl_rsa_export(), ossl_rsa_initialize(), ossl_ssl_setup(), ossl_sslctx_set_ssl_version(), ossl_sslctx_setup(), ossl_x509attr_set_oid(), ossl_x509ext_set_oid(), pack_pack(), path2class(), private_iv_get(), process_sflag(), rb_cmperr(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_dlptr_aset(), rb_dlptr_s_to_ptr(), rb_feature_p(), rb_reg_initialize_m(), rb_spawn_process(), recursive_pop(), reg_open_vkey(), rescue_callback(), scalar(), set_max_block_time(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), specific_eval(), start_document(), start_mapping(), start_sequence(), string_to_c_strict(), string_to_r_internal(), string_to_r_strict(), tcl_protect_core(), time_mload(), trap_signm(), typelib_file_from_clsid(), typelib_file_from_typelib(), and username_completion_proc_call().
#define STRNCASECMP | ( | s1, | ||
s2, | ||||
n | ||||
) | (st_strncasecmp(s1, s2, n)) |
Definition at line 1411 of file ruby.h.
Referenced by io_encname_bom_p(), parser_magic_comment(), and set_file_encoding().
#define STRTOUL | ( | str, | ||
endptr, | ||||
base | ||||
) | (ruby_strtoul(str, endptr, base)) |
Definition at line 1414 of file ruby.h.
Referenced by pack_pack(), pack_unpack(), rb_cstr_to_inum(), sock_s_getservbyname(), and str_is_number().
#define SYM2ID | ( | x | ) | RSHIFT((unsigned long)(x),RUBY_SPECIAL_SHIFT) |
Definition at line 321 of file ruby.h.
Referenced by rb_class_of(), and rb_type().
#define T_ARRAY RUBY_T_ARRAY |
Definition at line 396 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(), caller_setup_args(), cbsubst_table_setup(), check_exec_redirect(), count_objects(), count_objects_size(), decorate_convpath(), dimension(), do_coerce(), enum_sort_by(), eval_string_with_cref(), EVENTSINK_Invoke(), extract_user_token(), folevariant_initialize(), folevariant_s_array(), gc_mark_children(), generate_json(), get_eval_string_core(), iconv_convert(), initialize(), initialize_params(), iseq_build_body(), iseq_build_exception(), memsize_of(), nucomp_marshal_load(), num_members(), nurat_marshal_load(), obj_free(), obj_resurrect(), ole_ary_m_entry(), ole_invoke2(), ole_val2variant(), ole_val_ary2variant_ary(), open_key_args(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_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(), random_load(), rb_Array(), rb_ary_eql(), rb_ary_equal(), rb_ary_rassoc(), rb_check_array_type(), rb_check_backtrace(), rb_dlcfunc_call(), rb_exec_arg_addopt(), rb_file_join(), rb_struct_s_members(), rb_type_str(), readline_attempted_completion_function(), select_internal(), set_argv(), set_conf_section_i(), start_document(), tk_hash_kv(), TkStringValue(), to_ary(), update_i(), vm_expandarray(), and w_object().
#define T_BIGNUM RUBY_T_BIGNUM |
Definition at line 399 of file ruby.h.
Referenced by add(), big_fdiv(), big_op(), bignew_1(), bignorm(), binop(), bit_coerce(), count_objects(), count_objects_size(), f_one_p(), f_zero_p(), 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_ge(), flo_gt(), flo_le(), flo_lt(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), folevariant_initialize(), fptr_finalize(), gc_mark_children(), generate_json(), get_eval_string_core(), GetBNPtr(), GetVpValue(), Init_RandomSeed2(), make_seed_value(), memsize_of(), mod(), mul(), negate_lit(), nucomp_real_check(), nucomp_s_convert(), num_exact(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_int_check(), nurat_mul(), nurat_s_convert(), nurat_sub(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), ossl_bn_coerce(), pack_pack(), r_object0(), rand_init(), random_load(), random_rand(), rb_big_aref(), rb_big_cmp(), rb_big_coerce(), rb_big_divide(), rb_big_divmod(), rb_big_eq(), rb_big_eql(), rb_big_fdiv(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_big_remainder(), rb_big_rshift(), rb_check_to_integer(), rb_cmpint(), rb_convert_to_integer(), rb_dlcfunc_call(), rb_Float(), rb_hash(), rb_num2long(), rb_num2ulong(), rb_str_concat(), rb_str_format(), rb_to_integer(), rb_type_str(), rlimit_resource_type(), rlimit_resource_value(), rsock_io_socket_addrinfo(), set_max_block_time(), sub(), time_timespec(), v2w(), w_object(), wadd(), wmul(), and wsub().
#define T_CLASS RUBY_T_CLASS |
Definition at line 390 of file ruby.h.
Referenced by class2path(), count_objects(), count_objects_size(), fc_i(), fole_s_const_load(), gc_mark_children(), init_copy(), ivar_get(), memsize_of(), obj_free(), os_obj_of_i(), path2class(), r_object0(), rb_check_inheritable(), rb_class_boot(), rb_class_inherited_p(), 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_frozen_class_p(), rb_get_alloc_func(), rb_include_module(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_set(), rb_make_metaclass(), rb_mod_append_features(), rb_mod_cmp(), rb_mod_ge(), rb_mod_to_s(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_remove_instance_variable(), rb_path_to_class(), rb_singleton_class(), rb_singleton_class_clone(), rb_type_str(), rb_undef(), rb_undef_alloc_func(), vm_check_if_namespace(), vm_search_normal_superclass(), and w_object().
#define T_COMPLEX RUBY_T_COMPLEX |
Definition at line 408 of file ruby.h.
Referenced by count_objects(), count_objects_size(), gc_mark_children(), memsize_of(), nucomp_coerce(), nucomp_s_convert(), nucomp_s_new_internal(), nurat_coerce(), nurat_s_convert(), obj_free(), and rb_type_str().
#define T_DATA RUBY_T_DATA |
Definition at line 404 of file ruby.h.
Referenced by caller_setup_args(), check_iconv(), check_strscan(), count_objects(), count_objects_size(), enc_capable(), gc_mark_children(), GetVpValue(), memsize_of(), obj_free(), 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(), syck_node_init_copy(), and w_object().
#define T_FALSE RUBY_T_FALSE |
Definition at line 403 of file ruby.h.
Referenced by ary2list(), ary2list2(), bsock_setsockopt(), count_objects(), count_objects_size(), folevariant_initialize(), generate_json(), get_eval_string_core(), name_err_mesg_to_str(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), rb_any_hash(), rb_type_str(), tcl2rb_bool(), and TkStringValue().
#define T_FILE RUBY_T_FILE |
Definition at line 400 of file ruby.h.
Referenced by argf_getbyte(), argf_next_argv(), argf_readchar(), check_exec_redirect(), check_exec_redirect_fd(), copy_stream_body(), count_objects(), count_objects_size(), enc_capable(), gc_mark_children(), io_alloc(), memsize_of(), obj_free(), ossl_obj2bio(), ossl_ssl_initialize(), pty_close_pty(), rb_enc_get_index(), rb_exec_arg_addopt(), rb_f_p(), rb_io_check_io(), rb_io_flush(), rb_io_get_io(), rb_io_getbyte(), rb_objspace_call_finalizer(), rb_p(), rb_stat(), rb_type_str(), readline_s_set_input(), readline_s_set_output(), rsock_io_socket_addrinfo(), and test_check().
#define T_FIXNUM RUBY_T_FIXNUM |
Definition at line 401 of file ruby.h.
Referenced by big_fdiv(), big_op(), BigDecimal_ceil(), BigDecimal_floor(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_power(), BigDecimal_round(), BigDecimal_truncate(), bsock_setsockopt(), check_exec_redirect(), count_objects(), count_objects_size(), cParser_initialize(), cState_configure(), cState_max_nesting_set(), f_one_p(), f_zero_p(), 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(), folevariant_initialize(), fptr_finalize(), gc_mark_children(), generate_json(), get_eval_string_core(), GetBNPtr(), GetPositiveInt(), GetVpValue(), id2ref(), lib_do_one_event_core(), make_inspectname(), negate_lit(), nucomp_real_check(), nucomp_s_convert(), num_exact(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_int_check(), nurat_mul(), nurat_s_convert(), nurat_sub(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), ossl_bn_coerce(), rand_init(), rb_any_hash(), rb_big_cmp(), rb_big_divide(), rb_big_divmod(), rb_big_eq(), rb_big_fdiv(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_big_remainder(), rb_convert_to_integer(), rb_dlcfunc_call(), rb_exec_arg_addopt(), rb_f_kill(), rb_file_initialize(), rb_Float(), rb_hash(), rb_str_aref(), rb_str_aset(), rb_str_format(), rb_type_str(), rb_zstream_set_avail_out(), rlimit_resource_type(), rlimit_resource_value(), rsock_io_socket_addrinfo(), set_max_block_time(), start_stream(), tcl2rb_bool(), time_timespec(), and trap_signm().
#define T_FLOAT RUBY_T_FLOAT |
Definition at line 393 of file ruby.h.
Referenced by big_fdiv(), big_op(), BigDecimal_coerce(), bit_coerce(), count_objects(), count_objects_size(), 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(), folevariant_initialize(), gc_mark_children(), generate_json(), get_eval_string_core(), memsize_of(), negate_lit(), nucomp_real_check(), nucomp_s_convert(), nurat_add(), nurat_cmp(), nurat_coerce(), nurat_div(), nurat_eqeq_p(), nurat_expt(), nurat_mul(), nurat_s_convert(), nurat_sub(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), random_rand(), rb_big_cmp(), rb_big_divide(), rb_big_eq(), rb_big_fdiv(), rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_check_to_float(), rb_convert_to_integer(), rb_Float(), rb_float_new(), rb_num2dbl(), rb_num2long(), rb_num2ulong(), rb_str_format(), rb_to_float(), rb_type_str(), ruby_float_step(), set_max_block_time(), time_timespec(), and w_object().
#define T_HASH RUBY_T_HASH |
Definition at line 397 of file ruby.h.
Referenced by ary2list(), ary2list2(), assert_hash(), cbsubst_def_attr_aliases(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cParser_initialize(), cState_configure(), debug_lines(), dir_initialize(), econv_args(), econv_primitive_convert(), EVENTSINK_Invoke(), gc_mark_children(), generate_json(), get_eval_string_core(), get_hash(), hash_alloc(), hash_equal(), memsize_of(), mString_Extend_json_create(), mString_to_json_raw(), obj_free(), ole_invoke(), pop_last_hash(), rb_econv_open_opts(), rb_econv_prepare_opts(), rb_exec_getargs(), rb_hash_s_try_convert(), rb_str_sub_bang(), rb_type_str(), recursive_check(), recursive_list_access(), recursive_pop(), recursive_push(), str_gsub(), str_transcode(), syck_emitter_reset(), syck_map_initialize(), syck_map_value_set(), syck_merge_i(), syck_parser_initialize(), tk_conv_args(), tk_hash_kv(), tk_symbolkey2str(), to_hash(), transcode_loop(), w_object(), and yaml_org_handler().
#define T_ICLASS RUBY_T_ICLASS |
Definition at line 391 of file ruby.h.
Referenced by call_trace_proc(), class_instance_method_list(), count_objects(), count_objects_size(), gc_mark_children(), id2ref(), include_class_new(), make_metaclass(), memsize_of(), mnew(), obj_free(), original_module(), os_obj_of_i(), rb_class_real(), rb_class_superclass(), rb_frozen_class_p(), rb_include_module(), rb_method_call_status(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_singleton_methods(), rb_type_str(), vm_call_method(), vm_search_normal_superclass(), and w_extended().
#define T_MATCH RUBY_T_MATCH |
Definition at line 405 of file ruby.h.
Referenced by count_objects(), count_objects_size(), gc_mark_children(), match_alloc(), match_equal(), match_setter(), memsize_of(), obj_free(), and rb_type_str().
#define T_MODULE RUBY_T_MODULE |
Definition at line 392 of file ruby.h.
Referenced by count_objects(), count_objects_size(), fc_i(), fole_s_const_load(), gc_mark_children(), init_copy(), ivar_get(), memsize_of(), mnew(), mod_av_set(), obj_free(), path2module(), r_object0(), rb_alias(), rb_class_inherited_p(), 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_set(), rb_mod_append_features(), rb_mod_cmp(), rb_mod_ge(), rb_mod_include(), rb_mod_include_p(), rb_mod_modfunc(), rb_mod_to_s(), rb_module_new(), rb_obj_extend(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_remove_instance_variable(), rb_path_to_class(), rb_print_undef(), rb_type_str(), rb_undef(), vm_check_if_namespace(), vm_search_normal_superclass(), and w_object().
#define T_NIL RUBY_T_NIL |
Definition at line 388 of file ruby.h.
Referenced by count_objects(), count_objects_size(), ev_advise(), fole_s_const_load(), folevariant_initialize(), gc_mark_children(), generate_json(), get_eval_string_core(), name_err_mesg_to_str(), num_exact(), obj_free(), ole_val2variant(), rb_any_hash(), rb_convert_to_integer(), rb_Float(), rb_num2dbl(), rb_search_method_entry(), rb_type_str(), tk_hash_kv(), and TkStringValue().
#define T_NODE RUBY_T_NODE |
Definition at line 410 of file ruby.h.
Referenced by control_frame_dump(), count_objects(), count_objects_size(), env_mark(), errinfo_place(), gc_mark_children(), invoke_block_from_c(), memsize_of(), obj_free(), os_obj_of_i(), proc_binding(), proc_call(), rb_mod_define_method(), rb_proc_arity(), rb_type_str(), thread_join(), vm_invoke_block(), and vm_throw().
#define T_NONE RUBY_T_NONE |
Definition at line 387 of file ruby.h.
Referenced by count_objects(), count_objects_size(), os_obj_of_i(), and rb_type_str().
#define T_OBJECT RUBY_T_OBJECT |
Definition at line 389 of file ruby.h.
Referenced by count_objects(), count_objects_size(), gc_mark_children(), init_copy(), ivar_get(), memsize_of(), obj_free(), r_object0(), range_dumper(), range_loader(), rb_class_allocate_instance(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_set(), rb_obj_inspect(), rb_obj_remove_instance_variable(), rb_search_method_entry(), rb_type_str(), rsock_sockopt_new(), syserr_initialize(), thread_start_func_2(), vm_getivar(), vm_setivar(), and w_object().
#define T_RATIONAL RUBY_T_RATIONAL |
Definition at line 407 of file ruby.h.
Referenced by count_objects(), count_objects_size(), f_one_p(), f_zero_p(), fix_divide(), gc_mark_children(), GetVpValue(), memsize_of(), nucomp_real_check(), num_exact(), 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(), quo(), rb_type_str(), time_mdump(), time_to_r(), wmul(), and wquo().
#define T_REGEXP RUBY_T_REGEXP |
Definition at line 395 of file ruby.h.
Referenced by cond0(), count_objects(), count_objects_size(), enc_capable(), gc_mark_children(), get_eval_string_core(), get_pat(), match_op_gen(), memsize_of(), obj_free(), 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(), w_object(), and yyparse().
#define T_STRING RUBY_T_STRING |
Definition at line 394 of file ruby.h.
Referenced by ary2list(), ary2list2(), ary_join_1(), autoload_node(), BigDecimal_to_s(), cbsubst_get_subst_arg(), cbsubst_table_setup(), cdhash_cmp(), cdhash_hash(), check_exec_redirect(), copy_stream_body(), count_objects(), count_objects_size(), cState_array_nl_set(), cState_configure(), cState_indent_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), each_attr_def(), enc_capable(), error_print(), ev_on_event(), eval_string_with_cref(), fev_off_event(), fole_respond_to(), fole_s_const_load(), fole_s_show_help(), folevariant_initialize(), folevariant_set_value(), gc_mark_children(), generate_json(), get_eval_string_core(), get_pat(), GetDigestPtr(), GetVpValue(), hash2named_arg(), iconv_fail(), lib_fromUTF8_core(), make_inspectname(), match_aref(), match_backref_number(), memsize_of(), mObject_to_json(), nucomp_s_convert(), num_exact(), nurat_s_convert(), obj2int(), obj2subsecx(), obj2vint(), obj_free(), obj_resurrect(), ole_invoke(), ole_search_event_at(), ole_val2olevariantdata(), ole_val2ptr_variant(), ole_val2variant(), ossl_bn_coerce(), pack_unpack(), r_byte(), r_bytes0(), range_include(), rb_any_cmp(), rb_any_hash(), rb_check_backtrace(), rb_check_safe_str(), rb_check_string_type(), rb_convert_to_integer(), rb_dlptr_aset(), rb_enc_compatible(), rb_enc_get_index(), rb_eval_cmd(), rb_f_kill(), rb_f_printf(), rb_file_join(), rb_Float(), rb_intern3(), rb_io_ctl(), rb_io_puts(), rb_io_syswrite(), rb_io_write_nonblock(), 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_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(), rlimit_resource_type(), rlimit_resource_value(), scalar(), str_alloc(), strio_getline(), strio_reopen(), strio_write(), tcl2rb_bool(), tcl2rb_num_or_nil(), tcl2rb_num_or_str(), tcl2rb_string(), test_check(), tkstr_to_number(), TkStringValue(), uscore_get(), usec2subsecx(), and w_object().
#define T_STRUCT RUBY_T_STRUCT |
Definition at line 398 of file ruby.h.
Referenced by count_objects(), count_objects_size(), gc_mark_children(), memsize_of(), obj_free(), r_object0(), rb_struct_eql(), rb_struct_equal(), rb_type_str(), struct_alloc(), and w_object().
#define T_SYMBOL RUBY_T_SYMBOL |
Definition at line 406 of file ruby.h.
Referenced by cbsubst_get_subst_arg(), cbsubst_sym_to_subst(), check_exec_redirect(), count_objects(), count_objects_size(), each_attr_def(), econv_opts(), ev_on_event(), fev_off_event(), fole_respond_to(), get_eval_string_core(), hash2named_arg(), iseq_build_body(), match_aref(), match_backref_number(), ole_invoke(), ossl_pkcs7_sym2typeid(), ossl_sslctx_set_ssl_version(), rb_any_hash(), rb_exec_arg_addopt(), rb_f_kill(), rb_obj_id(), rb_struct_aref(), rb_struct_aset(), rb_to_id(), rb_type_str(), register_label(), rlimit_resource_type(), rlimit_resource_value(), rsock_revlookup_flag(), tcl_protect_core(), and trap_signm().
#define T_TRUE RUBY_T_TRUE |
Definition at line 402 of file ruby.h.
Referenced by ary2list(), ary2list2(), bsock_setsockopt(), count_objects(), count_objects_size(), folevariant_initialize(), generate_json(), get_eval_string_core(), name_err_mesg_to_str(), obj_free(), ole_val2ptr_variant(), ole_val2variant(), rb_any_hash(), rb_type_str(), tcl2rb_bool(), and TkStringValue().
#define T_UNDEF RUBY_T_UNDEF |
Definition at line 409 of file ruby.h.
Referenced by count_objects(), count_objects_size(), and rb_type_str().
#define T_ZOMBIE RUBY_T_ZOMBIE |
Definition at line 411 of file ruby.h.
Referenced by count_objects(), count_objects_size(), gc_mark_children(), gc_sweep(), make_deferred(), os_obj_of_i(), and rb_type_str().
#define TOLOWER | ( | c | ) | rb_tolower((unsigned char)(c)) |
Definition at line 1406 of file ruby.h.
Referenced by file_expand_path(), load_encoding(), onigenc_unicode_property_name_to_ctype(), rb_strftime_with_timespec(), and readline_attempted_completion_function().
#define TOUPPER | ( | c | ) | rb_toupper((unsigned char)(c)) |
Definition at line 1405 of file ruby.h.
Referenced by rb_str_casecmp(), rb_strftime_with_timespec(), and rlimit_resource_name2int().
#define TYPE | ( | x | ) | rb_type((VALUE)(x)) |
Definition at line 417 of file ruby.h.
Referenced by add(), add_event_call_back(), argf_getbyte(), argf_next_argv(), argf_readchar(), ary2list(), ary2list2(), ary2sv(), ary_join_1(), ary_len_of_dim(), assoc2kv(), assoc2kv_enc(), big_fdiv(), big_op(), BigDecimal_coerce(), BigDecimal_to_s(), bignorm(), binop(), bit_coerce(), bsock_setsockopt(), call_trace_proc(), cbsubst_def_attr_aliases(), cbsubst_get_subst_arg(), cbsubst_sym_to_subst(), cbsubst_table_setup(), cdhash_hash(), check_exec_redirect(), check_strscan(), class2path(), classname(), cond0(), copy_stream_body(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), debug_lines(), decorate_convpath(), dimension(), do_coerce(), each_attr_def(), econv_opts(), enum_sort_by(), errinfo_place(), error_print(), ev_advise(), ev_on_event(), eval_string_with_cref(), EVENTSINK_Invoke(), extract_user_token(), f_one_p(), f_signbit(), f_zero_p(), fc_i(), fev_off_event(), 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(), fole_respond_to(), fole_s_const_load(), fole_s_show_help(), folevariant_initialize(), folevariant_set_value(), fptr_finalize(), generate_json(), get_eval_string_core(), get_pat(), GetBNPtr(), GetDigestPtr(), GetVpValue(), hash2named_arg(), hash_equal(), iconv_convert(), iconv_fail(), include_class_new(), init_copy(), ip_set_exc_message(), iseq_build_body(), ivar_get(), lib_fromUTF8_core(), lib_toUTF8_core(), make_inspectname(), match_aref(), match_backref_number(), match_equal(), match_op_gen(), mnew(), mod(), mul(), name_err_mesg_to_str(), negate_lit(), nucomp_coerce(), nucomp_real_check(), nucomp_s_convert(), num_eql(), num_exact(), num_members(), 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(), ole_ary_m_entry(), ole_invoke(), ole_search_event_at(), ole_val2olevariantdata(), ole_val2ptr_variant(), ole_val2variant(), original_module(), ossl_bn_coerce(), ossl_obj2bio(), ossl_pkcs7_sym2typeid(), ossl_sslctx_set_ciphers(), ossl_sslctx_set_ssl_version(), ossl_sslctx_setup(), pack_pack(), pack_unpack(), path2class(), path2module(), proc_binding(), pty_close_pty(), quo(), r_byte(), r_bytes0(), r_object0(), rand_init(), random_rand(), range_include(), range_loader(), rb_alias(), rb_any_cmp(), rb_any_hash(), rb_ary_eql(), rb_ary_equal(), rb_ary_rassoc(), rb_big_aref(), rb_big_cmp(), rb_big_coerce(), rb_big_divide(), rb_big_divmod(), rb_big_eq(), rb_big_eql(), rb_big_fdiv(), rb_big_lshift(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_big_remainder(), rb_big_rshift(), rb_check_backtrace(), rb_check_convert_type(), rb_check_inheritable(), rb_check_safe_str(), rb_check_to_float(), rb_check_to_integer(), rb_check_type(), rb_class_inherited_p(), rb_class_path(), rb_class_superclass(), rb_cmpint(), rb_convert_to_integer(), rb_convert_type(), rb_define_class(), rb_define_class_id_under(), rb_define_module(), rb_define_module_id_under(), rb_dlptr_aset(), rb_econv_open_opts(), rb_enc_compatible(), rb_eval_cmd(), rb_exec_arg_addopt(), rb_export_method(), rb_f_kill(), rb_f_p(), rb_f_printf(), rb_file_join(), rb_Float(), rb_frozen_class_p(), rb_hash(), rb_include_module(), rb_io_ctl(), rb_io_flush(), rb_io_getbyte(), rb_io_puts(), rb_io_syswrite(), rb_io_write_nonblock(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_ivar_set(), rb_method_call_status(), rb_mod_append_features(), rb_mod_cmp(), rb_mod_ge(), rb_mod_modfunc(), rb_mod_to_s(), rb_num2dbl(), rb_num2long(), rb_num2ulong(), rb_obj_as_string(), rb_obj_id(), rb_obj_init_copy(), rb_obj_inspect(), rb_obj_is_instance_of(), rb_obj_is_kind_of(), rb_obj_remove_instance_variable(), rb_obj_singleton_methods(), rb_p(), rb_path_to_class(), rb_print_undef(), rb_reg_equal(), rb_reg_initialize_m(), rb_reg_match2(), rb_singleton_class(), rb_str_aref(), rb_str_aref_m(), rb_str_aset(), rb_str_aset_m(), rb_str_cmp_m(), rb_str_concat(), rb_str_eql(), rb_str_equal(), rb_str_format(), rb_str_index_m(), rb_str_match(), 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_syck_output_handler(), rb_to_float(), rb_to_id(), rb_to_integer(), rb_undef(), readline_attempted_completion_function(), recursive_check(), recursive_list_access(), recursive_pop(), recursive_push(), rlimit_resource_type(), rlimit_resource_value(), rsock_io_socket_addrinfo(), ruby_cleanup(), ruby_float_step(), set_max_block_time(), strio_getline(), strio_reopen(), strio_write(), sub(), syck_node_init_copy(), syserr_initialize(), tcl2rb_bool(), tcl_protect_core(), test_check(), thread_join(), thread_start_func_2(), time_mdump(), time_timespec(), time_to_r(), tk_conv_args(), tk_hash_kv(), TkStringValue(), transcode_loop(), trap_signm(), uscore_get(), usec2subsecx(), v2w(), vm_call_method(), vm_check_if_namespace(), vm_expandarray(), vm_getivar(), vm_setivar(), w_object(), wadd(), wmul(), wquo(), wsub(), and yyparse().
#define TypedData_Get_Struct | ( | obj, | ||
type, | ||||
data_type, | ||||
sval | ||||
) |
do {\ sval = (type*)rb_check_typeddata(obj, data_type); \ } while (0)
Definition at line 807 of file ruby.h.
Referenced by check_econv(), dir_initialize(), dir_inspect(), dir_open_dir(), dir_path(), dlptr_init(), econv_inspect(), enumerator_init(), enumerator_init_copy(), enumerator_ptr(), function_call(), generator_init(), generator_init_copy(), generator_ptr(), get_rnd(), get_stat(), initialize(), inspect_enumerator(), method_arity(), method_clone(), method_get_def(), method_hash(), method_inspect(), method_name(), method_owner(), method_receiver(), method_unbind(), name_err_mesg_equal(), name_err_mesg_to_str(), parser_compile_string(), 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_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_method_call(), rb_parser_append_print(), rb_parser_compile_file(), 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(), umethod_bind(), yielder_init(), and yielder_ptr().
#define TypedData_Make_Struct | ( | klass, | ||
type, | ||||
data_type, | ||||
sval | ||||
) |
(\ sval = ALLOC(type),\ memset(sval, 0, sizeof(type)),\ TypedData_Wrap_Struct(klass,data_type,sval)\ )
Definition at line 796 of file ruby.h.
Referenced by allocate(), binding_alloc(), cont_new(), dir_s_alloc(), dir_s_open(), enumerator_allocate(), env_alloc(), generator_allocate(), iseq_alloc(), marshal_dump(), marshal_load(), method_clone(), method_unbind(), mnew(), mutex_alloc(), random_alloc(), rb_dlcfunc_new(), rb_dlcfunc_s_allocate(), rb_dlhandle_s_allocate(), rb_dlptr_new2(), rb_dlptr_s_allocate(), rb_proc_alloc(), thgroup_s_alloc(), thread_alloc(), time_s_alloc(), umethod_bind(), and yielder_allocate().
#define TypedData_Wrap_Struct | ( | klass, | ||
data_type, | ||||
sval | ||||
) | rb_data_typed_object_alloc(klass,sval,data_type) |
Definition at line 793 of file ruby.h.
Referenced by addrinfo_s_allocate(), barrier_alloc(), econv_s_allocate(), enc_new(), fiber_alloc(), Init_VM(), rb_autoload(), rb_name_err_mesg_new(), rb_parser_new(), stat_new_0(), strio_s_allocate(), thread_alloc(), VpCreateRbObject(), and VpNewRbClass().
#define UIDT2NUM | ( | v | ) | LONG2NUM(v) |
Definition at line 300 of file ruby.h.
Referenced by p_uid_exchange(), p_uid_switch(), proc_geteuid(), proc_getuid(), and rb_stat_uid().
#define UINT2NUM_internal | ( | v | ) | (POSFIXABLE(v) ? LONG2FIX(v) : rb_uint2big(v)) |
Definition at line 954 of file ruby.h.
Referenced by UINT2NUM().
#define ULONG2NUM_internal | ( | v | ) | (POSFIXABLE(v) ? LONG2FIX(v) : rb_uint2big(v)) |
Definition at line 977 of file ruby.h.
Referenced by ULONG2NUM().
#define vsnprintf ruby_vsnprintf |
Definition at line 1423 of file ruby.h.
Referenced by compile_snprintf(), create_ip_exc(), err_snprintf(), ole_raise(), ossl_make_error(), rb_compile_error_append(), and warn_printf().
typedef VALUE rb_block_call_func(VALUE, VALUE, int, VALUE *) |
typedef struct rb_data_type_struct rb_data_type_t |
typedef unsigned int rb_event_flag_t |
typedef void(* rb_event_hook_func_t)(rb_event_flag_t, VALUE data, VALUE, ID, VALUE klass) |
typedef struct rb_event_hook_struct rb_event_hook_t |
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 |
DEPRECATED | ( | void | rb_check_safe_strVALUE | ) |
static VALUE INT2NUM | ( | int | v | ) | [inline, static] |
Definition at line 948 of file ruby.h.
References INT2NUM_internal.
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(), constant_to_sym(), copy_stream_body(), count_objects(), count_objects_size(), each_with_index_i(), econv_convert(), econv_finish(), econv_result_to_symbol(), 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_constants(), Init_curses(), Init_dl(), Init_fcntl(), Init_fiddle(), Init_fiddle_function(), Init_openssl(), Init_ossl_asn1(), Init_ossl_x509name(), Init_psych_parser(), initialize(), io_reader(), lib_getversion(), libyaml_version(), make_hostent_internal(), 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_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(), ossl_x509store_initialize(), pack_unpack(), 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_enc_set_index(), rb_exec_arg_addopt(), rb_exit(), rb_f_abort(), rb_io_ctl(), rb_io_lineno(), rb_io_s_pipe(), rb_io_s_sysopen(), rb_reg_options_m(), rb_stat_dev(), rb_str_bytesize(), rb_str_count(), rb_thread_priority(), rb_thread_priority_set(), rb_thread_safe_level(), reg_named_captures_iter(), ripper_init_eventids1(), 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_matched_size(), strscan_set_pos(), timelocalw(), and w_object().
static VALUE LONG2NUM | ( | long | v | ) | [inline, static] |
Definition at line 971 of file ruby.h.
References LONG2NUM_internal.
NORETURN | ( | void | rb_insecure_operationvoid | ) |
NORETURN | ( | void | rb_bug_errnoconst char *, int | ) |
NORETURN | ( | void | rb_sys_failconst char * | ) |
NORETURN | ( | void | rb_mod_sys_failVALUE, const char * | ) |
NORETURN | ( | void | rb_exitint | ) |
NORETURN | ( | void | rb_throwconst char *, VALUE | ) |
NORETURN | ( | void | rb_throw_objVALUE, VALUE | ) |
static char NUM2CHR | ( | VALUE | x | ) | [inline, static] |
Definition at line 994 of file ruby.h.
References NUM2CHR_internal.
Referenced by cbsubst_table_setup(), ole_val2ptr_variant(), r_byte(), rb_dl_callback_char_0_0_cdecl(), rb_dl_callback_char_0_1_cdecl(), rb_dl_callback_char_0_2_cdecl(), rb_dl_callback_char_0_3_cdecl(), rb_dl_callback_char_0_4_cdecl(), rb_dl_callback_char_10_0_cdecl(), rb_dl_callback_char_10_1_cdecl(), rb_dl_callback_char_10_2_cdecl(), rb_dl_callback_char_10_3_cdecl(), rb_dl_callback_char_10_4_cdecl(), rb_dl_callback_char_11_0_cdecl(), rb_dl_callback_char_11_1_cdecl(), rb_dl_callback_char_11_2_cdecl(), rb_dl_callback_char_11_3_cdecl(), rb_dl_callback_char_11_4_cdecl(), rb_dl_callback_char_12_0_cdecl(), rb_dl_callback_char_12_1_cdecl(), rb_dl_callback_char_12_2_cdecl(), rb_dl_callback_char_12_3_cdecl(), rb_dl_callback_char_12_4_cdecl(), rb_dl_callback_char_13_0_cdecl(), rb_dl_callback_char_13_1_cdecl(), rb_dl_callback_char_13_2_cdecl(), rb_dl_callback_char_13_3_cdecl(), rb_dl_callback_char_13_4_cdecl(), rb_dl_callback_char_14_0_cdecl(), rb_dl_callback_char_14_1_cdecl(), rb_dl_callback_char_14_2_cdecl(), rb_dl_callback_char_14_3_cdecl(), rb_dl_callback_char_14_4_cdecl(), rb_dl_callback_char_15_0_cdecl(), rb_dl_callback_char_15_1_cdecl(), rb_dl_callback_char_15_2_cdecl(), rb_dl_callback_char_15_3_cdecl(), rb_dl_callback_char_15_4_cdecl(), rb_dl_callback_char_16_0_cdecl(), rb_dl_callback_char_16_1_cdecl(), rb_dl_callback_char_16_2_cdecl(), rb_dl_callback_char_16_3_cdecl(), rb_dl_callback_char_16_4_cdecl(), rb_dl_callback_char_17_0_cdecl(), rb_dl_callback_char_17_1_cdecl(), rb_dl_callback_char_17_2_cdecl(), rb_dl_callback_char_17_3_cdecl(), rb_dl_callback_char_17_4_cdecl(), rb_dl_callback_char_18_0_cdecl(), rb_dl_callback_char_18_1_cdecl(), rb_dl_callback_char_18_2_cdecl(), rb_dl_callback_char_18_3_cdecl(), rb_dl_callback_char_18_4_cdecl(), rb_dl_callback_char_19_0_cdecl(), rb_dl_callback_char_19_1_cdecl(), rb_dl_callback_char_19_2_cdecl(), rb_dl_callback_char_19_3_cdecl(), rb_dl_callback_char_19_4_cdecl(), rb_dl_callback_char_1_0_cdecl(), rb_dl_callback_char_1_1_cdecl(), rb_dl_callback_char_1_2_cdecl(), rb_dl_callback_char_1_3_cdecl(), rb_dl_callback_char_1_4_cdecl(), rb_dl_callback_char_2_0_cdecl(), rb_dl_callback_char_2_1_cdecl(), rb_dl_callback_char_2_2_cdecl(), rb_dl_callback_char_2_3_cdecl(), rb_dl_callback_char_2_4_cdecl(), rb_dl_callback_char_3_0_cdecl(), rb_dl_callback_char_3_1_cdecl(), rb_dl_callback_char_3_2_cdecl(), rb_dl_callback_char_3_3_cdecl(), rb_dl_callback_char_3_4_cdecl(), rb_dl_callback_char_4_0_cdecl(), rb_dl_callback_char_4_1_cdecl(), rb_dl_callback_char_4_2_cdecl(), rb_dl_callback_char_4_3_cdecl(), rb_dl_callback_char_4_4_cdecl(), rb_dl_callback_char_5_0_cdecl(), rb_dl_callback_char_5_1_cdecl(), rb_dl_callback_char_5_2_cdecl(), rb_dl_callback_char_5_3_cdecl(), rb_dl_callback_char_5_4_cdecl(), rb_dl_callback_char_6_0_cdecl(), rb_dl_callback_char_6_1_cdecl(), rb_dl_callback_char_6_2_cdecl(), rb_dl_callback_char_6_3_cdecl(), rb_dl_callback_char_6_4_cdecl(), rb_dl_callback_char_7_0_cdecl(), rb_dl_callback_char_7_1_cdecl(), rb_dl_callback_char_7_2_cdecl(), rb_dl_callback_char_7_3_cdecl(), rb_dl_callback_char_7_4_cdecl(), rb_dl_callback_char_8_0_cdecl(), rb_dl_callback_char_8_1_cdecl(), rb_dl_callback_char_8_2_cdecl(), rb_dl_callback_char_8_3_cdecl(), rb_dl_callback_char_8_4_cdecl(), rb_dl_callback_char_9_0_cdecl(), rb_dl_callback_char_9_1_cdecl(), rb_dl_callback_char_9_2_cdecl(), rb_dl_callback_char_9_3_cdecl(), rb_dl_callback_char_9_4_cdecl(), rb_f_test(), rb_io_putc(), and strio_putc().
static long NUM2LONG | ( | VALUE | x | ) | [inline, static] |
Definition at line 486 of file ruby.h.
References NUM2LONG_internal.
Referenced by argf_read(), ary_take_first_or_last(), assert_integer(), callback(), CHECK_INTEGER(), copy_stream_fallback_body(), econv_primitive_convert(), enum_cycle(), enum_drop(), enum_each_cons(), enum_each_slice(), enum_first(), enum_take(), enumerator_with_index(), first_i(), flatten(), iconv_iconv(), int_chr(), io_getpartial(), io_read(), nucomp_hash(), num_to_long(), nurat_hash(), 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_purpose(), ossl_x509stctx_set_time(), ossl_x509stctx_set_trust(), ossl_x509store_set_flags(), ossl_x509store_set_purpose(), ossl_x509store_set_trust(), pack_pack(), parse_main(), prepare_getline_args(), random_bytes(), random_rand(), range_first(), rb_ary_aref(), rb_ary_aset(), rb_ary_at(), rb_ary_combination(), rb_ary_cycle(), rb_ary_delete_at_m(), rb_ary_drop(), rb_ary_fetch(), rb_ary_fill(), rb_ary_initialize(), rb_ary_insert(), rb_ary_permutation(), rb_ary_repeated_combination(), rb_ary_repeated_permutation(), 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_dl_callback_long_0_0_cdecl(), rb_dl_callback_long_0_1_cdecl(), rb_dl_callback_long_0_2_cdecl(), rb_dl_callback_long_0_3_cdecl(), rb_dl_callback_long_0_4_cdecl(), rb_dl_callback_long_10_0_cdecl(), rb_dl_callback_long_10_1_cdecl(), rb_dl_callback_long_10_2_cdecl(), rb_dl_callback_long_10_3_cdecl(), rb_dl_callback_long_10_4_cdecl(), rb_dl_callback_long_11_0_cdecl(), rb_dl_callback_long_11_1_cdecl(), rb_dl_callback_long_11_2_cdecl(), rb_dl_callback_long_11_3_cdecl(), rb_dl_callback_long_11_4_cdecl(), rb_dl_callback_long_12_0_cdecl(), rb_dl_callback_long_12_1_cdecl(), rb_dl_callback_long_12_2_cdecl(), rb_dl_callback_long_12_3_cdecl(), rb_dl_callback_long_12_4_cdecl(), rb_dl_callback_long_13_0_cdecl(), rb_dl_callback_long_13_1_cdecl(), rb_dl_callback_long_13_2_cdecl(), rb_dl_callback_long_13_3_cdecl(), rb_dl_callback_long_13_4_cdecl(), rb_dl_callback_long_14_0_cdecl(), rb_dl_callback_long_14_1_cdecl(), rb_dl_callback_long_14_2_cdecl(), rb_dl_callback_long_14_3_cdecl(), rb_dl_callback_long_14_4_cdecl(), rb_dl_callback_long_15_0_cdecl(), rb_dl_callback_long_15_1_cdecl(), rb_dl_callback_long_15_2_cdecl(), rb_dl_callback_long_15_3_cdecl(), rb_dl_callback_long_15_4_cdecl(), rb_dl_callback_long_16_0_cdecl(), rb_dl_callback_long_16_1_cdecl(), rb_dl_callback_long_16_2_cdecl(), rb_dl_callback_long_16_3_cdecl(), rb_dl_callback_long_16_4_cdecl(), rb_dl_callback_long_17_0_cdecl(), rb_dl_callback_long_17_1_cdecl(), rb_dl_callback_long_17_2_cdecl(), rb_dl_callback_long_17_3_cdecl(), rb_dl_callback_long_17_4_cdecl(), rb_dl_callback_long_18_0_cdecl(), rb_dl_callback_long_18_1_cdecl(), rb_dl_callback_long_18_2_cdecl(), rb_dl_callback_long_18_3_cdecl(), rb_dl_callback_long_18_4_cdecl(), rb_dl_callback_long_19_0_cdecl(), rb_dl_callback_long_19_1_cdecl(), rb_dl_callback_long_19_2_cdecl(), rb_dl_callback_long_19_3_cdecl(), rb_dl_callback_long_19_4_cdecl(), rb_dl_callback_long_1_0_cdecl(), rb_dl_callback_long_1_1_cdecl(), rb_dl_callback_long_1_2_cdecl(), rb_dl_callback_long_1_3_cdecl(), rb_dl_callback_long_1_4_cdecl(), rb_dl_callback_long_2_0_cdecl(), rb_dl_callback_long_2_1_cdecl(), rb_dl_callback_long_2_2_cdecl(), rb_dl_callback_long_2_3_cdecl(), rb_dl_callback_long_2_4_cdecl(), rb_dl_callback_long_3_0_cdecl(), rb_dl_callback_long_3_1_cdecl(), rb_dl_callback_long_3_2_cdecl(), rb_dl_callback_long_3_3_cdecl(), rb_dl_callback_long_3_4_cdecl(), rb_dl_callback_long_4_0_cdecl(), rb_dl_callback_long_4_1_cdecl(), rb_dl_callback_long_4_2_cdecl(), rb_dl_callback_long_4_3_cdecl(), rb_dl_callback_long_4_4_cdecl(), rb_dl_callback_long_5_0_cdecl(), rb_dl_callback_long_5_1_cdecl(), rb_dl_callback_long_5_2_cdecl(), rb_dl_callback_long_5_3_cdecl(), rb_dl_callback_long_5_4_cdecl(), rb_dl_callback_long_6_0_cdecl(), rb_dl_callback_long_6_1_cdecl(), rb_dl_callback_long_6_2_cdecl(), rb_dl_callback_long_6_3_cdecl(), rb_dl_callback_long_6_4_cdecl(), rb_dl_callback_long_7_0_cdecl(), rb_dl_callback_long_7_1_cdecl(), rb_dl_callback_long_7_2_cdecl(), rb_dl_callback_long_7_3_cdecl(), rb_dl_callback_long_7_4_cdecl(), rb_dl_callback_long_8_0_cdecl(), rb_dl_callback_long_8_1_cdecl(), rb_dl_callback_long_8_2_cdecl(), rb_dl_callback_long_8_3_cdecl(), rb_dl_callback_long_8_4_cdecl(), rb_dl_callback_long_9_0_cdecl(), rb_dl_callback_long_9_1_cdecl(), rb_dl_callback_long_9_2_cdecl(), rb_dl_callback_long_9_3_cdecl(), rb_dl_callback_long_9_4_cdecl(), rb_dlptr_initialize(), rb_dlptr_minus(), rb_dlptr_plus(), rb_dlptr_s_malloc(), rb_dlptr_size_set(), rb_exec_arg_addopt(), rb_fix_lshift(), rb_get_values_at(), rb_io_ctl(), rb_io_sysread(), rb_obj_hash(), rb_range_beg_len(), rb_reg_match_m(), rb_run_exec_options_err(), rb_str_aref(), rb_str_aref_m(), rb_str_aset(), rb_str_aset_m(), 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(), recursive_hash(), reduce0(), set_max_block_time(), sock_s_getnameinfo(), sock_s_getservbyport(), strio_getline(), strio_read(), strio_seek(), strio_set_lineno(), strio_set_pos(), strio_truncate(), strscan_aref(), strscan_peek(), syserr_initialize(), time_round(), time_timespec(), time_to_time_t(), timegmw(), timew2timespec(), timew2timespec_exact(), value_to_generic(), and vtm2tm_noyear().
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 | ||||
) |
PRINTF_ARGS | ( | void | rb_warningconst char *,..., | |
1 | , | |||
2 | ||||
) |
PRINTF_ARGS | ( | void | rb_compile_warningconst char *, int, const char *,..., | |
3 | , | |||
4 | ||||
) |
void rb_add_event_hook | ( | rb_event_hook_func_t | func, | |
rb_event_flag_t | events, | |||
VALUE | data | |||
) |
Definition at line 3806 of file thread.c.
References alloc_event_hook(), rb_vm_struct::event_hooks, GET_VM, rb_event_hook_struct::next, and set_threads_event_flags().
Referenced by rb_set_coverages(), and set_trace_func().
Definition at line 923 of file vm_eval.c.
References iter_method_arg::argc, iter_method_arg::argv, iterate_method(), iter_method_arg::mid, iter_method_arg::obj, and rb_iterate().
int rb_block_given_p | ( | void | ) |
Definition at line 603 of file eval.c.
References rb_thread_struct::cfp, GC_GUARDED_PTR_REF, GET_THREAD, and rb_control_frame_t::lfp.
Referenced by 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(), iconv_fail_retry(), iconv_s_open(), mSyslog_open(), ossl_pem_passwd_cb(), ossl_x509store_verify(), p_gid_switch(), p_uid_switch(), pack_unpack(), 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_hash_delete(), rb_hash_fetch_m(), rb_hash_initialize(), rb_hash_update(), rb_io_s_new(), rb_io_s_open(), rb_io_s_pipe(), rb_io_s_popen(), rb_iterator_p(), rb_mod_initialize(), rb_need_block(), rb_reg_match_m(), rb_scan_args(), rb_str_match_m(), rb_str_scan(), rb_str_sub_bang(), rb_struct_s_def(), rsa_generate(), specific_eval(), strio_s_open(), thread_initialize(), tk_s_new(), and window_attron().
Definition at line 188 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(), iconv_failure_initialize(), interrupt_init(), name_err_initialize(), ossl_ssl_initialize(), range_include(), range_max(), range_min(), strio_initialize(), and syserr_initialize().
Referenced by exec_recursive(), rb_catch(), and rb_f_catch().
void rb_check_safe_obj | ( | VALUE | ) |
Definition at line 113 of file safe.c.
References OBJ_TAINTED, rb_insecure_operation(), rb_safe_level, and rb_secure().
Referenced by constant_arg(), rb_check_safe_str(), and rb_dlcfunc_call().
void rb_check_type | ( | VALUE | , | |
int | ||||
) |
Definition at line 312 of file error.c.
References builtin_types, FIXNUM_P, types::name, NIL_P, Qundef, rb_bug(), rb_eTypeError, rb_obj_as_string(), rb_obj_classname(), rb_raise(), rb_special_const_p(), RSTRING_PTR, RTYPEDDATA_P, SYMBOL_P, T_DATA, types::type, TYPE, 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 364 of file error.c.
References BUILTIN_TYPE, Check_Type, DATA_PTR, rb_eTypeError, rb_obj_classname(), rb_raise(), RTYPEDDATA_P, RTYPEDDATA_TYPE, SPECIAL_CONST_P, T_DATA, and rb_data_type_struct::wrap_struct_name.
Referenced by check_addrinfo(), dir_check(), and econv_init().
const char* rb_class2name | ( | VALUE | ) |
Definition at line 311 of file variable.c.
References rb_class_name(), and RSTRING_PTR.
Referenced by check_iconv(), extract_user_token(), iconv_failure_inspect(), method_inspect(), method_missing(), mnew(), mSyslog_inspect(), mSyslog_log(), ossl_asn1_default_tag(), ossl_cipher_init(), ossl_config_inspect(), ossl_x509_inspect(), pst_inspect(), r_object0(), rb_class_path(), rb_const_get_0(), rb_const_remove(), rb_cvar_get(), rb_cvar_set(), rb_define_class_id_under(), rb_define_module_id_under(), rb_dlptr_inspect(), rb_io_s_new(), rb_method_entry_make(), rb_mod_define_method(), rb_mod_remove_cvar(), rb_obj_classname(), rb_print_undef(), rb_undef(), remove_method(), strscan_inspect(), thread_s_new(), umethod_bind(), and uninitialized_constant().
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 * | ||||
) |
Definition at line 1856 of file variable.c.
References rb_cObject, rb_const_set(), rb_intern, rb_is_const_id(), rb_secure(), and rb_warn().
Referenced by exp1(), Init_bigdecimal(), Init_callback(), Init_Complex(), init_constants(), Init_cparse(), Init_curses(), Init_dbm(), Init_dl(), Init_dlhandle(), Init_dlptr(), Init_etc(), Init_fcntl(), Init_fiddle(), Init_fiddle_function(), Init_File(), 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_readline(), Init_Regexp(), Init_syck(), 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(), ripper_init_eventids2_table(), set_encoding_const(), and set_syserr().
void rb_define_global_const | ( | const char * | , | |
VALUE | ||||
) |
Definition at line 1870 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().
Definition at line 495 of file variable.c.
References global_variable::data, global_variable::getter, global_id(), gvar_getter_t, gvar_setter_t, global_variable::marker, RB_GC_GUARD, rb_global_entry(), global_variable::setter, rb_global_entry::var, var_getter, 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 520 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 514 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 526 of file variable.c.
References global_variable::getter, rb_define_hooked_variable(), and global_variable::setter.
Referenced by Init_eval(), Init_IO(), Init_load(), Init_process(), Init_Regexp(), Init_safe(), and Init_Time().
Definition at line 936 of file vm_eval.c.
References CALL_FCALL, and rb_call().
Definition at line 736 of file eval.c.
References EXEC_TAG, JUMP_TAG, POP_TAG, PUSH_TAG, and result.
Referenced by _thread_call_proc(), autoload_node(), dir_entries(), dir_foreach(), dir_s_chdir(), dir_s_open(), fdbm_s_open(), fgdbm_s_open(), fole_each(), fsdbm_s_open(), iconv_finish(), iconv_s_conv(), iconv_s_iconv(), iconv_s_open(), io_wait(), lib_eventloop_launcher(), lib_mainloop_watchdog(), load_file(), mSyslog_open(), ossl_verify_cb(), p_gid_switch(), p_uid_switch(), pipe_pair_close(), pty_getpty(), pty_open(), rb_deflate_s_deflate(), rb_dlhandle_initialize(), rb_f_open(), rb_f_select(), rb_gvar_set(), 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_wait_readable(), rb_io_wait_writable(), rb_mutex_sleep(), rb_mutex_synchronize(), rsock_init_inetsock(), rsock_make_hostent(), sig_trap(), strio_s_open(), thread_join(), udp_connect(), and wait_connectable().
Definition at line 47 of file object.c.
References id_eq, rb_funcall(), result, and RTEST.
Referenced by 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(), num_zero_p(), pst_equal(), 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 | ) |
Definition at line 1037 of file eval.c.
References rb_thread_struct::errinfo, and GET_THREAD.
VALUE rb_eval_string | ( | const char * | ) |
Definition at line 1113 of file vm_eval.c.
References eval_string(), Qnil, rb_str_new2(), and rb_vm_top_self().
Referenced by foletype_s_typelibs(), ip_ruby_eval(), and rb_eval_string_protect().
VALUE rb_eval_string_protect | ( | const char * | , | |
int * | ||||
) |
Definition at line 1119 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 * | , | |
int * | ||||
) |
Definition at line 1125 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.
Definition at line 864 of file eval.c.
References rb_include_module(), and rb_singleton_class().
Referenced by Init_etc(), Init_Hash(), Init_readline(), r_object0(), rb_eval_string_wrap(), rb_load_internal(), rb_mod_extend_object(), rb_mod_sys_fail(), read_would_block(), and write_would_block().
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 618 of file vm_eval.c.
References ALLOCA_N, argv, CALL_FCALL, rb_call(), and va_init_list.
Referenced by _thread_call_proc_core(), _thread_call_proc_value(), add(), argument_error(), ary2list(), ary2list2(), basic_obj_respond_to(), 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_eq(), 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_from_state_s(), cState_generate(), default_inspect(), dir_inspect(), divmodv(), DupConfigPtr(), DupPrivPKeyPtr(), enum_find(), enum_zip(), eq(), error_print(), eval_queue_handler(), evs_length(), exc_message(), f_add(), f_cmp(), f_div(), f_gt_p(), f_lt_p(), f_one_p(), f_sub(), f_zero_p(), fix_pow(), flo_cmp(), 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(), generic_to_value(), get_backtrace(), get_eval_string_core(), GetPrivPKeyPtr(), grep_i(), grep_iter_i(), id_hash_new(), Init_generator(), Init_parser(), Init_syck(), Init_win32ole(), inject_op_i(), int_dotimes(), int_downto(), int_even_p(), int_odd_p(), int_pred(), int_round(), int_succ(), int_upto(), invoke_queue_handler(), io_call_close(), io_reader(), io_write(), ip_eval(), ip_invoke_with_position(), ip_set_exc_message(), JSON_parse_object(), key2keyname(), lexer_iter(), lib_eventloop_ensure(), lib_eventloop_launcher(), lib_fromUTF8_core(), lib_set_system_encoding(), lib_thread_callback(), lib_toUTF8_core(), lib_watchdog_core(), load_file_internal(), max_by_i(), max_i(), min_by_i(), min_i(), minmax_by_i(), minmax_by_i_update(), minmax_i(), minmax_i_update(), mktime_do(), mktime_r(), mlambda(), mnew(), mObject_to_json(), mod(), mproc(), mString_Extend_json_create(), mString_included_s(), mString_to_json_raw_object(), mul(), negate_lit(), num_abs(), num_div(), num_equal(), num_fdiv(), num_modulo(), num_nonzero_p(), num_quo(), num_remainder(), num_step(), num_to_int(), num_uminus(), nurat_div(), ole_invoke(), ole_typelib_from_itypeinfo(), opt_case_dispatch_i(), ossl_asn1_decode0(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_tmp_dh_callback(), ossl_call_verify_cb_proc(), ossl_config_copy(), ossl_pkey_sign(), ossl_ssl_close(), ossl_ssl_initialize(), ossl_ssl_read_internal(), ossl_ssl_session_get_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(), quo(), r_le(), r_leave(), r_lt(), r_object0(), raise_method_missing(), range_check(), range_each_func(), range_eqq(), range_max(), range_min(), range_step(), 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_dlptr_s_to_ptr(), rb_enc_get_index(), rb_eql(), rb_equal(), rb_exc_new(), rb_exc_new3(), rb_hash(), rb_hash_aref(), rb_hash_default(), rb_hash_shift(), rb_inspect(), rb_io_flush(), rb_io_write(), rb_mod_include(), rb_num_coerce_bin(), rb_num_coerce_cmp(), rb_num_coerce_relop(), rb_obj_alloc(), rb_obj_as_string(), rb_obj_clone(), rb_obj_dup(), rb_obj_extend(), rb_obj_init_dup_clone(), rb_obj_inspect(), rb_obj_not_equal(), rb_obj_not_match(), rb_obj_respond_to(), rb_range_values(), rb_str_cmp_m(), rb_str_match(), rb_str_sum(), rb_str_upto(), rb_strftime_with_timespec(), rb_syck_load_handler(), readline_attempted_completion_function(), recursive_cmp(), reduce0(), rescue_callback(), set_backtrace(), set_max_block_time(), set_option_encoding_once(), shift(), slicebefore_i(), slicebefore_ii(), sockopt_unpack(), sort_2(), sort_by_cmp(), step_i(), sub(), syck_badalias_cmp(), syck_defaultresolver_node_import(), syck_emitter_emit(), syck_emitter_node_export(), syck_emitter_s_alloc(), syck_genericresolver_node_import(), syck_map_add_m(), syck_map_initialize(), syck_map_value_set(), syck_merge_i(), syck_node_transform(), syck_out_map(), syck_out_scalar(), syck_out_seq(), syck_parser_bufsize_set(), syck_parser_load_documents(), syck_resolver_node_import(), syck_resolver_transfer(), syck_scalar_initialize(), syck_seq_add_m(), syck_seq_initialize(), syck_set_model(), sym_step_i(), syserr_eqq(), tcl2rb_bool(), tcl_protect_core(), time_cmp(), time_timespec(), tk_funcall(), tk_install_cmd_core(), TkStringValue(), to_strkey(), w_object(), wadd(), wcmp(), wdivmod(), weq(), wmul(), wquo(), writer(), wsub(), and yaml_org_handler().
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 648 of file vm_eval.c.
References CALL_FCALL, and rb_call().
Referenced by asn1time_to_time(), bug_funcall(), callback(), check_funcall_exec(), cleanup_iseq_build(), dir_open_dir(), GetVpValue(), map_charset(), marshal_dump(), marshal_load(), method_missing(), nucomp_f_complex(), nurat_f_rational(), r_byte(), r_bytes0(), random_equal(), random_rand(), range_values(), rb_digest_class_s_bubblebabble(), rb_digest_class_s_hexdigest(), rb_dl_callback_char_0_0_cdecl(), rb_dl_callback_char_0_1_cdecl(), rb_dl_callback_char_0_2_cdecl(), rb_dl_callback_char_0_3_cdecl(), rb_dl_callback_char_0_4_cdecl(), rb_dl_callback_char_10_0_cdecl(), rb_dl_callback_char_10_1_cdecl(), rb_dl_callback_char_10_2_cdecl(), rb_dl_callback_char_10_3_cdecl(), rb_dl_callback_char_10_4_cdecl(), rb_dl_callback_char_11_0_cdecl(), rb_dl_callback_char_11_1_cdecl(), rb_dl_callback_char_11_2_cdecl(), rb_dl_callback_char_11_3_cdecl(), rb_dl_callback_char_11_4_cdecl(), rb_dl_callback_char_12_0_cdecl(), rb_dl_callback_char_12_1_cdecl(), rb_dl_callback_char_12_2_cdecl(), rb_dl_callback_char_12_3_cdecl(), rb_dl_callback_char_12_4_cdecl(), rb_dl_callback_char_13_0_cdecl(), rb_dl_callback_char_13_1_cdecl(), rb_dl_callback_char_13_2_cdecl(), rb_dl_callback_char_13_3_cdecl(), rb_dl_callback_char_13_4_cdecl(), rb_dl_callback_char_14_0_cdecl(), rb_dl_callback_char_14_1_cdecl(), rb_dl_callback_char_14_2_cdecl(), rb_dl_callback_char_14_3_cdecl(), rb_dl_callback_char_14_4_cdecl(), rb_dl_callback_char_15_0_cdecl(), rb_dl_callback_char_15_1_cdecl(), rb_dl_callback_char_15_2_cdecl(), rb_dl_callback_char_15_3_cdecl(), rb_dl_callback_char_15_4_cdecl(), rb_dl_callback_char_16_0_cdecl(), rb_dl_callback_char_16_1_cdecl(), rb_dl_callback_char_16_2_cdecl(), rb_dl_callback_char_16_3_cdecl(), rb_dl_callback_char_16_4_cdecl(), rb_dl_callback_char_17_0_cdecl(), rb_dl_callback_char_17_1_cdecl(), rb_dl_callback_char_17_2_cdecl(), rb_dl_callback_char_17_3_cdecl(), rb_dl_callback_char_17_4_cdecl(), rb_dl_callback_char_18_0_cdecl(), rb_dl_callback_char_18_1_cdecl(), rb_dl_callback_char_18_2_cdecl(), rb_dl_callback_char_18_3_cdecl(), rb_dl_callback_char_18_4_cdecl(), rb_dl_callback_char_19_0_cdecl(), rb_dl_callback_char_19_1_cdecl(), rb_dl_callback_char_19_2_cdecl(), rb_dl_callback_char_19_3_cdecl(), rb_dl_callback_char_19_4_cdecl(), rb_dl_callback_char_1_0_cdecl(), rb_dl_callback_char_1_1_cdecl(), rb_dl_callback_char_1_2_cdecl(), rb_dl_callback_char_1_3_cdecl(), rb_dl_callback_char_1_4_cdecl(), rb_dl_callback_char_2_0_cdecl(), rb_dl_callback_char_2_1_cdecl(), rb_dl_callback_char_2_2_cdecl(), rb_dl_callback_char_2_3_cdecl(), rb_dl_callback_char_2_4_cdecl(), rb_dl_callback_char_3_0_cdecl(), rb_dl_callback_char_3_1_cdecl(), rb_dl_callback_char_3_2_cdecl(), rb_dl_callback_char_3_3_cdecl(), rb_dl_callback_char_3_4_cdecl(), rb_dl_callback_char_4_0_cdecl(), rb_dl_callback_char_4_1_cdecl(), rb_dl_callback_char_4_2_cdecl(), rb_dl_callback_char_4_3_cdecl(), rb_dl_callback_char_4_4_cdecl(), rb_dl_callback_char_5_0_cdecl(), rb_dl_callback_char_5_1_cdecl(), rb_dl_callback_char_5_2_cdecl(), rb_dl_callback_char_5_3_cdecl(), rb_dl_callback_char_5_4_cdecl(), rb_dl_callback_char_6_0_cdecl(), rb_dl_callback_char_6_1_cdecl(), rb_dl_callback_char_6_2_cdecl(), rb_dl_callback_char_6_3_cdecl(), rb_dl_callback_char_6_4_cdecl(), rb_dl_callback_char_7_0_cdecl(), rb_dl_callback_char_7_1_cdecl(), rb_dl_callback_char_7_2_cdecl(), rb_dl_callback_char_7_3_cdecl(), rb_dl_callback_char_7_4_cdecl(), rb_dl_callback_char_8_0_cdecl(), rb_dl_callback_char_8_1_cdecl(), rb_dl_callback_char_8_2_cdecl(), rb_dl_callback_char_8_3_cdecl(), rb_dl_callback_char_8_4_cdecl(), rb_dl_callback_char_9_0_cdecl(), rb_dl_callback_char_9_1_cdecl(), rb_dl_callback_char_9_2_cdecl(), rb_dl_callback_char_9_3_cdecl(), rb_dl_callback_char_9_4_cdecl(), rb_dl_callback_double_0_0_cdecl(), rb_dl_callback_double_0_1_cdecl(), rb_dl_callback_double_0_2_cdecl(), rb_dl_callback_double_0_3_cdecl(), rb_dl_callback_double_0_4_cdecl(), rb_dl_callback_double_10_0_cdecl(), rb_dl_callback_double_10_1_cdecl(), rb_dl_callback_double_10_2_cdecl(), rb_dl_callback_double_10_3_cdecl(), rb_dl_callback_double_10_4_cdecl(), rb_dl_callback_double_11_0_cdecl(), rb_dl_callback_double_11_1_cdecl(), rb_dl_callback_double_11_2_cdecl(), rb_dl_callback_double_11_3_cdecl(), rb_dl_callback_double_11_4_cdecl(), rb_dl_callback_double_12_0_cdecl(), rb_dl_callback_double_12_1_cdecl(), rb_dl_callback_double_12_2_cdecl(), rb_dl_callback_double_12_3_cdecl(), rb_dl_callback_double_12_4_cdecl(), rb_dl_callback_double_13_0_cdecl(), rb_dl_callback_double_13_1_cdecl(), rb_dl_callback_double_13_2_cdecl(), rb_dl_callback_double_13_3_cdecl(), rb_dl_callback_double_13_4_cdecl(), rb_dl_callback_double_14_0_cdecl(), rb_dl_callback_double_14_1_cdecl(), rb_dl_callback_double_14_2_cdecl(), rb_dl_callback_double_14_3_cdecl(), rb_dl_callback_double_14_4_cdecl(), rb_dl_callback_double_15_0_cdecl(), rb_dl_callback_double_15_1_cdecl(), rb_dl_callback_double_15_2_cdecl(), rb_dl_callback_double_15_3_cdecl(), rb_dl_callback_double_15_4_cdecl(), rb_dl_callback_double_16_0_cdecl(), rb_dl_callback_double_16_1_cdecl(), rb_dl_callback_double_16_2_cdecl(), rb_dl_callback_double_16_3_cdecl(), rb_dl_callback_double_16_4_cdecl(), rb_dl_callback_double_17_0_cdecl(), rb_dl_callback_double_17_1_cdecl(), rb_dl_callback_double_17_2_cdecl(), rb_dl_callback_double_17_3_cdecl(), rb_dl_callback_double_17_4_cdecl(), rb_dl_callback_double_18_0_cdecl(), rb_dl_callback_double_18_1_cdecl(), rb_dl_callback_double_18_2_cdecl(), rb_dl_callback_double_18_3_cdecl(), rb_dl_callback_double_18_4_cdecl(), rb_dl_callback_double_19_0_cdecl(), rb_dl_callback_double_19_1_cdecl(), rb_dl_callback_double_19_2_cdecl(), rb_dl_callback_double_19_3_cdecl(), rb_dl_callback_double_19_4_cdecl(), rb_dl_callback_double_1_0_cdecl(), rb_dl_callback_double_1_1_cdecl(), rb_dl_callback_double_1_2_cdecl(), rb_dl_callback_double_1_3_cdecl(), rb_dl_callback_double_1_4_cdecl(), rb_dl_callback_double_2_0_cdecl(), rb_dl_callback_double_2_1_cdecl(), rb_dl_callback_double_2_2_cdecl(), rb_dl_callback_double_2_3_cdecl(), rb_dl_callback_double_2_4_cdecl(), rb_dl_callback_double_3_0_cdecl(), rb_dl_callback_double_3_1_cdecl(), rb_dl_callback_double_3_2_cdecl(), rb_dl_callback_double_3_3_cdecl(), rb_dl_callback_double_3_4_cdecl(), rb_dl_callback_double_4_0_cdecl(), rb_dl_callback_double_4_1_cdecl(), rb_dl_callback_double_4_2_cdecl(), rb_dl_callback_double_4_3_cdecl(), rb_dl_callback_double_4_4_cdecl(), rb_dl_callback_double_5_0_cdecl(), rb_dl_callback_double_5_1_cdecl(), rb_dl_callback_double_5_2_cdecl(), rb_dl_callback_double_5_3_cdecl(), rb_dl_callback_double_5_4_cdecl(), rb_dl_callback_double_6_0_cdecl(), rb_dl_callback_double_6_1_cdecl(), rb_dl_callback_double_6_2_cdecl(), rb_dl_callback_double_6_3_cdecl(), rb_dl_callback_double_6_4_cdecl(), rb_dl_callback_double_7_0_cdecl(), rb_dl_callback_double_7_1_cdecl(), rb_dl_callback_double_7_2_cdecl(), rb_dl_callback_double_7_3_cdecl(), rb_dl_callback_double_7_4_cdecl(), rb_dl_callback_double_8_0_cdecl(), rb_dl_callback_double_8_1_cdecl(), rb_dl_callback_double_8_2_cdecl(), rb_dl_callback_double_8_3_cdecl(), rb_dl_callback_double_8_4_cdecl(), rb_dl_callback_double_9_0_cdecl(), rb_dl_callback_double_9_1_cdecl(), rb_dl_callback_double_9_2_cdecl(), rb_dl_callback_double_9_3_cdecl(), rb_dl_callback_double_9_4_cdecl(), rb_dl_callback_float_0_0_cdecl(), rb_dl_callback_float_0_1_cdecl(), rb_dl_callback_float_0_2_cdecl(), rb_dl_callback_float_0_3_cdecl(), rb_dl_callback_float_0_4_cdecl(), rb_dl_callback_float_10_0_cdecl(), rb_dl_callback_float_10_1_cdecl(), rb_dl_callback_float_10_2_cdecl(), rb_dl_callback_float_10_3_cdecl(), rb_dl_callback_float_10_4_cdecl(), rb_dl_callback_float_11_0_cdecl(), rb_dl_callback_float_11_1_cdecl(), rb_dl_callback_float_11_2_cdecl(), rb_dl_callback_float_11_3_cdecl(), rb_dl_callback_float_11_4_cdecl(), rb_dl_callback_float_12_0_cdecl(), rb_dl_callback_float_12_1_cdecl(), rb_dl_callback_float_12_2_cdecl(), rb_dl_callback_float_12_3_cdecl(), rb_dl_callback_float_12_4_cdecl(), rb_dl_callback_float_13_0_cdecl(), rb_dl_callback_float_13_1_cdecl(), rb_dl_callback_float_13_2_cdecl(), rb_dl_callback_float_13_3_cdecl(), rb_dl_callback_float_13_4_cdecl(), rb_dl_callback_float_14_0_cdecl(), rb_dl_callback_float_14_1_cdecl(), rb_dl_callback_float_14_2_cdecl(), rb_dl_callback_float_14_3_cdecl(), rb_dl_callback_float_14_4_cdecl(), rb_dl_callback_float_15_0_cdecl(), rb_dl_callback_float_15_1_cdecl(), rb_dl_callback_float_15_2_cdecl(), rb_dl_callback_float_15_3_cdecl(), rb_dl_callback_float_15_4_cdecl(), rb_dl_callback_float_16_0_cdecl(), rb_dl_callback_float_16_1_cdecl(), rb_dl_callback_float_16_2_cdecl(), rb_dl_callback_float_16_3_cdecl(), rb_dl_callback_float_16_4_cdecl(), rb_dl_callback_float_17_0_cdecl(), rb_dl_callback_float_17_1_cdecl(), rb_dl_callback_float_17_2_cdecl(), rb_dl_callback_float_17_3_cdecl(), rb_dl_callback_float_17_4_cdecl(), rb_dl_callback_float_18_0_cdecl(), rb_dl_callback_float_18_1_cdecl(), rb_dl_callback_float_18_2_cdecl(), rb_dl_callback_float_18_3_cdecl(), rb_dl_callback_float_18_4_cdecl(), rb_dl_callback_float_19_0_cdecl(), rb_dl_callback_float_19_1_cdecl(), rb_dl_callback_float_19_2_cdecl(), rb_dl_callback_float_19_3_cdecl(), rb_dl_callback_float_19_4_cdecl(), rb_dl_callback_float_1_0_cdecl(), rb_dl_callback_float_1_1_cdecl(), rb_dl_callback_float_1_2_cdecl(), rb_dl_callback_float_1_3_cdecl(), rb_dl_callback_float_1_4_cdecl(), rb_dl_callback_float_2_0_cdecl(), rb_dl_callback_float_2_1_cdecl(), rb_dl_callback_float_2_2_cdecl(), rb_dl_callback_float_2_3_cdecl(), rb_dl_callback_float_2_4_cdecl(), rb_dl_callback_float_3_0_cdecl(), rb_dl_callback_float_3_1_cdecl(), rb_dl_callback_float_3_2_cdecl(), rb_dl_callback_float_3_3_cdecl(), rb_dl_callback_float_3_4_cdecl(), rb_dl_callback_float_4_0_cdecl(), rb_dl_callback_float_4_1_cdecl(), rb_dl_callback_float_4_2_cdecl(), rb_dl_callback_float_4_3_cdecl(), rb_dl_callback_float_4_4_cdecl(), rb_dl_callback_float_5_0_cdecl(), rb_dl_callback_float_5_1_cdecl(), rb_dl_callback_float_5_2_cdecl(), rb_dl_callback_float_5_3_cdecl(), rb_dl_callback_float_5_4_cdecl(), rb_dl_callback_float_6_0_cdecl(), rb_dl_callback_float_6_1_cdecl(), rb_dl_callback_float_6_2_cdecl(), rb_dl_callback_float_6_3_cdecl(), rb_dl_callback_float_6_4_cdecl(), rb_dl_callback_float_7_0_cdecl(), rb_dl_callback_float_7_1_cdecl(), rb_dl_callback_float_7_2_cdecl(), rb_dl_callback_float_7_3_cdecl(), rb_dl_callback_float_7_4_cdecl(), rb_dl_callback_float_8_0_cdecl(), rb_dl_callback_float_8_1_cdecl(), rb_dl_callback_float_8_2_cdecl(), rb_dl_callback_float_8_3_cdecl(), rb_dl_callback_float_8_4_cdecl(), rb_dl_callback_float_9_0_cdecl(), rb_dl_callback_float_9_1_cdecl(), rb_dl_callback_float_9_2_cdecl(), rb_dl_callback_float_9_3_cdecl(), rb_dl_callback_float_9_4_cdecl(), rb_dl_callback_int_0_0_cdecl(), rb_dl_callback_int_0_1_cdecl(), rb_dl_callback_int_0_2_cdecl(), rb_dl_callback_int_0_3_cdecl(), rb_dl_callback_int_0_4_cdecl(), rb_dl_callback_int_10_0_cdecl(), rb_dl_callback_int_10_1_cdecl(), rb_dl_callback_int_10_2_cdecl(), rb_dl_callback_int_10_3_cdecl(), rb_dl_callback_int_10_4_cdecl(), rb_dl_callback_int_11_0_cdecl(), rb_dl_callback_int_11_1_cdecl(), rb_dl_callback_int_11_2_cdecl(), rb_dl_callback_int_11_3_cdecl(), rb_dl_callback_int_11_4_cdecl(), rb_dl_callback_int_12_0_cdecl(), rb_dl_callback_int_12_1_cdecl(), rb_dl_callback_int_12_2_cdecl(), rb_dl_callback_int_12_3_cdecl(), rb_dl_callback_int_12_4_cdecl(), rb_dl_callback_int_13_0_cdecl(), rb_dl_callback_int_13_1_cdecl(), rb_dl_callback_int_13_2_cdecl(), rb_dl_callback_int_13_3_cdecl(), rb_dl_callback_int_13_4_cdecl(), rb_dl_callback_int_14_0_cdecl(), rb_dl_callback_int_14_1_cdecl(), rb_dl_callback_int_14_2_cdecl(), rb_dl_callback_int_14_3_cdecl(), rb_dl_callback_int_14_4_cdecl(), rb_dl_callback_int_15_0_cdecl(), rb_dl_callback_int_15_1_cdecl(), rb_dl_callback_int_15_2_cdecl(), rb_dl_callback_int_15_3_cdecl(), rb_dl_callback_int_15_4_cdecl(), rb_dl_callback_int_16_0_cdecl(), rb_dl_callback_int_16_1_cdecl(), rb_dl_callback_int_16_2_cdecl(), rb_dl_callback_int_16_3_cdecl(), rb_dl_callback_int_16_4_cdecl(), rb_dl_callback_int_17_0_cdecl(), rb_dl_callback_int_17_1_cdecl(), rb_dl_callback_int_17_2_cdecl(), rb_dl_callback_int_17_3_cdecl(), rb_dl_callback_int_17_4_cdecl(), rb_dl_callback_int_18_0_cdecl(), rb_dl_callback_int_18_1_cdecl(), rb_dl_callback_int_18_2_cdecl(), rb_dl_callback_int_18_3_cdecl(), rb_dl_callback_int_18_4_cdecl(), rb_dl_callback_int_19_0_cdecl(), rb_dl_callback_int_19_1_cdecl(), rb_dl_callback_int_19_2_cdecl(), rb_dl_callback_int_19_3_cdecl(), rb_dl_callback_int_19_4_cdecl(), rb_dl_callback_int_1_0_cdecl(), rb_dl_callback_int_1_1_cdecl(), rb_dl_callback_int_1_2_cdecl(), rb_dl_callback_int_1_3_cdecl(), rb_dl_callback_int_1_4_cdecl(), rb_dl_callback_int_2_0_cdecl(), rb_dl_callback_int_2_1_cdecl(), rb_dl_callback_int_2_2_cdecl(), rb_dl_callback_int_2_3_cdecl(), rb_dl_callback_int_2_4_cdecl(), rb_dl_callback_int_3_0_cdecl(), rb_dl_callback_int_3_1_cdecl(), rb_dl_callback_int_3_2_cdecl(), rb_dl_callback_int_3_3_cdecl(), rb_dl_callback_int_3_4_cdecl(), rb_dl_callback_int_4_0_cdecl(), rb_dl_callback_int_4_1_cdecl(), rb_dl_callback_int_4_2_cdecl(), rb_dl_callback_int_4_3_cdecl(), rb_dl_callback_int_4_4_cdecl(), rb_dl_callback_int_5_0_cdecl(), rb_dl_callback_int_5_1_cdecl(), rb_dl_callback_int_5_2_cdecl(), rb_dl_callback_int_5_3_cdecl(), rb_dl_callback_int_5_4_cdecl(), rb_dl_callback_int_6_0_cdecl(), rb_dl_callback_int_6_1_cdecl(), rb_dl_callback_int_6_2_cdecl(), rb_dl_callback_int_6_3_cdecl(), rb_dl_callback_int_6_4_cdecl(), rb_dl_callback_int_7_0_cdecl(), rb_dl_callback_int_7_1_cdecl(), rb_dl_callback_int_7_2_cdecl(), rb_dl_callback_int_7_3_cdecl(), rb_dl_callback_int_7_4_cdecl(), rb_dl_callback_int_8_0_cdecl(), rb_dl_callback_int_8_1_cdecl(), rb_dl_callback_int_8_2_cdecl(), rb_dl_callback_int_8_3_cdecl(), rb_dl_callback_int_8_4_cdecl(), rb_dl_callback_int_9_0_cdecl(), rb_dl_callback_int_9_1_cdecl(), rb_dl_callback_int_9_2_cdecl(), rb_dl_callback_int_9_3_cdecl(), rb_dl_callback_int_9_4_cdecl(), rb_dl_callback_long_0_0_cdecl(), rb_dl_callback_long_0_1_cdecl(), rb_dl_callback_long_0_2_cdecl(), rb_dl_callback_long_0_3_cdecl(), rb_dl_callback_long_0_4_cdecl(), rb_dl_callback_long_10_0_cdecl(), rb_dl_callback_long_10_1_cdecl(), rb_dl_callback_long_10_2_cdecl(), rb_dl_callback_long_10_3_cdecl(), rb_dl_callback_long_10_4_cdecl(), rb_dl_callback_long_11_0_cdecl(), rb_dl_callback_long_11_1_cdecl(), rb_dl_callback_long_11_2_cdecl(), rb_dl_callback_long_11_3_cdecl(), rb_dl_callback_long_11_4_cdecl(), rb_dl_callback_long_12_0_cdecl(), rb_dl_callback_long_12_1_cdecl(), rb_dl_callback_long_12_2_cdecl(), rb_dl_callback_long_12_3_cdecl(), rb_dl_callback_long_12_4_cdecl(), rb_dl_callback_long_13_0_cdecl(), rb_dl_callback_long_13_1_cdecl(), rb_dl_callback_long_13_2_cdecl(), rb_dl_callback_long_13_3_cdecl(), rb_dl_callback_long_13_4_cdecl(), rb_dl_callback_long_14_0_cdecl(), rb_dl_callback_long_14_1_cdecl(), rb_dl_callback_long_14_2_cdecl(), rb_dl_callback_long_14_3_cdecl(), rb_dl_callback_long_14_4_cdecl(), rb_dl_callback_long_15_0_cdecl(), rb_dl_callback_long_15_1_cdecl(), rb_dl_callback_long_15_2_cdecl(), rb_dl_callback_long_15_3_cdecl(), rb_dl_callback_long_15_4_cdecl(), rb_dl_callback_long_16_0_cdecl(), rb_dl_callback_long_16_1_cdecl(), rb_dl_callback_long_16_2_cdecl(), rb_dl_callback_long_16_3_cdecl(), rb_dl_callback_long_16_4_cdecl(), rb_dl_callback_long_17_0_cdecl(), rb_dl_callback_long_17_1_cdecl(), rb_dl_callback_long_17_2_cdecl(), rb_dl_callback_long_17_3_cdecl(), rb_dl_callback_long_17_4_cdecl(), rb_dl_callback_long_18_0_cdecl(), rb_dl_callback_long_18_1_cdecl(), rb_dl_callback_long_18_2_cdecl(), rb_dl_callback_long_18_3_cdecl(), rb_dl_callback_long_18_4_cdecl(), rb_dl_callback_long_19_0_cdecl(), rb_dl_callback_long_19_1_cdecl(), rb_dl_callback_long_19_2_cdecl(), rb_dl_callback_long_19_3_cdecl(), rb_dl_callback_long_19_4_cdecl(), rb_dl_callback_long_1_0_cdecl(), rb_dl_callback_long_1_1_cdecl(), rb_dl_callback_long_1_2_cdecl(), rb_dl_callback_long_1_3_cdecl(), rb_dl_callback_long_1_4_cdecl(), rb_dl_callback_long_2_0_cdecl(), rb_dl_callback_long_2_1_cdecl(), rb_dl_callback_long_2_2_cdecl(), rb_dl_callback_long_2_3_cdecl(), rb_dl_callback_long_2_4_cdecl(), rb_dl_callback_long_3_0_cdecl(), rb_dl_callback_long_3_1_cdecl(), rb_dl_callback_long_3_2_cdecl(), rb_dl_callback_long_3_3_cdecl(), rb_dl_callback_long_3_4_cdecl(), rb_dl_callback_long_4_0_cdecl(), rb_dl_callback_long_4_1_cdecl(), rb_dl_callback_long_4_2_cdecl(), rb_dl_callback_long_4_3_cdecl(), rb_dl_callback_long_4_4_cdecl(), rb_dl_callback_long_5_0_cdecl(), rb_dl_callback_long_5_1_cdecl(), rb_dl_callback_long_5_2_cdecl(), rb_dl_callback_long_5_3_cdecl(), rb_dl_callback_long_5_4_cdecl(), rb_dl_callback_long_6_0_cdecl(), rb_dl_callback_long_6_1_cdecl(), rb_dl_callback_long_6_2_cdecl(), rb_dl_callback_long_6_3_cdecl(), rb_dl_callback_long_6_4_cdecl(), rb_dl_callback_long_7_0_cdecl(), rb_dl_callback_long_7_1_cdecl(), rb_dl_callback_long_7_2_cdecl(), rb_dl_callback_long_7_3_cdecl(), rb_dl_callback_long_7_4_cdecl(), rb_dl_callback_long_8_0_cdecl(), rb_dl_callback_long_8_1_cdecl(), rb_dl_callback_long_8_2_cdecl(), rb_dl_callback_long_8_3_cdecl(), rb_dl_callback_long_8_4_cdecl(), rb_dl_callback_long_9_0_cdecl(), rb_dl_callback_long_9_1_cdecl(), rb_dl_callback_long_9_2_cdecl(), rb_dl_callback_long_9_3_cdecl(), rb_dl_callback_long_9_4_cdecl(), rb_dl_callback_long_long_0_0_cdecl(), rb_dl_callback_long_long_0_1_cdecl(), rb_dl_callback_long_long_0_2_cdecl(), rb_dl_callback_long_long_0_3_cdecl(), rb_dl_callback_long_long_0_4_cdecl(), rb_dl_callback_long_long_10_0_cdecl(), rb_dl_callback_long_long_10_1_cdecl(), rb_dl_callback_long_long_10_2_cdecl(), rb_dl_callback_long_long_10_3_cdecl(), rb_dl_callback_long_long_10_4_cdecl(), rb_dl_callback_long_long_11_0_cdecl(), rb_dl_callback_long_long_11_1_cdecl(), rb_dl_callback_long_long_11_2_cdecl(), rb_dl_callback_long_long_11_3_cdecl(), rb_dl_callback_long_long_11_4_cdecl(), rb_dl_callback_long_long_12_0_cdecl(), rb_dl_callback_long_long_12_1_cdecl(), rb_dl_callback_long_long_12_2_cdecl(), rb_dl_callback_long_long_12_3_cdecl(), rb_dl_callback_long_long_12_4_cdecl(), rb_dl_callback_long_long_13_0_cdecl(), rb_dl_callback_long_long_13_1_cdecl(), rb_dl_callback_long_long_13_2_cdecl(), rb_dl_callback_long_long_13_3_cdecl(), rb_dl_callback_long_long_13_4_cdecl(), rb_dl_callback_long_long_14_0_cdecl(), rb_dl_callback_long_long_14_1_cdecl(), rb_dl_callback_long_long_14_2_cdecl(), rb_dl_callback_long_long_14_3_cdecl(), rb_dl_callback_long_long_14_4_cdecl(), rb_dl_callback_long_long_15_0_cdecl(), rb_dl_callback_long_long_15_1_cdecl(), rb_dl_callback_long_long_15_2_cdecl(), rb_dl_callback_long_long_15_3_cdecl(), rb_dl_callback_long_long_15_4_cdecl(), rb_dl_callback_long_long_16_0_cdecl(), rb_dl_callback_long_long_16_1_cdecl(), rb_dl_callback_long_long_16_2_cdecl(), rb_dl_callback_long_long_16_3_cdecl(), rb_dl_callback_long_long_16_4_cdecl(), rb_dl_callback_long_long_17_0_cdecl(), rb_dl_callback_long_long_17_1_cdecl(), rb_dl_callback_long_long_17_2_cdecl(), rb_dl_callback_long_long_17_3_cdecl(), rb_dl_callback_long_long_17_4_cdecl(), rb_dl_callback_long_long_18_0_cdecl(), rb_dl_callback_long_long_18_1_cdecl(), rb_dl_callback_long_long_18_2_cdecl(), rb_dl_callback_long_long_18_3_cdecl(), rb_dl_callback_long_long_18_4_cdecl(), rb_dl_callback_long_long_19_0_cdecl(), rb_dl_callback_long_long_19_1_cdecl(), rb_dl_callback_long_long_19_2_cdecl(), rb_dl_callback_long_long_19_3_cdecl(), rb_dl_callback_long_long_19_4_cdecl(), rb_dl_callback_long_long_1_0_cdecl(), rb_dl_callback_long_long_1_1_cdecl(), rb_dl_callback_long_long_1_2_cdecl(), rb_dl_callback_long_long_1_3_cdecl(), rb_dl_callback_long_long_1_4_cdecl(), rb_dl_callback_long_long_2_0_cdecl(), rb_dl_callback_long_long_2_1_cdecl(), rb_dl_callback_long_long_2_2_cdecl(), rb_dl_callback_long_long_2_3_cdecl(), rb_dl_callback_long_long_2_4_cdecl(), rb_dl_callback_long_long_3_0_cdecl(), rb_dl_callback_long_long_3_1_cdecl(), rb_dl_callback_long_long_3_2_cdecl(), rb_dl_callback_long_long_3_3_cdecl(), rb_dl_callback_long_long_3_4_cdecl(), rb_dl_callback_long_long_4_0_cdecl(), rb_dl_callback_long_long_4_1_cdecl(), rb_dl_callback_long_long_4_2_cdecl(), rb_dl_callback_long_long_4_3_cdecl(), rb_dl_callback_long_long_4_4_cdecl(), rb_dl_callback_long_long_5_0_cdecl(), rb_dl_callback_long_long_5_1_cdecl(), rb_dl_callback_long_long_5_2_cdecl(), rb_dl_callback_long_long_5_3_cdecl(), rb_dl_callback_long_long_5_4_cdecl(), rb_dl_callback_long_long_6_0_cdecl(), rb_dl_callback_long_long_6_1_cdecl(), rb_dl_callback_long_long_6_2_cdecl(), rb_dl_callback_long_long_6_3_cdecl(), rb_dl_callback_long_long_6_4_cdecl(), rb_dl_callback_long_long_7_0_cdecl(), rb_dl_callback_long_long_7_1_cdecl(), rb_dl_callback_long_long_7_2_cdecl(), rb_dl_callback_long_long_7_3_cdecl(), rb_dl_callback_long_long_7_4_cdecl(), rb_dl_callback_long_long_8_0_cdecl(), rb_dl_callback_long_long_8_1_cdecl(), rb_dl_callback_long_long_8_2_cdecl(), rb_dl_callback_long_long_8_3_cdecl(), rb_dl_callback_long_long_8_4_cdecl(), rb_dl_callback_long_long_9_0_cdecl(), rb_dl_callback_long_long_9_1_cdecl(), rb_dl_callback_long_long_9_2_cdecl(), rb_dl_callback_long_long_9_3_cdecl(), rb_dl_callback_long_long_9_4_cdecl(), rb_dl_callback_ptr_0_0_cdecl(), rb_dl_callback_ptr_0_1_cdecl(), rb_dl_callback_ptr_0_2_cdecl(), rb_dl_callback_ptr_0_3_cdecl(), rb_dl_callback_ptr_0_4_cdecl(), rb_dl_callback_ptr_10_0_cdecl(), rb_dl_callback_ptr_10_1_cdecl(), rb_dl_callback_ptr_10_2_cdecl(), rb_dl_callback_ptr_10_3_cdecl(), rb_dl_callback_ptr_10_4_cdecl(), rb_dl_callback_ptr_11_0_cdecl(), rb_dl_callback_ptr_11_1_cdecl(), rb_dl_callback_ptr_11_2_cdecl(), rb_dl_callback_ptr_11_3_cdecl(), rb_dl_callback_ptr_11_4_cdecl(), rb_dl_callback_ptr_12_0_cdecl(), rb_dl_callback_ptr_12_1_cdecl(), rb_dl_callback_ptr_12_2_cdecl(), rb_dl_callback_ptr_12_3_cdecl(), rb_dl_callback_ptr_12_4_cdecl(), rb_dl_callback_ptr_13_0_cdecl(), rb_dl_callback_ptr_13_1_cdecl(), rb_dl_callback_ptr_13_2_cdecl(), rb_dl_callback_ptr_13_3_cdecl(), rb_dl_callback_ptr_13_4_cdecl(), rb_dl_callback_ptr_14_0_cdecl(), rb_dl_callback_ptr_14_1_cdecl(), rb_dl_callback_ptr_14_2_cdecl(), rb_dl_callback_ptr_14_3_cdecl(), rb_dl_callback_ptr_14_4_cdecl(), rb_dl_callback_ptr_15_0_cdecl(), rb_dl_callback_ptr_15_1_cdecl(), rb_dl_callback_ptr_15_2_cdecl(), rb_dl_callback_ptr_15_3_cdecl(), rb_dl_callback_ptr_15_4_cdecl(), rb_dl_callback_ptr_16_0_cdecl(), rb_dl_callback_ptr_16_1_cdecl(), rb_dl_callback_ptr_16_2_cdecl(), rb_dl_callback_ptr_16_3_cdecl(), rb_dl_callback_ptr_16_4_cdecl(), rb_dl_callback_ptr_17_0_cdecl(), rb_dl_callback_ptr_17_1_cdecl(), rb_dl_callback_ptr_17_2_cdecl(), rb_dl_callback_ptr_17_3_cdecl(), rb_dl_callback_ptr_17_4_cdecl(), rb_dl_callback_ptr_18_0_cdecl(), rb_dl_callback_ptr_18_1_cdecl(), rb_dl_callback_ptr_18_2_cdecl(), rb_dl_callback_ptr_18_3_cdecl(), rb_dl_callback_ptr_18_4_cdecl(), rb_dl_callback_ptr_19_0_cdecl(), rb_dl_callback_ptr_19_1_cdecl(), rb_dl_callback_ptr_19_2_cdecl(), rb_dl_callback_ptr_19_3_cdecl(), rb_dl_callback_ptr_19_4_cdecl(), rb_dl_callback_ptr_1_0_cdecl(), rb_dl_callback_ptr_1_1_cdecl(), rb_dl_callback_ptr_1_2_cdecl(), rb_dl_callback_ptr_1_3_cdecl(), rb_dl_callback_ptr_1_4_cdecl(), rb_dl_callback_ptr_2_0_cdecl(), rb_dl_callback_ptr_2_1_cdecl(), rb_dl_callback_ptr_2_2_cdecl(), rb_dl_callback_ptr_2_3_cdecl(), rb_dl_callback_ptr_2_4_cdecl(), rb_dl_callback_ptr_3_0_cdecl(), rb_dl_callback_ptr_3_1_cdecl(), rb_dl_callback_ptr_3_2_cdecl(), rb_dl_callback_ptr_3_3_cdecl(), rb_dl_callback_ptr_3_4_cdecl(), rb_dl_callback_ptr_4_0_cdecl(), rb_dl_callback_ptr_4_1_cdecl(), rb_dl_callback_ptr_4_2_cdecl(), rb_dl_callback_ptr_4_3_cdecl(), rb_dl_callback_ptr_4_4_cdecl(), rb_dl_callback_ptr_5_0_cdecl(), rb_dl_callback_ptr_5_1_cdecl(), rb_dl_callback_ptr_5_2_cdecl(), rb_dl_callback_ptr_5_3_cdecl(), rb_dl_callback_ptr_5_4_cdecl(), rb_dl_callback_ptr_6_0_cdecl(), rb_dl_callback_ptr_6_1_cdecl(), rb_dl_callback_ptr_6_2_cdecl(), rb_dl_callback_ptr_6_3_cdecl(), rb_dl_callback_ptr_6_4_cdecl(), rb_dl_callback_ptr_7_0_cdecl(), rb_dl_callback_ptr_7_1_cdecl(), rb_dl_callback_ptr_7_2_cdecl(), rb_dl_callback_ptr_7_3_cdecl(), rb_dl_callback_ptr_7_4_cdecl(), rb_dl_callback_ptr_8_0_cdecl(), rb_dl_callback_ptr_8_1_cdecl(), rb_dl_callback_ptr_8_2_cdecl(), rb_dl_callback_ptr_8_3_cdecl(), rb_dl_callback_ptr_8_4_cdecl(), rb_dl_callback_ptr_9_0_cdecl(), rb_dl_callback_ptr_9_1_cdecl(), rb_dl_callback_ptr_9_2_cdecl(), rb_dl_callback_ptr_9_3_cdecl(), rb_dl_callback_ptr_9_4_cdecl(), rb_dl_callback_short_0_0_cdecl(), rb_dl_callback_short_0_1_cdecl(), rb_dl_callback_short_0_2_cdecl(), rb_dl_callback_short_0_3_cdecl(), rb_dl_callback_short_0_4_cdecl(), rb_dl_callback_short_10_0_cdecl(), rb_dl_callback_short_10_1_cdecl(), rb_dl_callback_short_10_2_cdecl(), rb_dl_callback_short_10_3_cdecl(), rb_dl_callback_short_10_4_cdecl(), rb_dl_callback_short_11_0_cdecl(), rb_dl_callback_short_11_1_cdecl(), rb_dl_callback_short_11_2_cdecl(), rb_dl_callback_short_11_3_cdecl(), rb_dl_callback_short_11_4_cdecl(), rb_dl_callback_short_12_0_cdecl(), rb_dl_callback_short_12_1_cdecl(), rb_dl_callback_short_12_2_cdecl(), rb_dl_callback_short_12_3_cdecl(), rb_dl_callback_short_12_4_cdecl(), rb_dl_callback_short_13_0_cdecl(), rb_dl_callback_short_13_1_cdecl(), rb_dl_callback_short_13_2_cdecl(), rb_dl_callback_short_13_3_cdecl(), rb_dl_callback_short_13_4_cdecl(), rb_dl_callback_short_14_0_cdecl(), rb_dl_callback_short_14_1_cdecl(), rb_dl_callback_short_14_2_cdecl(), rb_dl_callback_short_14_3_cdecl(), rb_dl_callback_short_14_4_cdecl(), rb_dl_callback_short_15_0_cdecl(), rb_dl_callback_short_15_1_cdecl(), rb_dl_callback_short_15_2_cdecl(), rb_dl_callback_short_15_3_cdecl(), rb_dl_callback_short_15_4_cdecl(), rb_dl_callback_short_16_0_cdecl(), rb_dl_callback_short_16_1_cdecl(), rb_dl_callback_short_16_2_cdecl(), rb_dl_callback_short_16_3_cdecl(), rb_dl_callback_short_16_4_cdecl(), rb_dl_callback_short_17_0_cdecl(), rb_dl_callback_short_17_1_cdecl(), rb_dl_callback_short_17_2_cdecl(), rb_dl_callback_short_17_3_cdecl(), rb_dl_callback_short_17_4_cdecl(), rb_dl_callback_short_18_0_cdecl(), rb_dl_callback_short_18_1_cdecl(), rb_dl_callback_short_18_2_cdecl(), rb_dl_callback_short_18_3_cdecl(), rb_dl_callback_short_18_4_cdecl(), rb_dl_callback_short_19_0_cdecl(), rb_dl_callback_short_19_1_cdecl(), rb_dl_callback_short_19_2_cdecl(), rb_dl_callback_short_19_3_cdecl(), rb_dl_callback_short_19_4_cdecl(), rb_dl_callback_short_1_0_cdecl(), rb_dl_callback_short_1_1_cdecl(), rb_dl_callback_short_1_2_cdecl(), rb_dl_callback_short_1_3_cdecl(), rb_dl_callback_short_1_4_cdecl(), rb_dl_callback_short_2_0_cdecl(), rb_dl_callback_short_2_1_cdecl(), rb_dl_callback_short_2_2_cdecl(), rb_dl_callback_short_2_3_cdecl(), rb_dl_callback_short_2_4_cdecl(), rb_dl_callback_short_3_0_cdecl(), rb_dl_callback_short_3_1_cdecl(), rb_dl_callback_short_3_2_cdecl(), rb_dl_callback_short_3_3_cdecl(), rb_dl_callback_short_3_4_cdecl(), rb_dl_callback_short_4_0_cdecl(), rb_dl_callback_short_4_1_cdecl(), rb_dl_callback_short_4_2_cdecl(), rb_dl_callback_short_4_3_cdecl(), rb_dl_callback_short_4_4_cdecl(), rb_dl_callback_short_5_0_cdecl(), rb_dl_callback_short_5_1_cdecl(), rb_dl_callback_short_5_2_cdecl(), rb_dl_callback_short_5_3_cdecl(), rb_dl_callback_short_5_4_cdecl(), rb_dl_callback_short_6_0_cdecl(), rb_dl_callback_short_6_1_cdecl(), rb_dl_callback_short_6_2_cdecl(), rb_dl_callback_short_6_3_cdecl(), rb_dl_callback_short_6_4_cdecl(), rb_dl_callback_short_7_0_cdecl(), rb_dl_callback_short_7_1_cdecl(), rb_dl_callback_short_7_2_cdecl(), rb_dl_callback_short_7_3_cdecl(), rb_dl_callback_short_7_4_cdecl(), rb_dl_callback_short_8_0_cdecl(), rb_dl_callback_short_8_1_cdecl(), rb_dl_callback_short_8_2_cdecl(), rb_dl_callback_short_8_3_cdecl(), rb_dl_callback_short_8_4_cdecl(), rb_dl_callback_short_9_0_cdecl(), rb_dl_callback_short_9_1_cdecl(), rb_dl_callback_short_9_2_cdecl(), rb_dl_callback_short_9_3_cdecl(), rb_dl_callback_short_9_4_cdecl(), rb_dl_callback_void_0_0_cdecl(), rb_dl_callback_void_0_1_cdecl(), rb_dl_callback_void_0_2_cdecl(), rb_dl_callback_void_0_3_cdecl(), rb_dl_callback_void_0_4_cdecl(), rb_dl_callback_void_10_0_cdecl(), rb_dl_callback_void_10_1_cdecl(), rb_dl_callback_void_10_2_cdecl(), rb_dl_callback_void_10_3_cdecl(), rb_dl_callback_void_10_4_cdecl(), rb_dl_callback_void_11_0_cdecl(), rb_dl_callback_void_11_1_cdecl(), rb_dl_callback_void_11_2_cdecl(), rb_dl_callback_void_11_3_cdecl(), rb_dl_callback_void_11_4_cdecl(), rb_dl_callback_void_12_0_cdecl(), rb_dl_callback_void_12_1_cdecl(), rb_dl_callback_void_12_2_cdecl(), rb_dl_callback_void_12_3_cdecl(), rb_dl_callback_void_12_4_cdecl(), rb_dl_callback_void_13_0_cdecl(), rb_dl_callback_void_13_1_cdecl(), rb_dl_callback_void_13_2_cdecl(), rb_dl_callback_void_13_3_cdecl(), rb_dl_callback_void_13_4_cdecl(), rb_dl_callback_void_14_0_cdecl(), rb_dl_callback_void_14_1_cdecl(), rb_dl_callback_void_14_2_cdecl(), rb_dl_callback_void_14_3_cdecl(), rb_dl_callback_void_14_4_cdecl(), rb_dl_callback_void_15_0_cdecl(), rb_dl_callback_void_15_1_cdecl(), rb_dl_callback_void_15_2_cdecl(), rb_dl_callback_void_15_3_cdecl(), rb_dl_callback_void_15_4_cdecl(), rb_dl_callback_void_16_0_cdecl(), rb_dl_callback_void_16_1_cdecl(), rb_dl_callback_void_16_2_cdecl(), rb_dl_callback_void_16_3_cdecl(), rb_dl_callback_void_16_4_cdecl(), rb_dl_callback_void_17_0_cdecl(), rb_dl_callback_void_17_1_cdecl(), rb_dl_callback_void_17_2_cdecl(), rb_dl_callback_void_17_3_cdecl(), rb_dl_callback_void_17_4_cdecl(), rb_dl_callback_void_18_0_cdecl(), rb_dl_callback_void_18_1_cdecl(), rb_dl_callback_void_18_2_cdecl(), rb_dl_callback_void_18_3_cdecl(), rb_dl_callback_void_18_4_cdecl(), rb_dl_callback_void_19_0_cdecl(), rb_dl_callback_void_19_1_cdecl(), rb_dl_callback_void_19_2_cdecl(), rb_dl_callback_void_19_3_cdecl(), rb_dl_callback_void_19_4_cdecl(), rb_dl_callback_void_1_0_cdecl(), rb_dl_callback_void_1_1_cdecl(), rb_dl_callback_void_1_2_cdecl(), rb_dl_callback_void_1_3_cdecl(), rb_dl_callback_void_1_4_cdecl(), rb_dl_callback_void_2_0_cdecl(), rb_dl_callback_void_2_1_cdecl(), rb_dl_callback_void_2_2_cdecl(), rb_dl_callback_void_2_3_cdecl(), rb_dl_callback_void_2_4_cdecl(), rb_dl_callback_void_3_0_cdecl(), rb_dl_callback_void_3_1_cdecl(), rb_dl_callback_void_3_2_cdecl(), rb_dl_callback_void_3_3_cdecl(), rb_dl_callback_void_3_4_cdecl(), rb_dl_callback_void_4_0_cdecl(), rb_dl_callback_void_4_1_cdecl(), rb_dl_callback_void_4_2_cdecl(), rb_dl_callback_void_4_3_cdecl(), rb_dl_callback_void_4_4_cdecl(), rb_dl_callback_void_5_0_cdecl(), rb_dl_callback_void_5_1_cdecl(), rb_dl_callback_void_5_2_cdecl(), rb_dl_callback_void_5_3_cdecl(), rb_dl_callback_void_5_4_cdecl(), rb_dl_callback_void_6_0_cdecl(), rb_dl_callback_void_6_1_cdecl(), rb_dl_callback_void_6_2_cdecl(), rb_dl_callback_void_6_3_cdecl(), rb_dl_callback_void_6_4_cdecl(), rb_dl_callback_void_7_0_cdecl(), rb_dl_callback_void_7_1_cdecl(), rb_dl_callback_void_7_2_cdecl(), rb_dl_callback_void_7_3_cdecl(), rb_dl_callback_void_7_4_cdecl(), rb_dl_callback_void_8_0_cdecl(), rb_dl_callback_void_8_1_cdecl(), rb_dl_callback_void_8_2_cdecl(), rb_dl_callback_void_8_3_cdecl(), rb_dl_callback_void_8_4_cdecl(), rb_dl_callback_void_9_0_cdecl(), rb_dl_callback_void_9_1_cdecl(), rb_dl_callback_void_9_2_cdecl(), rb_dl_callback_void_9_3_cdecl(), rb_dl_callback_void_9_4_cdecl(), 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_obj_call_init(), rb_str_match_m(), rb_syck_io_str_read(), require_libraries(), syck_parser_assign_io(), tk_do_callback(), tk_fromUTF8(), tk_toUTF8(), vm_call0(), vm_call_method(), and vm_method_missing().
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 663 of file vm_eval.c.
References CALL_PUBLIC, and rb_call().
Referenced by argf_close(), argf_forward(), argf_getbyte(), argf_getc(), argf_getline(), argf_readchar(), rb_f_chomp(), rb_f_chop(), rb_f_gsub(), rb_f_sub(), and sym_call().
void rb_gc_register_address | ( | VALUE * | ) |
Definition at line 839 of file gc.c.
References ALLOC, global_List, gc_list::next, and gc_list::varptr.
Referenced by Init_curses(), Init_iconv(), and rb_global_variable().
void rb_gc_register_mark_object | ( | VALUE | ) |
Definition at line 832 of file gc.c.
References GET_THREAD, and rb_ary_push().
Referenced by Init_Encoding(), Init_IO(), Init_load(), Init_marshal(), Init_VM(), Init_win32ole(), make_patterns(), power_cache_get_power0(), ruby_process_options(), and sym_to_proc().
void rb_gc_unregister_address | ( | VALUE * | ) |
Definition at line 851 of file gc.c.
References global_List, gc_list::next, gc_list::varptr, and xfree().
Referenced by curses_finalize().
Definition at line 179 of file file.c.
References rb_get_path_check(), and rb_safe_level.
Referenced by apply2files(), and rb_file_s_path().
Definition at line 173 of file file.c.
References rb_get_path_check().
Definition at line 1539 of file dir.c.
References func, GLOB_JUMP_TAG, rb_ascii8bit_encoding(), and rb_glob2().
void rb_global_variable | ( | VALUE * | ) |
Definition at line 439 of file gc.c.
References rb_gc_register_address().
Referenced by Init_RandomSeed(), Init_Regexp(), Init_syck(), Init_tcltklib(), and Init_tkutil().
VALUE rb_gv_get | ( | const char * | ) |
Definition at line 729 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().
Definition at line 720 of file variable.c.
References global_entry, global_id(), rb_global_entry(), and rb_gvar_set().
Referenced by process_sflag(), and restore_lineno().
Referenced by Init_IO(), Init_load(), and ruby_prog_init().
void rb_gvar_undef_marker | ( | VALUE * | var | ) |
void rb_gvar_val_marker | ( | VALUE * | var | ) |
void rb_gvar_var_marker | ( | VALUE * | var | ) |
const char* rb_id2name | ( | ID | ) |
Definition at line 15929 of file ripper.c.
References rb_id2str(), and RSTRING_PTR.
Referenced by add_opt_method(), addrinfo_inspect(), assignable_gen(), cbsubst_get_subst_arg(), cbsubst_sym_to_subst(), cbsubst_table_setup(), check_dump_arg(), check_exec_redirect(), check_load_arg(), chunk_ii(), control_frame_dump(), econv_opts(), error_pos(), esignal_init(), extract_user_token(), fole_missing(), generic_ivar_get(), get_eval_string_core(), gettable_gen(), id2ref(), insn_data_to_s_detail(), insn_operand_intern(), inspect_enumerator(), inspect_i(), inspect_sockaddr(), iseq_compile_each(), iseq_load(), ivar_get(), match_aref(), match_backref_number(), mnew(), mod_av_set(), must_respond_to(), new_bv_gen(), num_sadded(), ossl_pkcs7_sym2typeid(), ossl_sslctx_set_ssl_version(), r_object0(), racc_yyparse(), rb_attr(), rb_autoload(), rb_const_get_0(), rb_const_remove(), rb_const_set(), rb_cvar_get(), rb_cvar_set(), rb_define_class_id_under(), rb_exec_arg_addopt(), rb_f_kill(), rb_f_local_variables(), rb_f_untrace_var(), rb_insecure_operation(), rb_iseq_disasm(), rb_iseq_parameters(), rb_method_call_status(), rb_method_entry_make(), 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_remove_const(), rb_mod_remove_cvar(), rb_notimplement(), rb_obj_ivar_defined(), rb_obj_ivar_get(), rb_obj_ivar_set(), rb_obj_remove_instance_variable(), rb_print_undef(), rb_search_method_entry(), rb_secure(), rb_str_format(), rb_str_setter(), rb_struct_aref_id(), rb_struct_aset_id(), rb_struct_getmember(), rb_struct_set(), rb_thread_current_status(), rb_undef(), readonly_setter(), reg_named_capture_assign_iter(), remove_method(), rlimit_resource_type(), rlimit_resource_value(), rsock_revlookup_flag(), ruby_debug_print_id(), shadowing_lvar_gen(), sockopt_inspect(), specific_eval(), trap_signm(), undef_getter(), uninitialized_constant(), vm_call_method(), vm_define_method(), vm_getivar(), void_expr_gen(), and vtable_add().
Definition at line 15868 of file ripper.c.
References global_symbols, ID_CONST, ID_LOCAL, symbols::id_str, is_attrset_id, is_local_id, OBJ_FREEZE, symbols::op_sym, op_tbl, rb_cString, rb_id2str(), rb_intern_str(), rb_ispunct(), rb_str_cat(), rb_str_dup(), rb_usascii_str_new(), rb_usascii_str_new2(), RBASIC, st_lookup(), tLAST_TOKEN, and token.
Referenced by add_id(), addrinfo_mdump(), classname(), fc_path(), insn_operand_intern(), inspect_struct(), iseq_compile_each(), iseq_data_to_ary(), method_inspect(), r_unique(), rb_attr(), rb_define_class_id_under(), rb_define_module_id_under(), rb_enc_get_index(), rb_id2name(), rb_id2str(), rb_intern3(), rb_sym_to_s(), rsock_ipaddr(), sym_capitalize(), sym_downcase(), sym_empty(), sym_encoding(), sym_inspect(), sym_length(), sym_swapcase(), sym_upcase(), trap_handler(), vm_backtrace_each(), and w_symbol().
VALUE rb_int2big | ( | SIGNED_VALUE | ) |
Definition at line 277 of file bignum.c.
References neg, rb_uint2big(), and RBIGNUM_SET_SIGN.
Referenced by big_fdiv(), bigdivmod(), bigdivrem(), bigsub_int(), 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(), power_cache_get_power0(), rb_big_cmp(), rb_big_coerce(), rb_big_divide(), rb_big_divmod(), rb_big_eq(), rb_big_modulo(), rb_big_mul(), rb_big_remainder(), rb_fix_lshift(), rb_fix_rshift(), rb_int2inum(), rb_quad_pack(), rb_str_format(), and w_object().
VALUE rb_int2inum | ( | SIGNED_VALUE | ) |
Definition at line 301 of file bignum.c.
References FIXABLE, LONG2FIX, and rb_int2big().
ID rb_intern | ( | const char * | ) |
Definition at line 15845 of file ripper.c.
References rb_intern, and rb_intern2().
ID rb_intern2 | ( | const char * | , | |
long | ||||
) |
Definition at line 15838 of file ripper.c.
References rb_intern3(), and rb_usascii_encoding().
Referenced by global_id(), init_constants(), Init_load(), rb_f_global_variables(), rb_intern(), and yyparse().
Definition at line 15851 of file ripper.c.
References ENC_CODERANGE_7BIT, rb_enc_get(), rb_enc_str_coderange(), RB_GC_GUARD, rb_intern3(), rb_usascii_encoding(), RSTRING_LEN, and RSTRING_PTR.
Referenced by r_symreal(), rb_attr(), rb_id2str(), rb_str_intern(), w_unique(), and yyparse().
int rb_isalnum | ( | int | c | ) |
Definition at line 1545 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_ALNUM.
int rb_isalpha | ( | int | c | ) |
Definition at line 1546 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_ALPHA.
int rb_isblank | ( | int | c | ) |
Definition at line 1547 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_BLANK.
int rb_iscntrl | ( | int | c | ) |
Definition at line 1548 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_CNTRL.
int rb_isdigit | ( | int | c | ) |
Definition at line 1549 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_DIGIT.
Referenced by f_format(), and string_to_r_internal().
int rb_isgraph | ( | int | c | ) |
Definition at line 1550 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_GRAPH.
int rb_islower | ( | int | c | ) |
Definition at line 1551 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_LOWER.
int rb_isprint | ( | int | c | ) |
Definition at line 1552 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_PRINT.
Referenced by curses_getch(), and window_getch().
int rb_ispunct | ( | int | c | ) |
Definition at line 1553 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_PUNCT.
Referenced by rb_id2str().
int rb_isspace | ( | int | c | ) |
Definition at line 1554 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 | ) |
Definition at line 1555 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_UPPER.
int rb_isxdigit | ( | int | c | ) |
Definition at line 1556 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_XDIGIT.
Definition at line 827 of file vm_eval.c.
References rb_method_entry_struct::called_id, rb_thread_struct::cfp, rb_control_frame_t::dfp, err, rb_thread_struct::errinfo, EXEC_EVENT_HOOK, GC_GUARDED_PTR_REF, GET_THREAD, GET_THROWOBJ_CATCH_POINT, rb_block_struct::iseq, rb_method_entry_struct::klass, rb_control_frame_t::lfp, rb_control_frame_t::me, NEW_IFUNC, rb_thread_struct::passed_block, rb_block_struct::proc, RUBY_EVENT_C_RETURN, RUBY_VM_GET_BLOCK_PTR_IN_CFP, RUBY_VM_PREVIOUS_CONTROL_FRAME, rb_control_frame_t::self, rb_thread_struct::state, TAG_BREAK, TAG_RETRY, TH_EXEC_TAG, TH_JUMP_TAG, TH_POP_TAG, TH_PUSH_TAG, UNLIKELY, VM_FRAME_MAGIC_CFUNC, and VM_FRAME_TYPE.
Referenced by call_lexer(), method_proc(), rb_block_call(), and rb_proc_new().
Definition at line 2087 of file variable.c.
References rb_intern, and rb_ivar_get().
Definition at line 2095 of file variable.c.
References rb_intern, and rb_ivar_set().
void rb_need_block | ( | void | ) |
Definition at line 625 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 | ) |
Definition at line 1062 of file gc.c.
References dont_gc, during_gc, GET_THREAD, rb_vm_struct::objspace, rb_bug(), rb_newobj_from_heap(), RBASIC, and rb_thread_struct::vm.
Referenced by rb_node_newnode().
double rb_num2dbl | ( | VALUE | ) |
Definition at line 2310 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 1687 of file numeric.c.
References buf, FIX2LONG, FIXNUM_P, LONG_MAX, LONG_MIN, NIL_P, rb_big2long(), rb_eRangeError, rb_eTypeError, rb_raise(), rb_to_int(), RFLOAT_VALUE, SIGNED_VALUE, snprintf, strchr(), T_BIGNUM, T_FLOAT, and TYPE.
Referenced by rb_num2fix(), and rb_num2int().
Definition at line 1721 of file numeric.c.
References buf, FIX2LONG, FIXNUM_P, LONG_MAX, LONG_MIN, NIL_P, rb_big2ulong(), rb_eRangeError, rb_eTypeError, rb_raise(), rb_to_int(), RFLOAT_VALUE, snprintf, strchr(), T_BIGNUM, T_FLOAT, and TYPE.
const char* rb_obj_classname | ( | VALUE | ) |
Definition at line 317 of file variable.c.
References CLASS_OF, and rb_class2name().
Referenced by addrinfo_inspect(), caller_setup_args(), check_strscan(), coerce_rescue(), convert_type(), define_final(), dir_inspect(), divmodv(), econv_inspect(), enc_inspect(), eval_string_with_cref(), folevariant_initialize(), generator_initialize(), GetVpValue(), init_copy(), inspect_enumerator(), iseq_inspect(), match_inspect(), method_inspect(), must_encoding(), must_respond_to(), name_err_mesg_to_str(), nucomp_coerce(), num_exact(), num_init_copy(), num_sadded(), nurat_coerce(), proc_to_s(), rand_init(), range_each(), range_step(), rb_any_to_s(), rb_big_coerce(), rb_check_convert_type(), rb_check_frozen(), rb_check_inheritable(), rb_check_safe_str(), rb_check_type(), 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_set_default_proc(), rb_io_inspect(), rb_mod_define_method(), rb_obj_clone(), rb_obj_dup(), rb_obj_inspect(), 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(), reg_operand(), rescue_callback(), setup_exception(), sockopt_inspect(), time_timespec(), uscore_get(), vm_define_method(), w_object(), and wdivmod().
Definition at line 803 of file object.c.
References OBJ_INFECT.
void rb_p | ( | VALUE | ) |
Definition at line 6148 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, T_FILE, and TYPE.
Referenced by rb_f_p().
int rb_remove_event_hook | ( | rb_event_hook_func_t | func | ) |
Definition at line 3856 of file thread.c.
References rb_vm_struct::event_hooks, GET_VM, NULL, remove_event_hook(), and set_threads_event_flags().
Referenced by rb_clear_trace_func(), rb_reset_coverages(), and set_trace_func().
VALUE rb_require | ( | const char * | ) |
Definition at line 626 of file load.c.
References OBJ_FREEZE, rb_require_safe(), rb_safe_level, and rb_str_new2().
Referenced by GetVpValue(), Init_bubblebabble(), Init_generator(), Init_md5(), Init_ossl_digest(), Init_parser(), Init_rmd160(), Init_sha1(), Init_sha2(), Init_tkutil(), load_transcoder_entry(), mktime_r(), and yaml_org_handler().
Definition at line 695 of file eval.c.
References rb_eStandardError, and rb_rescue2().
Referenced by cmp_equal(), do_coerce(), io_close(), and range_init().
Definition at line 633 of file eval.c.
References rb_thread_struct::cfp, rb_thread_struct::errinfo, EXEC_TAG, GET_THREAD, JUMP_TAG, POP_TAG, PUSH_TAG, rb_obj_is_kind_of(), result, TAG_RAISE, TAG_RETRY, and va_init_list.
Referenced by argf_readpartial(), check_funcall(), copy_stream_fallback(), rb_f_loop(), rb_rescue(), rb_syck_mktime(), tcl2rb_num_or_str(), tkstr_rescue_float(), tkstr_to_number(), and zip_i().
VALUE* rb_ruby_debug_ptr | ( | void | ) |
Definition at line 2194 of file vm.c.
References GET_VM, and ruby_vm_debug_ptr().
VALUE* rb_ruby_verbose_ptr | ( | void | ) |
Definition at line 2188 of file vm.c.
References GET_VM, and ruby_vm_verbose_ptr().
int rb_safe_level | ( | void | ) |
Definition at line 28 of file safe.c.
References GET_THREAD.
void rb_secure | ( | int | ) |
Definition at line 79 of file safe.c.
References rb_eSecurityError, rb_frame_callee(), rb_id2name(), rb_raise(), and rb_safe_level.
Referenced by apply2files(), bsock_do_not_rev_lookup_set(), bsock_do_not_reverse_lookup_set(), bsock_setsockopt(), check_dirname(), check_gid_switch(), check_uid_switch(), create_dummy_encoding_for_tk_core(), create_encoding_table_core(), curses_init_screen(), dir_s_chdir(), dlhandle_sym(), env_assoc(), env_delete(), env_each_pair(), env_empty_p(), env_fetch(), env_has_key(), env_has_value(), env_inspect(), env_key(), env_keys(), env_rassoc(), env_select(), env_shift(), env_size(), env_to_a(), env_to_hash(), env_update(), env_values(), env_values_at(), etc_getgrgid(), etc_getgrnam(), etc_getlogin(), etc_getpwuid(), etc_group(), etc_passwd(), ev_advise(), fdbm_modify(), fev_off_event(), fole_free(), fole_initialize(), fole_respond_to(), fole_s_connect(), fole_s_const_load(), gc_stress_set(), get_pid(), get_ppid(), hist_delete_at(), hist_each(), hist_empty_p(), hist_get(), hist_length(), hist_pop(), hist_push(), hist_push_method(), hist_shift(), id2ref(), io_write(), ip_allow_ruby_exit_set(), ip_create_slave(), ip_evloop_abort_on_exc_set(), ip_invoke_immediate(), ip_restart(), iseq_eval(), iseq_s_compile(), iseq_s_compile_file(), iseq_s_compile_option_set(), iseq_s_disasm(), iseq_to_a(), lib_evloop_abort_on_exc_set(), lib_restart(), mSyslog_close(), mSyslog_set_mask(), ole_types_from_typelib(), os_each_obj(), proc_detach(), proc_wait(), proc_waitall(), rb_alias(), rb_check_safe_obj(), rb_define_const(), rb_dir_getwd(), rb_dl_free(), rb_dl_malloc(), rb_dl_ptr2value(), rb_dl_realloc(), rb_dlcfunc_new(), rb_dlhandle_initialize(), rb_dlptr_malloc(), rb_dlptr_new2(), rb_dlptr_s_allocate(), rb_exec_arg_addopt(), rb_export_method(), rb_f_abort(), rb_f_exit(), rb_f_exit_bang(), rb_f_getenv(), rb_f_kill(), rb_f_srand(), rb_f_trace_var(), rb_f_untrace_var(), 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_stat(), 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_gdbm_modify(), rb_include_module(), rb_io_autoclose_p(), rb_io_ctl(), rb_io_initialize(), rb_io_reopen(), rb_io_set_autoclose(), rb_io_syswrite(), rb_io_write_nonblock(), rb_iseq_disasm(), rb_load_internal(), rb_obj_taint(), rb_obj_trust(), rb_obj_untaint(), rb_obj_untrust(), rb_realpath_internal(), rb_remove_history(), rb_secure_update(), rb_stat(), rb_stat_init(), rb_thread_abort_exc_set(), rb_thread_kill(), rb_thread_priority_set(), rb_thread_s_abort_exc_set(), rb_undef(), readline_readline(), readline_s_get_completion_case_fold(), readline_s_get_completion_proc(), readline_s_set_completion_case_fold(), readline_s_set_completion_proc(), readline_s_set_input(), readline_s_set_output(), remove_method(), rsock_bsock_send(), rsock_s_accept(), rsock_s_accept_nonblock(), rsock_sock_listen(), set_eventloop_tick(), set_eventloop_weight(), set_eventloop_window_mode(), set_no_event_wait(), sig_trap(), sock_initialize(), sock_s_gethostbyname(), strio_reopen(), strio_set_string(), syslog_write(), tcp_s_gethostbyname(), test_check(), thgroup_add(), top_include(), udp_bind(), udp_connect(), udp_init(), udp_send(), window_initialize(), and writable().
void rb_secure_update | ( | VALUE | ) |
Definition at line 94 of file safe.c.
References OBJ_TAINTED, and rb_secure().
Referenced by rb_dlcfunc_call().
void rb_set_errinfo | ( | VALUE | ) |
Definition at line 1044 of file eval.c.
References GET_THREAD, NIL_P, rb_eException, rb_eTypeError, rb_obj_is_kind_of(), and rb_raise().
Referenced by iconv_fail_retry(), load_encoding(), rb_reg_compile(), and reg_compile_gen().
void rb_set_safe_level | ( | int | ) |
Definition at line 40 of file safe.c.
References GET_THREAD, rb_thread_struct::safe_level, and SAFE_LEVEL_MAX.
Referenced by callq_safelevel_handler(), evq_safelevel_handler(), ivq_safelevel_handler(), and process_options().
void rb_set_safe_level_force | ( | int | ) |
Definition at line 34 of file safe.c.
References GET_THREAD.
Referenced by autoload_node(), rb_eval_cmd(), rb_exec_end_proc(), rb_method_call(), rb_require_safe(), and reset_safe().
static int rb_special_const_p | ( | VALUE | obj | ) | [inline, static] |
Definition at line 1319 of file ruby.h.
References SPECIAL_CONST_P.
Referenced by coerce_rescue(), gc_mark(), gc_mark_children(), generic_ivar_set(), GetVpValue(), givar_i(), ivar_get(), r_object0(), rb_check_type(), rb_ivar_count(), rb_ivar_defined(), rb_ivar_foreach(), rb_obj_clone(), rb_obj_dup(), rb_obj_remove_instance_variable(), and singleton_class_of().
Definition at line 590 of file string.c.
References rb_default_external_encoding(), rb_str_conv_enc(), and STR_ENC_GET.
Definition at line 596 of file string.c.
References rb_locale_encoding(), rb_str_conv_enc(), and STR_ENC_GET.
Referenced by curses_addstr(), and window_addstr().
Definition at line 796 of file string.c.
References rb_convert_type(), and T_STRING.
Referenced by make_struct(), and rb_string_value().
Definition at line 1356 of file string.c.
References rb_str_to_str(), T_STRING, and TYPE.
Referenced by rb_string_value_cstr(), and rb_string_value_ptr().
char* rb_string_value_cstr | ( | volatile VALUE * | ) |
Definition at line 1374 of file string.c.
References rb_eArgError, rb_raise(), rb_str_modify(), rb_string_value(), RSTRING_LEN, and RSTRING_PTR.
char* rb_string_value_ptr | ( | volatile VALUE * | ) |
Definition at line 1367 of file string.c.
References rb_string_value(), and RSTRING_PTR.
Definition at line 7385 of file string.c.
References id, NIL_P, rb_check_string_type(), rb_eTypeError, rb_inspect(), rb_raise(), rb_str_intern(), RSTRING_PTR, SYM2ID, T_STRING, T_SYMBOL, and TYPE.
Referenced by bug_funcall(), enum_inject(), enumerator_init(), fole_missing(), make_struct(), num_sadded(), obj_respond_to(), ole_search_handler_method(), rb_f_trace_var(), rb_f_untrace_var(), rb_mod_alias_method(), rb_mod_attr(), rb_mod_attr_accessor(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_autoload(), rb_mod_autoload_p(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_const_missing(), rb_mod_const_set(), rb_mod_cvar_defined(), rb_mod_cvar_get(), rb_mod_cvar_set(), rb_mod_define_method(), rb_mod_instance_method(), rb_mod_method_defined(), rb_mod_modfunc(), rb_mod_private_method_defined(), rb_mod_protected_method_defined(), rb_mod_public_instance_method(), rb_mod_public_method_defined(), rb_mod_remove_const(), rb_mod_remove_cvar(), rb_mod_remove_method(), rb_mod_undef_method(), rb_obj_ivar_defined(), rb_obj_ivar_get(), rb_obj_ivar_set(), rb_obj_method(), rb_obj_public_method(), rb_obj_remove_instance_variable(), rb_struct_aref(), rb_struct_aset(), rb_struct_s_def(), rb_thread_aref(), rb_thread_aset(), rb_thread_key_p(), send_internal(), set_method_visibility(), syck_const_find(), and vm_call_method().
int rb_tolower | ( | int | c | ) |
Definition at line 1559 of file encoding.c.
References ONIGENC_ASCII_CODE_TO_LOWER_CASE, and rb_isascii.
int rb_toupper | ( | int | c | ) |
Definition at line 1565 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_is_kind_of | ( | VALUE | , | |
const rb_data_type_t * | ||||
) |
Definition at line 354 of file error.c.
References BUILTIN_TYPE, RTYPEDDATA_P, RTYPEDDATA_TYPE, SPECIAL_CONST_P, and T_DATA.
Referenced by enc_check_encoding(), GetVpValue(), rb_dlcfunc2ptr(), rb_dlcfunc_kind_p(), rb_obj_is_method(), and rb_obj_is_proc().
Definition at line 256 of file bignum.c.
References BDIGIT, BDIGIT_DBL, BDIGITS, BIGDN, BIGLO, bignew, DIGSPERLONG, and RBIGNUM_SET_LEN.
Referenced by bigdivrem(), pack_pack(), pack_unpack(), rb_cstr_to_inum(), rb_int2big(), and rb_uint2inum().
Definition at line 294 of file bignum.c.
References LONG2FIX, POSFIXABLE, and rb_uint2big().
Referenced by do_checksum(), gc_profile_record_get(), rb_zlib_crc_table(), rb_zstream_adler(), rb_zstream_avail_out(), rb_zstream_total_in(), and rb_zstream_total_out().
Definition at line 735 of file vm_eval.c.
References Qundef, and rb_yield_0().
Referenced by ary_add_hash_by(), chdir_yield(), cycle_i(), dir_each(), dir_s_open(), drop_while_i(), each_cons_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(), grep_iter_i(), group_by_i(), hist_each(), iconv_fail_retry(), iconv_s_open(), int_dotimes(), int_downto(), int_upto(), io_s_foreach(), 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(), permute0(), pty_getpty(), pty_open(), range_each(), range_step(), 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_reject_bang(), 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_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_obj_tap(), rb_reg_match_m(), rb_str_each_byte(), rb_str_each_char(), rb_str_each_codepoint(), rb_str_each_line(), rb_str_match_m(), rb_str_scan(), rb_str_sub_bang(), rb_str_upto(), rb_struct_each(), rb_struct_select(), rcombinate0(), reject_i(), rpermute0(), ruby_float_step(), sort_by_i(), step_i(), str_gsub(), strio_each(), strio_each_byte(), strio_each_char(), strio_each_codepoint(), strio_s_open(), syck_out_map(), syck_out_seq(), sym_each_i(), sym_step_i(), window_attron(), zip_ary(), and zip_i().
Definition at line 774 of file vm_eval.c.
References NIL_P, RARRAY_LENINT, RARRAY_PTR, rb_check_array_type(), rb_eArgError, rb_raise(), and rb_yield_0().
VALUE rb_yield_values | ( | int | n, | |
... | ||||
) |
Definition at line 746 of file vm_eval.c.
References ALLOCA_N, argv, rb_yield_0(), and va_init_list.
Referenced by delete_if_i(), each_with_index_i(), each_with_object_i(), enumerator_with_index_i(), enumerator_with_object_i(), 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_i(), rb_struct_each_pair(), select_i(), and sort_1().
int ruby_brace_glob | ( | const char * | , | |
int | , | |||
ruby_glob_func * | , | |||
VALUE | ||||
) |
Definition at line 1637 of file dir.c.
References GLOB_VERBOSE, rb_ascii8bit_encoding(), and ruby_brace_glob0().
Referenced by cmdglob().
int ruby_exec_node | ( | void * | ) |
Definition at line 258 of file eval.c.
References ruby_exec_internal(), and ruby_init_stack().
Referenced by ruby_run_node().
int ruby_glob | ( | const char * | , | |
int | , | |||
ruby_glob_func * | , | |||
VALUE | ||||
) |
Definition at line 1502 of file dir.c.
References GLOB_VERBOSE, rb_ascii8bit_encoding(), and ruby_glob0().
void ruby_init | ( | void | ) |
Definition at line 45 of file eval.c.
References error_print(), EXEC_TAG, EXIT_FAILURE, GET_VM, Init_BareVM(), Init_heap(), POP_TAG, PUSH_TAG, rb_call_inits(), ruby_init_stack(), and ruby_prog_init().
Referenced by main().
void ruby_init_stack | ( | volatile VALUE * | ) |
Referenced by Init_stack(), ruby_cleanup(), ruby_exec_node(), ruby_init(), and ruby_options().
void* ruby_options | ( | int | , | |
char ** | ||||
) |
Definition at line 75 of file eval.c.
References error_handle(), EXEC_TAG, GET_THREAD, INT2FIX, POP_TAG, PUSH_TAG, rb_clear_trace_func(), ruby_init_stack(), ruby_process_options(), and SAVE_ROOT_JMPBUF.
Referenced by main().
int ruby_run_node | ( | void * | ) |
Definition at line 247 of file eval.c.
References ruby_cleanup(), ruby_exec_node(), and ruby_executable_node().
int ruby_snprintf | ( | char * | str, | |
size_t | n, | |||
char const * | fmt, | |||
... | ||||
) |
Definition at line 1238 of file vsnprintf.c.
References __SWR, __sbuf::_base, __sFILE::_bf, __sFILE::_flags, __sFILE::_p, __sbuf::_size, __sFILE::_w, BSD_vfprintf(), EOF, and __sFILE::vwrite.
unsigned long ruby_strtoul | ( | const char * | str, | |
char ** | endptr, | |||
int | base | |||
) |
void ruby_sysinit | ( | int * | , | |
char *** | ||||
) |
Definition at line 1871 of file ruby.c.
References get_arglen(), origarg, and rb_w32_sysinit().
Referenced by main().
int ruby_vsnprintf | ( | char * | str, | |
size_t | n, | |||
char const * | fmt, | |||
va_list | ap | |||
) |
Definition at line 1221 of file vsnprintf.c.
References __SWR, __sbuf::_base, __sFILE::_bf, __sFILE::_flags, __sFILE::_p, __sbuf::_size, __sFILE::_w, BSD_vfprintf(), EOF, and __sFILE::vwrite.
int st_strncasecmp | ( | const char * | s1, | |
const char * | s2, | |||
size_t | n | |||
) |
static VALUE UINT2NUM | ( | unsigned int | v | ) | [inline, static] |
Definition at line 959 of file ruby.h.
References UINT2NUM_internal.
Referenced by curses_getch(), find_index_i(), find_index_iter_i(), gc_count(), init_constants(), pack_unpack(), 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_each_codepoint(), rb_str_ord(), strio_each_codepoint(), tr_find(), tr_setup_table(), tr_trans(), and window_getch().
static VALUE ULONG2NUM | ( | unsigned long | v | ) | [inline, static] |
Definition at line 982 of file ruby.h.
References ULONG2NUM_internal.
Referenced by fix_lshift(), generic_to_value(), Init_ossl_x509name(), ossl_x509name_hash(), pack_unpack(), rand_int(), random_rand(), rb_stat_blksize(), rb_stat_blocks(), rb_stat_dev_major(), rb_stat_dev_minor(), rb_stat_ino(), rb_stat_rdev(), rb_stat_rdev_major(), rb_stat_rdev_minor(), strio_size(), and tk_install_cmd_core().
RUBY_EXTERN VALUE rb_cBasicObject |
Definition at line 1189 of file ruby.h.
Referenced by Init_class_hierarchy(), Init_Object(), Init_VM(), Init_vm_eval(), rb_class_init_copy(), rb_class_initialize(), rb_class_superclass(), and rb_obj_alloc().
RUBY_EXTERN VALUE rb_cBignum |
RUBY_EXTERN VALUE rb_cBinding |
Definition at line 1193 of file ruby.h.
Referenced by binding_dup(), eval_string_with_cref(), Init_Binding(), proc_binding(), and rb_binding_new().
Definition at line 1194 of file ruby.h.
Referenced by include_class_new(), Init_class_hierarchy(), Init_eval(), Init_Object(), make_metaclass(), rb_check_inheritable(), and rb_class_boot().
RUBY_EXTERN VALUE rb_cComplex |
Definition at line 1197 of file ruby.h.
Referenced by call_queue_handler(), eval_queue_handler(), Init_curses(), Init_Exception(), Init_iconv(), Init_marshal(), Init_Object(), Init_prelude(), Init_stringio(), Init_transcode(), Init_win32ole(), invoke_queue_handler(), marshal_dump(), marshal_load(), and rsock_init_addrinfo().
RUBY_EXTERN VALUE rb_cEncoding |
RUBY_EXTERN VALUE rb_cEnumerator |
RUBY_EXTERN VALUE rb_cFalseClass |
Definition at line 1198 of file ruby.h.
Referenced by Init_Object(), and singleton_class_of().
RUBY_EXTERN VALUE rb_cFixnum |
Definition at line 1202 of file ruby.h.
Referenced by Init_Numeric(), and k_fixnum_p().
Definition at line 1203 of file ruby.h.
Referenced by Init_Complex(), Init_Numeric(), Init_Rational(), k_float_p(), opt_eq_func(), and rb_float_new().
RUBY_EXTERN VALUE rb_cInteger |
Definition at line 1205 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().
Definition at line 1206 of file ruby.h.
Referenced by Init_File(), Init_IO(), Init_nonblock(), Init_wait(), pipe_open(), pty_open(), rb_dlptr_s_to_ptr(), rb_f_open(), rb_io_fdopen(), and rsock_init_basicsocket().
Definition at line 1207 of file ruby.h.
Referenced by Init_Regexp(), and rb_reg_search().
RUBY_EXTERN VALUE rb_cMethod |
Definition at line 1208 of file ruby.h.
Referenced by Init_Proc(), rb_obj_method(), rb_obj_public_method(), and umethod_bind().
RUBY_EXTERN VALUE rb_cModule |
Definition at line 1209 of file ruby.h.
Referenced by Init_class_hierarchy(), Init_eval(), Init_eval_method(), Init_load(), Init_Object(), Init_Proc(), Init_vm_eval(), rb_class_path(), rb_mod_s_constants(), and rb_module_new().
RUBY_EXTERN VALUE rb_cNameErrorMesg |
RUBY_EXTERN VALUE rb_cNilClass |
Definition at line 1211 of file ruby.h.
Referenced by Init_Complex(), Init_Object(), Init_Rational(), and singleton_class_of().
RUBY_EXTERN VALUE rb_cNumeric |
Definition at line 1212 of file ruby.h.
Referenced by case_when_optimizable_literal(), Init_bigdecimal(), Init_Complex(), Init_Numeric(), Init_Rational(), k_numeric_p(), range_include(), range_max(), range_step(), rb_check_to_float(), and rb_to_float().
RUBY_EXTERN VALUE rb_cObject |
Definition at line 1190 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_class_hierarchy(), Init_Cont(), Init_cparse(), Init_curses(), Init_dbm(), Init_digest(), Init_Dir(), Init_dlcfunc(), Init_dlhandle(), Init_dlptr(), Init_Encoding(), Init_Enumerator(), Init_Exception(), Init_fiddle_closure(), Init_fiddle_function(), Init_File(), 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_prelude(), Init_Proc(), Init_process(), Init_psych_emitter(), Init_psych_parser(), Init_psych_to_ruby(), Init_psych_yaml_tree(), Init_Random(), Init_Range(), Init_readline(), Init_Regexp(), Init_rmd160(), Init_sdbm(), Init_sha1(), Init_String(), Init_strscan(), Init_Struct(), Init_syck(), Init_tcltklib(), Init_Thread(), Init_Time(), Init_tkutil(), Init_top_self(), Init_VM(), Init_win32ole(), Init_zlib(), ip_ruby_cmd_receiver_const_get(), iseq_compile_each(), mktime_r(), process_options(), range_dumper(), range_loader(), rb_alias(), rb_catch(), rb_class_inherited(), rb_class_initialize(), rb_const_defined_0(), rb_const_get_0(), rb_define_class(), rb_define_class_id(), rb_define_const(), rb_define_global_const(), rb_define_module(), rb_export_method(), rb_f_catch(), rb_method_entry_make(), rb_mod_const_of(), rb_mod_modfunc(), rb_path_to_class(), rb_set_class_path(), rb_set_class_path_string(), rb_undef(), remove_method(), rsock_init_ancdata(), rsock_init_sockopt(), ruby_Init_Continuation_body(), ruby_init_gems(), ruby_init_loadpath_safe(), save_env(), set_relation(), syck_const_find(), syck_resolver_transfer(), top_include(), top_private(), top_public(), uninitialized_constant(), vm_search_normal_superclass(), vm_set_main_stack(), and yaml_org_handler().
Definition at line 1213 of file ruby.h.
Referenced by get_eval_string_core(), Init_Proc(), m_core_set_postexe(), proc_dup(), rb_block_lambda(), rb_block_proc(), vm_callee_setup_arg_complex(), vm_make_proc_from_block(), vm_yield_setup_block_args(), and vm_yield_with_cfunc().
RUBY_EXTERN VALUE rb_cRandom |
Definition at line 1214 of file ruby.h.
Referenced by Init_Random().
Definition at line 1215 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 1216 of file ruby.h.
Referenced by Init_Rational(), k_rational_p(), nurat_f_rational(), rb_Rational(), rb_rational_new(), and rb_rational_raw().
RUBY_EXTERN VALUE rb_cRegexp |
Definition at line 1218 of file ruby.h.
Referenced by cState_generate(), Init_generator(), Init_Regexp(), rb_reg_alloc(), rb_reg_s_union(), and w_object().
RUBY_EXTERN VALUE rb_cString |
Definition at line 1220 of file ruby.h.
Referenced by Init_Complex(), Init_pack(), Init_Rational(), Init_String(), Init_transcode(), opt_eq_func(), rb_any_cmp(), rb_dlptr_s_to_ptr(), rb_enc_vsprintf(), rb_hash_aset(), rb_id2str(), rb_intern3(), rb_str_buf_new(), rb_str_new(), rb_str_resurrect(), rb_str_to_s(), rb_sym_to_s(), w_object(), zstream_detach_buffer(), zstream_detach_input(), and zstream_shift_buffer().
RUBY_EXTERN VALUE rb_cStruct |
Definition at line 1221 of file ruby.h.
Referenced by Init_Struct(), rb_struct_define(), and struct_ivar_get().
RUBY_EXTERN VALUE rb_cSymbol |
Definition at line 1222 of file ruby.h.
Referenced by Init_String().
RUBY_EXTERN VALUE rb_cThread |
Definition at line 1223 of file ruby.h.
Referenced by Init_Thread(), Init_VM(), rb_objspace_call_finalizer(), and rb_thread_create().
Definition at line 1224 of file ruby.h.
Referenced by asn1time_to_time(), discrete_object_p(), folevariant_initialize(), mktime_do(), ole_val2variant(), ossl_ssl_session_get_time(), and ossl_sslctx_flush_sessions().
RUBY_EXTERN VALUE rb_cTrueClass |
Definition at line 1225 of file ruby.h.
Referenced by Init_Object(), and singleton_class_of().
RUBY_EXTERN VALUE rb_cUnboundMethod |
Definition at line 1226 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 1235 of file ruby.h.
Referenced by argf_readpartial(), copy_stream_fallback(), Init_IO(), and rb_eof_error().
RUBY_EXTERN VALUE rb_eException |
RUBY_EXTERN VALUE rb_eFloatDomainError |
Definition at line 1250 of file ruby.h.
Referenced by dbl2big(), Init_Numeric(), and VpException().
RUBY_EXTERN VALUE rb_eIndexError |
RUBY_EXTERN VALUE rb_eInterrupt |
RUBY_EXTERN VALUE rb_eIOError |
Definition at line 1240 of file ruby.h.
Referenced by check_modifiable(), copy_stream_body(), dir_closed(), finish_writeconv(), get_strio(), Init_IO(), 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 |
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 1253 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 1246 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 1178 of file ruby.h.
Referenced by Init_Enumerator(), Init_eval(), Init_eval_method(), Init_GC(), Init_IO(), Init_Object(), Init_Proc(), Init_vm_eval(), and rb_define_global_function().
Definition at line 1184 of file ruby.h.
Referenced by exp1(), float_arg(), and numeric_arg().
RUBY_EXTERN VALUE rb_mProcess |
RUBY_EXTERN VALUE rb_mWaitReadable |
Definition at line 1186 of file ruby.h.
Referenced by Init_IO(), io_getpartial(), read_would_block(), rsock_s_accept_nonblock(), and rsock_s_recvfrom_nonblock().
RUBY_EXTERN VALUE rb_mWaitWritable |
Definition at line 1187 of file ruby.h.
Referenced by Init_IO(), rb_io_write_nonblock(), sock_connect_nonblock(), and write_would_block().
Definition at line 1264 of file ruby.h.
Referenced by Init_IO(), rb_f_abort(), rb_io_s_popen(), rb_stdio_set_default_encoding(), rb_warn_m(), and rb_write_error2().
Definition at line 1264 of file ruby.h.
Referenced by argf_next_argv(), Init_IO(), Init_readline(), load_file_internal(), and rb_stdio_set_default_encoding().
Definition at line 1264 of file ruby.h.
Referenced by argf_next_argv(), gc_profile_report(), Init_IO(), process_options(), rb_f_p(), 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().