hash 2173 array.c VALUE hash = rb_hash_new();
hash 2185 array.c rb_hash_aset(hash, RARRAY_AREF(key_value_pair, 0), RARRAY_AREF(key_value_pair, 1));
hash 2187 array.c return hash;
hash 4011 array.c if (rb_hash_lookup2(hash, elt, Qundef) == Qundef) {
hash 4012 array.c rb_hash_aset(hash, elt, elt);
hash 4015 array.c return hash;
hash 4021 array.c VALUE hash = rb_hash_new();
hash 4023 array.c RBASIC_CLEAR_CLASS(hash);
hash 4024 array.c return hash;
hash 4030 array.c VALUE hash = ary_tmp_hash_new();
hash 4031 array.c return ary_add_hash(hash, ary);
hash 4041 array.c if (rb_hash_lookup2(hash, k, Qundef) == Qundef) {
hash 4042 array.c rb_hash_aset(hash, k, v);
hash 4045 array.c return hash;
hash 4051 array.c VALUE hash = ary_tmp_hash_new();
hash 4052 array.c return ary_add_hash_by(hash, ary);
hash 4058 array.c if (RHASH(hash)->ntbl) {
hash 4059 array.c st_table *tbl = RHASH(hash)->ntbl;
hash 4060 array.c RHASH(hash)->ntbl = 0;
hash 4063 array.c RB_GC_GUARD(hash);
hash 4087 array.c VALUE hash;
hash 4090 array.c hash = ary_make_hash(to_ary(ary2));
hash 4094 array.c if (st_lookup(rb_hash_tbl_raw(hash), RARRAY_AREF(ary1, i), 0)) continue;
hash 4097 array.c ary_recycle_hash(hash);
hash 4120 array.c VALUE hash, ary3, v;
hash 4128 array.c hash = ary_make_hash(ary2);
hash 4129 array.c table = rb_hash_tbl_raw(hash);
hash 4138 array.c ary_recycle_hash(hash);
hash 4169 array.c VALUE hash, ary3;
hash 4173 array.c hash = ary_make_hash(ary1);
hash 4177 array.c if (!st_update(RHASH_TBL_RAW(hash), (st_data_t)elt, ary_hash_orset, (st_data_t)elt)) {
hash 4178 array.c RB_OBJ_WRITTEN(hash, Qundef, elt);
hash 4181 array.c ary3 = rb_hash_values(hash);
hash 4182 array.c ary_recycle_hash(hash);
hash 4333 array.c VALUE hash;
hash 4340 array.c hash = ary_make_hash_by(ary);
hash 4342 array.c hash = ary_make_hash(ary);
hash 4344 array.c hash_size = RHASH_SIZE(hash);
hash 4355 array.c st_foreach(rb_hash_tbl_raw(hash), push_value, ary);
hash 4356 array.c ary_recycle_hash(hash);
hash 4385 array.c VALUE hash, uniq;
hash 4390 array.c hash = ary_make_hash_by(ary);
hash 4391 array.c uniq = rb_hash_values(hash);
hash 4394 array.c hash = ary_make_hash(ary);
hash 4395 array.c uniq = rb_hash_values(hash);
hash 4398 array.c ary_recycle_hash(hash);
hash 6653 bignum.c st_index_t hash;
hash 6655 bignum.c hash = rb_memhash(BDIGITS(x), sizeof(BDIGIT)*BIGNUM_LEN(x)) ^ BIGNUM_SIGN(x);
hash 6656 bignum.c return INT2FIX(hash);
hash 1787 class.c st_table *tbl = rb_hash_tbl_raw(hash);
hash 1794 class.c keys = rb_funcallv(hash, rb_intern("keys"), 0, 0);
hash 1814 class.c VALUE hash = *orighash;
hash 1816 class.c if (RHASH_EMPTY_P(hash)) {
hash 1818 class.c return hash;
hash 1820 class.c st_foreach(rb_hash_tbl_raw(hash), separate_symbol, (st_data_t)&parthash);
hash 1896 class.c VALUE hash = Qnil;
hash 1944 class.c hash = rb_check_hash_type(last);
hash 1945 class.c if (!NIL_P(hash)) {
hash 1946 class.c VALUE opts = rb_extract_keywords(&hash);
hash 1947 class.c if (!hash) argc--;
hash 1948 class.c hash = opts ? opts : Qnil;
hash 1991 class.c if (var) *var = hash;
hash 1532 compile.c VALUE hash;
hash 1542 compile.c rb_hash_aset(data->hash, key, INT2FIX(lobj->position - (data->pos+data->len)));
hash 1692 compile.c data.hash = map;
hash 7935 compile.c const struct ibf_object_hash *hash = IBF_OBJBODY(struct ibf_object_hash, offset);
hash 7939 compile.c for (i=0; i<hash->len; i++) {
hash 7940 compile.c VALUE key = ibf_load_object(load, hash->keyval[i*2 ]);
hash 7941 compile.c VALUE val = ibf_load_object(load, hash->keyval[i*2+1]);
hash 574 enum.c rb_hash_aset(hash, RARRAY_AREF(key_value_pair, 0), RARRAY_AREF(key_value_pair, 1));
hash 592 enum.c VALUE hash = rb_hash_new();
hash 593 enum.c rb_block_call(obj, id_each, argc, argv, enum_to_h_i, hash);
hash 594 enum.c OBJ_INFECT(hash, obj);
hash 595 enum.c return hash;
hash 834 enum.c values = rb_hash_aref(hash, group);
hash 837 enum.c rb_hash_aset(hash, group, values);
hash 863 enum.c VALUE hash;
hash 867 enum.c hash = rb_hash_new();
hash 868 enum.c rb_block_call(obj, id_each, 0, 0, group_by_i, hash);
hash 869 enum.c OBJ_INFECT(hash, obj);
hash 871 enum.c return hash;
hash 3688 enum.c assert(RB_TYPE_P(hash, T_HASH));
hash 3691 enum.c rb_hash_foreach(hash, hash_sum_i, (VALUE)memo);
hash 1088 eval.c VALUE hash = rb_ident_hash_new();
hash 1090 eval.c RBASIC_CLEAR_CLASS(hash); /* hide from ObjectSpace */
hash 1091 eval.c return hash;
hash 8 ext/-test-/hash/delete.c VALUE ret = rb_hash_delete_entry(hash, key);
hash 370 ext/bigdecimal/bigdecimal.c st_index_t hash;
hash 373 ext/bigdecimal/bigdecimal.c hash = (st_index_t)p->sign;
hash 375 ext/bigdecimal/bigdecimal.c if(hash == 2 || hash == (st_index_t)-2) {
hash 376 ext/bigdecimal/bigdecimal.c hash ^= rb_memhash(p->frac, sizeof(BDIGIT)*p->Prec);
hash 377 ext/bigdecimal/bigdecimal.c hash += p->exponent;
hash 379 ext/bigdecimal/bigdecimal.c return INT2FIX(hash);
hash 3678 ext/date/date_core.c #define set_hash0(k,v) rb_hash_aset(hash, k, v)
hash 3679 ext/date/date_core.c #define ref_hash0(k) rb_hash_aref(hash, k)
hash 3680 ext/date/date_core.c #define del_hash0(k) rb_hash_delete(hash, k)
hash 3682 ext/date/date_core.c #define set_hash(k,v) rb_hash_aset(hash, ID2SYM(rb_intern(k)), v)
hash 3683 ext/date/date_core.c #define ref_hash(k) rb_hash_aref(hash, ID2SYM(rb_intern(k)))
hash 3684 ext/date/date_core.c #define del_hash(k) rb_hash_delete(hash, ID2SYM(rb_intern(k)))
hash 3718 ext/date/date_core.c return hash;
hash 3966 ext/date/date_core.c return hash;
hash 4142 ext/date/date_core.c if (NIL_P(hash))
hash 4154 ext/date/date_core.c hash = rt_rewrite_frags(hash);
hash 4155 ext/date/date_core.c hash = rt_complete_frags(klass, hash);
hash 4156 ext/date/date_core.c jd = rt__valid_date_frags_p(hash, sg);
hash 4181 ext/date/date_core.c VALUE vstr, vfmt, hash;
hash 4205 ext/date/date_core.c hash = rb_hash_new();
hash 4206 ext/date/date_core.c if (NIL_P(date__strptime(str, slen, fmt, flen, hash)))
hash 4225 ext/date/date_core.c return hash;
hash 4282 ext/date/date_core.c VALUE argv2[2], hash;
hash 4286 ext/date/date_core.c hash = date_s__strptime(2, argv2, klass);
hash 4287 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 4296 ext/date/date_core.c VALUE vstr, vcomp, hash;
hash 4306 ext/date/date_core.c hash = date__parse(vstr, vcomp);
hash 4318 ext/date/date_core.c return hash;
hash 4373 ext/date/date_core.c VALUE argv2[2], hash;
hash 4377 ext/date/date_core.c hash = date_s__parse(2, argv2, klass);
hash 4378 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 4427 ext/date/date_core.c VALUE hash = date_s__iso8601(klass, str);
hash 4428 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 4468 ext/date/date_core.c VALUE hash = date_s__rfc3339(klass, str);
hash 4469 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 4509 ext/date/date_core.c VALUE hash = date_s__xmlschema(klass, str);
hash 4510 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 4553 ext/date/date_core.c VALUE hash = date_s__rfc2822(klass, str);
hash 4554 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 4595 ext/date/date_core.c VALUE hash = date_s__httpdate(klass, str);
hash 4596 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 4636 ext/date/date_core.c VALUE hash = date_s__jisx0301(klass, str);
hash 4637 ext/date/date_core.c return d_new_by_frags(klass, hash, sg);
hash 7742 ext/date/date_core.c if (NIL_P(hash))
hash 7764 ext/date/date_core.c hash = rt_rewrite_frags(hash);
hash 7765 ext/date/date_core.c hash = rt_complete_frags(klass, hash);
hash 7766 ext/date/date_core.c jd = rt__valid_date_frags_p(hash, sg);
hash 7878 ext/date/date_core.c VALUE argv2[2], hash;
hash 7882 ext/date/date_core.c hash = date_s__strptime(2, argv2, klass);
hash 7883 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 7921 ext/date/date_core.c VALUE argv2[2], hash;
hash 7925 ext/date/date_core.c hash = date_s__parse(2, argv2, klass);
hash 7926 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 7959 ext/date/date_core.c VALUE hash = date_s__iso8601(klass, str);
hash 7960 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 7989 ext/date/date_core.c VALUE hash = date_s__rfc3339(klass, str);
hash 7990 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 8019 ext/date/date_core.c VALUE hash = date_s__xmlschema(klass, str);
hash 8020 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 8050 ext/date/date_core.c VALUE hash = date_s__rfc2822(klass, str);
hash 8051 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 8080 ext/date/date_core.c VALUE hash = date_s__httpdate(klass, str);
hash 8081 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 8110 ext/date/date_core.c VALUE hash = date_s__jisx0301(klass, str);
hash 8111 ext/date/date_core.c return dt_new_by_frags(klass, hash, sg);
hash 40 ext/date/date_parse.c #define set_hash(k,v) rb_hash_aset(hash, ID2SYM(rb_intern(k)), v)
hash 41 ext/date/date_parse.c #define ref_hash(k) rb_hash_aref(hash, ID2SYM(rb_intern(k)))
hash 42 ext/date/date_parse.c #define del_hash(k) rb_hash_delete(hash, ID2SYM(rb_intern(k)))
hash 273 ext/date/date_parse.c return match(s, p, hash, c); \
hash 286 ext/date/date_parse.c (*cb)(m, hash);
hash 307 ext/date/date_parse.c (*cb)(m, hash);
hash 315 ext/date/date_parse.c return subx(s, asp_string(), p, hash, c); \
hash 321 ext/date/date_parse.c return subx(s, asuba_string(), p, hash, c); \
hash 326 ext/date/date_parse.c return subx(s, asubb_string(), p, hash, c); \
hash 331 ext/date/date_parse.c return subx(s, asubw_string(), p, hash, c); \
hash 336 ext/date/date_parse.c return subx(s, asubt_string(), p, hash, c); \
hash 648 ext/date/date_parse.c parse_time2_cb(m, hash);
hash 742 ext/date/date_parse.c if (parse_era1(str, hash)) /* pre */
hash 744 ext/date/date_parse.c if (parse_era2(str, hash)) /* post */
hash 809 ext/date/date_parse.c s3e(hash, y, mon, d, !NIL_P(b) &&
hash 824 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 887 ext/date/date_parse.c s3e(hash, y, mon, d, !NIL_P(b) &&
hash 902 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 967 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1228 ext/date/date_parse.c if (parse_iso21(str, hash))
hash 1230 ext/date/date_parse.c if (parse_iso22(str, hash))
hash 1232 ext/date/date_parse.c if (parse_iso23(str, hash))
hash 1234 ext/date/date_parse.c if (parse_iso24(str, hash))
hash 1236 ext/date/date_parse.c if (parse_iso25(str, hash))
hash 1238 ext/date/date_parse.c if (parse_iso26(str, hash))
hash 1317 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1359 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1388 ext/date/date_parse.c if (parse_vms11(str, hash))
hash 1390 ext/date/date_parse.c if (parse_vms12(str, hash))
hash 1412 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1451 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1485 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1520 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1559 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 1593 ext/date/date_parse.c s3e(hash, y, mon, d, 0);
hash 2098 ext/date/date_parse.c VALUE backref, hash;
hash 2123 ext/date/date_parse.c hash = rb_hash_new();
hash 2127 ext/date/date_parse.c parse_day(str, hash);
hash 2129 ext/date/date_parse.c parse_time(str, hash);
hash 2133 ext/date/date_parse.c parse_era(str, hash);
hash 2137 ext/date/date_parse.c if (parse_eu(str, hash))
hash 2139 ext/date/date_parse.c if (parse_us(str, hash))
hash 2143 ext/date/date_parse.c if (parse_iso(str, hash))
hash 2146 ext/date/date_parse.c if (parse_jis(str, hash))
hash 2149 ext/date/date_parse.c if (parse_vms(str, hash))
hash 2152 ext/date/date_parse.c if (parse_sla(str, hash))
hash 2156 ext/date/date_parse.c if (parse_sla2(str, hash))
hash 2158 ext/date/date_parse.c if (parse_sla3(str, hash))
hash 2163 ext/date/date_parse.c if (parse_dot(str, hash))
hash 2167 ext/date/date_parse.c if (parse_dot2(str, hash))
hash 2169 ext/date/date_parse.c if (parse_dot3(str, hash))
hash 2174 ext/date/date_parse.c if (parse_iso2(str, hash))
hash 2177 ext/date/date_parse.c if (parse_year(str, hash))
hash 2180 ext/date/date_parse.c if (parse_mon(str, hash))
hash 2183 ext/date/date_parse.c if (parse_mday(str, hash))
hash 2186 ext/date/date_parse.c if (parse_ddd(str, hash))
hash 2190 ext/date/date_parse.c if (parse_wday_only(str, hash))
hash 2192 ext/date/date_parse.c if (parse_time_only(str, hash))
hash 2194 ext/date/date_parse.c if (parse_wday_and_time(str, hash))
hash 2203 ext/date/date_parse.c parse_bc(str, hash);
hash 2205 ext/date/date_parse.c parse_frag(str, hash);
hash 2258 ext/date/date_parse.c return hash;
hash 2519 ext/date/date_parse.c VALUE backref, hash;
hash 2524 ext/date/date_parse.c hash = rb_hash_new();
hash 2526 ext/date/date_parse.c if (iso8601_ext_datetime(str, hash))
hash 2528 ext/date/date_parse.c if (iso8601_bas_datetime(str, hash))
hash 2530 ext/date/date_parse.c if (iso8601_ext_time(str, hash))
hash 2532 ext/date/date_parse.c if (iso8601_bas_time(str, hash))
hash 2538 ext/date/date_parse.c return hash;
hash 2587 ext/date/date_parse.c VALUE backref, hash;
hash 2592 ext/date/date_parse.c hash = rb_hash_new();
hash 2593 ext/date/date_parse.c rfc3339(str, hash);
hash 2595 ext/date/date_parse.c return hash;
hash 2733 ext/date/date_parse.c VALUE backref, hash;
hash 2738 ext/date/date_parse.c hash = rb_hash_new();
hash 2740 ext/date/date_parse.c if (xmlschema_datetime(str, hash))
hash 2742 ext/date/date_parse.c if (xmlschema_time(str, hash))
hash 2744 ext/date/date_parse.c if (xmlschema_trunc(str, hash))
hash 2750 ext/date/date_parse.c return hash;
hash 2806 ext/date/date_parse.c VALUE backref, hash;
hash 2811 ext/date/date_parse.c hash = rb_hash_new();
hash 2812 ext/date/date_parse.c rfc2822(str, hash);
hash 2814 ext/date/date_parse.c return hash;
hash 2952 ext/date/date_parse.c VALUE backref, hash;
hash 2957 ext/date/date_parse.c hash = rb_hash_new();
hash 2959 ext/date/date_parse.c if (httpdate_type1(str, hash))
hash 2961 ext/date/date_parse.c if (httpdate_type2(str, hash))
hash 2963 ext/date/date_parse.c if (httpdate_type3(str, hash))
hash 2969 ext/date/date_parse.c return hash;
hash 3026 ext/date/date_parse.c VALUE backref, hash;
hash 3031 ext/date/date_parse.c hash = rb_hash_new();
hash 3032 ext/date/date_parse.c if (jisx0301(str, hash))
hash 3034 ext/date/date_parse.c hash = date__iso8601(str);
hash 3038 ext/date/date_parse.c return hash;
hash 116 ext/date/date_strptime.c #define set_hash(k,v) rb_hash_aset(hash, ID2SYM(rb_intern(k)), v)
hash 117 ext/date/date_strptime.c #define ref_hash(k) rb_hash_aref(hash, ID2SYM(rb_intern(k)))
hash 118 ext/date/date_strptime.c #define del_hash(k) rb_hash_delete(hash, ID2SYM(rb_intern(k)))
hash 153 ext/date/date_strptime.c fmt, sizeof fmt - 1, hash); \
hash 659 ext/date/date_strptime.c si = date__strptime_internal(str, slen, fmt, flen, hash);
hash 696 ext/date/date_strptime.c return hash;
hash 885 ext/date/zonetab.h register int key = hash (str, len);
hash 361 ext/dbm/dbm.c return fdbm_key(hash, value);
hash 584 ext/dbm/dbm.c VALUE hash = rb_hash_new();
hash 591 ext/dbm/dbm.c rb_hash_aset(hash, valstr, keystr);
hash 593 ext/dbm/dbm.c return hash;
hash 957 ext/dbm/dbm.c VALUE hash;
hash 960 ext/dbm/dbm.c hash = rb_hash_new();
hash 963 ext/dbm/dbm.c rb_hash_aset(hash, rb_tainted_str_new(key.dptr, key.dsize),
hash 967 ext/dbm/dbm.c return hash;
hash 701 ext/gdbm/gdbm.c VALUE hash = rb_hash_new();
hash 708 ext/gdbm/gdbm.c rb_hash_aset(hash, valstr, keystr);
hash 710 ext/gdbm/gdbm.c return hash;
hash 1201 ext/gdbm/gdbm.c VALUE keystr, hash;
hash 1204 ext/gdbm/gdbm.c hash = rb_hash_new();
hash 1208 ext/gdbm/gdbm.c rb_hash_aset(hash, keystr, rb_gdbm_fetch2(dbm, keystr));
hash 1211 ext/gdbm/gdbm.c return hash;
hash 121 ext/objspace/objspace.c VALUE hash = (VALUE)arg;
hash 122 ext/objspace/objspace.c rb_hash_aset(hash, k, INT2FIX(0));
hash 129 ext/objspace/objspace.c VALUE hash;
hash 131 ext/objspace/objspace.c if (rb_scan_args(argc, argv, "01", &hash) == 1) {
hash 132 ext/objspace/objspace.c if (!RB_TYPE_P(hash, T_HASH))
hash 136 ext/objspace/objspace.c if (hash == Qnil) {
hash 137 ext/objspace/objspace.c hash = rb_hash_new();
hash 139 ext/objspace/objspace.c else if (!RHASH_EMPTY_P(hash)) {
hash 140 ext/objspace/objspace.c st_foreach(RHASH_TBL(hash), set_zero_i, hash);
hash 143 ext/objspace/objspace.c return hash;
hash 227 ext/objspace/objspace.c VALUE hash = setup_hash(argc, argv);
hash 235 ext/objspace/objspace.c if (hash == Qnil) {
hash 236 ext/objspace/objspace.c hash = rb_hash_new();
hash 238 ext/objspace/objspace.c else if (!RHASH_EMPTY_P(hash)) {
hash 239 ext/objspace/objspace.c st_foreach(RHASH_TBL(hash), set_zero_i, hash);
hash 246 ext/objspace/objspace.c rb_hash_aset(hash, type, SIZET2NUM(counts[i]));
hash 249 ext/objspace/objspace.c rb_hash_aset(hash, ID2SYM(rb_intern("TOTAL")), SIZET2NUM(total));
hash 250 ext/objspace/objspace.c return hash;
hash 311 ext/objspace/objspace.c VALUE hash = setup_hash(argc, argv);
hash 316 ext/objspace/objspace.c if (hash == Qnil) {
hash 317 ext/objspace/objspace.c hash = rb_hash_new();
hash 319 ext/objspace/objspace.c else if (!RHASH_EMPTY_P(hash)) {
hash 320 ext/objspace/objspace.c st_foreach(RHASH_TBL(hash), set_zero_i, hash);
hash 323 ext/objspace/objspace.c rb_hash_aset(hash, ID2SYM(rb_intern("mortal_dynamic_symbol")), SIZET2NUM(dynamic_counts.mortal));
hash 324 ext/objspace/objspace.c rb_hash_aset(hash, ID2SYM(rb_intern("immortal_dynamic_symbol")), SIZET2NUM(dynamic_counts.immortal));
hash 325 ext/objspace/objspace.c rb_hash_aset(hash, ID2SYM(rb_intern("immortal_static_symbol")), SIZET2NUM(immortal_symbols - dynamic_counts.immortal));
hash 326 ext/objspace/objspace.c rb_hash_aset(hash, ID2SYM(rb_intern("immortal_symbol")), SIZET2NUM(immortal_symbols));
hash 328 ext/objspace/objspace.c return hash;
hash 375 ext/objspace/objspace.c VALUE hash = setup_hash(argc, argv);
hash 383 ext/objspace/objspace.c if (hash == Qnil) {
hash 384 ext/objspace/objspace.c hash = rb_hash_new();
hash 386 ext/objspace/objspace.c else if (!RHASH_EMPTY_P(hash)) {
hash 387 ext/objspace/objspace.c st_foreach(RHASH_TBL(hash), set_zero_i, hash);
hash 501 ext/objspace/objspace.c rb_hash_aset(hash, node, SIZET2NUM(nodes[i]));
hash 504 ext/objspace/objspace.c return hash;
hash 510 ext/objspace/objspace.c VALUE hash = (VALUE)data;
hash 524 ext/objspace/objspace.c counter = rb_hash_aref(hash, key);
hash 532 ext/objspace/objspace.c rb_hash_aset(hash, key, counter);
hash 574 ext/objspace/objspace.c VALUE hash = setup_hash(argc, argv);
hash 575 ext/objspace/objspace.c rb_objspace_each_objects(cto_i, (void *)hash);
hash 576 ext/objspace/objspace.c return hash;
hash 584 ext/objspace/objspace.c VALUE hash = (VALUE)data;
hash 592 ext/objspace/objspace.c counter = rb_hash_aref(hash, key);
hash 601 ext/objspace/objspace.c rb_hash_aset(hash, key, counter);
hash 639 ext/objspace/objspace.c VALUE hash = setup_hash(argc, argv);
hash 652 ext/objspace/objspace.c rb_objspace_each_objects(count_imemo_objects_i, (void *)hash);
hash 654 ext/objspace/objspace.c return hash;
hash 862 ext/objspace/objspace.c VALUE hash = data.categories = rb_ident_hash_new();
hash 866 ext/objspace/objspace.c rb_hash_foreach(hash, collect_values_of_values, hash);
hash 868 ext/objspace/objspace.c return hash;
hash 901 ext/openssl/ossl_bn.c VALUE hash;
hash 913 ext/openssl/ossl_bn.c hash = INT2FIX(rb_memhash(buf, len));
hash 916 ext/openssl/ossl_bn.c return hash;
hash 354 ext/openssl/ossl_pkey_dh.c VALUE hash;
hash 361 ext/openssl/ossl_pkey_dh.c hash = rb_hash_new();
hash 362 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("p"), ossl_bn_new(p));
hash 363 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("q"), ossl_bn_new(q));
hash 364 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("g"), ossl_bn_new(g));
hash 365 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("pub_key"), ossl_bn_new(pub_key));
hash 366 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("priv_key"), ossl_bn_new(priv_key));
hash 368 ext/openssl/ossl_pkey_dh.c return hash;
hash 404 ext/openssl/ossl_pkey_dsa.c VALUE hash;
hash 411 ext/openssl/ossl_pkey_dsa.c hash = rb_hash_new();
hash 412 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("p"), ossl_bn_new(p));
hash 413 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("q"), ossl_bn_new(q));
hash 414 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("g"), ossl_bn_new(g));
hash 415 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("pub_key"), ossl_bn_new(pub_key));
hash 416 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("priv_key"), ossl_bn_new(priv_key));
hash 418 ext/openssl/ossl_pkey_dsa.c return hash;
hash 536 ext/openssl/ossl_pkey_rsa.c VALUE hash;
hash 544 ext/openssl/ossl_pkey_rsa.c hash = rb_hash_new();
hash 545 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("n"), ossl_bn_new(n));
hash 546 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("e"), ossl_bn_new(e));
hash 547 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("d"), ossl_bn_new(d));
hash 548 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("p"), ossl_bn_new(p));
hash 549 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("q"), ossl_bn_new(q));
hash 550 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("dmp1"), ossl_bn_new(dmp1));
hash 551 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("dmq1"), ossl_bn_new(dmq1));
hash 552 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("iqmp"), ossl_bn_new(iqmp));
hash 554 ext/openssl/ossl_pkey_rsa.c return hash;
hash 1271 ext/openssl/ossl_ssl.c VALUE hash;
hash 1275 ext/openssl/ossl_ssl.c hash = rb_hash_new();
hash 1276 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_num")), LONG2NUM(SSL_CTX_sess_number(ctx)));
hash 1277 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("connect")), LONG2NUM(SSL_CTX_sess_connect(ctx)));
hash 1278 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("connect_good")), LONG2NUM(SSL_CTX_sess_connect_good(ctx)));
hash 1279 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("connect_renegotiate")), LONG2NUM(SSL_CTX_sess_connect_renegotiate(ctx)));
hash 1280 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("accept")), LONG2NUM(SSL_CTX_sess_accept(ctx)));
hash 1281 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("accept_good")), LONG2NUM(SSL_CTX_sess_accept_good(ctx)));
hash 1282 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("accept_renegotiate")), LONG2NUM(SSL_CTX_sess_accept_renegotiate(ctx)));
hash 1283 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_hits")), LONG2NUM(SSL_CTX_sess_hits(ctx)));
hash 1284 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cb_hits")), LONG2NUM(SSL_CTX_sess_cb_hits(ctx)));
hash 1285 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_misses")), LONG2NUM(SSL_CTX_sess_misses(ctx)));
hash 1286 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_full")), LONG2NUM(SSL_CTX_sess_cache_full(ctx)));
hash 1287 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("timeouts")), LONG2NUM(SSL_CTX_sess_timeouts(ctx)));
hash 1289 ext/openssl/ossl_ssl.c return hash;
hash 378 ext/openssl/ossl_x509name.c unsigned long hash;
hash 382 ext/openssl/ossl_x509name.c hash = X509_NAME_hash(name);
hash 384 ext/openssl/ossl_x509name.c return ULONG2NUM(hash);
hash 398 ext/openssl/ossl_x509name.c unsigned long hash;
hash 402 ext/openssl/ossl_x509name.c hash = X509_NAME_hash_old(name);
hash 404 ext/openssl/ossl_x509name.c return ULONG2NUM(hash);
hash 451 ext/openssl/ossl_x509name.c VALUE utf8str, ptrstr, ia5str, hash;
hash 482 ext/openssl/ossl_x509name.c hash = rb_hash_new();
hash 483 ext/openssl/ossl_x509name.c RHASH_SET_IFNONE(hash, utf8str);
hash 484 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("C"), ptrstr);
hash 485 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("countryName"), ptrstr);
hash 486 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("serialNumber"), ptrstr);
hash 487 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("dnQualifier"), ptrstr);
hash 488 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("DC"), ia5str);
hash 489 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("domainComponent"), ia5str);
hash 490 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("emailAddress"), ia5str);
hash 496 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "OBJECT_TYPE_TEMPLATE", hash);
hash 324 ext/ripper/eventids1.c set_id1(hash);
hash 548 ext/ripper/ripper.c #define new_hash(hash) new_hash_gen(parser, (hash))
hash 7538 ext/ripper/ripper.c (yyval.val) = dispatch1(hash, escape_Qundef((yyvsp[-1].val)));
hash 11230 ext/ripper/ripper.c VALUE hash = rb_const_get_at(rb_cObject, script_lines);
hash 11231 ext/ripper/ripper.c if (RB_TYPE_P(hash, T_HASH)) {
hash 11233 ext/ripper/ripper.c rb_hash_aset(hash, fname, lines);
hash 15936 ext/ripper/ripper.c st_table *literal_keys = st_init_numtable_with_size(hash->nd_alen / 2);
hash 15938 ext/ripper/ripper.c while (hash && hash->nd_head && hash->nd_next) {
hash 15939 ext/ripper/ripper.c NODE *head = hash->nd_head;
hash 15940 ext/ripper/ripper.c NODE *value = hash->nd_next;
hash 15953 ext/ripper/ripper.c st_insert(literal_keys, (st_data_t)key, (st_data_t)hash);
hash 15955 ext/ripper/ripper.c hash = next;
hash 15959 ext/ripper/ripper.c if (hash) {
hash 15960 ext/ripper/ripper.c if (!result) result = hash;
hash 15961 ext/ripper/ripper.c else list_concat(result, hash);
hash 15969 ext/ripper/ripper.c if (hash) hash = remove_duplicate_keys(parser, hash);
hash 15970 ext/ripper/ripper.c return NEW_HASH(hash);
hash 494 ext/ripper/ripper.y #define new_hash(hash) new_hash_gen(parser, (hash))
hash 2776 ext/ripper/ripper.y $$ = dispatch1(hash, escape_Qundef($2));
hash 5481 ext/ripper/ripper.y VALUE hash = rb_const_get_at(rb_cObject, script_lines);
hash 5482 ext/ripper/ripper.y if (RB_TYPE_P(hash, T_HASH)) {
hash 5484 ext/ripper/ripper.y rb_hash_aset(hash, fname, lines);
hash 10187 ext/ripper/ripper.y st_table *literal_keys = st_init_numtable_with_size(hash->nd_alen / 2);
hash 10189 ext/ripper/ripper.y while (hash && hash->nd_head && hash->nd_next) {
hash 10190 ext/ripper/ripper.y NODE *head = hash->nd_head;
hash 10191 ext/ripper/ripper.y NODE *value = hash->nd_next;
hash 10204 ext/ripper/ripper.y st_insert(literal_keys, (st_data_t)key, (st_data_t)hash);
hash 10206 ext/ripper/ripper.y hash = next;
hash 10210 ext/ripper/ripper.y if (hash) {
hash 10211 ext/ripper/ripper.y if (!result) result = hash;
hash 10212 ext/ripper/ripper.y else list_concat(result, hash);
hash 10220 ext/ripper/ripper.y if (hash) hash = remove_duplicate_keys(parser, hash);
hash 10221 ext/ripper/ripper.y return NEW_HASH(hash);
hash 316 ext/sdbm/_sdbm.c register long hash;
hash 330 ext/sdbm/_sdbm.c if (getpage(db, (hash = exhash(key)))) {
hash 345 ext/sdbm/_sdbm.c if (!makroom(db, hash, need))
hash 391 ext/sdbm/_sdbm.c newp = (hash & db->hmask) | (db->hmask + 1);
hash 419 ext/sdbm/_sdbm.c if (hash & (db->hmask + 1)) {
hash 444 ext/sdbm/_sdbm.c ((hash & (db->hmask + 1)) ? 2 : 1);
hash 507 ext/sdbm/_sdbm.c dbit = 2 * dbit + ((hash & ((long) 1 << hbit++)) ? 2 : 1);
hash 514 ext/sdbm/_sdbm.c pagb = hash & db->hmask;
hash 351 ext/sdbm/init.c return fsdbm_key(hash, value);
hash 595 ext/sdbm/init.c VALUE hash = rb_hash_new();
hash 602 ext/sdbm/init.c rb_hash_aset(hash, valstr, keystr);
hash 604 ext/sdbm/init.c return hash;
hash 988 ext/sdbm/init.c VALUE hash;
hash 991 ext/sdbm/init.c hash = rb_hash_new();
hash 994 ext/sdbm/init.c rb_hash_aset(hash, rb_external_str_new(key.dptr, key.dsize),
hash 998 ext/sdbm/init.c return hash;
hash 320 ext/tk/tkutil/tkutil.c rb_hash_aset(hash, rb_funcallv(key, ID_to_s, 0, 0), value);
hash 721 ext/tk/tkutil/tkutil.c volatile VALUE dst = rb_ary_new2(2 * RHASH_SIZE(hash));
hash 724 ext/tk/tkutil/tkutil.c st_foreach_check(RHASH_TBL(hash), push_kv, args, Qundef);
hash 765 ext/tk/tkutil/tkutil.c volatile VALUE dst = rb_ary_new2(2 * RHASH_SIZE(hash));
hash 768 ext/tk/tkutil/tkutil.c st_foreach_check(RHASH_TBL(hash), push_kv_enc, args, Qundef);
hash 782 ext/tk/tkutil/tkutil.c return ary2list2(hash2kv(hash, Qnil, self), Qfalse, self);
hash 791 ext/tk/tkutil/tkutil.c return ary2list2(hash2kv_enc(hash, Qnil, self), Qfalse, self);
hash 800 ext/tk/tkutil/tkutil.c volatile VALUE hash, enc_flag, ary;
hash 811 ext/tk/tkutil/tkutil.c hash = argv[0];
hash 819 ext/tk/tkutil/tkutil.c switch(TYPE(hash)) {
hash 822 ext/tk/tkutil/tkutil.c return assoc2kv_enc(hash, ary, self);
hash 824 ext/tk/tkutil/tkutil.c return assoc2kv(hash, ary, self);
hash 829 ext/tk/tkutil/tkutil.c return hash2kv_enc(hash, ary, self);
hash 831 ext/tk/tkutil/tkutil.c return hash2kv(hash, ary, self);
hash 842 ext/tk/tkutil/tkutil.c if (hash == TK_None) {
hash 420 ext/win32ole/win32ole_event.c val = rb_hash_aref(hash, INT2FIX(i));
hash 422 ext/win32ole/win32ole_event.c val = rb_hash_aref(hash, key);
hash 424 ext/win32ole/win32ole_event.c val = rb_hash_aref(hash, rb_str_intern(key));
hash 434 ext/win32ole/win32ole_event.c ret = rb_hash_aref(hash, rb_str_new2("return"));
hash 436 ext/win32ole/win32ole_event.c ret = rb_hash_aref(hash, rb_str_intern(rb_str_new2("return")));
hash 406 gc.c struct RHash hash;
hash 2171 gc.c if (RANY(obj)->as.hash.ntbl) {
hash 2172 gc.c st_free_table(RANY(obj)->as.hash.ntbl);
hash 3240 gc.c VALUE hash = (VALUE)arg;
hash 3241 gc.c rb_hash_aset(hash, k, INT2FIX(0));
hash 3288 gc.c VALUE hash;
hash 3290 gc.c if (rb_scan_args(argc, argv, "01", &hash) == 1) {
hash 3291 gc.c if (!RB_TYPE_P(hash, T_HASH))
hash 3315 gc.c if (hash == Qnil) {
hash 3316 gc.c hash = rb_hash_new();
hash 3318 gc.c else if (!RHASH_EMPTY_P(hash)) {
hash 3319 gc.c st_foreach(RHASH_TBL_RAW(hash), set_zero, hash);
hash 3321 gc.c rb_hash_aset(hash, ID2SYM(rb_intern("TOTAL")), SIZET2NUM(total));
hash 3322 gc.c rb_hash_aset(hash, ID2SYM(rb_intern("FREE")), SIZET2NUM(freed));
hash 3358 gc.c rb_hash_aset(hash, type, SIZET2NUM(counts[i]));
hash 3361 gc.c return hash;
hash 4474 gc.c mark_hash(objspace, any->as.hash.ntbl);
hash 4475 gc.c gc_mark(objspace, any->as.hash.ifnone);
hash 6623 gc.c rb_hash_aset(hash, ID2SYM(rb_intern(name)), result);
hash 6659 gc.c VALUE hash = Qnil, key = Qnil;
hash 6667 gc.c hash = hash_or_key;
hash 6703 gc.c else if (hash != Qnil) \
hash 6704 gc.c rb_hash_aset(hash, sym_##name, (attr));
hash 6739 gc.c return hash;
hash 6979 gc.c Check_Type(hash, T_HASH);
hash 6984 gc.c return rb_hash_lookup(hash, new_key);
hash 6994 gc.c VALUE hash = Qnil, key = Qnil;
hash 6999 gc.c hash = hash_or_sym;
hash 7001 gc.c if (NIL_P(RHASH_IFNONE(hash))) {
hash 7007 gc.c rb_hash_set_default_proc(hash, default_proc_for_compat);
hash 7020 gc.c else if (hash != Qnil) \
hash 7021 gc.c rb_hash_aset(hash, gc_stat_symbols[gc_stat_sym_##name], SIZET2NUM(attr));
hash 7076 gc.c if (hash != Qnil) {
hash 7077 gc.c gc_count_add_each_types(hash, "generated_normal_object_count_types", objspace->profile.generated_normal_object_count_types);
hash 7078 gc.c gc_count_add_each_types(hash, "generated_shady_object_count_types", objspace->profile.generated_shady_object_count_types);
hash 7079 gc.c gc_count_add_each_types(hash, "shade_operation_count_types", objspace->profile.shade_operation_count_types);
hash 7080 gc.c gc_count_add_each_types(hash, "promoted_types", objspace->profile.promoted_types);
hash 7081 gc.c gc_count_add_each_types(hash, "remembered_normal_object_count_types", objspace->profile.remembered_normal_object_count_types);
hash 7082 gc.c gc_count_add_each_types(hash, "remembered_shady_object_count_types", objspace->profile.remembered_shady_object_count_types);
hash 31 hash.c ((klass = has_extra_methods(rb_obj_class(hash))) != 0) || \
hash 32 hash.c FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \
hash 33 hash.c !NIL_P(RHASH_IFNONE(hash)))
hash 36 hash.c FL_UNSET_RAW(hash, HASH_PROC_DEFAULT), \
hash 37 hash.c RHASH_SET_IFNONE(hash, ifnone))
hash 39 hash.c #define SET_PROC_DEFAULT(hash, proc) set_proc_default(hash, proc)
hash 41 hash.c #define COPY_DEFAULT(hash, hash2) copy_default(RHASH(hash), RHASH(hash2))
hash 46 hash.c hash->basic.flags &= ~HASH_PROC_DEFAULT;
hash 47 hash.c hash->basic.flags |= hash2->basic.flags & HASH_PROC_DEFAULT;
hash 48 hash.c RHASH_SET_IFNONE(hash, RHASH_IFNONE(hash2));
hash 78 hash.c return rb_obj_freeze(hash);
hash 95 hash.c RB_OBJ_WRITE(hash, (&RHASH(hash)->ifnone), ifnone);
hash 96 hash.c return hash;
hash 318 hash.c VALUE hash;
hash 331 hash.c tbl = RHASH(arg->hash)->ntbl;
hash 333 hash.c if (RHASH(arg->hash)->ntbl != tbl) {
hash 338 hash.c FL_SET(arg->hash, HASH_DELETED);
hash 351 hash.c RHASH_ITER_LEV(hash)++;
hash 358 hash.c if (--RHASH_ITER_LEV(hash) == 0) {
hash 359 hash.c if (FL_TEST(hash, HASH_DELETED)) {
hash 360 hash.c st_cleanup_safe(RHASH(hash)->ntbl, (st_data_t)Qundef);
hash 361 hash.c FL_UNSET(hash, HASH_DELETED);
hash 370 hash.c VALUE hash = ((struct hash_foreach_arg *)arg)->hash;
hash 371 hash.c if (st_foreach_check(RHASH(hash)->ntbl, hash_foreach_iter, (st_data_t)arg, (st_data_t)Qundef)) {
hash 382 hash.c if (!RHASH(hash)->ntbl)
hash 384 hash.c RHASH_ITER_LEV(hash)++;
hash 385 hash.c arg.hash = hash;
hash 388 hash.c rb_ensure(hash_foreach_call, (VALUE)&arg, hash_foreach_ensure, hash);
hash 395 hash.c NEWOBJ_OF(hash, struct RHash, klass, T_HASH | wb | flags);
hash 397 hash.c RHASH_SET_IFNONE((VALUE)hash, ifnone);
hash 399 hash.c return (VALUE)hash;
hash 426 hash.c RHASH_IFNONE(hash));
hash 427 hash.c if (!RHASH_EMPTY_P(hash))
hash 428 hash.c RHASH(ret)->ntbl = st_copy(RHASH(hash)->ntbl);
hash 435 hash.c const VALUE flags = RBASIC(hash)->flags;
hash 436 hash.c VALUE ret = hash_dup(hash, rb_obj_class(hash),
hash 439 hash.c rb_copy_generic_ivar(ret, hash);
hash 446 hash.c rb_check_frozen(hash);
hash 452 hash.c if (!RHASH(hash)->ntbl) {
hash 453 hash.c RHASH(hash)->ntbl = st_init_table(&objhash);
hash 455 hash.c return RHASH(hash)->ntbl;
hash 461 hash.c OBJ_WB_UNPROTECT(hash);
hash 462 hash.c return hash_tbl(hash);
hash 468 hash.c return hash_tbl(hash);
hash 474 hash.c rb_hash_modify_check(hash);
hash 475 hash.c hash_tbl(hash);
hash 486 hash.c VALUE hash;
hash 506 hash.c VALUE hash;
hash 522 hash.c arg.hash = hash;
hash 528 hash.c result = st_update(RHASH(hash)->ntbl, (st_data_t)key, func, (st_data_t)&arg);
hash 531 hash.c if (arg.new_key) RB_OBJ_WRITTEN(hash, arg.old_key, arg.new_key);
hash 532 hash.c if (arg.new_value) RB_OBJ_WRITTEN(hash, arg.old_value, arg.new_value);
hash 544 hash.c RHASH_UPDATE_ITER(hash, RHASH_ITER_LEV(hash), key, func, arg)
hash 558 hash.c FL_SET_RAW(hash, HASH_PROC_DEFAULT);
hash 559 hash.c RHASH_SET_IFNONE(hash, proc);
hash 602 hash.c rb_hash_modify(hash);
hash 606 hash.c SET_PROC_DEFAULT(hash, ifnone);
hash 611 hash.c RHASH_SET_IFNONE(hash, ifnone);
hash 614 hash.c return hash;
hash 640 hash.c VALUE hash, tmp;
hash 646 hash.c hash = hash_alloc(klass);
hash 648 hash.c RHASH(hash)->ntbl = st_copy(RHASH(tmp)->ntbl);
hash 650 hash.c return hash;
hash 657 hash.c hash = hash_alloc(klass);
hash 684 hash.c rb_hash_aset(hash, key, val);
hash 687 hash.c return hash;
hash 694 hash.c hash = hash_alloc(klass);
hash 696 hash.c RHASH(hash)->ntbl = st_init_table_with_size(&objhash, argc / 2);
hash 699 hash.c rb_hash_aset(hash, argv[i], argv[i + 1]);
hash 702 hash.c return hash;
hash 708 hash.c return rb_convert_type(hash, T_HASH, "Hash", "to_hash");
hash 714 hash.c return rb_check_convert_type(hash, T_HASH, "Hash", "to_hash");
hash 731 hash.c return rb_check_hash_type(hash);
hash 735 hash.c VALUE hash;
hash 774 hash.c if (RHASH_ITER_LEV(hash) > 0) {
hash 777 hash.c rb_hash_modify_check(hash);
hash 778 hash.c if (!RHASH(hash)->ntbl)
hash 779 hash.c return hash;
hash 781 hash.c tbl = st_init_table_with_size(RHASH(hash)->ntbl->type, RHASH(hash)->ntbl->num_entries);
hash 784 hash.c rb_hash_foreach(hash, rb_hash_rehash_i, (VALUE)tbl);
hash 785 hash.c st_free_table(RHASH(hash)->ntbl);
hash 786 hash.c RHASH(hash)->ntbl = tbl;
hash 789 hash.c return hash;
hash 795 hash.c if (rb_method_basic_definition_p(CLASS_OF(hash), id_default)) {
hash 796 hash.c VALUE ifnone = RHASH_IFNONE(hash);
hash 797 hash.c if (!FL_TEST(hash, HASH_PROC_DEFAULT)) return ifnone;
hash 799 hash.c return rb_funcall(ifnone, id_yield, 2, hash, key);
hash 802 hash.c return rb_funcall(hash, id_default, 1, key);
hash 825 hash.c if (!RHASH(hash)->ntbl || !st_lookup(RHASH(hash)->ntbl, key, &val)) {
hash 826 hash.c return rb_hash_default_value(hash, key);
hash 836 hash.c if (!RHASH(hash)->ntbl || !st_lookup(RHASH(hash)->ntbl, key, &val)) {
hash 845 hash.c return rb_hash_lookup2(hash, key, Qnil);
hash 891 hash.c if (!RHASH(hash)->ntbl || !st_lookup(RHASH(hash)->ntbl, key, &val)) {
hash 909 hash.c return rb_hash_fetch_m(1, &key, hash);
hash 939 hash.c ifnone = RHASH_IFNONE(hash);
hash 940 hash.c if (FL_TEST(hash, HASH_PROC_DEFAULT)) {
hash 942 hash.c args[0] = hash;
hash 972 hash.c rb_hash_modify_check(hash);
hash 973 hash.c SET_DEFAULT(hash, ifnone);
hash 995 hash.c if (FL_TEST(hash, HASH_PROC_DEFAULT)) {
hash 996 hash.c return RHASH_IFNONE(hash);
hash 1019 hash.c rb_hash_modify_check(hash);
hash 1021 hash.c SET_DEFAULT(hash, proc);
hash 1031 hash.c SET_PROC_DEFAULT(hash, proc);
hash 1069 hash.c rb_hash_foreach(hash, key_i, (VALUE)args);
hash 1079 hash.c return rb_hash_key(hash, value);
hash 1092 hash.c if (!RHASH(hash)->ntbl) {
hash 1095 hash.c else if (RHASH_ITER_LEV(hash) > 0 &&
hash 1096 hash.c (st_delete_safe(RHASH(hash)->ntbl, &ktmp, &val, (st_data_t)Qundef))) {
hash 1097 hash.c FL_SET(hash, HASH_DELETED);
hash 1100 hash.c else if (st_delete(RHASH(hash)->ntbl, &ktmp, &val)) {
hash 1116 hash.c VALUE deleted_value = rb_hash_delete_entry(hash, key);
hash 1149 hash.c rb_hash_modify_check(hash);
hash 1150 hash.c val = rb_hash_delete_entry(hash, key);
hash 1198 hash.c rb_hash_modify_check(hash);
hash 1199 hash.c if (RHASH(hash)->ntbl) {
hash 1201 hash.c if (RHASH_ITER_LEV(hash) == 0) {
hash 1202 hash.c if (st_shift(RHASH(hash)->ntbl, &var.key, &var.val)) {
hash 1207 hash.c rb_hash_foreach(hash, shift_i_safe, (VALUE)&var);
hash 1209 hash.c rb_hash_delete_entry(hash, var.key);
hash 1214 hash.c return rb_hash_default_value(hash, Qnil);
hash 1229 hash.c return rb_hash_size(hash);
hash 1250 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1251 hash.c rb_hash_modify_check(hash);
hash 1252 hash.c if (RHASH(hash)->ntbl)
hash 1253 hash.c rb_hash_foreach(hash, delete_if_i, hash);
hash 1254 hash.c return hash;
hash 1271 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1272 hash.c rb_hash_modify(hash);
hash 1273 hash.c n = RHASH_SIZE(hash);
hash 1275 hash.c rb_hash_foreach(hash, delete_if_i, hash);
hash 1276 hash.c if (n == RHASH(hash)->ntbl->num_entries) return Qnil;
hash 1277 hash.c return hash;
hash 1308 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1311 hash.c if (HAS_EXTRA_STATES(hash, klass)) {
hash 1312 hash.c rb_warn("extra states are no longer copied: %+"PRIsVALUE, hash);
hash 1316 hash.c if (!RHASH_EMPTY_P(hash)) {
hash 1317 hash.c rb_hash_foreach(hash, reject_i, result);
hash 1340 hash.c rb_ary_push(result, rb_hash_aref(hash, argv[i]));
hash 1368 hash.c rb_ary_push(result, rb_hash_fetch(hash, argv[i]));
hash 1401 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1403 hash.c if (!RHASH_EMPTY_P(hash)) {
hash 1404 hash.c rb_hash_foreach(hash, select_i, result);
hash 1432 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1433 hash.c rb_hash_modify_check(hash);
hash 1434 hash.c if (!RHASH(hash)->ntbl)
hash 1436 hash.c n = RHASH(hash)->ntbl->num_entries;
hash 1437 hash.c rb_hash_foreach(hash, keep_if_i, hash);
hash 1438 hash.c if (n == RHASH(hash)->ntbl->num_entries) return Qnil;
hash 1439 hash.c return hash;
hash 1457 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1458 hash.c rb_hash_modify_check(hash);
hash 1459 hash.c if (RHASH(hash)->ntbl)
hash 1460 hash.c rb_hash_foreach(hash, keep_if_i, hash);
hash 1461 hash.c return hash;
hash 1484 hash.c rb_hash_modify_check(hash);
hash 1485 hash.c if (!RHASH(hash)->ntbl)
hash 1486 hash.c return hash;
hash 1487 hash.c if (RHASH(hash)->ntbl->num_entries > 0) {
hash 1488 hash.c if (RHASH_ITER_LEV(hash) > 0)
hash 1489 hash.c rb_hash_foreach(hash, clear_i, 0);
hash 1491 hash.c st_clear(RHASH(hash)->ntbl);
hash 1494 hash.c return hash;
hash 1554 hash.c int iter_lev = RHASH_ITER_LEV(hash);
hash 1555 hash.c st_table *tbl = RHASH(hash)->ntbl;
hash 1557 hash.c rb_hash_modify(hash);
hash 1560 hash.c tbl = hash_tbl(hash);
hash 1563 hash.c RHASH_UPDATE_ITER(hash, iter_lev, key, hash_aset, val);
hash 1566 hash.c RHASH_UPDATE_ITER(hash, iter_lev, key, hash_aset_str, val);
hash 1574 hash.c rb_hash_aset(hash, key, val);
hash 1585 hash.c rb_hash_modify_check(hash);
hash 1590 hash.c if (hash == hash2) return hash;
hash 1592 hash.c ntbl = RHASH(hash)->ntbl;
hash 1595 hash.c RHASH(hash)->ntbl = st_copy(RHASH(hash2)->ntbl);
hash 1596 hash.c if (RHASH(hash)->ntbl->num_entries)
hash 1597 hash.c rb_hash_rehash(hash);
hash 1603 hash.c COPY_DEFAULT(hash, hash2);
hash 1605 hash.c return hash;
hash 1625 hash.c rb_hash_modify_check(hash);
hash 1626 hash.c if (hash == hash2) return hash;
hash 1629 hash.c COPY_DEFAULT(hash, hash2);
hash 1633 hash.c rb_hash_clear(hash);
hash 1634 hash.c if (table2) hash_tbl(hash)->type = table2->type;
hash 1635 hash.c rb_hash_foreach(hash2, replace_i, hash);
hash 1637 hash.c return hash;
hash 1656 hash.c return INT2FIX(RHASH_SIZE(hash));
hash 1673 hash.c return RHASH_EMPTY_P(hash) ? Qtrue : Qfalse;
hash 1705 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1706 hash.c rb_hash_foreach(hash, each_value_i, 0);
hash 1707 hash.c return hash;
hash 1738 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1739 hash.c rb_hash_foreach(hash, each_key_i, 0);
hash 1740 hash.c return hash;
hash 1782 hash.c RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
hash 1784 hash.c rb_hash_foreach(hash, each_pair_i_fast, 0);
hash 1786 hash.c rb_hash_foreach(hash, each_pair_i, 0);
hash 1787 hash.c return hash;
hash 1813 hash.c ary = rb_ary_new_capa(RHASH_SIZE(hash));
hash 1814 hash.c rb_hash_foreach(hash, to_a_i, ary);
hash 1815 hash.c OBJ_INFECT(ary, hash);
hash 1849 hash.c rb_hash_foreach(hash, inspect_i, str);
hash 1851 hash.c OBJ_INFECT(str, hash);
hash 1870 hash.c if (RHASH_EMPTY_P(hash))
hash 1872 hash.c return rb_exec_recursive(inspect_hash, hash, 0);
hash 1885 hash.c return hash;
hash 1899 hash.c if (rb_obj_class(hash) != rb_cHash) {
hash 1900 hash.c const VALUE flags = RBASIC(hash)->flags;
hash 1901 hash.c hash = hash_dup(hash, rb_cHash, flags & HASH_PROC_DEFAULT);
hash 1903 hash.c return hash;
hash 1929 hash.c st_index_t size = RHASH_SIZE(hash);
hash 1935 hash.c st_table *table = RHASH(hash)->ntbl;
hash 1944 hash.c rb_hash_foreach(hash, keys_i, keys);
hash 1973 hash.c st_index_t size = RHASH_SIZE(hash);
hash 1979 hash.c st_table *table = RHASH(hash)->ntbl;
hash 1988 hash.c rb_hash_foreach(hash, values_i, values);
hash 2016 hash.c if (!RHASH(hash)->ntbl)
hash 2018 hash.c if (st_lookup(RHASH(hash)->ntbl, key, 0)) {
hash 2056 hash.c rb_hash_foreach(hash, rb_hash_search_value, (VALUE)data);
hash 2091 hash.c rb_hash_foreach(hash, eql_i, dt);
hash 2206 hash.c st_index_t size = RHASH_SIZE(hash);
hash 2210 hash.c rb_hash_foreach(hash, hash_i, (VALUE)&hval);
hash 2219 hash.c rb_hash_aset(hash, value, key);
hash 2258 hash.c rb_hash_foreach(hash, rb_hash_invert_i, h);
hash 2282 hash.c RHASH_UPDATE(hash, key, rb_hash_update_callback, value);
hash 2308 hash.c RHASH_UPDATE(hash, key, rb_hash_update_block_callback, value);
hash 2350 hash.c VALUE hash;
hash 2379 hash.c VALUE hash = arg->hash;
hash 2382 hash.c RHASH_UPDATE(hash, key, rb_hash_update_func_callback, (VALUE)arg);
hash 2393 hash.c arg.hash = hash1;
hash 2443 hash.c VALUE hash;
hash 2451 hash.c RHASH(p->hash)->ntbl->type = p->orighash;
hash 2488 hash.c if (RHASH_EMPTY_P(hash)) return Qnil;
hash 2489 hash.c table = RHASH(hash)->ntbl;
hash 2498 hash.c assochash.hash = orighash->hash;
hash 2500 hash.c args[0] = hash;
hash 2502 hash.c ensure_arg.hash = hash;
hash 2510 hash.c rb_hash_foreach(hash, assoc_i, (VALUE)args);
hash 2546 hash.c rb_hash_foreach(hash, rassoc_i, (VALUE)args);
hash 2585 hash.c if (level == 0) return rb_hash_to_a(hash);
hash 2587 hash.c ary = rb_ary_new_capa(RHASH_SIZE(hash) * 2);
hash 2588 hash.c rb_hash_foreach(hash, flatten_i, ary);
hash 2598 hash.c ary = rb_ary_new_capa(RHASH_SIZE(hash) * 2);
hash 2599 hash.c rb_hash_foreach(hash, flatten_i, ary);
hash 2626 hash.c if (rb_hash_compare_by_id_p(hash)) return hash;
hash 2627 hash.c rb_hash_modify(hash);
hash 2628 hash.c RHASH(hash)->ntbl->type = &identhash;
hash 2629 hash.c rb_hash_rehash(hash);
hash 2630 hash.c return hash;
hash 2645 hash.c if (!RHASH(hash)->ntbl)
hash 2647 hash.c if (RHASH(hash)->ntbl->type == &identhash) {
hash 2656 hash.c VALUE hash = rb_hash_new();
hash 2657 hash.c RHASH(hash)->ntbl = st_init_table(&identhash);
hash 2658 hash.c return hash;
hash 2707 hash.c if (RHASH_EMPTY_P(hash)) return Qfalse;
hash 2713 hash.c rb_hash_foreach(hash, any_p_i_fast, (VALUE)&ret);
hash 2715 hash.c rb_hash_foreach(hash, any_p_i, (VALUE)&ret);
hash 2785 hash.c if (RHASH_SIZE(hash) > RHASH_SIZE(other)) return Qfalse;
hash 2786 hash.c return hash_le(hash, other);
hash 2806 hash.c if (RHASH_SIZE(hash) >= RHASH_SIZE(other)) return Qfalse;
hash 2807 hash.c return hash_le(hash, other);
hash 2827 hash.c if (RHASH_SIZE(hash) < RHASH_SIZE(other)) return Qfalse;
hash 2828 hash.c return hash_le(other, hash);
hash 2848 hash.c if (RHASH_SIZE(hash) <= RHASH_SIZE(other)) return Qfalse;
hash 2849 hash.c return hash_le(other, hash);
hash 2856 hash.c return rb_hash_aref(hash, *argv);
hash 2862 hash.c return rb_func_proc_new(hash_proc_call, hash);
hash 4001 hash.c VALUE hash;
hash 4003 hash.c hash = rb_hash_new();
hash 4008 hash.c rb_hash_aset(hash, env_str_new(*env, s-*env),
hash 4014 hash.c return hash;
hash 4095 hash.c if (env == hash) return env;
hash 4096 hash.c hash = to_hash(hash);
hash 4097 hash.c rb_hash_foreach(hash, env_replace_i, keys);
hash 4129 hash.c if (env == hash) return env;
hash 4130 hash.c hash = to_hash(hash);
hash 4131 hash.c rb_hash_foreach(hash, env_update_i, 0);
hash 97 id_table.c #define ID_TABLE_NAME hash
hash 104 id_table.c #define ID_TABLE_NAME hash
hash 1434 id_table.c struct hash_id_table hash;
hash 1453 id_table.c else hash_id_table_free(&tbl->aux.hash);
hash 1460 id_table.c else hash_id_table_clear(&tbl->aux.hash);
hash 1467 id_table.c else return hash_id_table_size(&tbl->aux.hash);
hash 1474 id_table.c else return hash_id_table_memsize(&tbl->aux.hash);
hash 1503 id_table.c tbl->aux.hash = hash_body;
hash 1515 id_table.c r = hash_id_table_insert(&tbl->aux.hash, id, val);
hash 1525 id_table.c else return hash_id_table_lookup(&tbl->aux.hash, id, valp);
hash 1532 id_table.c else return hash_id_table_delete(&tbl->aux.hash, id);
hash 1539 id_table.c else hash_id_table_foreach(&tbl->aux.hash, func, data);
hash 1546 id_table.c else hash_id_table_foreach_values(&tbl->aux.hash, func, data);
hash 521 include/ruby/intern.h VALUE rb_hash_set_ifnone(VALUE hash, VALUE ifnone);
hash 2358 include/ruby/ruby.h VALUE *var, hash = Qnil;
hash 2373 include/ruby/ruby.h hash = rb_check_hash_type(last);
hash 2374 include/ruby/ruby.h if (!NIL_P(hash)) {
hash 2375 include/ruby/ruby.h VALUE opts = rb_extract_keywords(&hash);
hash 2376 include/ruby/ruby.h if (!hash) argc--;
hash 2377 include/ruby/ruby.h hash = opts ? opts : Qnil;
hash 2423 include/ruby/ruby.h if (var) *var = hash;
hash 57 include/ruby/st.h st_index_t (*hash)(ANYARGS /*st_data_t*/); /* st_hash_func* */
hash 1976 iseq.c VALUE hash = *seq;
hash 1980 iseq.c rb_hash_foreach(hash, cdhash_each, val);
hash 292 lex.c register int key = hash (str, len);
hash 1244 numeric.c st_index_t hash;
hash 1248 numeric.c hash = rb_memhash(&d, sizeof(d));
hash 1249 numeric.c return LONG2FIX(hash);
hash 2332 numeric.c VALUE hash;
hash 2335 numeric.c argc = rb_scan_args(argc, argv, "02:", to, step, &hash);
hash 2336 numeric.c if (!NIL_P(hash)) {
hash 2341 numeric.c rb_get_kwargs(hash, keys, 0, 2, values);
hash 2527 object.c M(hash),
hash 3183 object.c struct dig_method hash = {Qnil}, ary = {Qnil}, strt = {Qnil};
hash 3190 object.c if (dig_basic_p(obj, &hash)) {
hash 548 parse.c #define new_hash(hash) new_hash_gen(parser, (hash))
hash 11154 parse.c VALUE hash = rb_const_get_at(rb_cObject, script_lines);
hash 11155 parse.c if (RB_TYPE_P(hash, T_HASH)) {
hash 11157 parse.c rb_hash_aset(hash, fname, lines);
hash 15860 parse.c st_table *literal_keys = st_init_numtable_with_size(hash->nd_alen / 2);
hash 15862 parse.c while (hash && hash->nd_head && hash->nd_next) {
hash 15863 parse.c NODE *head = hash->nd_head;
hash 15864 parse.c NODE *value = hash->nd_next;
hash 15877 parse.c st_insert(literal_keys, (st_data_t)key, (st_data_t)hash);
hash 15879 parse.c hash = next;
hash 15883 parse.c if (hash) {
hash 15884 parse.c if (!result) result = hash;
hash 15885 parse.c else list_concat(result, hash);
hash 15893 parse.c if (hash) hash = remove_duplicate_keys(parser, hash);
hash 15894 parse.c return NEW_HASH(hash);
hash 494 parse.y #define new_hash(hash) new_hash_gen(parser, (hash))
hash 5481 parse.y VALUE hash = rb_const_get_at(rb_cObject, script_lines);
hash 5482 parse.y if (RB_TYPE_P(hash, T_HASH)) {
hash 5484 parse.y rb_hash_aset(hash, fname, lines);
hash 10187 parse.y st_table *literal_keys = st_init_numtable_with_size(hash->nd_alen / 2);
hash 10189 parse.y while (hash && hash->nd_head && hash->nd_next) {
hash 10190 parse.y NODE *head = hash->nd_head;
hash 10191 parse.y NODE *value = hash->nd_next;
hash 10204 parse.y st_insert(literal_keys, (st_data_t)key, (st_data_t)hash);
hash 10206 parse.y hash = next;
hash 10210 parse.y if (hash) {
hash 10211 parse.y if (!result) result = hash;
hash 10212 parse.y else list_concat(result, hash);
hash 10220 parse.y if (hash) hash = remove_duplicate_keys(parser, hash);
hash 10221 parse.y return NEW_HASH(hash);
hash 1090 proc.c hash = rb_hash_uint(hash, (st_index_t)proc->block.iseq);
hash 1091 proc.c return rb_hash_uint(hash, (st_index_t)proc->block.ep >> 16);
hash 1137 proc.c st_index_t hash;
hash 1138 proc.c hash = rb_hash_start(0);
hash 1139 proc.c hash = rb_hash_proc(hash, self);
hash 1140 proc.c hash = rb_hash_end(hash);
hash 1141 proc.c return LONG2FIX(hash);
hash 1431 proc.c st_index_t hash;
hash 1434 proc.c hash = rb_hash_start((st_index_t)m->recv);
hash 1435 proc.c hash = rb_hash_method_entry(hash, m->me);
hash 1436 proc.c hash = rb_hash_end(hash);
hash 1438 proc.c return INT2FIX(hash);
hash 1952 process.c st_foreach(rb_hash_tbl_raw(hash), check_exec_env_i, (st_data_t)env);
hash 2003 process.c VALUE hash, prog;
hash 2006 process.c hash = check_hash((*argv_p)[*argc_p-1]);
hash 2007 process.c if (!NIL_P(hash)) {
hash 2008 process.c *opthash_ret = hash;
hash 2014 process.c hash = check_hash((*argv_p)[0]);
hash 2015 process.c if (!NIL_P(hash)) {
hash 2016 process.c *env_ret = hash;
hash 241 range.c st_index_t hash = EXCL(range);
hash 244 range.c hash = rb_hash_start(hash);
hash 246 range.c hash = rb_hash_uint(hash, NUM2LONG(v));
hash 248 range.c hash = rb_hash_uint(hash, NUM2LONG(v));
hash 249 range.c hash = rb_hash_uint(hash, EXCL(range) << 24);
hash 250 range.c hash = rb_hash_end(hash);
hash 252 range.c return LONG2FIX(hash);
hash 794 re.c VALUE hash = (VALUE)arg;
hash 801 re.c rb_hash_aset(hash, rb_str_new((const char*)name, name_end-name),ary);
hash 831 re.c VALUE hash = rb_hash_new();
hash 833 re.c onig_foreach_name(RREGEXP_PTR(re), reg_named_captures_iter, (void*)hash);
hash 834 re.c return hash;
hash 2031 re.c VALUE hash = memo->v1;
hash 2043 re.c rb_hash_aset(hash, key, value);
hash 2049 re.c rb_hash_aset(hash, key, Qnil);
hash 2081 re.c VALUE hash;
hash 2086 re.c hash = rb_hash_new();
hash 2087 re.c memo = MEMO_NEW(hash, match, 0);
hash 2091 re.c return hash;
hash 182 sprintf.c if (*hash != Qundef) return *hash;
hash 190 sprintf.c return (*hash = tmp);
hash 479 sprintf.c volatile VALUE hash = Qundef;
hash 615 sprintf.c get_hash(&hash, argc, argv);
hash 619 sprintf.c if (!NIL_P(sym)) nextvalue = rb_hash_lookup2(hash, sym, Qundef);
hash 626 sprintf.c nextvalue = rb_hash_default_value(hash, sym);
hash 22 st.c st_index_t hash;
hash 30 st.c st_index_t hash;
hash 91 st.c #define do_hash(key,table) (st_index_t)(*(table)->type->hash)((key))
hash 118 st.c #define PHASH(table, i) PACKED_ENT((table), (i)).hash
hash 324 st.c ((ptr) != 0 && ((ptr)->hash != (hash_val) || !EQUAL((table), (key), (ptr))))
hash 449 st.c entry->hash = hash_val;
hash 498 st.c st_index_t hash = packed_bins[i].hash;
hash 499 st.c entry = new_entry(&tmp_table, key, val, hash,
hash 500 st.c hash_pos(hash, ST_DEFAULT_INIT_TABLE_SIZE));
hash 616 st.c hash_val = hash_pos(ptr->hash, new_num_bins);
hash 650 st.c entry = new_entry(new_table, ptr->key, ptr->record, ptr->hash,
hash 651 st.c hash_pos(ptr->hash, num_bins));
hash 759 st.c prev = &table->bins[hash_pos(old->hash, table->num_bins)];
hash 898 st.c st_index_t hash;
hash 901 st.c hash = PHASH(table, i);
hash 905 st.c FIND_ENTRY(table, ptr, hash, i);
hash 919 st.c i = find_packed_index_from(table, hash, key, i);
hash 921 st.c i = find_packed_index(table, hash, key);
hash 940 st.c i = hash_pos(ptr->hash, table->num_bins);
hash 959 st.c last = &table->bins[hash_pos(ptr->hash, table->num_bins)];
hash 964 st.c ptr->hash = 0;
hash 986 st.c st_index_t hash;
hash 989 st.c hash = PHASH(table, i);
hash 992 st.c FIND_ENTRY(table, ptr, hash, i);
hash 1015 st.c i = hash_pos(ptr->hash, table->num_bins);
hash 1025 st.c last = &table->bins[hash_pos(ptr->hash, table->num_bins)];
hash 1140 st.c st_index_t hash;
hash 1144 st.c hash = PHASH(table, i);
hash 1148 st.c FIND_ENTRY(table, ptr, hash, i);
hash 1162 st.c i = find_packed_index_from(table, hash, key, i);
hash 1164 st.c i = find_packed_index(table, hash, key);
hash 1183 st.c i = hash_pos(ptr->hash, table->num_bins);
hash 1202 st.c last = &table->bins[hash_pos(ptr->hash, table->num_bins)];
hash 1207 st.c ptr->hash = 0;
hash 1229 st.c st_index_t hash;
hash 1233 st.c hash = PHASH(table, i);
hash 1236 st.c FIND_ENTRY(table, ptr, hash, i);
hash 1258 st.c i = hash_pos(ptr->hash, table->num_bins);
hash 1268 st.c last = &table->bins[hash_pos(ptr->hash, table->num_bins)];
hash 4529 string.c VALUE pat, repl, hash = Qnil;
hash 4542 string.c hash = rb_check_hash_type(argv[1]);
hash 4543 string.c if (NIL_P(hash)) {
hash 4575 string.c if (iter || !NIL_P(hash)) {
hash 4582 string.c repl = rb_hash_aref(hash, rb_str_subseq(str, beg0, end0 - beg0));
hash 4691 string.c VALUE pat, val = Qnil, repl, match, match0 = Qnil, dest, hash = Qnil;
hash 4708 string.c hash = rb_check_hash_type(argv[1]);
hash 4709 string.c if (NIL_P(hash)) {
hash 4757 string.c val = rb_hash_aref(hash, rb_str_subseq(str, beg0, end0 - beg0));
hash 6218 string.c VALUE hash = 0;
hash 6264 string.c if (!hash) hash = rb_hash_new();
hash 6265 string.c rb_hash_aset(hash, UINT2NUM(c), Qtrue);
hash 6291 string.c if (!hash) hash = rb_hash_new();
hash 6292 string.c rb_hash_aset(hash, UINT2NUM(c), UINT2NUM(r));
hash 6317 string.c else if (hash) {
hash 6318 string.c VALUE tmp = rb_hash_lookup(hash, UINT2NUM(c));
hash 6365 string.c else if (rb_enc_mbmaxlen(enc) == 1 || (singlebyte && !hash)) {
hash 6396 string.c else if (hash) {
hash 6397 string.c VALUE tmp = rb_hash_lookup(hash, UINT2NUM(c));
hash 4430 thread.c th->local_storage_recursive_hash = hash;
hash 4445 thread.c VALUE hash = threadptr_recursive_hash(th);
hash 4447 thread.c if (NIL_P(hash) || !RB_TYPE_P(hash, T_HASH)) {
hash 4448 thread.c hash = rb_ident_hash_new();
hash 4449 thread.c threadptr_recursive_hash_set(th, hash);
hash 4453 thread.c list = rb_hash_aref(hash, sym);
hash 4457 thread.c rb_hash_aset(hash, sym, list);
hash 303 vm.c VALUE hash = Qnil, key = Qnil;
hash 309 vm.c hash = arg;
hash 314 vm.c hash = rb_hash_new();
hash 328 vm.c else if (hash != Qnil) \
hash 329 vm.c rb_hash_aset(hash, sym_##name, SERIALT2NUM(attr));
hash 340 vm.c return hash;
hash 2537 vm.c rb_hash_aset(hash, argv[i], argv[i+1]);
hash 2539 vm.c return hash;
hash 2545 vm.c VALUE hash;
hash 2546 vm.c REWIND_CFP(hash = core_hash_from_ary(ary));
hash 2547 vm.c return hash;
hash 2553 vm.c VALUE hash = rb_hash_new();
hash 2556 vm.c return core_hash_merge_ary(hash, ary);
hash 2562 vm.c REWIND_CFP(core_hash_merge_ary(hash, ary));
hash 2563 vm.c return hash;
hash 2569 vm.c core_hash_merge(hash, RARRAY_LEN(ary), RARRAY_CONST_PTR(ary));
hash 2570 vm.c return hash;
hash 2576 vm.c VALUE hash = argv[0];
hash 2578 vm.c REWIND_CFP(core_hash_merge(hash, argc-1, argv+1));
hash 2580 vm.c return hash;
hash 2587 vm.c rb_hash_aset(hash, key, value);
hash 2601 vm.c VALUE hash;
hash 2602 vm.c REWIND_CFP(hash = core_hash_merge_kwd(argc, argv));
hash 2603 vm.c return hash;
hash 2609 vm.c VALUE hash, kw;
hash 2611 vm.c hash = argv[0];
hash 2614 vm.c if (argc < 2) hash = kw;
hash 2615 vm.c rb_hash_foreach(kw, argc < 2 ? kwcheck_i : kwmerge_i, hash);
hash 2616 vm.c return hash;
hash 179 vm_args.c VALUE hash = rb_extract_keywords(rest_hash_ptr);
hash 180 vm_args.c if (!hash) hash = Qnil;
hash 181 vm_args.c *kw_hash_ptr = hash;
hash 1477 vm_method.c hash = rb_hash_uint(hash, def->type);
hash 1480 vm_method.c if (!def) return hash;
hash 1484 vm_method.c return rb_hash_uint(hash, (st_index_t)def->body.iseq.iseqptr);
hash 1486 vm_method.c hash = rb_hash_uint(hash, (st_index_t)def->body.cfunc.func);
hash 1487 vm_method.c return rb_hash_uint(hash, def->body.cfunc.argc);
hash 1490 vm_method.c return rb_hash_uint(hash, def->body.attr.id);
hash 1492 vm_method.c return rb_hash_proc(hash, def->body.proc);
hash 1494 vm_method.c return rb_hash_uint(hash, def->original_id);
hash 1498 vm_method.c return hash;
hash 1500 vm_method.c return rb_hash_uint(hash, def->body.optimize_type);
hash 1511 vm_method.c return rb_hash_method_definition(hash, me->def);
hash 1369 vm_trace.c rb_hash_aset(hash, key, rb_ary_new3(2, INT2FIX(active), INT2FIX(deleted)));