table 101 gc/finalize.c void GC_grow_table(table, log_size_ptr) table 102 gc/finalize.c struct hash_chain_entry ***table; table 116 gc/finalize.c if (table == 0) { table 123 gc/finalize.c p = (*table)[i]; table 135 gc/finalize.c *table = new_table; table 4982 src/extlib.c SCM_RESULT = (SCM_OBJ(mod->table)); table 1575 src/gauche.h ScmHashTable *table; /* internal */ table 1612 src/gauche.h ScmHashTable *table; /* used internally. */ table 1743 src/gauche.h ScmHashTable *table; table 1777 src/gauche.h SCM_EXTERN ScmObj Scm_HashTableKeys(ScmHashTable *table); table 1778 src/gauche.h SCM_EXTERN ScmObj Scm_HashTableValues(ScmHashTable *table); table 1785 src/gauche.h SCM_EXTERN ScmObj Scm_HashTableStat(ScmHashTable *table); table 1817 src/gauche.h ScmHashTable *table; table 265 src/gauche/vm.h SCM_EXTERN void Scm_ParameterTableInit(ScmVMParameterTable *table, table 106 src/hash.c static void check_scm_hashtable(ScmHashTable *table) table 108 src/hash.c if (SCM_HASH_TABLE_RAW_P(table)) { table 110 src/hash.c table); table 274 src/hash.c static ScmHashEntry *insert_entry(ScmHashTable *table, table 282 src/hash.c e->next = table->buckets[index]; table 283 src/hash.c table->buckets[index] = e; table 284 src/hash.c table->numEntries++; table 286 src/hash.c if (table->numEntries > table->numBuckets*MAX_AVG_CHAIN_LIMITS) { table 290 src/hash.c int i, newsize = (table->numBuckets << EXTEND_BITS); table 291 src/hash.c int newbits = table->numBucketsLog2 + EXTEND_BITS; table 296 src/hash.c Scm_HashIterInitRaw(table, &iter); table 298 src/hash.c unsigned long hashval = table->hashfn(table, f->key); table 303 src/hash.c table->numBuckets = newsize; table 304 src/hash.c table->numBucketsLog2 = newbits; table 305 src/hash.c table->buckets = newb; table 310 src/hash.c static ScmHashEntry *delete_entry(ScmHashTable *table, table 315 src/hash.c else table->buckets[index] = entry->next; table 316 src/hash.c table->numEntries--; table 317 src/hash.c SCM_ASSERT(table->numEntries >= 0); table 324 src/hash.c static ScmHashEntry *address_access(ScmHashTable *table, table 331 src/hash.c index = HASH2INDEX(table->numBuckets, table->numBucketsLog2, hashval); table 333 src/hash.c for (e = table->buckets[index], p = NULL; e; p = e, e = e->next) { table 336 src/hash.c if (mode == HASH_DELETE) return delete_entry(table, e, p, index); table 345 src/hash.c else return insert_entry(table, key, value, index); table 358 src/hash.c static unsigned long eqv_hash(ScmHashTable *table, void *key) table 363 src/hash.c static int eqv_cmp(ScmHashTable *table, void *key, ScmHashEntry *e) table 368 src/hash.c static unsigned long equal_hash(ScmHashTable *table, void *key) table 373 src/hash.c static int equal_cmp(ScmHashTable *table, void *key, ScmHashEntry *e) table 382 src/hash.c static ScmHashEntry *string_access(ScmHashTable *table, void *k, table 394 src/hash.c key, table); table 400 src/hash.c index = HASH2INDEX(table->numBuckets, table->numBucketsLog2, hashval); table 402 src/hash.c for (e = table->buckets[index], p = NULL; e; p = e, e = e->next) { table 410 src/hash.c if (mode == HASH_DELETE) return delete_entry(table, e, p, index); table 419 src/hash.c else return insert_entry(table, key, value, index); table 422 src/hash.c static unsigned long string_hash(ScmHashTable *table, void *key) table 436 src/hash.c static unsigned long multiword_hash(ScmHashTable *table, void *key) table 438 src/hash.c ScmWord keysize = (ScmWord)table->data; table 449 src/hash.c static ScmHashEntry *multiword_access(ScmHashTable *table, void *k, table 453 src/hash.c ScmWord keysize = (ScmWord)table->data; table 456 src/hash.c hashval = multiword_hash(table, k); table 457 src/hash.c index = HASH2INDEX(table->numBuckets, table->numBucketsLog2, hashval); table 459 src/hash.c for (e = table->buckets[index], p = NULL; e; p = e, e = e->next) { table 462 src/hash.c if (mode == HASH_DELETE) return delete_entry(table, e, p, index); table 471 src/hash.c else return insert_entry(table, k, v, index); table 479 src/hash.c static ScmHashEntry *general_access(ScmHashTable *table, void *key, table 485 src/hash.c hashval = table->hashfn(table, key); table 486 src/hash.c index = HASH2INDEX(table->numBuckets, table->numBucketsLog2, hashval); table 488 src/hash.c for (e = table->buckets[index], p = NULL; e; p = e, e = e->next) { table 489 src/hash.c if (table->cmpfn(table, key, e)) { table 491 src/hash.c if (mode == HASH_DELETE) return delete_entry(table, e, p, index); table 500 src/hash.c else return insert_entry(table, key, value, index); table 624 src/hash.c void Scm_HashIterInitRaw(ScmHashTable *table, ScmHashIter *iter) table 627 src/hash.c iter->table = table; table 628 src/hash.c for (i=0; i<table->numBuckets; i++) { table 629 src/hash.c if (table->buckets[i]) { table 631 src/hash.c iter->currentEntry = table->buckets[i]; table 638 src/hash.c void Scm_HashIterInit(ScmHashTable *table, ScmHashIter *iter) table 640 src/hash.c check_scm_hashtable(table); table 641 src/hash.c Scm_HashIterInitRaw(table, iter); table 651 src/hash.c for (; i < iter->table->numBuckets; i++) { table 652 src/hash.c if (iter->table->buckets[i]) { table 654 src/hash.c iter->currentEntry = iter->table->buckets[i]; table 668 src/hash.c ScmHashEntry *Scm_HashTableGetRaw(ScmHashTable *table, void *key) table 670 src/hash.c return table->accessfn(table, key, HASH_FIND, SCM_FALSE); table 673 src/hash.c ScmHashEntry *Scm_HashTableAddRaw(ScmHashTable *table, void *key, void *value) table 675 src/hash.c return table->accessfn(table, key, HASH_ADD, value); table 678 src/hash.c ScmHashEntry *Scm_HashTablePutRaw(ScmHashTable *table, void *key, void *value) table 680 src/hash.c return table->accessfn(table, key, HASH_UPDATE, value); table 683 src/hash.c ScmHashEntry *Scm_HashTableDeleteRaw(ScmHashTable *table, void *key) table 685 src/hash.c return table->accessfn(table, key, HASH_DELETE, SCM_FALSE); table 688 src/hash.c ScmHashEntry *Scm_HashTableGet(ScmHashTable *table, ScmObj key) table 690 src/hash.c check_scm_hashtable(table); table 691 src/hash.c return table->accessfn(table, key, HASH_FIND, SCM_FALSE); table 694 src/hash.c ScmHashEntry *Scm_HashTableAdd(ScmHashTable *table, ScmObj key, ScmObj value) table 696 src/hash.c check_scm_hashtable(table); table 697 src/hash.c return table->accessfn(table, key, HASH_ADD, value); table 700 src/hash.c ScmHashEntry *Scm_HashTablePut(ScmHashTable *table, ScmObj key, ScmObj value) table 702 src/hash.c check_scm_hashtable(table); table 703 src/hash.c return table->accessfn(table, key, HASH_UPDATE, value); table 706 src/hash.c ScmHashEntry *Scm_HashTableDelete(ScmHashTable *table, ScmObj key) table 708 src/hash.c check_scm_hashtable(table); table 709 src/hash.c return table->accessfn(table, key, HASH_DELETE, SCM_FALSE); table 716 src/hash.c ScmObj Scm_HashTableKeys(ScmHashTable *table) table 721 src/hash.c check_scm_hashtable(table); table 722 src/hash.c Scm_HashIterInit(table, &iter); table 729 src/hash.c ScmObj Scm_HashTableValues(ScmHashTable *table) table 734 src/hash.c check_scm_hashtable(table); table 735 src/hash.c Scm_HashIterInit(table, &iter); table 742 src/hash.c ScmObj Scm_HashTableStat(ScmHashTable *table) table 745 src/hash.c ScmVector *v = SCM_VECTOR(Scm_MakeVector(table->numBuckets, SCM_NIL)); table 750 src/hash.c SCM_APPEND1(h, t, Scm_MakeInteger(table->numEntries)); table 752 src/hash.c SCM_APPEND1(h, t, Scm_MakeInteger(table->numBuckets)); table 754 src/hash.c SCM_APPEND1(h, t, Scm_MakeInteger(table->numBucketsLog2)); table 755 src/hash.c for (vp = SCM_VECTOR_ELEMENTS(v), i = 0; i<table->numBuckets; i++, vp++) { table 756 src/hash.c ScmHashEntry *e = table->buckets[i]; table 56 src/keyword.c ScmHashTable *table; table 69 src/keyword.c e = Scm_HashTableGet(keywords.table, SCM_OBJ(name)); table 75 src/keyword.c Scm_HashTablePut(keywords.table, SCM_OBJ(name), SCM_OBJ(k)); table 151 src/keyword.c keywords.table = SCM_HASH_TABLE(Scm_MakeHashTableSimple(SCM_HASH_STRING, 256)); table 88 src/module.c ScmHashTable *table; /* Maps name -> module. */ table 118 src/module.c m->table = SCM_HASH_TABLE(Scm_MakeHashTableSimple(SCM_HASH_EQ, 0)); table 136 src/module.c e = Scm_HashTableGet(modules.table, SCM_OBJ(name)); table 147 src/module.c e = Scm_HashTableAdd(modules.table, SCM_OBJ(name), SCM_FALSE); table 205 src/module.c e = Scm_HashTableGet(m->table, SCM_OBJ(symbol)); table 230 src/module.c e = Scm_HashTableGet(m->table, SCM_OBJ(symbol)); table 251 src/module.c e = Scm_HashTableGet(m->table, SCM_OBJ(symbol)); table 278 src/module.c e = Scm_HashTableGet(module->table, SCM_OBJ(symbol)); table 289 src/module.c Scm_HashTablePut(module->table, SCM_OBJ(symbol), SCM_OBJ(g)); table 312 src/module.c e = Scm_HashTableGet(module->table, SCM_OBJ(symbol)); table 325 src/module.c Scm_HashTablePut(module->table, SCM_OBJ(symbol), SCM_OBJ(g)); table 388 src/module.c e = Scm_HashTableAdd(module->table, SCM_OBJ(s), SCM_UNBOUND); table 420 src/module.c Scm_HashIterInit(module->table, &iter); table 498 src/module.c Scm_HashIterInit(modules.table, &iter); table 595 src/module.c Scm_HashTablePut(modules.table, SCM_OBJ((mod).name), SCM_OBJ(&mod));\ table 605 src/module.c modules.table = SCM_HASH_TABLE(Scm_MakeHashTableSimple(SCM_HASH_EQ, 64)); table 74 src/parameter.c void Scm_ParameterTableInit(ScmVMParameterTable *table, table 80 src/parameter.c table->vector = SCM_NEW_ARRAY(ScmObj, base->parameters.numAllocated); table 81 src/parameter.c table->ids = SCM_NEW_ATOMIC2(int*, PARAMETER_INIT_SIZE*sizeof(int)); table 82 src/parameter.c table->numAllocated = base->parameters.numAllocated; table 83 src/parameter.c table->numParameters = base->parameters.numParameters; table 84 src/parameter.c for (i=0; i<table->numParameters; i++) { table 85 src/parameter.c table->vector[i] = base->parameters.vector[i]; table 86 src/parameter.c table->ids[i] = base->parameters.ids[i]; table 89 src/parameter.c table->vector = SCM_NEW_ARRAY(ScmObj, PARAMETER_INIT_SIZE); table 90 src/parameter.c table->ids = SCM_NEW_ATOMIC2(int*, PARAMETER_INIT_SIZE*sizeof(int)); table 91 src/parameter.c table->numParameters = 0; table 92 src/parameter.c table->numAllocated = PARAMETER_INIT_SIZE; table 79 src/read.c ScmHashTable *table; table 98 src/read.c ctx->table = NULL; table 152 src/read.c ctx->table = NULL; table 181 src/read.c ctx->table = NULL; table 251 src/read.c SCM_ASSERT(ctx->table); table 252 src/read.c Scm_HashTablePut(ctx->table, SCM_MAKE_INT(refnum), obj); table 1004 src/read.c if (ctx->table == NULL table 1005 src/read.c || (e = Scm_HashTableGet(ctx->table, Scm_MakeInteger(refnum))) == NULL) { table 1019 src/read.c if (ctx->table == NULL) { table 1020 src/read.c ctx->table = table 1023 src/read.c if (Scm_HashTableGet(ctx->table, Scm_MakeInteger(refnum)) != NULL) { table 1045 src/read.c Scm_HashTablePut(readCtorData.table, symbol, pair); table 1080 src/read.c e = Scm_HashTableGet(readCtorData.table, key); table 1161 src/read.c readCtorData.table = table 227 src/write.c ctx.table = SCM_HASH_TABLE(Scm_MakeHashTableSimple(SCM_HASH_EQ, 8));