Home
last modified time | relevance | path

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

/dflybsd-src/contrib/bmake/
H A Dhash.h90 typedef struct HashTable { struct
97 } HashTable; argument
101 HashTable *table; /* Table being searched. */
108 HashTable tbl;
125 HashIter_Init(HashIter *hi, HashTable *t) in HashIter_Init()
132 void HashTable_Init(HashTable *);
133 void HashTable_Done(HashTable *);
134 HashEntry *HashTable_FindEntry(HashTable *, const char *) MAKE_ATTR_USE;
135 void *HashTable_FindValue(HashTable *, const char *) MAKE_ATTR_USE;
137 void *HashTable_FindValueBySubstringHash(HashTable *, Substring, unsigned int)
[all …]
H A Dhash.c114 HashTable_Find(HashTable *t, Substring key, unsigned int h) in HashTable_Find()
141 HashTable_Init(HashTable *t) in HashTable_Init()
160 HashTable_Done(HashTable *t) in HashTable_Done()
182 HashTable_FindEntry(HashTable *t, const char *key) in HashTable_FindEntry()
191 HashTable_FindValue(HashTable *t, const char *key) in HashTable_FindValue()
202 HashTable_FindValueBySubstringHash(HashTable *t, Substring key, unsigned int h) in HashTable_FindValueBySubstringHash()
213 HashTable_Enlarge(HashTable *t) in HashTable_Enlarge()
250 HashTable_CreateEntry(HashTable *t, const char *key, bool *out_isNew) in HashTable_CreateEntry()
280 HashTable_Set(HashTable *t, const char *key, void *value) in HashTable_Set()
288 HashTable_DeleteEntry(HashTable *t, HashEntry *he) in HashTable_DeleteEntry()
[all …]
H A Ddir.c246 HashTable /* of CachedDirListNode */ table;
279 static HashTable mtimes;
281 static HashTable lmtimes; /* same as mtimes but for lstat */
418 HashTable *tbl = useLstat ? &lmtimes : &mtimes; in cached_stats()
H A Dstr.c77 static HashTable interned_strings;
H A Dtarg.c117 static HashTable allTargetsByName;
H A Dmake.h508 HashTable /* of Var pointer */ vars;
H A Darch.c159 HashTable members; /* All the members of the archive described
H A Dmain.c151 static HashTable cached_realpaths;
H A DChangeLog834 o hash.c: clean up hash function for HashTable
981 migrate CachedDir.files from HashTable to HashSet
1023 main.c: switch cache for realpath from GNode to HashTable
1114 o make iterating over HashTable simpler
/dflybsd-src/sys/vfs/hammer2/
H A Dhammer2_lz4_encoder.h94 CURRENT_H_TYPE* HashTable = (CURRENT_H_TYPE*)ctx; in LZ4_compress_heap_limitedOutput() local
114 memset((void*)HashTable, 0, HASHTABLESIZE); in LZ4_compress_heap_limitedOutput()
117 HashTable[LZ4_HASHVALUE(ip)] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
141 ref = base + HashTable[h]; in LZ4_compress_heap_limitedOutput()
142 HashTable[h] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
231 HashTable[LZ4_HASHVALUE(ip-2)] = (CURRENT_H_TYPE)(ip - 2 - base); in LZ4_compress_heap_limitedOutput()
234 ref = base + HashTable[LZ4_HASHVALUE(ip)]; in LZ4_compress_heap_limitedOutput()
235 HashTable[LZ4_HASHVALUE(ip)] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
279 CURRENT_H_TYPE* HashTable = (CURRENT_H_TYPE*)ctx; in LZ4_compress64k_heap_limitedOutput() local
299 memset((void*)HashTable, 0, HASHTABLESIZE); in LZ4_compress64k_heap_limitedOutput()
[all …]
/dflybsd-src/usr.sbin/makefs/hammer2/
H A Dhammer2_lz4_encoder.h94 CURRENT_H_TYPE* HashTable = (CURRENT_H_TYPE*)ctx; in LZ4_compress_heap_limitedOutput() local
114 memset((void*)HashTable, 0, HASHTABLESIZE); in LZ4_compress_heap_limitedOutput()
117 HashTable[LZ4_HASHVALUE(ip)] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
141 ref = base + HashTable[h]; in LZ4_compress_heap_limitedOutput()
142 HashTable[h] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
231 HashTable[LZ4_HASHVALUE(ip-2)] = (CURRENT_H_TYPE)(ip - 2 - base); in LZ4_compress_heap_limitedOutput()
234 ref = base + HashTable[LZ4_HASHVALUE(ip)]; in LZ4_compress_heap_limitedOutput()
235 HashTable[LZ4_HASHVALUE(ip)] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
279 CURRENT_H_TYPE* HashTable = (CURRENT_H_TYPE*)ctx; in LZ4_compress64k_heap_limitedOutput() local
299 memset((void*)HashTable, 0, HASHTABLESIZE); in LZ4_compress64k_heap_limitedOutput()
[all …]
/dflybsd-src/sbin/hammer2/lz4/
H A Dhammer2_lz4_encoder.h94 CURRENT_H_TYPE* HashTable = (CURRENT_H_TYPE*)ctx; in LZ4_compress_heap_limitedOutput() local
114 memset((void*)HashTable, 0, HASHTABLESIZE); in LZ4_compress_heap_limitedOutput()
117 HashTable[LZ4_HASHVALUE(ip)] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
141 ref = base + HashTable[h]; in LZ4_compress_heap_limitedOutput()
142 HashTable[h] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
231 HashTable[LZ4_HASHVALUE(ip-2)] = (CURRENT_H_TYPE)(ip - 2 - base); in LZ4_compress_heap_limitedOutput()
234 ref = base + HashTable[LZ4_HASHVALUE(ip)]; in LZ4_compress_heap_limitedOutput()
235 HashTable[LZ4_HASHVALUE(ip)] = (CURRENT_H_TYPE)(ip - base); in LZ4_compress_heap_limitedOutput()
279 CURRENT_H_TYPE* HashTable = (CURRENT_H_TYPE*)ctx; in LZ4_compress64k_heap_limitedOutput() local
299 memset((void*)HashTable, 0, HASHTABLESIZE); in LZ4_compress64k_heap_limitedOutput()
[all …]