RBASIC 44 array.c (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ RBASIC 69 array.c RBASIC(ary)->flags &= ~RARRAY_EMBED_LEN_MASK; \ RBASIC 70 array.c RBASIC(ary)->flags |= (tmp_n) << RARRAY_EMBED_LEN_SHIFT; \ RBASIC 569 array.c RBASIC(ary)->flags |= RARRAY_EMBED_FLAG; RBASIC 570 array.c RBASIC(ary)->flags &= ~RARRAY_EMBED_LEN_MASK; RBASIC 2380 array.c if (RBASIC(ary)->klass) { RBASIC 4530 array.c if (RBASIC(result)->klass) { RBASIC 4939 array.c return !RBASIC(values)->klass; RBASIC 2931 bignum.c ((RBASIC(b)->flags & BIGNUM_EMBED_FLAG) ? \ RBASIC 2932 bignum.c (void)(RBASIC(b)->flags = \ RBASIC 2933 bignum.c (RBASIC(b)->flags & ~BIGNUM_EMBED_LEN_MASK) | \ RBASIC 2941 bignum.c if (RBASIC(big)->flags & BIGNUM_EMBED_FLAG) { RBASIC 2947 bignum.c RBASIC(big)->flags &= ~BIGNUM_EMBED_FLAG; RBASIC 2953 bignum.c RBASIC(big)->flags |= BIGNUM_EMBED_FLAG; RBASIC 2985 bignum.c RBASIC(big)->flags |= BIGNUM_EMBED_FLAG; RBASIC 226 class.c if (RBASIC(super)->flags & FL_SINGLETON) { RBASIC 322 class.c rb_singleton_class_attached(RBASIC(clone)->klass, (VALUE)clone); RBASIC 373 class.c const VALUE klass = RBASIC(obj)->klass; RBASIC 379 class.c VALUE clone = class_alloc(RBASIC(klass)->flags, 0); RBASIC 409 class.c rb_singleton_class_attached(RBASIC(clone)->klass, clone); RBASIC 433 class.c #define METACLASS_OF(k) RBASIC(k)->klass RBASIC 522 class.c VALUE orig_class = RBASIC(obj)->klass; RBASIC 604 class.c rb_make_metaclass(klass, RBASIC(super)->klass); RBASIC 822 class.c module = RBASIC(module)->klass; RBASIC 838 class.c RBASIC_SET_CLASS(klass, RBASIC(module)->klass); RBASIC 912 class.c if (BUILTIN_TYPE(m) == T_ICLASS) m = RBASIC(m)->klass; RBASIC 1023 class.c VALUE m = RBASIC(p)->klass; RBASIC 1058 class.c if (RBASIC(p)->klass == mod2) return Qtrue; RBASIC 1089 class.c rb_ary_push(ary, RBASIC(p)->klass); RBASIC 1591 class.c klass = RBASIC(obj)->klass; RBASIC 1612 class.c if (!(RBASIC(x)->flags & FL_SINGLETON)) { RBASIC 1636 class.c klass = RBASIC(obj)->klass; RBASIC 962 enum.c if (RBASIC(ary)->klass) { RBASIC 986 enum.c if (RBASIC(ary)->klass) { RBASIC 1104 enum.c if (RBASIC(ary)->klass) { RBASIC 1237 enum.c if (RBASIC(data->buf)->klass) { RBASIC 1249 enum.c if (RBASIC(data->buf)->klass) { RBASIC 1428 enum.c *((VALUE *)&RBASIC(result)->klass) = rb_cArray; RBASIC 2348 error.c if ((~RBASIC(obj)->flags & RBASIC(orig)->flags) & FL_TAINT) { RBASIC 2351 error.c RBASIC(obj)->klass); RBASIC 1112 eval.c if (RBASIC(c)->klass == module) { RBASIC 1162 eval.c module = RBASIC(klass)->klass; RBASIC 1202 eval.c if (RBASIC(c)->klass == refinement) { RBASIC 113 ext/-test-/string/cstr.c RBASIC(str2)->flags &= ~RSTRING_EMBED_LEN_MASK; RBASIC 100 ext/objspace/object_tracing.c info->flags = RBASIC(obj)->flags; RBASIC 57 ext/objspace/objspace.c if (RBASIC(v)->flags) { RBASIC 153 ext/objspace/objspace.c if (RBASIC(v)->flags) { RBASIC 265 ext/objspace/objspace.c if (RBASIC(v)->flags && BUILTIN_TYPE(v) == T_SYMBOL) { RBASIC 338 ext/objspace/objspace.c if (RBASIC(v)->flags && BUILTIN_TYPE(v) == T_NODE) { RBASIC 514 ext/objspace/objspace.c if (RBASIC(v)->flags && BUILTIN_TYPE(v) == T_DATA) { RBASIC 516 ext/objspace/objspace.c VALUE key = RBASIC(v)->klass; RBASIC 588 ext/objspace/objspace.c if (RBASIC(v)->flags && BUILTIN_TYPE(v) == T_IMEMO) { RBASIC 330 ext/objspace/objspace_dump.c if (RBASIC(v)->flags && v != dc->string) { RBASIC 11244 ext/ripper/ripper.c if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 5495 ext/ripper/ripper.y if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 126 ext/stringio/stringio.c ((RBASIC(strio)->flags & STRIO_##mode) && \ RBASIC 224 ext/stringio/stringio.c RBASIC(self)->flags |= (ptr->flags & FMODE_READWRITE) * (STRIO_READABLE / FMODE_READABLE); RBASIC 369 ext/stringio/stringio.c RBASIC(self)->flags &= ~STRIO_READWRITE; RBASIC 387 ext/stringio/stringio.c RBASIC(self)->flags &= ~STRIO_READABLE; RBASIC 405 ext/stringio/stringio.c RBASIC(self)->flags &= ~STRIO_WRITABLE; RBASIC 481 ext/stringio/stringio.c RBASIC(copy)->flags &= ~STRIO_READWRITE; RBASIC 482 ext/stringio/stringio.c RBASIC(copy)->flags |= RBASIC(orig)->flags & STRIO_READWRITE; RBASIC 1009 gc.c #define FL_SET2(x,f) do {if (RGENGC_CHECK_MODE && SPECIAL_CONST_P(x)) rb_bug("FL_SET2: SPECIAL_CONST"); RBASIC(x)->flags |= (f);} while (0) RBASIC 1010 gc.c #define FL_UNSET2(x,f) do {if (RGENGC_CHECK_MODE && SPECIAL_CONST_P(x)) rb_bug("FL_UNSET2: SPECIAL_CONST"); RBASIC(x)->flags &= ~(f);} while (0) RBASIC 1064 gc.c const int age = RVALUE_FLAGS_AGE(RBASIC(obj)->flags); RBASIC 1146 gc.c return (RBASIC(obj)->flags & promoted) == promoted; RBASIC 1161 gc.c return RVALUE_FLAGS_AGE(RBASIC(obj)->flags); RBASIC 1195 gc.c VALUE flags = RBASIC(obj)->flags; RBASIC 1203 gc.c RBASIC(obj)->flags = RVALUE_FLAGS_AGE_SET(flags, age); RBASIC 1218 gc.c RBASIC(obj)->flags = RVALUE_FLAGS_AGE_SET(RBASIC(obj)->flags, RVALUE_OLD_AGE); RBASIC 1231 gc.c RBASIC(obj)->flags = RVALUE_FLAGS_AGE_SET(RBASIC(obj)->flags, RVALUE_OLD_AGE - 1); RBASIC 1239 gc.c RBASIC(obj)->flags = RVALUE_FLAGS_AGE_SET(RBASIC(obj)->flags, 0); RBASIC 1265 gc.c RBASIC(obj)->flags = RVALUE_FLAGS_AGE_SET(RBASIC(obj)->flags, 0); RBASIC 1774 gc.c RBASIC(obj)->flags = flags; RBASIC 2252 gc.c if (!(RBASIC(obj)->flags & BIGNUM_EMBED_FLAG) && BIGNUM_DIGITS(obj)) { RBASIC 2262 gc.c if ((RBASIC(obj)->flags & RSTRUCT_EMBED_LEN_MASK) == 0 && RBASIC 2291 gc.c BUILTIN_TYPE(obj), (void*)obj, RBASIC(obj)->flags); RBASIC 2639 gc.c RBASIC(obj)->flags |= FL_FINALIZE; RBASIC 3033 gc.c if (RBASIC(ptr)->klass == 0) { RBASIC 3128 gc.c if (!(RBASIC(obj)->flags & ROBJECT_EMBED) && RBASIC 3203 gc.c if (!(RBASIC(obj)->flags & BIGNUM_EMBED_FLAG) && BIGNUM_DIGITS(obj)) { RBASIC 3213 gc.c if ((RBASIC(obj)->flags & RSTRUCT_EMBED_LEN_MASK) == 0 && RBASIC 5062 gc.c if (RGENGC_CHECK_MODE) assert(RBASIC(obj)->flags == T_ZOMBIE); RBASIC 5084 gc.c if (RBASIC(obj) == 0) free_objects++; RBASIC 9148 gc.c const int age = RVALUE_FLAGS_AGE(RBASIC(obj)->flags); RBASIC 9167 gc.c else if (RBASIC(obj)->klass == 0) { RBASIC 9171 gc.c VALUE class_path = rb_class_path_cached(RBASIC(obj)->klass); RBASIC 106 hash.c if (RB_TYPE_P(a, T_STRING) && RBASIC(a)->klass == rb_cString && RBASIC 107 hash.c RB_TYPE_P(b, T_STRING) && RBASIC(b)->klass == rb_cString) { RBASIC 435 hash.c const VALUE flags = RBASIC(hash)->flags; RBASIC 1900 hash.c const VALUE flags = RBASIC(hash)->flags; RBASIC 40 include/ruby/encoding.h RBASIC(obj)->flags &= ~RUBY_ENCODING_MASK;\ RBASIC 41 include/ruby/encoding.h RBASIC(obj)->flags |= (VALUE)(i) << RUBY_ENCODING_SHIFT;\ RBASIC 46 include/ruby/encoding.h (int)((RBASIC(obj)->flags & RUBY_ENCODING_MASK)>>RUBY_ENCODING_SHIFT) RBASIC 77 include/ruby/encoding.h #define RB_ENC_CODERANGE(obj) ((int)RBASIC(obj)->flags & RUBY_ENC_CODERANGE_MASK) RBASIC 80 include/ruby/encoding.h RBASIC(obj)->flags = \ RBASIC 81 include/ruby/encoding.h (RBASIC(obj)->flags & ~RUBY_ENC_CODERANGE_MASK) | (cr)) RBASIC 863 include/ruby/ruby.h #define RBASIC_CLASS(obj) (RBASIC(obj)->klass) RBASIC 886 include/ruby/ruby.h ((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RBASIC 890 include/ruby/ruby.h ((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RBASIC 894 include/ruby/ruby.h ((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RBASIC 961 include/ruby/ruby.h (long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \ RBASIC 964 include/ruby/ruby.h (!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RBASIC 968 include/ruby/ruby.h (!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RBASIC 972 include/ruby/ruby.h (!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RBASIC 977 include/ruby/ruby.h (!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RBASIC 1009 include/ruby/ruby.h (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ RBASIC 1201 include/ruby/ruby.h (long)((RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \ RBASIC 1265 include/ruby/ruby.h #define RB_FL_TEST_RAW(x,f) (RBASIC(x)->flags&(f)) RBASIC 1271 include/ruby/ruby.h #define RB_FL_SET_RAW(x,f) (void)(RBASIC(x)->flags |= (f)) RBASIC 1273 include/ruby/ruby.h #define RB_FL_UNSET_RAW(x,f) (void)(RBASIC(x)->flags &= ~(f)) RBASIC 1275 include/ruby/ruby.h #define RB_FL_REVERSE_RAW(x,f) (void)(RBASIC(x)->flags ^= (f)) RBASIC 1290 include/ruby/ruby.h #define RB_OBJ_FROZEN_RAW(x) (RBASIC(x)->flags&RUBY_FL_FREEZE) RBASIC 1292 include/ruby/ruby.h #define RB_OBJ_FREEZE_RAW(x) (void)(RBASIC(x)->flags |= RUBY_FL_FREEZE) RBASIC 1330 include/ruby/ruby.h if (RBASIC_CLASS(x) && !(RBASIC(x)->flags & RUBY_FL_SINGLETON)) { RBASIC 1960 include/ruby/ruby.h return RBASIC(obj)->klass; RBASIC 2008 include/ruby/ruby.h rb_obj_setup(clone, rb_singleton_class_clone(obj), RBASIC(obj)->flags); RBASIC 2023 include/ruby/ruby.h return (RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? RBASIC 2038 include/ruby/ruby.h return FIX_CONST_VALUE_PTR((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? RBASIC 2045 include/ruby/ruby.h return (RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? RBASIC 2052 include/ruby/ruby.h return FIX_CONST_VALUE_PTR((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? RBASIC 499 internal.h #define BIGNUM_SIGN(b) ((RBASIC(b)->flags & BIGNUM_SIGN_BIT) != 0) RBASIC 501 internal.h ((sign) ? (RBASIC(b)->flags |= BIGNUM_SIGN_BIT) \ RBASIC 502 internal.h : (RBASIC(b)->flags &= ~BIGNUM_SIGN_BIT)) RBASIC 505 internal.h #define BIGNUM_NEGATE(b) (RBASIC(b)->flags ^= BIGNUM_SIGN_BIT) RBASIC 511 internal.h ((RBASIC(b)->flags & BIGNUM_EMBED_FLAG) ? \ RBASIC 512 internal.h (long)((RBASIC(b)->flags >> BIGNUM_EMBED_LEN_SHIFT) & \ RBASIC 517 internal.h ((RBASIC(b)->flags & BIGNUM_EMBED_FLAG) ? \ RBASIC 702 internal.h return (RBASIC(imemo)->flags >> FL_USHIFT) & imemo_mask; RBASIC 33 iseq.c #define hidden_obj_p(obj) (!SPECIAL_CONST_P(obj) && !RBASIC(obj)->klass) RBASIC 205 load.c RBASIC(this_feature_index)->flags = T_ARRAY; /* fake VALUE, do not mark/sweep */ RBASIC 257 marshal.c RBASIC(buf)->flags |= arg->infection; RBASIC 502 marshal.c VALUE path = rb_class_name(RBASIC(klass)->klass); RBASIC 753 marshal.c rb_alloc_func_t allocator = rb_get_alloc_func(RBASIC(obj)->klass); RBASIC 1623 marshal.c if (RB_TYPE_P(v, T_MODULE) || !RTEST(rb_class_inherited_p(c, RBASIC(v)->klass))) { RBASIC 71 object.c RBASIC(obj)->flags = type; RBASIC 210 object.c ((RBASIC(cl)->flags & FL_SINGLETON) || BUILTIN_TYPE(cl) == T_ICLASS)) { RBASIC 260 object.c if (!(RBASIC(dest)->flags & ROBJECT_EMBED) && ROBJECT_IVPTR(dest)) { RBASIC 266 object.c if (RBASIC(obj)->flags & ROBJECT_EMBED) { RBASIC 268 object.c RBASIC(dest)->flags |= ROBJECT_EMBED; RBASIC 280 object.c RBASIC(dest)->flags &= ~ROBJECT_EMBED; RBASIC 290 object.c RBASIC(dest)->flags &= ~(T_MASK|FL_EXIVAR); RBASIC 291 object.c RBASIC(dest)->flags |= RBASIC(obj)->flags & (T_MASK|FL_EXIVAR|FL_TAINT); RBASIC 334 object.c RBASIC(clone)->flags &= (FL_TAINT|FL_PROMOTED0|FL_PROMOTED1); RBASIC 335 object.c RBASIC(clone)->flags |= RBASIC(obj)->flags & ~(FL_PROMOTED0|FL_PROMOTED1|FL_FREEZE|FL_FINALIZE); RBASIC 345 object.c RBASIC(clone)->flags |= RBASIC(obj)->flags & FL_FREEZE; RBASIC 1765 object.c rb_make_metaclass(klass, RBASIC(super)->klass); RBASIC 11168 parse.c if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 5495 parse.y if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 1230 range.c if (!RB_TYPE_P(obj, T_OBJECT) || RBASIC(obj)->klass != rb_cObject) { RBASIC 475 re.c if (RBASIC(re)->flags & REG_ENCODING_NONE) RBASIC 1414 re.c else if (warn && (RBASIC(re)->flags & REG_ENCODING_NONE) && RBASIC 3473 re.c if (RBASIC(re)->flags & KCODE_FIXED) options |= ARG_ENCODING_FIXED; RBASIC 3474 re.c if (RBASIC(re)->flags & REG_ENCODING_NONE) options |= ARG_ENCODING_NONE; RBASIC 1315 sprintf.c if (RBASIC(result)->klass) { RBASIC 1342 sprintf.c if (RBASIC(result)->klass) { RBASIC 1469 sprintf.c klass = RBASIC(str)->klass; RBASIC 91 string.c RBASIC(str)->flags &= ~RSTRING_EMBED_LEN_MASK;\ RBASIC 92 string.c RBASIC(str)->flags |= (tmp_n) << RSTRING_EMBED_LEN_SHIFT;\ RBASIC 286 string.c RBASIC(str)->flags |= RSTRING_FSTR; RBASIC 805 string.c RBASIC(str)->flags |= STR_NOFREE; RBASIC 1125 string.c (klass != RBASIC(shared)->klass) || RBASIC 1126 string.c ((RBASIC(shared)->flags ^ RBASIC(orig)->flags) & FL_TAINT) || RBASIC 1149 string.c RBASIC(str)->flags |= RBASIC(orig)->flags & STR_NOFREE; RBASIC 1150 string.c RBASIC(orig)->flags &= ~STR_NOFREE; RBASIC 4146 string.c int fl = (int)(RBASIC(str)->flags & (STR_NOEMBED|STR_SHARED|STR_NOFREE)); RBASIC 256 struct.c rb_make_metaclass(nstr, RBASIC(klass)->klass); RBASIC 579 struct.c RBASIC(st)->flags &= ~RSTRUCT_EMBED_LEN_MASK; RBASIC 580 struct.c RBASIC(st)->flags |= n << RSTRUCT_EMBED_LEN_SHIFT; RBASIC 750 symbol.c if (RBASIC(str)->klass == 0) RBASIC 4333 thread.c #define rb_thread_shield_waiting(b) (int)((RBASIC(b)->flags&THREAD_SHIELD_WAITING_MASK)>>THREAD_SHIELD_WAITING_SHIFT) RBASIC 4342 thread.c RBASIC(b)->flags &= ~THREAD_SHIELD_WAITING_MASK; RBASIC 4343 thread.c RBASIC(b)->flags |= ((VALUE)w << THREAD_SHIELD_WAITING_SHIFT); RBASIC 4352 thread.c RBASIC(b)->flags &= ~THREAD_SHIELD_WAITING_MASK; RBASIC 4353 thread.c RBASIC(b)->flags |= ((VALUE)w << THREAD_SHIELD_WAITING_SHIFT); RBASIC 278 variable.c path = rb_tmp_class_path(RBASIC(klass)->klass, &perm, cache_path); RBASIC 1377 variable.c RBASIC(obj)->flags |= ROBJECT_EMBED; RBASIC 1387 variable.c if (RBASIC(obj)->flags & ROBJECT_EMBED) { RBASIC 1390 variable.c RBASIC(obj)->flags &= ~ROBJECT_EMBED; RBASIC 2770 variable.c return RBASIC(c)->klass; RBASIC 251 vm.c klass = RBASIC(klass)->klass; RBASIC 2681 vm.c RBASIC(fcore)->flags = T_ICLASS; RBASIC 1094 vm_backtrace.c return RBASIC(klass)->klass; RBASIC 1362 vm_backtrace.c klass = RBASIC(klass)->klass; RBASIC 539 vm_eval.c flags = RBASIC(recv)->flags; RBASIC 601 vm_eval.c defined_class = RBASIC(defined_class)->klass; RBASIC 792 vm_insnhelper.c if (LIKELY(is_attr ? cc->aux.index > 0 : ic->ic_serial == RCLASS_SERIAL(RBASIC(obj)->klass))) { RBASIC 816 vm_insnhelper.c ic->ic_serial = RCLASS_SERIAL(RBASIC(obj)->klass); RBASIC 839 vm_insnhelper.c VALUE klass = RBASIC(obj)->klass; RBASIC 2212 vm_insnhelper.c FL_TEST(RBASIC(klass)->klass, RMODULE_IS_REFINEMENT)) { RBASIC 2213 vm_insnhelper.c klass = RBASIC(klass)->klass; RBASIC 2248 vm_insnhelper.c RBASIC(current_defined_class)->klass : current_defined_class; RBASIC 624 vm_trace.c klass = RBASIC(klass)->klass; RBASIC 789 vm_trace.c trace_arg->klass = RBASIC(trace_arg->klass)->klass;