Searched refs:hidx (Results 1 – 5 of 5) sorted by relevance
55 size_t hidx = hashval % header->dbs[0].hashsize; in _nss_db_setnetgrent() local59 while (hashtable[hidx] != ~((stridx_t) 0)) in _nss_db_setnetgrent()61 const char *valstr = valstrtab + hashtable[hidx]; in _nss_db_setnetgrent()83 if ((hidx += hval2) >= header->dbs[0].hashsize) in _nss_db_setnetgrent()84 hidx -= header->dbs[0].hashsize; in _nss_db_setnetgrent()
64 size_t hidx = hashval % header->dbs[i].hashsize; in _nss_db_initgroups_dyn() local70 while (hashtable[hidx] != ~((stridx_t) 0)) in _nss_db_initgroups_dyn()72 const char *valstr = valstrtab + hashtable[hidx]; in _nss_db_initgroups_dyn()132 if ((hidx += hval2) >= header->dbs[i].hashsize) in _nss_db_initgroups_dyn()133 hidx -= header->dbs[i].hashsize; in _nss_db_initgroups_dyn()
173 size_t hidx = hashval % header->dbs[i].hashsize; \177 while (hashtable[hidx] != ~((stridx_t) 0)) \179 const char *valstr = valstrtab + hashtable[hidx]; \197 if ((hidx += hval2) >= header->dbs[i].hashsize) \198 hidx -= header->dbs[i].hashsize; \
643 size_t hidx = dbe->hashval % nhashentries; in add_key() local647 while (db->hashtable[hidx] != ~((stridx_t) 0)) in add_key()650 if ((hidx += hval2) >= nhashentries) in add_key()651 hidx -= nhashentries; in add_key()654 db->hashtable[hidx] = ((db->extra_string ? valstrlen : 0) in add_key()656 db->keyidxtab[hidx] = stridx; in add_key()844 for (uint32_t hidx = 0; hidx < header->dbs[dbidx].hashsize; ++hidx) in print_database() local845 if (hashtab[hidx] != ~((stridx_t) 0)) in print_database()848 keystrtab + stridxtab[hidx], in print_database()849 valstrtab + hashtab[hidx]); in print_database()
44134 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx