RBASIC 58 array.c (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ RBASIC 83 array.c RBASIC(ary)->flags &= ~RARRAY_EMBED_LEN_MASK; \ RBASIC 84 array.c RBASIC(ary)->flags |= (tmp_n) << RARRAY_EMBED_LEN_SHIFT; \ RBASIC 1695 array.c if (RBASIC(ary)->klass) { RBASIC 1764 array.c RBASIC(tmp)->klass = 0; RBASIC 1810 array.c RBASIC(tmp)->klass = rb_cArray; RBASIC 2112 array.c RBASIC(arg2)->klass = rb_obj_class(ary); RBASIC 3125 array.c if (RBASIC(result)->klass) { RBASIC 3157 array.c RBASIC(result)->klass = rb_class_of(ary); RBASIC 3493 array.c RBASIC(ary0)->klass = 0; RBASIC 3500 array.c RBASIC(ary0)->klass = rb_cArray; RBASIC 3576 array.c RBASIC(cc)->klass = 0; RBASIC 3621 array.c RBASIC(t0)->klass = 0; RBASIC 3622 array.c RBASIC(t1)->klass = 0; RBASIC 71 bignum.c ((RBASIC(b)->flags & RBIGNUM_EMBED_FLAG) ? \ RBASIC 72 bignum.c (RBASIC(b)->flags = (RBASIC(b)->flags & ~RBIGNUM_EMBED_LEN_MASK) | \ RBASIC 80 bignum.c if (RBASIC(big)->flags & RBIGNUM_EMBED_FLAG) { RBASIC 86 bignum.c RBASIC(big)->flags &= ~RBIGNUM_EMBED_FLAG; RBASIC 92 bignum.c RBASIC(big)->flags |= RBIGNUM_EMBED_FLAG; RBASIC 124 bignum.c RBASIC(big)->flags |= RBIGNUM_EMBED_FLAG; RBASIC 52 class.c if (RBASIC(super)->flags & FL_SINGLETON) { RBASIC 106 class.c RBASIC(clone)->klass = rb_singleton_class_clone(orig); RBASIC 145 class.c VALUE klass = RBASIC(obj)->klass; RBASIC 152 class.c VALUE clone = class_alloc(RBASIC(klass)->flags, 0); RBASIC 155 class.c RBASIC(clone)->klass = (VALUE)clone; RBASIC 158 class.c RBASIC(clone)->klass = rb_singleton_class_clone(klass); RBASIC 170 class.c rb_singleton_class_attached(RBASIC(clone)->klass, (VALUE)clone); RBASIC 195 class.c if (RBASIC(metaclass)->klass == metaclass) { /* for meta^(n)-class of Class */ RBASIC 197 class.c RBASIC(metametaclass)->klass = metametaclass; RBASIC 201 class.c RBASIC(metametaclass)->klass = RBASIC 202 class.c (RBASIC(RBASIC(metaclass)->klass)->klass == RBASIC(metaclass)->klass) RBASIC 203 class.c ? make_metametaclass(RBASIC(metaclass)->klass) RBASIC 204 class.c : RBASIC(RBASIC(metaclass)->klass)->klass; RBASIC 209 class.c RBASIC(metaclass)->klass = metametaclass; RBASIC 216 class.c rb_iv_get(RBASIC(super_of_metaclass)->klass, "__attached__") == super_of_metaclass RBASIC 217 class.c ? RBASIC(super_of_metaclass)->klass RBASIC 236 class.c RBASIC(obj)->klass = klass; RBASIC 239 class.c metasuper = RBASIC(rb_class_real(super))->klass; RBASIC 242 class.c RBASIC(klass)->klass = metasuper; RBASIC 255 class.c rb_make_metaclass(klass, RBASIC(super)->klass); RBASIC 395 class.c module = RBASIC(module)->klass; RBASIC 404 class.c RBASIC(klass)->klass = RBASIC(module)->klass; RBASIC 407 class.c RBASIC(klass)->klass = module; RBASIC 486 class.c rb_ary_push(ary, RBASIC(p)->klass); RBASIC 519 class.c if (RBASIC(p)->klass == mod2) return Qtrue; RBASIC 550 class.c rb_ary_push(ary, RBASIC(p)->klass); RBASIC 858 class.c if (FL_TEST(RBASIC(obj)->klass, FL_SINGLETON) && RBASIC 859 class.c rb_iv_get(RBASIC(obj)->klass, "__attached__") == obj) { RBASIC 860 class.c klass = RBASIC(obj)->klass; RBASIC 863 class.c klass = rb_make_metaclass(obj, RBASIC(obj)->klass); RBASIC 867 class.c if (rb_iv_get(RBASIC(klass)->klass, "__attached__") != klass) RBASIC 1394 encoding.c RBASIC(list)->klass = 0; RBASIC 691 enum.c if (RBASIC(ary)->klass) { RBASIC 707 enum.c if (RBASIC(ary)->klass) { RBASIC 796 enum.c RBASIC(ary)->klass = 0; RBASIC 802 enum.c if (RBASIC(ary)->klass) { RBASIC 808 enum.c RBASIC(ary)->klass = rb_cArray; RBASIC 1784 enum.c RBASIC(ary)->klass = 0; RBASIC 943 error.c RBASIC(self)->klass = klass; RBASIC 28 ext/coverage/coverage.c RBASIC(coverages)->klass = 0; RBASIC 38 ext/coverage/coverage.c RBASIC(coverage)->klass = rb_cArray; RBASIC 57 ext/coverage/coverage.c RBASIC(coverages)->klass = rb_cHash; RBASIC 10399 ext/ripper/ripper.c if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 10403 ext/ripper/ripper.c RBASIC(lines)->klass = 0; RBASIC 11058 ext/ripper/ripper.c if (RBASIC(str)->flags & RSTRING_NOEMBED) RBASIC 14955 ext/ripper/ripper.c if (RBASIC(str)->klass == 0) RBASIC 14956 ext/ripper/ripper.c RBASIC(str)->klass = rb_cString; RBASIC 14973 ext/ripper/ripper.c if (RBASIC(str)->klass == 0) RBASIC 14974 ext/ripper/ripper.c RBASIC(str)->klass = rb_cString; RBASIC 4999 ext/ripper/ripper.y if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 5003 ext/ripper/ripper.y RBASIC(lines)->klass = 0; RBASIC 5658 ext/ripper/ripper.y if (RBASIC(str)->flags & RSTRING_NOEMBED) RBASIC 9555 ext/ripper/ripper.y if (RBASIC(str)->klass == 0) RBASIC 9556 ext/ripper/ripper.y RBASIC(str)->klass = rb_cString; RBASIC 9573 ext/ripper/ripper.y if (RBASIC(str)->klass == 0) RBASIC 9574 ext/ripper/ripper.y RBASIC(str)->klass = rb_cString; RBASIC 639 ext/socket/socket.c klass = RBASIC(str)->klass; RBASIC 640 ext/socket/socket.c RBASIC(str)->klass = 0; RBASIC 645 ext/socket/socket.c if (RBASIC(str)->klass || RSTRING_LEN(str) != buflen) { RBASIC 650 ext/socket/socket.c RBASIC(str)->klass = klass; RBASIC 17 ext/zlib/zlib.c #define OBJ_IS_FREED(val) (RBASIC(val)->flags == 0) RBASIC 442 ext/zlib/zlib.c RBASIC(z->buf)->klass = 0; RBASIC 472 ext/zlib/zlib.c RBASIC(z->buf)->klass = 0; RBASIC 490 ext/zlib/zlib.c RBASIC(z->buf)->klass = 0; RBASIC 525 ext/zlib/zlib.c RBASIC(dst)->klass = rb_cString; RBASIC 545 ext/zlib/zlib.c RBASIC(dst)->klass = rb_cString; RBASIC 598 ext/zlib/zlib.c RBASIC(z->input)->klass = 0; RBASIC 646 ext/zlib/zlib.c RBASIC(dst)->klass = rb_cString; RBASIC 649 ext/zlib/zlib.c RBASIC(dst)->klass = rb_cString; RBASIC 4537 file.c RBASIC(fname)->klass = 0; RBASIC 4549 file.c RBASIC(tmp)->klass = rb_obj_class(*filep); RBASIC 4605 file.c RBASIC(tmp)->klass = rb_obj_class(path); RBASIC 998 gc.c RBASIC(v)->flags = FL_MARK; RBASIC 1037 gc.c RBASIC(v)->flags = 0; RBASIC 1757 gc.c RBASIC(p)->flags &= ~FL_MARK; RBASIC 1912 gc.c if (!(RBASIC(obj)->flags & RBIGNUM_EMBED_FLAG) && RBIGNUM_DIGITS(obj)) { RBASIC 1930 gc.c if ((RBASIC(obj)->flags & RSTRUCT_EMBED_LEN_MASK) == 0 && RBASIC 2297 gc.c RBASIC(obj)->flags |= FL_FINALIZE; RBASIC 2310 gc.c RBASIC(table)->klass = 0; RBASIC 2346 gc.c RBASIC(obj)->klass = 0; RBASIC 2522 gc.c if (BUILTIN_TYPE(ptr) == 0 || RBASIC(ptr)->klass == 0) { RBASIC 45 hash.c if (TYPE(a) == T_STRING && RBASIC(a)->klass == rb_cString && RBASIC 46 hash.c TYPE(b) == T_STRING && RBASIC(b)->klass == rb_cString) { RBASIC 23 include/ruby/encoding.h RBASIC(obj)->flags &= ~ENCODING_MASK;\ RBASIC 24 include/ruby/encoding.h RBASIC(obj)->flags |= (i) << ENCODING_SHIFT;\ RBASIC 35 include/ruby/encoding.h #define ENCODING_GET_INLINED(obj) ((RBASIC(obj)->flags & ENCODING_MASK)>>ENCODING_SHIFT) RBASIC 50 include/ruby/encoding.h #define ENC_CODERANGE(obj) (RBASIC(obj)->flags & ENC_CODERANGE_MASK) RBASIC 52 include/ruby/encoding.h #define ENC_CODERANGE_SET(obj,cr) (RBASIC(obj)->flags = \ RBASIC 53 include/ruby/encoding.h (RBASIC(obj)->flags & ~ENC_CODERANGE_MASK) | (cr)) RBASIC 504 include/ruby/ruby.h RBASIC(obj)->flags = (t);\ RBASIC 505 include/ruby/ruby.h RBASIC(obj)->klass = (c);\ RBASIC 509 include/ruby/ruby.h OBJSETUP(clone,rb_singleton_class_clone((VALUE)obj),RBASIC(obj)->flags);\ RBASIC 510 include/ruby/ruby.h rb_singleton_class_attached(RBASIC(clone)->klass, (VALUE)clone);\ RBASIC 514 include/ruby/ruby.h OBJSETUP(dup,rb_obj_class(obj), (RBASIC(obj)->flags)&(T_MASK|FL_EXIVAR|FL_TAINT|FL_UNTRUSTED)); \ RBASIC 537 include/ruby/ruby.h ((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RBASIC 541 include/ruby/ruby.h ((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RBASIC 545 include/ruby/ruby.h ((RBASIC(o)->flags & ROBJECT_EMBED) ? \ RBASIC 596 include/ruby/ruby.h (!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RBASIC 597 include/ruby/ruby.h (long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \ RBASIC 601 include/ruby/ruby.h (!(RBASIC(str)->flags & RSTRING_NOEMBED) ? \ RBASIC 626 include/ruby/ruby.h ((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ RBASIC 627 include/ruby/ruby.h (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ RBASIC 631 include/ruby/ruby.h ((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ RBASIC 719 include/ruby/ruby.h ((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \ RBASIC 720 include/ruby/ruby.h (long)((RBASIC(st)->flags >> RSTRUCT_EMBED_LEN_SHIFT) & \ RBASIC 724 include/ruby/ruby.h ((RBASIC(st)->flags & RSTRUCT_EMBED_LEN_MASK) ? \ RBASIC 741 include/ruby/ruby.h #define RBIGNUM_SIGN(b) ((RBASIC(b)->flags & RBIGNUM_SIGN_BIT) != 0) RBASIC 743 include/ruby/ruby.h ((sign) ? (RBASIC(b)->flags |= RBIGNUM_SIGN_BIT) \ RBASIC 744 include/ruby/ruby.h : (RBASIC(b)->flags &= ~RBIGNUM_SIGN_BIT)) RBASIC 752 include/ruby/ruby.h ((RBASIC(b)->flags & RBIGNUM_EMBED_FLAG) ? \ RBASIC 753 include/ruby/ruby.h (long)((RBASIC(b)->flags >> RBIGNUM_EMBED_LEN_SHIFT) & \ RBASIC 758 include/ruby/ruby.h ((RBASIC(b)->flags & RBIGNUM_EMBED_FLAG) ? \ RBASIC 814 include/ruby/ruby.h #define FL_TEST(x,f) (FL_ABLE(x)?(RBASIC(x)->flags&(f)):0) RBASIC 817 include/ruby/ruby.h #define FL_SET(x,f) do {if (FL_ABLE(x)) RBASIC(x)->flags |= (f);} while (0) RBASIC 818 include/ruby/ruby.h #define FL_UNSET(x,f) do {if (FL_ABLE(x)) RBASIC(x)->flags &= ~(f);} while (0) RBASIC 819 include/ruby/ruby.h #define FL_REVERSE(x,f) do {if (FL_ABLE(x)) RBASIC(x)->flags ^= (f);} while (0) RBASIC 825 include/ruby/ruby.h #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) RBASIC 1099 include/ruby/ruby.h return RBASIC(obj)->klass; RBASIC 4837 io.c RBASIC(tmp)->klass = 0; RBASIC 4855 io.c RBASIC(port)->klass = klass; RBASIC 5276 io.c RBASIC(io)->klass = rb_obj_class(nfile); RBASIC 160 iseq.c RBASIC(iseq->mark_ary)->klass = 0; RBASIC 176 iseq.c RBASIC(iseq->compile_data->mark_ary)->klass = 0; RBASIC 430 marshal.c path = rb_class2name(RBASIC(klass)->klass); RBASIC 630 marshal.c rb_alloc_func_t allocator = rb_get_alloc_func(RBASIC(obj)->klass); RBASIC 876 marshal.c RBASIC(arg.str)->klass = 0; RBASIC 901 marshal.c RBASIC(arg.str)->klass = rb_cString; RBASIC 1261 marshal.c if (TYPE(v) == T_MODULE || !RTEST(rb_class_inherited_p(c, RBASIC(v)->klass))) { RBASIC 1266 marshal.c RBASIC(v)->klass = c; RBASIC 130 object.c while ((RBASIC(cl)->flags & FL_SINGLETON) || BUILTIN_TYPE(cl) == T_ICLASS) { RBASIC 162 object.c RBASIC(dest)->flags &= ~(T_MASK|FL_EXIVAR); RBASIC 163 object.c RBASIC(dest)->flags |= RBASIC(obj)->flags & (T_MASK|FL_EXIVAR|FL_TAINT|FL_UNTRUSTED); RBASIC 168 object.c if (!(RBASIC(dest)->flags & ROBJECT_EMBED) && ROBJECT_IVPTR(dest)) { RBASIC 174 object.c if (RBASIC(obj)->flags & ROBJECT_EMBED) { RBASIC 176 object.c RBASIC(dest)->flags |= ROBJECT_EMBED; RBASIC 185 object.c RBASIC(dest)->flags &= ~ROBJECT_EMBED; RBASIC 235 object.c RBASIC(clone)->klass = rb_singleton_class_clone(obj); RBASIC 236 object.c RBASIC(clone)->flags = (RBASIC(obj)->flags | FL_TEST(clone, FL_TAINT) | FL_TEST(clone, FL_UNTRUSTED)) & ~(FL_FREEZE|FL_FINALIZE); RBASIC 238 object.c RBASIC(clone)->flags |= RBASIC(obj)->flags & FL_FREEZE; RBASIC 1339 object.c RBASIC(mod)->klass = klass; RBASIC 1409 object.c rb_make_metaclass(klass, RBASIC(super)->klass); RBASIC 2389 object.c RBASIC(RBASIC(klass)->klass)->klass = metametaclass; RBASIC 10331 parse.c if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 10335 parse.c RBASIC(lines)->klass = 0; RBASIC 10990 parse.c if (RBASIC(str)->flags & RSTRING_NOEMBED) RBASIC 14887 parse.c if (RBASIC(str)->klass == 0) RBASIC 14888 parse.c RBASIC(str)->klass = rb_cString; RBASIC 14905 parse.c if (RBASIC(str)->klass == 0) RBASIC 14906 parse.c RBASIC(str)->klass = rb_cString; RBASIC 4999 parse.y if (RTEST(coverages) && RBASIC(coverages)->klass == 0) { RBASIC 5003 parse.y RBASIC(lines)->klass = 0; RBASIC 5658 parse.y if (RBASIC(str)->flags & RSTRING_NOEMBED) RBASIC 9555 parse.y if (RBASIC(str)->klass == 0) RBASIC 9556 parse.y RBASIC(str)->klass = rb_cString; RBASIC 9573 parse.y if (RBASIC(str)->klass == 0) RBASIC 9574 parse.y RBASIC(str)->klass = rb_cString; RBASIC 375 proc.c if (RBASIC(procval)->klass == klass) { RBASIC 380 proc.c RBASIC(newprocval)->klass = klass; RBASIC 815 proc.c klass = RBASIC(klass)->klass; RBASIC 1206 process.c RBASIC(obj)->klass = 0; RBASIC 843 range.c if (TYPE(obj) != T_OBJECT || RBASIC(obj)->klass != rb_cObject) { RBASIC 1204 re.c if (warn && (RBASIC(re)->flags & REG_ENCODING_NONE) && RBASIC 2942 re.c if (RBASIC(re)->flags & KCODE_FIXED) options |= ARG_ENCODING_FIXED; RBASIC 2943 re.c if (RBASIC(re)->flags & REG_ENCODING_NONE) options |= ARG_ENCODING_NONE; RBASIC 443 ruby.c RBASIC(list)->klass = 0; RBASIC 1098 sprintf.c if (RBASIC(result)->klass) { RBASIC 1128 sprintf.c RBASIC(result)->klass = 0; RBASIC 1131 sprintf.c RBASIC(result)->klass = rb_cString; RBASIC 1182 sprintf.c klass = RBASIC(str)->klass; RBASIC 1183 sprintf.c RBASIC(str)->klass = 0; RBASIC 1186 sprintf.c RBASIC(str)->klass = klass; RBASIC 70 string.c RBASIC(str)->flags &= ~RSTRING_EMBED_LEN_MASK;\ RBASIC 71 string.c RBASIC(str)->flags |= (tmp_n) << RSTRING_EMBED_LEN_SHIFT;\ RBASIC 668 string.c if ((ofs > 0) || (klass != RBASIC(str)->klass) || RBASIC 788 string.c FL_SET(str, RBASIC(str2)->flags & STR_NOCAPA); RBASIC 1219 string.c RBASIC(add)->klass = 0; RBASIC 3034 string.c int fl = (RBASIC(str)->flags & (STR_NOEMBED|ELTS_SHARED)); RBASIC 3601 string.c RBASIC(dest)->klass = rb_obj_class(str); RBASIC 180 struct.c rb_make_metaclass(nstr, RBASIC(klass)->klass); RBASIC 247 struct.c rb_make_metaclass(klass, RBASIC(super)->klass); RBASIC 389 struct.c RBASIC(st)->flags &= ~RSTRUCT_EMBED_LEN_MASK; RBASIC 390 struct.c RBASIC(st)->flags |= n << RSTRUCT_EMBED_LEN_SHIFT; RBASIC 3620 thread.c klass = RBASIC(klass)->klass; RBASIC 3871 thread.c if (coverage && RBASIC(coverage)->klass == 0) { RBASIC 2638 transcode.c RBASIC(newstr)->klass = rb_obj_class(str); RBASIC 2652 transcode.c RBASIC(newstr)->klass = rb_obj_class(str); RBASIC 203 variable.c s = rb_class2name(RBASIC(klass)->klass); RBASIC 1035 variable.c RBASIC(obj)->flags |= ROBJECT_EMBED; RBASIC 1048 variable.c if (RBASIC(obj)->flags & ROBJECT_EMBED) { RBASIC 1051 variable.c RBASIC(obj)->flags &= ~ROBJECT_EMBED; RBASIC 1764 variable.c return RBASIC(c)->klass; RBASIC 1530 vm.c RBASIC(v)->flags = 0; RBASIC 1531 vm.c RBASIC(v)->klass = 0; RBASIC 1840 vm.c RBASIC(fcore)->flags = T_ICLASS; RBASIC 231 vm_eval.c defined_class = RBASIC(defined_class)->klass; RBASIC 563 vm_insnhelper.c defined_class = RBASIC(defined_class)->klass; RBASIC 1183 vm_insnhelper.c if (BUILTIN_TYPE(k) == T_ICLASS && RBASIC(k)->klass == klass) { RBASIC 188 vm_insnhelper.h #define HEAP_CLASS_OF(obj) RBASIC(obj)->klass