Lines Matching refs:TableIndex
47 * (Also see HARE trick below, which makes the TableIndex unique per table).
57 * reference to the first TableIndex in the hash bucket, the next
106 TableIndex next; /* The next TableElement in the hash bucket chain. */
115 TableIndex *hash_buckets; /* Pointer to hash bucket chains. */
118 TableIndex next_index; /* Next element available. */
119 TableIndex table_size; /* Current size of table. */
120 TableIndex table_incr; /* Suggested increment size. */
121 TableIndex hash_bucket_count; /* Number of hash buckets. */
126 TableIndex freed_start; /* First freed in table */
131 TableIndex hare; /* Rabbit (HARE) trick. */
200 get_key(LookupTable *ltable, TableIndex index, void **pkey_ptr, int *pkey_len)
207 get_info(LookupTable *ltable, TableIndex index)
219 hash_out(LookupTable *ltable, TableIndex index)
224 TableIndex bucket;
225 TableIndex i;
248 is_freed_entry(LookupTable *ltable, TableIndex index)
260 set_freed_bit(LookupTable *ltable, TableIndex index)
293 static TableIndex
297 TableIndex i;
298 TableIndex istart;
353 free_entry(LookupTable *ltable, TableIndex index)
389 hash_in(LookupTable *ltable, TableIndex index, HashCode hcode)
393 TableIndex bucket;
418 TableIndex *new_buckets;
419 TableIndex *old_buckets;
430 new_buckets = HPROF_MALLOC(new_size*(int)sizeof(TableIndex));
431 (void)memset(new_buckets, 0, new_size*(int)sizeof(TableIndex));
436 TableIndex index;
441 TableIndex next;
542 static TableIndex
545 TableIndex index;
551 TableIndex bucket;
552 TableIndex prev_index;
584 static TableIndex
587 TableIndex index;
698 nbytes = (int)(bucket_count*sizeof(TableIndex));
699 ltable->hash_buckets = (TableIndex*)HPROF_MALLOC(nbytes);
729 table_free_entry(LookupTable *ltable, TableIndex index)
751 TableIndex index;
815 TableIndex
818 TableIndex index;
844 TableIndex
847 TableIndex index;
864 TableIndex
868 TableIndex index;
908 table_get_info(LookupTable *ltable, TableIndex index)
927 table_get_key(LookupTable *ltable, TableIndex index, void **pkey_ptr, int *pkey_len)