Lines Matching refs:header
146 const struct nss_db_header *header = state.header; \
148 for (i = 0; i < header->ndbs; ++i) \
149 if (header->dbs[i].id == db_char) \
151 if (i == header->ndbs) \
169 = (const stridx_t *) ((const char *) header \
170 + header->dbs[i].hashoffset); \
171 const char *valstrtab = (const char *) header + header->valstroffset; \
173 size_t hidx = hashval % header->dbs[i].hashsize; \
174 size_t hval2 = 1 + hashval % (header->dbs[i].hashsize - 2); \
197 if ((hidx += hval2) >= header->dbs[i].hashsize) \
198 hidx -= header->dbs[i].hashsize; \
247 if (state.header == NULL) in CONCAT()
262 entidx = (const char *) state.header + state.header->valstroffset; in CONCAT()
265 if (state.header != MAP_FAILED) in CONCAT()
267 const char *const end = ((const char *) state.header in CONCAT()
268 + state.header->valstroffset in CONCAT()
269 + state.header->valstrlen); in CONCAT()