Searched defs:hash (Results 1 - 9 of 9) sorted by relevance

/ast/src/cmd/tests/sfio/
H A Dtmwrite.c30 static unsigned long hash = 0xdeadbeef; local
32 return (hash = hash*0xbadbeef + 0xdeadbeef)&LOWBITS;
/ast/src/lib/libast/hash/
H A Dhashlib.h27 * hash table library private definitions
45 Hash_hash_f hash; /* name hash routine */ member in struct:__anon262
61 unsigned int hash; /* last lookup hash */
73 Hash_bucket_t** table; /* hash slot table */ \
76 #include <hash.h>
84 #define HASH(r,n,h) if (r->local->hash) h = r->namesize ? (*r->local->hash)(n, r->namesize) : (*r->local->hash)(
[all...]
/ast/src/cmd/mailx/port/
H A Ddthdr.h82 #define hash hl._hash macro
96 /* hash start size and load factor */
117 /* hash function */
/ast/src/lib/libast/cdt/
H A Ddthash.c35 /* internal data structure for hash table with chaining */
40 Dtlink_t** htbl; /* hash table slots */
41 ssize_t tblz; /* size of hash table */
44 /* make/resize hash table */
50 Dthash_t *hash = (Dthash_t*)dt->data; local
52 if((n = hash->tblz) > 0 && (hash->type&H_FIXED) )
58 { hash->type |= H_FIXED;
65 n = n < HLOAD(hash->data.size) ? HLOAD(hash
98 Dthash_t *hash = (Dthash_t*)dt->data; local
117 Dthash_t *hash = (Dthash_t*)dt->data; local
132 Dthash_t *hash = (Dthash_t*)dt->data; local
154 Dthash_t *hash = (Dthash_t*)dt->data; local
226 Dthash_t *hash = (Dthash_t*)dt->data; local
262 Dthash_t *hash = (Dthash_t*)dt->data; local
388 Dthash_t *hash = (Dthash_t*)dt->data; local
[all...]
/ast/src/lib/libvdelta/
H A Dvddelta.c47 int size; /* size of hash table */
48 int* hash; /* hash table */ member in struct:_table_s
165 reg int size = tab->size, *link = tab->link, *hash = tab->hash; local
181 { if((m = hash[key&size]) < 0)
268 if((m = hash[n]) < 0 )
274 hash[n] = curm++;
396 tab.hash = NIL(int*);
430 /* space for the hash tabl
[all...]
H A Dvdsqueeze.c45 int size; /* size of hash table */
46 int* hash; /* hash table */ member in struct:_table_s
153 reg int *link = tab->link, *hash = tab->hash; local
166 { if((m = hash[key&size]) < 0 )
242 if((m = hash[n]) < 0 )
248 hash[n] = curm++;
290 tab.hash = NIL(int*);
292 /* space for the hash tabl
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmprofile.c35 #define PFHASH(pf) ((pf)->data.data.hash)
49 { Vmulong_t hash; /* hash value */ member in struct:_pfdata_s
71 static Pfobj_t** Pftable; /* hash table */
92 /* make hash table; PFTABLE'th slot hold regions' records */
100 /* see if it's there with a combined hash value of vm,file,line */
388 /* remove from hash table */
450 /* reinsert into hash table */
/ast/src/cmd/dsslib/num_t/
H A Dnum_t.c349 * hash/rand -- hashed/random field -- handy for obfuscating sensitive data
354 Cxunsigned_t hash; member in struct:__anon95
382 hp->hash = h;
402 hp->hash = strtoul(details, NiL, 0);
409 h = hp->hash;
423 hp->hash = h;
443 hp->hash = strtoul(details, NiL, 0);
451 h = hp->hash;
465 hp->hash = h;
1137 { "hash_t", "Repeatable string hash
[all...]
/ast/src/cmd/ksh93/sh/
H A Dparse.c48 #define hash nvlink.hl._hash macro
50 #define hash nvlink.lh.__hash macro
2045 sfprintf(lexp->kiafile,"%..64d;%c;%.*s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,len,name,first,last,parent,lexp->fscript,pkind,width,attr);
2047 sfprintf(lexp->kiafile,"%..64d;%c;%s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,name,first,last,parent,lexp->fscript,pkind,width,attr);
2049 return(np->hash);

Completed in 38 milliseconds