Lines Matching refs:ENTS
27 #define ENTS(h) ((HashEnt*)ALIGN(&((HashRec*)h)[1],sizeof(naRef))) macro
28 #define TAB(h) ((int*)&(ENTS(h)[1<<(h)->lgsz]))
79 if(TAB(hr)[i] != ENT_DELETED && equal(key, ENTS(hr)[TAB(hr)[i]].key)) in findcell()
92 ENTS(hr)[ent].key = key; in hashset()
94 ENTS(hr)[ent].val = val; in hashset()
119 hashset(hr2, ENTS(hr)[TAB(hr)[i]].key, ENTS(hr)[TAB(hr)[i]].val); in resize()
132 *out = ENTS(hr)[ent].val; in naHash_get()
165 naVec_append(dst, ENTS(hr)[TAB(hr)[i]].key); in naHash_keys()
174 naiGCMark(ENTS(hr)[TAB(hr)[i]].key); in naiGCMarkHash()
175 naiGCMark(ENTS(hr)[TAB(hr)[i]].val); in naiGCMarkHash()
216 if((ent = TAB(hr)[cell]) >= 0) { ENTS(hr)[ent].val = val; return 1; } in naiHash_tryset()
237 HashEnt* ents = ENTS(hr); in naiHash_sym()
269 ENTS(hr)[TAB(hr)[cell]].key = *sym; in naiHash_newsym()
270 ENTS(hr)[TAB(hr)[cell]].val = *val; in naiHash_newsym()