sym 563 addr2line.c ElfW(Sym) *sym = &symtab[j]; sym 566 addr2line.c if (ELF_ST_TYPE(sym->st_info) != STT_FUNC || sym->st_size <= 0) continue; sym 569 addr2line.c s = dlsym(h, strtab + sym->st_name); sym 596 addr2line.c ElfW(Sym) *sym = &symtab[j]; sym 597 addr2line.c uintptr_t saddr = (uintptr_t)sym->st_value + obj->base_addr; sym 598 addr2line.c if (ELF_ST_TYPE(sym->st_info) != STT_FUNC || sym->st_size <= 0) continue; sym 601 addr2line.c if (lines[i].line > 0 || d <= 0 || d > (uintptr_t)sym->st_size) sym 604 addr2line.c lines[i].sname = strtab + sym->st_name; sym 6406 compile.c if (sym == symRescue) return CATCH_TYPE_RESCUE; sym 6407 compile.c if (sym == symEnsure) return CATCH_TYPE_ENSURE; sym 6408 compile.c if (sym == symRetry) return CATCH_TYPE_RETRY; sym 6409 compile.c if (sym == symBreak) return CATCH_TYPE_BREAK; sym 6410 compile.c if (sym == symRedo) return CATCH_TYPE_REDO; sym 6411 compile.c if (sym == symNext) return CATCH_TYPE_NEXT; sym 6412 compile.c rb_raise(rb_eSyntaxError, "invalid exception symbol: %+"PRIsVALUE, sym); sym 6639 compile.c VALUE sym = RARRAY_AREF(op, i+1); sym 6641 compile.c register_label(iseq, labels_table, sym); sym 6684 compile.c VALUE val = rb_hash_aref(param, sym); sym 6693 compile.c sym, val); sym 6704 compile.c VALUE key, sym, default_val; sym 6743 compile.c sym = RARRAY_AREF(key, 0); sym 6747 compile.c sym = RARRAY_AREF(key, 0); sym 6753 compile.c ids[i] = SYM2ID(sym); sym 289 dln.c struct nlist * sym; sym 311 dln.c sym = buffer; sym 312 dln.c end = sym + hdrp->a_syms / sizeof(struct nlist); sym 315 dln.c while (sym < end) { sym 316 dln.c sym->n_un.n_name = (char*)sym->n_un.n_strx + displ; sym 317 dln.c sym++; sym 330 dln.c struct nlist *sym = syms; sym 339 dln.c while (sym < end) { sym 340 dln.c st_insert(tbl, sym->n_un.n_name, sym); sym 341 dln.c sym++; sym 620 dln.c struct nlist *sym; sym 638 dln.c sym = syms; sym 640 dln.c while (sym < end) { sym 642 dln.c int value = sym->n_value; sym 645 dln.c if (sym->n_type == (N_INDR | N_EXT)) { sym 646 dln.c char *key = sym->n_un.n_name; sym 648 dln.c if (st_lookup(sym_tbl, sym[1].n_un.n_name, &old_sym)) { sym 657 dln.c data.name0 = sym->n_un.n_name; sym 658 dln.c data.name1 = sym[1].n_un.n_name; sym 661 dln.c st_insert(undef_tbl, strdup(sym[1].n_un.n_name), NULL); sym 666 dln.c sym += 2; sym 670 dln.c if (sym->n_type == (N_UNDF | N_EXT)) { sym 671 dln.c if (st_lookup(sym_tbl, sym->n_un.n_name, &old_sym) == 0) { sym 677 dln.c sym->n_type = N_EXT | N_COMM; sym 678 dln.c sym->n_value = old_sym->n_value; sym 686 dln.c sym->n_type = N_COMM; sym 689 dln.c sym->n_value = new_common; sym 695 dln.c sym->n_type = N_EXT | N_COMM; sym 696 dln.c sym->n_value = old_sym->n_value; sym 699 dln.c sym->n_value = (long)dln_undefined; sym 700 dln.c st_insert(undef_tbl, strdup(sym->n_un.n_name), NULL); sym 704 dln.c sym++; sym 710 dln.c sym = syms; sym 711 dln.c while (sym < end) { sym 715 dln.c switch (sym->n_type) { sym 717 dln.c sym->n_value += hdr.a_text + hdr.a_data; sym 721 dln.c sym->n_value += block; sym 723 dln.c if (st_lookup(sym_tbl, sym->n_un.n_name, &new_sym) != 0 sym 729 dln.c key = sym->n_un.n_name; sym 731 dln.c unlink_undef(key, sym->n_value); sym 736 dln.c *new_sym = *sym; sym 737 dln.c new_sym->n_un.n_name = strdup(sym->n_un.n_name); sym 743 dln.c sym->n_value += block; sym 746 dln.c sym++; sym 770 dln.c sym = &(syms[R_SYMBOL(rel)]); sym 771 dln.c switch (sym->n_type) { sym 773 dln.c link_undef(sym->n_un.n_name, block, rel); sym 776 dln.c datum = sym->n_value; sym 848 dln.c for (sym = syms; sym<end; sym++) { sym 849 dln.c char *name = sym->n_un.n_name; sym 850 dln.c if (name[0] == '_' && sym->n_value >= block) { sym 852 dln.c libs_to_be_linked = (char**)sym->n_value; sym 856 dln.c ((int (*)())sym->n_value)(); sym 1000 dln.c struct nlist *syms, *sym, *end; sym 1017 dln.c sym = syms; sym 1019 dln.c while (sym < end) { sym 1020 dln.c if (sym->n_type == N_EXT|N_TEXT sym 1021 dln.c && st_lookup(undef_tbl, sym->n_un.n_name, NULL)) { sym 1024 dln.c sym++; sym 1026 dln.c if (sym < end) { sym 1077 dln.c struct nlist *sym; sym 1079 dln.c if (st_lookup(sym_tbl, name, &sym)) sym 1080 dln.c return (void*)sym->n_value; sym 8 ext/-test-/symbol/init.c return rb_check_symbol(&sym); sym 14 ext/-test-/symbol/init.c return rb_check_id(&sym) ? Qtrue : Qfalse; sym 41 ext/-test-/symbol/type.c return rb_sym2str(sym); sym 47 ext/-test-/symbol/type.c return STATIC_SYM_P(sym) ? Qtrue : Qfalse; sym 53 ext/-test-/symbol/type.c return DYNAMIC_SYM_P(sym) ? Qtrue : Qfalse; sym 62 ext/-test-/symbol/type.c rb_pin_dynamic_symbol(sym); sym 63 ext/-test-/symbol/type.c return sym; sym 3738 ext/date/date_core.c sym("time"), sym 3740 ext/date/date_core.c sym("hour"), sym 3741 ext/date/date_core.c sym("min"), sym 3742 ext/date/date_core.c sym("sec"))), sym 3746 ext/date/date_core.c sym("jd"))), sym 3748 ext/date/date_core.c sym("ordinal"), sym 3750 ext/date/date_core.c sym("year"), sym 3751 ext/date/date_core.c sym("yday"), sym 3752 ext/date/date_core.c sym("hour"), sym 3753 ext/date/date_core.c sym("min"), sym 3754 ext/date/date_core.c sym("sec"))), sym 3756 ext/date/date_core.c sym("civil"), sym 3758 ext/date/date_core.c sym("year"), sym 3759 ext/date/date_core.c sym("mon"), sym 3760 ext/date/date_core.c sym("mday"), sym 3761 ext/date/date_core.c sym("hour"), sym 3762 ext/date/date_core.c sym("min"), sym 3763 ext/date/date_core.c sym("sec"))), sym 3765 ext/date/date_core.c sym("commercial"), sym 3767 ext/date/date_core.c sym("cwyear"), sym 3768 ext/date/date_core.c sym("cweek"), sym 3769 ext/date/date_core.c sym("cwday"), sym 3770 ext/date/date_core.c sym("hour"), sym 3771 ext/date/date_core.c sym("min"), sym 3772 ext/date/date_core.c sym("sec"))), sym 3774 ext/date/date_core.c sym("wday"), sym 3776 ext/date/date_core.c sym("wday"), sym 3777 ext/date/date_core.c sym("hour"), sym 3778 ext/date/date_core.c sym("min"), sym 3779 ext/date/date_core.c sym("sec"))), sym 3781 ext/date/date_core.c sym("wnum0"), sym 3783 ext/date/date_core.c sym("year"), sym 3784 ext/date/date_core.c sym("wnum0"), sym 3785 ext/date/date_core.c sym("wday"), sym 3786 ext/date/date_core.c sym("hour"), sym 3787 ext/date/date_core.c sym("min"), sym 3788 ext/date/date_core.c sym("sec"))), sym 3790 ext/date/date_core.c sym("wnum1"), sym 3792 ext/date/date_core.c sym("year"), sym 3793 ext/date/date_core.c sym("wnum1"), sym 3794 ext/date/date_core.c sym("wday"), sym 3795 ext/date/date_core.c sym("hour"), sym 3796 ext/date/date_core.c sym("min"), sym 3797 ext/date/date_core.c sym("sec"))), sym 3801 ext/date/date_core.c sym("cwyear"), sym 3802 ext/date/date_core.c sym("cweek"), sym 3803 ext/date/date_core.c sym("wday"), sym 3804 ext/date/date_core.c sym("hour"), sym 3805 ext/date/date_core.c sym("min"), sym 3806 ext/date/date_core.c sym("sec"))), sym 3810 ext/date/date_core.c sym("year"), sym 3811 ext/date/date_core.c sym("wnum0"), sym 3812 ext/date/date_core.c sym("cwday"), sym 3813 ext/date/date_core.c sym("hour"), sym 3814 ext/date/date_core.c sym("min"), sym 3815 ext/date/date_core.c sym("sec"))), sym 3819 ext/date/date_core.c sym("year"), sym 3820 ext/date/date_core.c sym("wnum1"), sym 3821 ext/date/date_core.c sym("cwday"), sym 3822 ext/date/date_core.c sym("hour"), sym 3823 ext/date/date_core.c sym("min"), sym 3824 ext/date/date_core.c sym("sec")))); sym 3862 ext/date/date_core.c if (k == sym("ordinal")) { sym 3871 ext/date/date_core.c else if (k == sym("civil")) { sym 3888 ext/date/date_core.c else if (k == sym("commercial")) { sym 3905 ext/date/date_core.c else if (k == sym("wday")) { sym 3912 ext/date/date_core.c else if (k == sym("wnum0")) { sym 3929 ext/date/date_core.c else if (k == sym("wnum1")) { sym 3948 ext/date/date_core.c if (g && k == sym("time")) { sym 286 ext/fiddle/handle.c return fiddle_handle_sym(fiddle_handle->ptr, sym); sym 309 ext/fiddle/handle.c return fiddle_handle_sym(RTLD_NEXT, sym); sym 161 ext/fiddle/pointer.c VALUE ptr, sym, size, wrap = 0, funcwrap = 0; sym 167 ext/fiddle/pointer.c if (rb_scan_args(argc, argv, "12", &ptr, &size, &sym) >= 1) { sym 176 ext/fiddle/pointer.c f = get_freefunc(sym, &funcwrap); sym 209 ext/fiddle/pointer.c VALUE size, sym, obj, wrap = 0; sym 213 ext/fiddle/pointer.c switch (rb_scan_args(argc, argv, "11", &size, &sym)) { sym 220 ext/fiddle/pointer.c f = get_freefunc(sym, &wrap); sym 93 ext/io/console/console.c VALUE sym = argv[0]; sym 94 ext/io/console/console.c ID vid = rb_check_id(&sym); sym 107 ext/io/console/console.c # define rb_sym2str(sym) rb_id2str(SYM2ID(sym)) sym 771 ext/io/console/console.c VALUE sym = 0; sym 775 ext/io/console/console.c Check_Type(sym = argv[0], T_SYMBOL); sym 786 ext/io/console/console.c if (sym) { sym 787 ext/io/console/console.c if (sym == ID2SYM(id_close) && argc == 1) { sym 844 ext/io/console/console.c if (sym) { sym 448 ext/openssl/ossl_pkcs7.c if (SYMBOL_P(sym)) sym = rb_sym2str(sym); sym 449 ext/openssl/ossl_pkcs7.c else StringValue(sym); sym 450 ext/openssl/ossl_pkcs7.c RSTRING_GETMEM(sym, s, l); sym 454 ext/openssl/ossl_pkcs7.c ossl_raise(ePKCS7Error, "unknown type \"%"PRIsVALUE"\"", sym); sym 873 ext/ripper/ripper.y %type <val> fsym keyword_variable user_variable sym symbol operation operation2 operation3 sym 4412 ext/ripper/ripper.y symbol : tSYMBEG sym sym 4423 ext/ripper/ripper.y sym : fname sym 1409 ext/tk/tkutil/tkutil.c if (!RB_TYPE_P(sym, T_SYMBOL)) return sym; sym 1413 ext/tk/tkutil/tkutil.c if (!NIL_P(ret = rb_hash_aref(inf->aliases, sym))) { sym 1416 ext/tk/tkutil/tkutil.c str = rb_sym2str(sym); sym 1424 ext/tk/tkutil/tkutil.c if (idx >= CBSUBST_TBL_MAX) return sym; sym 3292 ext/win32ole/win32ole.c VALUE mid, sym; sym 3297 ext/win32ole/win32ole.c sym = rb_check_symbol(&mid); sym 3298 ext/win32ole/win32ole.c if (!NIL_P(sym)) mid = rb_sym2str(sym); sym 21 inits.c CALL(sym); sym 8558 io.c if (sym == sym_normal) sym 8563 io.c if (sym == sym_random) sym 8568 io.c if (sym == sym_sequential) sym 8573 io.c if (sym == sym_willneed) sym 8578 io.c if (sym == sym_dontneed) sym 8583 io.c if (sym == sym_noreuse) sym 1743 iseq.c VALUE sym = rb_str_intern(rb_sprintf("label_%lu", idx)); sym 1744 iseq.c st_insert(table, idx, sym); sym 1745 iseq.c return sym; sym 1102 load.c ID id = rb_to_id(sym); sym 1125 load.c ID id = rb_check_id(&sym); sym 1150 load.c return rb_mod_autoload(klass, sym, file); sym 1172 load.c return rb_mod_autoload_p(klass, sym); sym 182 marshal.c check_dump_arg(rb_funcallv(obj, sym, argc, argv), arg, name_##sym) sym 184 marshal.c check_dump_arg(rb_check_funcall(obj, sym, argc, argv), arg, name_##sym) sym 438 marshal.c if (st_lookup(arg->symbols, sym, &num)) { sym 443 marshal.c const VALUE orig_sym = sym; sym 444 marshal.c sym = rb_sym2str(sym); sym 445 marshal.c if (!sym) { sym 446 marshal.c rb_raise(rb_eTypeError, "can't dump anonymous ID %"PRIdVALUE, sym); sym 448 marshal.c encname = encoding_name(sym, arg); sym 450 marshal.c rb_enc_str_coderange(sym) == ENC_CODERANGE_7BIT) { sym 457 marshal.c w_bytes(RSTRING_PTR(sym), RSTRING_LEN(sym), arg); sym 1069 marshal.c check_load_arg(rb_funcallv(obj, sym, argc, argv), arg, name_##sym) sym 1303 marshal.c if (rb_enc_get_index(sym) != ENCINDEX_US_ASCII) return -1; sym 1304 marshal.c RSTRING_GETMEM(sym, p, l); sym 1322 marshal.c st_data_t sym; sym 1325 marshal.c if (!st_lookup(arg->symbols, num, &sym)) { sym 1328 marshal.c return (VALUE)sym; sym 1335 marshal.c VALUE sym; sym 1344 marshal.c sym = r_symbol(arg); sym 1345 marshal.c idx = sym2encidx(sym, r_object(arg)); sym 1466 marshal.c VALUE sym = r_symbol(arg); sym 1468 marshal.c int idx = sym2encidx(sym, val); sym 1474 marshal.c rb_ivar_set(obj, rb_intern_str(sym), val); sym 2195 marshal.c #define set_id(sym) sym = rb_intern_const(name_##sym) sym 2526 object.c M(sym), sym 873 parse.y %type <id> fsym keyword_variable user_variable sym symbol operation operation2 operation3 sym 4412 parse.y symbol : tSYMBEG sym sym 4423 parse.y sym : fname sym 482 proc.c ID lid = check_local_id(bindval, &sym); sym 491 proc.c sym = ID2SYM(lid); sym 494 proc.c bindval, sym); sym 527 proc.c ID lid = check_local_id(bindval, &sym); sym 531 proc.c if (!lid) lid = rb_intern_str(sym); sym 564 proc.c ID lid = check_local_id(bindval, &sym); sym 608 proc.c return cfunc_proc_new(klass, sym, 0); sym 1110 proc.c id = SYM2ID(sym); sym 1114 proc.c if (aryp[index] == sym) { sym 1119 proc.c aryp[index] = sym; sym 1248 proc.c return RTEST(rb_funcall(obj, rmiss, 2, sym, scope ? Qfalse : Qtrue)); sym 515 sprintf.c VALUE sym = Qnil; sym 610 sprintf.c if (sym != Qnil) { sym 612 sprintf.c len, start, rb_sym2str(sym)); sym 616 sprintf.c sym = rb_check_symbol_cstr(start + 1, sym 619 sprintf.c if (!NIL_P(sym)) nextvalue = rb_hash_lookup2(hash, sym, Qundef); sym 621 sprintf.c if (NIL_P(sym)) { sym 622 sprintf.c sym = rb_sym_intern(start + 1, sym 626 sprintf.c nextvalue = rb_hash_default_value(hash, sym); sym 9279 string.c enc = STR_ENC_GET(sym); sym 9280 string.c ptr = RSTRING_PTR(sym); sym 9281 string.c len = RSTRING_LEN(sym); sym 9282 string.c if ((resenc != enc && !rb_str_is_ascii_only_p(sym)) || len != (long)strlen(ptr) || sym 9328 string.c VALUE str = rb_sym2str(sym); sym 9366 string.c return str_new_shared(rb_cString, rb_sym2str(sym)); sym 9383 string.c return sym; sym 9395 string.c return rb_funcall_with_block(obj, (ID)sym, argc - 1, argv + 1, passed_proc); sym 9425 string.c return rb_str_intern(rb_str_succ(rb_sym2str(sym))); sym 9448 string.c return rb_str_cmp_m(rb_sym2str(sym), rb_sym2str(other)); sym 9465 string.c return rb_str_casecmp(rb_sym2str(sym), rb_sym2str(other)); sym 9478 string.c return rb_str_match(rb_sym2str(sym), other); sym 9491 string.c return rb_str_match_m(argc, argv, rb_sym2str(sym)); sym 9507 string.c return rb_str_aref_m(argc, argv, rb_sym2str(sym)); sym 9521 string.c return rb_str_length(rb_sym2str(sym)); sym 9534 string.c return rb_str_empty(rb_sym2str(sym)); sym 9547 string.c return rb_str_intern(rb_str_upcase(argc, argv, rb_sym2str(sym))); sym 9560 string.c return rb_str_intern(rb_str_downcase(argc, argv, rb_sym2str(sym))); sym 9573 string.c return rb_str_intern(rb_str_capitalize(argc, argv, rb_sym2str(sym))); sym 9586 string.c return rb_str_intern(rb_str_swapcase(argc, argv, rb_sym2str(sym))); sym 9599 string.c return rb_obj_encoding(rb_sym2str(sym)); sym 342 struct.c VALUE sym = rb_sym_intern_ascii_cstr(mem); sym 343 struct.c if (st_insert(tbl, sym, Qtrue)) { sym 22 symbol.c #define SYMBOL_PINNED_P(sym) (RSYMBOL(sym)->id&~ID_SCOPE_MASK) sym 24 symbol.c #define STATIC_SYM2ID(sym) RSHIFT((unsigned long)(sym), RUBY_SPECIAL_SHIFT) sym 102 symbol.c VALUE str, sym; sym 152 symbol.c sym = lookup_str_sym(str); sym 153 symbol.c id = sym ? rb_sym2id(sym) : intern_str(str, 1); sym 337 symbol.c rb_ary_store(ary, (long)idx + ID_ENTRY_SYM, sym); sym 362 symbol.c VALUE sym = get_id_entry(num, ID_ENTRY_SYM); sym 363 symbol.c return SYM2ID(sym); sym 388 symbol.c register_sym_update_callback, (st_data_t)sym); sym 390 symbol.c st_add_direct(global_symbols.str_sym, (st_data_t)str, (st_data_t)sym); sym 399 symbol.c rb_bug("%p can't remove str from str_id (%s)", (void *)sym, RSTRING_PTR(str)); sym 414 symbol.c VALUE sym = STATIC_ID2SYM(id); sym 421 symbol.c register_sym(str, sym); sym 422 symbol.c set_id_entry(num, str, sym); sym 495 symbol.c if (UNLIKELY(rb_objspace_garbage_object_p(sym))) { sym 496 symbol.c const VALUE fstr = RSYMBOL(sym)->fstr; sym 497 symbol.c const ID type = RSYMBOL(sym)->id & ID_SCOPE_MASK; sym 498 symbol.c RSYMBOL(sym)->fstr = 0; sym 500 symbol.c unregister_sym(fstr, sym); sym 504 symbol.c return sym; sym 513 symbol.c const VALUE sym = (VALUE)sym_data; sym 515 symbol.c if (STATIC_SYM_P(sym)) { sym 516 symbol.c return STATIC_SYM2ID(sym); sym 518 symbol.c else if (DYNAMIC_SYM_P(sym)) { sym 519 symbol.c ID id = RSYMBOL(sym)->id; sym 524 symbol.c rb_builtin_class_name(sym), sym, str); sym 535 symbol.c VALUE sym = (VALUE)sym_data; sym 537 symbol.c if (DYNAMIC_SYM_P(sym)) { sym 538 symbol.c sym = dsymbol_check(sym); sym 540 symbol.c return sym; sym 556 symbol.c VALUE sym; sym 561 symbol.c sym = lookup_str_sym(str); sym 562 symbol.c if (sym) return rb_sym2id(sym); sym 619 symbol.c VALUE sym = lookup_str_sym(str); sym 621 symbol.c if (sym) { sym 622 symbol.c return SYM2ID(sym); sym 631 symbol.c VALUE str = RSYMBOL(sym)->fstr; sym 634 symbol.c RSYMBOL(sym)->fstr = 0; sym 635 symbol.c unregister_sym(str, sym); sym 669 symbol.c VALUE sym = lookup_str_sym(str); sym 671 symbol.c if (sym) { sym 672 symbol.c return sym; sym 701 symbol.c if (STATIC_SYM_P(sym)) { sym 702 symbol.c id = STATIC_SYM2ID(sym); sym 704 symbol.c else if (DYNAMIC_SYM_P(sym)) { sym 705 symbol.c sym = dsymbol_check(sym); sym 706 symbol.c id = RSYMBOL(sym)->id; sym 708 symbol.c VALUE fstr = RSYMBOL(sym)->fstr; sym 711 symbol.c RSYMBOL(sym)->id = id |= num; sym 713 symbol.c set_id_entry(rb_id_to_serial(num), fstr, sym); sym 719 symbol.c rb_builtin_class_name(sym)); sym 736 symbol.c if (DYNAMIC_SYM_P(sym)) { sym 737 symbol.c return RSYMBOL(sym)->fstr; sym 740 symbol.c return rb_id2str(STATIC_SYM2ID(sym)); sym 777 symbol.c VALUE sym = (VALUE)value; sym 779 symbol.c if (STATIC_SYM_P(sym)) { sym 780 symbol.c rb_ary_push(ary, sym); sym 783 symbol.c else if (!DYNAMIC_SYM_P(sym)) { sym 786 symbol.c else if (!SYMBOL_PINNED_P(sym) && rb_objspace_garbage_object_p(sym)) { sym 787 symbol.c RSYMBOL(sym)->fstr = 0; sym 791 symbol.c rb_ary_push(ary, sym); sym 872 symbol.c return is_const_sym(sym); sym 878 symbol.c return is_class_sym(sym); sym 884 symbol.c return is_global_sym(sym); sym 890 symbol.c return is_instance_sym(sym); sym 896 symbol.c return is_attrset_sym(sym); sym 902 symbol.c return is_local_sym(sym); sym 908 symbol.c return is_junk_sym(sym); sym 958 symbol.c VALUE sym; sym 984 symbol.c if ((sym = lookup_str_sym(name)) != 0) { sym 985 symbol.c return sym; sym 1005 symbol.c VALUE sym; sym 1011 symbol.c if ((sym = lookup_str_sym(name)) != 0) { sym 1012 symbol.c return sym; sym 72 symbol.h if (STATIC_SYM_P(sym)) { sym 73 symbol.h id = RSHIFT(sym, RUBY_SPECIAL_SHIFT); sym 79 symbol.h id = RSYMBOL(sym)->id; sym 84 symbol.h #define is_local_sym(sym) (sym_type(sym)==ID_LOCAL) sym 85 symbol.h #define is_global_sym(sym) (sym_type(sym)==ID_GLOBAL) sym 86 symbol.h #define is_instance_sym(sym) (sym_type(sym)==ID_INSTANCE) sym 87 symbol.h #define is_attrset_sym(sym) (sym_type(sym)==ID_ATTRSET) sym 88 symbol.h #define is_const_sym(sym) (sym_type(sym)==ID_CONST) sym 89 symbol.h #define is_class_sym(sym) (sym_type(sym)==ID_CLASS) sym 90 symbol.h #define is_junk_sym(sym) (sym_type(sym)==ID_JUNK) sym 1604 thread.c VALUE sym; sym 1607 thread.c if ((sym = rb_hash_aref(mask, klass)) != Qnil) { sym 1608 thread.c if (sym == sym_immediate) { sym 1611 thread.c else if (sym == sym_on_blocking) { sym 1614 thread.c else if (sym == sym_never) { sym 4453 thread.c list = rb_hash_aref(hash, sym); sym 4457 thread.c rb_hash_aset(hash, sym, list); sym 4584 thread.c const VALUE sym = mid ? ID2SYM(mid) : ID2SYM(idNULL); sym 4587 thread.c p.list = recursive_list_access(sym); sym 4628 thread.c sym, rb_thread_current()); sym 883 variable.c VALUE sym, backref = rb_backref_get(); sym 895 variable.c sym = ID2SYM(rb_intern2(buf, 2)); sym 899 variable.c sym = rb_str_intern(rb_sprintf("$%d", i)); sym 901 variable.c rb_ary_push(ary, sym); sym 2439 variable.c ID sym = (ID)key; sym 2441 variable.c if (RB_CONST_PUBLIC_P(ce)) rb_ary_push(ary, ID2SYM(sym)); sym 2945 variable.c ID sym = (ID)key; sym 2946 variable.c rb_ary_push(ary, ID2SYM(sym)); sym 2477 vm.c vm_define_method(GET_THREAD(), Qnil, SYM2ID(sym), iseqval, FALSE); sym 2479 vm.c return sym; sym 2486 vm.c vm_define_method(GET_THREAD(), cbase, SYM2ID(sym), iseqval, TRUE); sym 2488 vm.c return sym; sym 2513 vm.c rb_undef(cbase, SYM2ID(sym)); sym 1799 vm_insnhelper.c VALUE sym; sym 1827 vm_insnhelper.c sym = TOPN(i); sym 1829 vm_insnhelper.c if (!(ci->mid = rb_check_id(&sym))) { sym 1836 vm_insnhelper.c TOPN(i) = rb_str_intern(sym); sym 686 vm_trace.c VALUE sym = rb_convert_type(v, T_SYMBOL, "Symbol", "to_sym"); sym 692 vm_trace.c #define C(name, NAME) CONST_ID(id, #name); if (sym == ID2SYM(id)) return RUBY_EVENT_##NAME sym 710 vm_trace.c rb_raise(rb_eArgError, "unknown event: %"PRIsVALUE, rb_sym2str(sym)); sym 1318 vm_trace.c VALUE sym = rb_tracearg_method_id(trace_arg); sym 1319 vm_trace.c if (NIL_P(sym)) sym 1325 vm_trace.c sym);