Home
last modified time | relevance | path

Searched refs:HashTable (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dhash.h114 typedef struct HashTable HashTable; typedef
126 HashTable *_new_HashTable(HashMemory *mem, int size, HashCase hcase,
131 HashTable *_del_HashTable(HashTable *hash);
135 Symbol *_new_HashSymbol(HashTable *hash, const char *key, int code,
140 int _clear_HashTable(HashTable *hash);
144 Symbol *_del_HashSymbol(HashTable *hash, const char *key);
148 Symbol *_find_HashSymbol(HashTable *hash, const char *key);
155 int _scan_HashTable(HashTable *hash, HASH_SCAN_FN(*scan_fn), void *context);
H A Dhash.c80 struct HashTable { struct
91 static HashNode *_del_HashNode(HashTable *hash, HashNode *node); argument
92 static HashNode *_new_HashNode(HashTable *hash, const char *name, int code,
94 static HashNode *_find_HashNode(HashTable *hash, HashBucket *bucket,
96 static HashBucket *_find_HashBucket(HashTable *hash, const char *name);
132 mem->hash_memory = _new_FreeList(sizeof(HashTable), hash_count); in _new_HashMemory()
211 HashTable *_new_HashTable(HashMemory *mem, int size, HashCase hcase, in _new_HashTable()
214 HashTable *hash; /* The table to be returned */ in _new_HashTable()
235 hash = (HashTable *) _new_FreeListNode(mem->hash_memory); in _new_HashTable()
285 HashTable *_del_HashTable(HashTable *hash) in _del_HashTable()
[all …]
H A Dkeytab.c64 HashTable *actions; /* The hash table of actions */
/illumos-gate/usr/src/common/lz4/
H A Dlz4.c548 HTYPE *HashTable = (HTYPE *) (srt->hashTable); in LZ4_compressCtx() local
550 HTYPE HashTable[HASHTABLESIZE] = { 0 }; in LZ4_compressCtx()
573 HashTable[LZ4_HASH_VALUE(ip)] = ip - base; in LZ4_compressCtx()
596 ref = base + HashTable[h]; in LZ4_compressCtx()
597 HashTable[h] = ip - base; in LZ4_compressCtx()
687 HashTable[LZ4_HASH_VALUE(ip - 2)] = ip - 2 - base; in LZ4_compressCtx()
690 ref = base + HashTable[LZ4_HASH_VALUE(ip)]; in LZ4_compressCtx()
691 HashTable[LZ4_HASH_VALUE(ip)] = ip - base; in LZ4_compressCtx()
743 U16 *HashTable = (U16 *) (srt->hashTable); in LZ4_compress64kCtx() local
745 U16 HashTable[HASH64KTABLESIZE] = { 0 }; in LZ4_compress64kCtx()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c130 } HashTable; typedef
173 HashTable *ldmemc_resTmp;
174 HashTable *ldmemc_resLookup;
222 static int htable_sizeinbytes(HashTable *pTable);
223 static int htable_put(HashTable *pTable, void *key, void *pData);
224 static int htable_get(HashTable *pTable, void *key, void **ppData);
225 static int htable_misc(HashTable *pTable, void *key, void *pData);
226 static int htable_remove(HashTable *pTable, void *key, void **ppData);
227 static int htable_removeall(HashTable *pTable, void *pData);
231 MiscFuncPtr miscOpf, HashTable **ppTable);
[all …]