hash 2836 array.c VALUE hash = rb_hash_new();
hash 2840 array.c rb_hash_aset(hash, RARRAY_PTR(ary1)[i], Qtrue);
hash 2844 array.c rb_hash_aset(hash, RARRAY_PTR(ary2)[i], Qtrue);
hash 2847 array.c return hash;
hash 2866 array.c volatile VALUE hash;
hash 2869 array.c hash = ary_make_hash(to_ary(ary2), 0);
hash 2873 array.c if (st_lookup(RHASH_TBL(hash), RARRAY_PTR(ary1)[i], 0)) continue;
hash 2893 array.c VALUE hash, ary3, v, vv;
hash 2899 array.c hash = ary_make_hash(ary2, 0);
hash 2901 array.c if (RHASH_EMPTY_P(hash))
hash 2906 array.c if (st_delete(RHASH_TBL(hash), (st_data_t*)&vv, 0)) {
hash 2928 array.c VALUE hash, ary3;
hash 2934 array.c hash = ary_make_hash(ary1, ary2);
hash 2938 array.c if (st_delete(RHASH_TBL(hash), (st_data_t*)&vv, 0)) {
hash 2944 array.c if (st_delete(RHASH_TBL(hash), (st_data_t*)&vv, 0)) {
hash 2968 array.c VALUE hash, v, vv;
hash 2971 array.c hash = ary_make_hash(ary, 0);
hash 2973 array.c if (RARRAY_LEN(ary) == RHASH_SIZE(hash)) {
hash 2978 array.c if (st_delete(RHASH_TBL(hash), (st_data_t*)&vv, 0)) {
hash 2553 bignum.c int hash;
hash 2555 bignum.c hash = rb_memhash(BDIGITS(x), sizeof(BDIGIT)*RBIGNUM_LEN(x)) ^ RBIGNUM_SIGN(x);
hash 2556 bignum.c return INT2FIX(hash);
hash 573 enum.c values = rb_hash_aref(hash, group);
hash 576 enum.c rb_hash_aset(hash, group, values);
hash 599 enum.c VALUE hash;
hash 603 enum.c hash = rb_hash_new();
hash 604 enum.c rb_block_call(obj, id_each, 0, 0, group_by_i, hash);
hash 606 enum.c return hash;
hash 293 ext/bigdecimal/bigdecimal.c U_LONG hash,i;
hash 296 ext/bigdecimal/bigdecimal.c hash = (U_LONG)p->sign;
hash 298 ext/bigdecimal/bigdecimal.c if(hash==2) {
hash 300 ext/bigdecimal/bigdecimal.c hash = 31 * hash + p->frac[i];
hash 301 ext/bigdecimal/bigdecimal.c hash ^= p->frac[i];
hash 303 ext/bigdecimal/bigdecimal.c hash += p->exponent;
hash 305 ext/bigdecimal/bigdecimal.c return INT2FIX(hash);
hash 226 ext/dbm/dbm.c return fdbm_key(hash, value);
hash 396 ext/dbm/dbm.c VALUE hash = rb_hash_new();
hash 403 ext/dbm/dbm.c rb_hash_aset(hash, valstr, keystr);
hash 405 ext/dbm/dbm.c return hash;
hash 665 ext/dbm/dbm.c VALUE hash;
hash 668 ext/dbm/dbm.c hash = rb_hash_new();
hash 671 ext/dbm/dbm.c rb_hash_aset(hash, rb_tainted_str_new(key.dptr, key.dsize),
hash 675 ext/dbm/dbm.c return hash;
hash 655 ext/gdbm/gdbm.c VALUE hash = rb_hash_new();
hash 662 ext/gdbm/gdbm.c rb_hash_aset(hash, valstr, keystr);
hash 664 ext/gdbm/gdbm.c return hash;
hash 1147 ext/gdbm/gdbm.c VALUE keystr, hash;
hash 1150 ext/gdbm/gdbm.c hash = rb_hash_new();
hash 1154 ext/gdbm/gdbm.c rb_hash_aset(hash, keystr, rb_gdbm_fetch2(dbm, keystr));
hash 1157 ext/gdbm/gdbm.c return hash;
hash 252 ext/openssl/ossl_config.c rb_block_call(hash, rb_intern("each"), 0, 0, set_conf_section_i, (VALUE)arg);
hash 253 ext/openssl/ossl_config.c return hash;
hash 267 ext/openssl/ossl_config.c VALUE hash;
hash 269 ext/openssl/ossl_config.c hash = rb_hash_new();
hash 274 ext/openssl/ossl_config.c return hash;
hash 278 ext/openssl/ossl_config.c return hash;
hash 282 ext/openssl/ossl_config.c rb_hash_aset(hash, rb_str_new2(entry->name), rb_str_new2(entry->value));
hash 285 ext/openssl/ossl_config.c return hash;
hash 277 ext/openssl/ossl_pkey_dh.c VALUE hash;
hash 281 ext/openssl/ossl_pkey_dh.c hash = rb_hash_new();
hash 283 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("p"), ossl_bn_new(pkey->pkey.dh->p));
hash 284 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("g"), ossl_bn_new(pkey->pkey.dh->g));
hash 285 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("pub_key"), ossl_bn_new(pkey->pkey.dh->pub_key));
hash 286 ext/openssl/ossl_pkey_dh.c rb_hash_aset(hash, rb_str_new2("priv_key"), ossl_bn_new(pkey->pkey.dh->priv_key));
hash 288 ext/openssl/ossl_pkey_dh.c return hash;
hash 312 ext/openssl/ossl_pkey_dsa.c VALUE hash;
hash 316 ext/openssl/ossl_pkey_dsa.c hash = rb_hash_new();
hash 318 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("p"), ossl_bn_new(pkey->pkey.dsa->p));
hash 319 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("q"), ossl_bn_new(pkey->pkey.dsa->q));
hash 320 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("g"), ossl_bn_new(pkey->pkey.dsa->g));
hash 321 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("pub_key"), ossl_bn_new(pkey->pkey.dsa->pub_key));
hash 322 ext/openssl/ossl_pkey_dsa.c rb_hash_aset(hash, rb_str_new2("priv_key"), ossl_bn_new(pkey->pkey.dsa->priv_key));
hash 324 ext/openssl/ossl_pkey_dsa.c return hash;
hash 424 ext/openssl/ossl_pkey_rsa.c VALUE hash;
hash 428 ext/openssl/ossl_pkey_rsa.c hash = rb_hash_new();
hash 430 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("n"), ossl_bn_new(pkey->pkey.rsa->n));
hash 431 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("e"), ossl_bn_new(pkey->pkey.rsa->e));
hash 432 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("d"), ossl_bn_new(pkey->pkey.rsa->d));
hash 433 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("p"), ossl_bn_new(pkey->pkey.rsa->p));
hash 434 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("q"), ossl_bn_new(pkey->pkey.rsa->q));
hash 435 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("dmp1"), ossl_bn_new(pkey->pkey.rsa->dmp1));
hash 436 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("dmq1"), ossl_bn_new(pkey->pkey.rsa->dmq1));
hash 437 ext/openssl/ossl_pkey_rsa.c rb_hash_aset(hash, rb_str_new2("iqmp"), ossl_bn_new(pkey->pkey.rsa->iqmp));
hash 439 ext/openssl/ossl_pkey_rsa.c return hash;
hash 785 ext/openssl/ossl_ssl.c VALUE hash;
hash 789 ext/openssl/ossl_ssl.c hash = rb_hash_new();
hash 790 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_num")), LONG2NUM(SSL_CTX_sess_number(ctx)));
hash 791 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("connect")), LONG2NUM(SSL_CTX_sess_connect(ctx)));
hash 792 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("connect_good")), LONG2NUM(SSL_CTX_sess_connect_good(ctx)));
hash 793 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("connect_renegotiate")), LONG2NUM(SSL_CTX_sess_connect_renegotiate(ctx)));
hash 794 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("accept")), LONG2NUM(SSL_CTX_sess_accept(ctx)));
hash 795 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("accept_good")), LONG2NUM(SSL_CTX_sess_accept_good(ctx)));
hash 796 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("accept_renegotiate")), LONG2NUM(SSL_CTX_sess_accept_renegotiate(ctx)));
hash 797 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_hits")), LONG2NUM(SSL_CTX_sess_hits(ctx)));
hash 798 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cb_hits")), LONG2NUM(SSL_CTX_sess_cb_hits(ctx)));
hash 799 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_misses")), LONG2NUM(SSL_CTX_sess_misses(ctx)));
hash 800 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("cache_full")), LONG2NUM(SSL_CTX_sess_cache_full(ctx)));
hash 801 ext/openssl/ossl_ssl.c rb_hash_aset(hash, ID2SYM(rb_intern("timeouts")), LONG2NUM(SSL_CTX_sess_timeouts(ctx)));
hash 803 ext/openssl/ossl_ssl.c return hash;
hash 300 ext/openssl/ossl_x509name.c unsigned long hash;
hash 304 ext/openssl/ossl_x509name.c hash = X509_NAME_hash(name);
hash 306 ext/openssl/ossl_x509name.c return ULONG2NUM(hash);
hash 339 ext/openssl/ossl_x509name.c VALUE utf8str, ptrstr, ia5str, hash;
hash 360 ext/openssl/ossl_x509name.c hash = rb_hash_new();
hash 361 ext/openssl/ossl_x509name.c RHASH(hash)->ifnone = utf8str;
hash 362 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("C"), ptrstr);
hash 363 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("countryName"), ptrstr);
hash 364 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("serialNumber"), ptrstr);
hash 365 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("dnQualifier"), ptrstr);
hash 366 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("DC"), ia5str);
hash 367 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("domainComponent"), ia5str);
hash 368 ext/openssl/ossl_x509name.c rb_hash_aset(hash, rb_str_new2("emailAddress"), ia5str);
hash 369 ext/openssl/ossl_x509name.c rb_define_const(cX509Name, "OBJECT_TYPE_TEMPLATE", hash);
hash 7440 ext/ripper/ripper.c (yyval.val) = dispatch1(hash, escape_Qundef((yyvsp[(2) - (3)].val)));
hash 10383 ext/ripper/ripper.c VALUE hash = rb_const_get_at(rb_cObject, rb_intern("SCRIPT_LINES__"));
hash 10384 ext/ripper/ripper.c if (TYPE(hash) == T_HASH) {
hash 10387 ext/ripper/ripper.c rb_hash_aset(hash, fname, lines);
hash 2636 ext/ripper/ripper.y $$ = dispatch1(hash, escape_Qundef($2));
hash 4983 ext/ripper/ripper.y VALUE hash = rb_const_get_at(rb_cObject, rb_intern("SCRIPT_LINES__"));
hash 4984 ext/ripper/ripper.y if (TYPE(hash) == T_HASH) {
hash 4987 ext/ripper/ripper.y rb_hash_aset(hash, fname, lines);
hash 282 ext/sdbm/_sdbm.c register long hash;
hash 296 ext/sdbm/_sdbm.c if (getpage(db, (hash = exhash(key)))) {
hash 311 ext/sdbm/_sdbm.c if (!makroom(db, hash, need))
hash 357 ext/sdbm/_sdbm.c newp = (hash & db->hmask) | (db->hmask + 1);
hash 385 ext/sdbm/_sdbm.c if (hash & (db->hmask + 1)) {
hash 410 ext/sdbm/_sdbm.c ((hash & (db->hmask + 1)) ? 2 : 1);
hash 473 ext/sdbm/_sdbm.c dbit = 2 * dbit + ((hash & ((long) 1 << hbit++)) ? 2 : 1);
hash 480 ext/sdbm/_sdbm.c pagb = hash & db->hmask;
hash 203 ext/sdbm/init.c return fsdbm_key(hash, value);
hash 374 ext/sdbm/init.c VALUE hash = rb_hash_new();
hash 381 ext/sdbm/init.c rb_hash_aset(hash, valstr, keystr);
hash 383 ext/sdbm/init.c return hash;
hash 644 ext/sdbm/init.c VALUE hash;
hash 647 ext/sdbm/init.c hash = rb_hash_new();
hash 650 ext/sdbm/init.c rb_hash_aset(hash, rb_external_str_new(key.dptr, key.dsize),
hash 654 ext/sdbm/init.c return hash;
hash 31 ext/syck/rubyext.c struct RHash hash;
hash 40 ext/syck/rubyext.c long hash;
hash 233 ext/syck/syck.c long hash;
hash 31 ext/syck/yaml2byte.c long hash;
hash 41 ext/syck/yaml2byte.c ret->hash = HASH;
hash 55 ext/syck/yaml2byte.c assert(str && HASH == str->hash);
hash 88 ext/syck/yaml2byte.c assert(str && HASH == str->hash);
hash 89 ext/syck/yaml2byte.c assert(ext && HASH == ext->hash);
hash 223 ext/tk/tkutil/tkutil.c rb_hash_aset(hash, rb_funcall(key, ID_to_s, 0, 0), value);
hash 627 ext/tk/tkutil/tkutil.c volatile VALUE dst = rb_ary_new2(2 * RHASH_SIZE(hash));
hash 630 ext/tk/tkutil/tkutil.c st_foreach(RHASH_TBL(hash), push_kv, args);
hash 672 ext/tk/tkutil/tkutil.c volatile VALUE dst = rb_ary_new2(2 * RHASH_SIZE(hash));
hash 675 ext/tk/tkutil/tkutil.c st_foreach(RHASH_TBL(hash), push_kv_enc, args);
hash 689 ext/tk/tkutil/tkutil.c return ary2list2(hash2kv(hash, Qnil, self), Qfalse, self);
hash 698 ext/tk/tkutil/tkutil.c return ary2list2(hash2kv_enc(hash, Qnil, self), Qfalse, self);
hash 707 ext/tk/tkutil/tkutil.c volatile VALUE hash, enc_flag, ary;
hash 717 ext/tk/tkutil/tkutil.c hash = argv[0];
hash 725 ext/tk/tkutil/tkutil.c switch(TYPE(hash)) {
hash 728 ext/tk/tkutil/tkutil.c return assoc2kv_enc(hash, ary, self);
hash 730 ext/tk/tkutil/tkutil.c return assoc2kv(hash, ary, self);
hash 735 ext/tk/tkutil/tkutil.c return hash2kv_enc(hash, ary, self);
hash 737 ext/tk/tkutil/tkutil.c return hash2kv(hash, ary, self);
hash 748 ext/tk/tkutil/tkutil.c if (hash == TK_None) {
hash 7622 ext/win32ole/win32ole.c val = rb_hash_aref(hash, INT2FIX(i));
hash 7624 ext/win32ole/win32ole.c val = rb_hash_aref(hash, key);
hash 7626 ext/win32ole/win32ole.c val = rb_hash_aref(hash, rb_str_intern(key));
hash 7636 ext/win32ole/win32ole.c ret = rb_hash_aref(hash, rb_str_new2("return"));
hash 7638 ext/win32ole/win32ole.c ret = rb_hash_aref(hash, rb_str_intern(rb_str_new2("return")));
hash 258 gc.c struct RHash hash;
hash 1563 gc.c mark_hash(objspace, obj->as.hash.ntbl, lev);
hash 1564 gc.c ptr = obj->as.hash.ifnone;
hash 1866 gc.c if (RANY(obj)->as.hash.ntbl) {
hash 1867 gc.c st_free_table(RANY(obj)->as.hash.ntbl);
hash 2599 gc.c VALUE hash = (VALUE)arg;
hash 2600 gc.c rb_hash_aset(hash, k, INT2FIX(0));
hash 2632 gc.c VALUE hash;
hash 2634 gc.c if (rb_scan_args(argc, argv, "01", &hash) == 1) {
hash 2635 gc.c if (TYPE(hash) != T_HASH)
hash 2658 gc.c if (hash == Qnil) {
hash 2659 gc.c hash = rb_hash_new();
hash 2661 gc.c else if (!RHASH_EMPTY_P(hash)) {
hash 2662 gc.c st_foreach(RHASH_TBL(hash), set_zero, hash);
hash 2664 gc.c rb_hash_aset(hash, ID2SYM(rb_intern("TOTAL")), SIZET2NUM(total));
hash 2665 gc.c rb_hash_aset(hash, ID2SYM(rb_intern("FREE")), SIZET2NUM(freed));
hash 2700 gc.c rb_hash_aset(hash, type, SIZET2NUM(counts[i]));
hash 2703 gc.c return hash;
hash 30 hash.c return rb_obj_freeze(hash);
hash 137 hash.c VALUE hash;
hash 148 hash.c tbl = RHASH(arg->hash)->ntbl;
hash 151 hash.c if (RHASH(arg->hash)->ntbl != tbl) {
hash 157 hash.c FL_SET(arg->hash, HASH_DELETED);
hash 169 hash.c RHASH(hash)->iter_lev--;
hash 171 hash.c if (RHASH(hash)->iter_lev == 0) {
hash 172 hash.c if (FL_TEST(hash, HASH_DELETED)) {
hash 173 hash.c st_cleanup_safe(RHASH(hash)->ntbl, Qundef);
hash 174 hash.c FL_UNSET(hash, HASH_DELETED);
hash 183 hash.c if (st_foreach(RHASH(arg->hash)->ntbl, hash_foreach_iter, (st_data_t)arg)) {
hash 194 hash.c if (!RHASH(hash)->ntbl)
hash 196 hash.c RHASH(hash)->iter_lev++;
hash 197 hash.c arg.hash = hash;
hash 200 hash.c rb_ensure(hash_foreach_call, (VALUE)&arg, hash_foreach_ensure, hash);
hash 206 hash.c NEWOBJ(hash, struct RHash);
hash 207 hash.c OBJSETUP(hash, klass, T_HASH);
hash 209 hash.c hash->ifnone = Qnil;
hash 211 hash.c return (VALUE)hash;
hash 224 hash.c DUPSETUP(ret, hash);
hash 226 hash.c if (!RHASH_EMPTY_P(hash))
hash 227 hash.c ret->ntbl = st_copy(RHASH(hash)->ntbl);
hash 228 hash.c if (FL_TEST(hash, HASH_PROC_DEFAULT)) {
hash 231 hash.c ret->ifnone = RHASH(hash)->ifnone;
hash 238 hash.c if (OBJ_FROZEN(hash)) rb_error_frozen("hash");
hash 239 hash.c if (!OBJ_UNTRUSTED(hash) && rb_safe_level() >= 4)
hash 246 hash.c if (!RHASH(hash)->ntbl) {
hash 247 hash.c RHASH(hash)->ntbl = st_init_table(&objhash);
hash 249 hash.c return RHASH(hash)->ntbl;
hash 255 hash.c rb_hash_modify_check(hash);
hash 256 hash.c rb_hash_tbl(hash);
hash 299 hash.c rb_hash_modify(hash);
hash 304 hash.c RHASH(hash)->ifnone = rb_block_proc();
hash 305 hash.c FL_SET(hash, HASH_PROC_DEFAULT);
hash 309 hash.c RHASH(hash)->ifnone = ifnone;
hash 312 hash.c return hash;
hash 331 hash.c VALUE hash, tmp;
hash 337 hash.c hash = hash_alloc(klass);
hash 339 hash.c RHASH(hash)->ntbl = st_copy(RHASH(tmp)->ntbl);
hash 341 hash.c return hash;
hash 348 hash.c hash = hash_alloc(klass);
hash 359 hash.c rb_hash_aset(hash, key, val);
hash 362 hash.c return hash;
hash 369 hash.c hash = hash_alloc(klass);
hash 371 hash.c rb_hash_aset(hash, argv[i], argv[i + 1]);
hash 374 hash.c return hash;
hash 380 hash.c return rb_convert_type(hash, T_HASH, "Hash", "to_hash");
hash 397 hash.c return rb_check_convert_type(hash, T_HASH, "Hash", "to_hash");
hash 432 hash.c if (RHASH(hash)->iter_lev > 0) {
hash 435 hash.c rb_hash_modify_check(hash);
hash 436 hash.c if (!RHASH(hash)->ntbl)
hash 437 hash.c return hash;
hash 438 hash.c tbl = st_init_table_with_size(RHASH(hash)->ntbl->type, RHASH(hash)->ntbl->num_entries);
hash 439 hash.c rb_hash_foreach(hash, rb_hash_rehash_i, (st_data_t)tbl);
hash 440 hash.c st_free_table(RHASH(hash)->ntbl);
hash 441 hash.c RHASH(hash)->ntbl = tbl;
hash 443 hash.c return hash;
hash 465 hash.c if (!RHASH(hash)->ntbl || !st_lookup(RHASH(hash)->ntbl, key, &val)) {
hash 466 hash.c return rb_funcall(hash, id_default, 1, key);
hash 476 hash.c if (!RHASH(hash)->ntbl || !st_lookup(RHASH(hash)->ntbl, key, &val)) {
hash 485 hash.c return rb_hash_lookup2(hash, key, Qnil);
hash 530 hash.c if (!RHASH(hash)->ntbl || !st_lookup(RHASH(hash)->ntbl, key, &val)) {
hash 543 hash.c return rb_hash_fetch_m(1, &key, hash);
hash 573 hash.c if (FL_TEST(hash, HASH_PROC_DEFAULT)) {
hash 575 hash.c return rb_funcall(RHASH(hash)->ifnone, id_yield, 2, hash, key);
hash 577 hash.c return RHASH(hash)->ifnone;
hash 603 hash.c rb_hash_modify(hash);
hash 604 hash.c RHASH(hash)->ifnone = ifnone;
hash 605 hash.c FL_UNSET(hash, HASH_PROC_DEFAULT);
hash 627 hash.c if (FL_TEST(hash, HASH_PROC_DEFAULT)) {
hash 628 hash.c return RHASH(hash)->ifnone;
hash 653 hash.c rb_hash_modify(hash);
hash 661 hash.c RHASH(hash)->ifnone = proc;
hash 662 hash.c FL_SET(hash, HASH_PROC_DEFAULT);
hash 696 hash.c rb_hash_foreach(hash, key_i, (st_data_t)args);
hash 706 hash.c return rb_hash_key(hash, value);
hash 714 hash.c if (!RHASH(hash)->ntbl)
hash 716 hash.c if (RHASH(hash)->iter_lev > 0) {
hash 717 hash.c if (st_delete_safe(RHASH(hash)->ntbl, &ktmp, &val, Qundef)) {
hash 718 hash.c FL_SET(hash, HASH_DELETED);
hash 722 hash.c else if (st_delete(RHASH(hash)->ntbl, &ktmp, &val))
hash 750 hash.c rb_hash_modify(hash);
hash 751 hash.c val = rb_hash_delete_key(hash, key);
hash 801 hash.c rb_hash_modify(hash);
hash 803 hash.c rb_hash_foreach(hash, RHASH(hash)->iter_lev > 0 ? shift_i_safe : shift_i,
hash 807 hash.c if (RHASH(hash)->iter_lev > 0) {
hash 808 hash.c rb_hash_delete_key(hash, var.key);
hash 812 hash.c else if (FL_TEST(hash, HASH_PROC_DEFAULT)) {
hash 813 hash.c return rb_funcall(RHASH(hash)->ifnone, id_yield, 2, hash, Qnil);
hash 816 hash.c return RHASH(hash)->ifnone;
hash 825 hash.c rb_hash_delete_key(hash, key);
hash 845 hash.c RETURN_ENUMERATOR(hash, 0, 0);
hash 846 hash.c rb_hash_modify(hash);
hash 847 hash.c rb_hash_foreach(hash, delete_if_i, hash);
hash 848 hash.c return hash;
hash 864 hash.c RETURN_ENUMERATOR(hash, 0, 0);
hash 865 hash.c if (!RHASH(hash)->ntbl)
hash 867 hash.c n = RHASH(hash)->ntbl->num_entries;
hash 868 hash.c rb_hash_delete_if(hash);
hash 869 hash.c if (n == RHASH(hash)->ntbl->num_entries) return Qnil;
hash 870 hash.c return hash;
hash 886 hash.c return rb_hash_delete_if(rb_obj_dup(hash));
hash 907 hash.c rb_ary_push(result, rb_hash_aref(hash, argv[i]));
hash 937 hash.c RETURN_ENUMERATOR(hash, 0, 0);
hash 939 hash.c rb_hash_foreach(hash, select_i, result);
hash 963 hash.c rb_hash_modify_check(hash);
hash 964 hash.c if (!RHASH(hash)->ntbl)
hash 965 hash.c return hash;
hash 966 hash.c if (RHASH(hash)->ntbl->num_entries > 0) {
hash 967 hash.c if (RHASH(hash)->iter_lev > 0)
hash 968 hash.c rb_hash_foreach(hash, clear_i, 0);
hash 970 hash.c st_clear(RHASH(hash)->ntbl);
hash 973 hash.c return hash;
hash 997 hash.c rb_hash_modify(hash);
hash 998 hash.c if (RHASH(hash)->ntbl->type == &identhash ||
hash 999 hash.c TYPE(key) != T_STRING || st_lookup(RHASH(hash)->ntbl, key, 0)) {
hash 1000 hash.c st_insert(RHASH(hash)->ntbl, key, val);
hash 1003 hash.c st_add_direct(RHASH(hash)->ntbl, rb_str_new4(key), val);
hash 1012 hash.c rb_hash_aset(hash, key, val);
hash 1034 hash.c if (hash == hash2) return hash;
hash 1035 hash.c rb_hash_clear(hash);
hash 1036 hash.c rb_hash_foreach(hash2, replace_i, hash);
hash 1037 hash.c RHASH(hash)->ifnone = RHASH(hash2)->ifnone;
hash 1039 hash.c FL_SET(hash, HASH_PROC_DEFAULT);
hash 1042 hash.c FL_UNSET(hash, HASH_PROC_DEFAULT);
hash 1045 hash.c return hash;
hash 1064 hash.c if (!RHASH(hash)->ntbl)
hash 1066 hash.c return INT2FIX(RHASH(hash)->ntbl->num_entries);
hash 1083 hash.c return RHASH_EMPTY_P(hash) ? Qtrue : Qfalse;
hash 1113 hash.c RETURN_ENUMERATOR(hash, 0, 0);
hash 1114 hash.c rb_hash_foreach(hash, each_value_i, 0);
hash 1115 hash.c return hash;
hash 1144 hash.c RETURN_ENUMERATOR(hash, 0, 0);
hash 1145 hash.c rb_hash_foreach(hash, each_key_i, 0);
hash 1146 hash.c return hash;
hash 1178 hash.c RETURN_ENUMERATOR(hash, 0, 0);
hash 1179 hash.c rb_hash_foreach(hash, each_pair_i, 0);
hash 1180 hash.c return hash;
hash 1208 hash.c rb_hash_foreach(hash, to_a_i, ary);
hash 1209 hash.c OBJ_INFECT(ary, hash);
hash 1241 hash.c rb_hash_foreach(hash, inspect_i, str);
hash 1243 hash.c OBJ_INFECT(str, hash);
hash 1262 hash.c if (RHASH_EMPTY_P(hash))
hash 1264 hash.c return rb_exec_recursive(inspect_hash, hash, 0);
hash 1277 hash.c return hash;
hash 1306 hash.c rb_hash_foreach(hash, keys_i, ary);
hash 1337 hash.c rb_hash_foreach(hash, values_i, ary);
hash 1360 hash.c if (!RHASH(hash)->ntbl)
hash 1362 hash.c if (st_lookup(RHASH(hash)->ntbl, key, 0)) {
hash 1399 hash.c rb_hash_foreach(hash, rb_hash_search_value, (st_data_t)data);
hash 1434 hash.c rb_hash_foreach(hash, eql_i, (st_data_t)data);
hash 1527 hash.c if (!RHASH(hash)->ntbl)
hash 1529 hash.c hval = RHASH(hash)->ntbl->num_entries;
hash 1530 hash.c rb_hash_foreach(hash, hash_i, (st_data_t)&hval);
hash 1545 hash.c return rb_exec_recursive(recursive_hash, hash, 0);
hash 1552 hash.c rb_hash_aset(hash, value, key);
hash 1573 hash.c rb_hash_foreach(hash, rb_hash_invert_i, h);
hash 1581 hash.c rb_hash_aset(hash, key, value);
hash 1589 hash.c if (rb_hash_has_key(hash, key)) {
hash 1590 hash.c value = rb_yield_values(3, key, rb_hash_aref(hash, key), value);
hash 1592 hash.c rb_hash_aset(hash, key, value);
hash 1686 hash.c rb_hash_foreach(hash, assoc_i, (st_data_t)args);
hash 1721 hash.c rb_hash_foreach(hash, rassoc_i, (st_data_t)args);
hash 1746 hash.c ary = rb_hash_to_a(hash);
hash 1775 hash.c rb_hash_modify(hash);
hash 1776 hash.c RHASH(hash)->ntbl->type = &identhash;
hash 1777 hash.c rb_hash_rehash(hash);
hash 1778 hash.c return hash;
hash 1793 hash.c if (!RHASH(hash)->ntbl)
hash 1795 hash.c if (RHASH(hash)->ntbl->type == &identhash) {
hash 2464 hash.c VALUE hash;
hash 2467 hash.c hash = rb_hash_new();
hash 2472 hash.c rb_hash_aset(hash, env_str_new(*env, s-*env),
hash 2478 hash.c return hash;
hash 2532 hash.c if (env == hash) return env;
hash 2533 hash.c hash = to_hash(hash);
hash 2534 hash.c rb_hash_foreach(hash, env_replace_i, keys);
hash 2558 hash.c if (env == hash) return env;
hash 2559 hash.c hash = to_hash(hash);
hash 2560 hash.c rb_hash_foreach(hash, env_update_i, 0);
hash 63 include/ruby/st.h int (*hash)(ANYARGS /*st_data_t*/); /* st_hash_func* */
hash 1160 iseq.c VALUE hash = *seq;
hash 1164 iseq.c rb_hash_foreach(hash, cdhash_each, val);
hash 203 lex.c register int key = hash (str, len);
hash 897 numeric.c int hash;
hash 900 numeric.c hash = rb_memhash(&d, sizeof(d));
hash 901 numeric.c return INT2FIX(hash);
hash 10315 parse.c VALUE hash = rb_const_get_at(rb_cObject, rb_intern("SCRIPT_LINES__"));
hash 10316 parse.c if (TYPE(hash) == T_HASH) {
hash 10319 parse.c rb_hash_aset(hash, fname, lines);
hash 4983 parse.y VALUE hash = rb_const_get_at(rb_cObject, rb_intern("SCRIPT_LINES__"));
hash 4984 parse.y if (TYPE(hash) == T_HASH) {
hash 4987 parse.y rb_hash_aset(hash, fname, lines);
hash 693 proc.c int hash;
hash 696 proc.c hash = (long)proc->block.iseq;
hash 697 proc.c hash ^= (long)proc->envval;
hash 698 proc.c hash ^= (long)proc->block.lfp >> 16;
hash 699 proc.c return INT2FIX(hash);
hash 895 proc.c long hash;
hash 898 proc.c hash = (long)m->oclass;
hash 899 proc.c hash ^= (long)m->rclass;
hash 900 proc.c hash ^= (long)m->recv;
hash 901 proc.c hash ^= (long)m->body;
hash 903 proc.c return INT2FIX(hash);
hash 1537 process.c st_foreach(RHASH_TBL(hash), check_exec_env_i, (st_data_t)env);
hash 1578 process.c VALUE hash, prog;
hash 1581 process.c hash = rb_check_convert_type((*argv_p)[*argc_p-1], T_HASH, "Hash", "to_hash");
hash 1582 process.c if (!NIL_P(hash)) {
hash 1583 process.c *opthash_ret = hash;
hash 1589 process.c hash = rb_check_convert_type((*argv_p)[0], T_HASH, "Hash", "to_hash");
hash 1590 process.c if (!NIL_P(hash)) {
hash 1591 process.c *env_ret = hash;
hash 216 range.c long hash = EXCL(range);
hash 220 range.c hash ^= v << 1;
hash 222 range.c hash ^= v << 9;
hash 223 range.c hash ^= EXCL(range) << 24;
hash 225 range.c return LONG2FIX(hash);
hash 690 re.c VALUE hash = (VALUE)arg;
hash 697 re.c rb_hash_aset(hash, rb_str_new((const char*)name, name_end-name),ary);
hash 727 re.c VALUE hash = rb_hash_new();
hash 729 re.c onig_foreach_name(RREGEXP(re)->ptr, reg_named_captures_iter, (void*)hash);
hash 730 re.c return hash;
hash 126 sprintf.c rb_hash_fetch(get_hash(&hash, argc, argv), id))
hash 159 sprintf.c if (*hash != Qundef) return *hash;
hash 167 sprintf.c return (*hash = tmp);
hash 440 sprintf.c volatile VALUE hash = Qundef;
hash 21 st.c unsigned int hash;
hash 72 st.c #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
hash 258 st.c ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
hash 346 st.c entry->hash = hash_val;\
hash 455 st.c hash_val = ptr->hash % new_num_bins;
hash 499 st.c hash_val = entry->hash % num_bins;
hash 658 st.c i = ptr->hash % table->num_bins;
hash 673 st.c last = &table->bins[ptr->hash % table->num_bins];
hash 739 st.c i = ptr->hash % table->num_bins;
hash 754 st.c last = &table->bins[ptr->hash % table->num_bins];
hash 2016 string.c return hash(ptr, len, hashseed);
hash 3365 string.c VALUE pat, repl, hash = Qnil;
hash 3376 string.c hash = rb_check_convert_type(argv[1], T_HASH, "Hash", "to_hash");
hash 3377 string.c if (NIL_P(hash)) {
hash 3396 string.c if (iter || !NIL_P(hash)) {
hash 3403 string.c repl = rb_hash_aref(hash, rb_str_subseq(str, beg0, end0 - beg0));
hash 3501 string.c VALUE pat, val, repl, match, dest, hash = Qnil;
hash 3518 string.c hash = rb_check_convert_type(argv[1], T_HASH, "Hash", "to_hash");
hash 3519 string.c if (NIL_P(hash)) {
hash 3550 string.c if (iter || !NIL_P(hash)) {
hash 3555 string.c val = rb_hash_aref(hash, rb_str_subseq(str, BEG(0), END(0) - BEG(0)));
hash 4600 string.c VALUE hash = 0;
hash 4642 string.c if (!hash) hash = rb_hash_new();
hash 4643 string.c rb_hash_aset(hash, UINT2NUM(c), Qtrue);
hash 4669 string.c if (!hash) hash = rb_hash_new();
hash 4670 string.c rb_hash_aset(hash, UINT2NUM(c), UINT2NUM(r));
hash 4690 string.c else if (hash) {
hash 4691 string.c VALUE tmp = rb_hash_lookup(hash, UINT2NUM(c));
hash 4727 string.c else if (rb_enc_mbmaxlen(enc) == 1 || (singlebyte && !hash)) {
hash 4756 string.c else if (hash) {
hash 4757 string.c VALUE tmp = rb_hash_lookup(hash, UINT2NUM(c));
hash 3282 thread.c if (NIL_P(hash) || TYPE(hash) != T_HASH) {
hash 3286 thread.c VALUE list = rb_hash_aref(hash, ID2SYM(rb_frame_this_func()));
hash 3302 thread.c if (NIL_P(hash) || TYPE(hash) != T_HASH) {
hash 3303 thread.c hash = rb_hash_new();
hash 3304 thread.c rb_thread_local_aset(rb_thread_current(), recursive_key, hash);
hash 3308 thread.c list = rb_hash_aref(hash, sym);
hash 3312 thread.c rb_hash_aset(hash, sym, list);
hash 3315 thread.c return hash;
hash 3324 thread.c if (NIL_P(hash) || TYPE(hash) != T_HASH) {
hash 3333 thread.c list = rb_hash_aref(hash, sym);
hash 3346 thread.c VALUE hash = rb_thread_local_aref(rb_thread_current(), recursive_key);
hash 3349 thread.c if (recursive_check(hash, objid)) {
hash 3356 thread.c hash = recursive_push(hash, objid);
hash 3362 thread.c recursive_pop(hash, objid);
hash 1183 time.c long hash;
hash 1186 time.c hash = tobj->ts.tv_sec ^ tobj->ts.tv_nsec;
hash 1187 time.c return LONG2FIX(hash);
hash 926 vm_insnhelper.c const VALUE hash = svar->u3.value;
hash 928 vm_insnhelper.c if (hash == Qnil) {
hash 932 vm_insnhelper.c return rb_hash_lookup(hash, key);
hash 951 vm_insnhelper.c VALUE hash = svar->u3.value;
hash 953 vm_insnhelper.c if (hash == Qnil) {
hash 954 vm_insnhelper.c svar->u3.value = hash = rb_hash_new();
hash 956 vm_insnhelper.c rb_hash_aset(hash, key, val);