Lines Matching defs:ndx
133 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx)
143 if (bp[ndx + 1] < REAL_KEY)
145 if (ndx != 1)
146 newoff = bp[ndx - 1];
149 pairlen = newoff - bp[ndx + 1];
151 if (ndx != (n - 1)) {
156 memmove(dst, src, (size_t)(bp[ndx + 1] - OFFSET(bp)));
159 for (i = ndx + 2; i <= n; i += 2) {
192 int n, ndx, retval;
214 for (n = 1, ndx = 1; n < ino[0]; n += 2) {
233 ino[ndx] = copyto + ino[n] - ino[n + 1];
234 ino[ndx + 1] = copyto;
237 ndx += 2;
483 uint16_t ndx, ovfl_num;
510 ndx = sp[0];
516 sp[ndx + 4] = OFFSET(sp);
519 sp[ndx + 3] = (uint16_t)(temp - OVFLSIZE);
520 sp[ndx + 1] = ovfl_num;
521 sp[ndx + 2] = OVFLPAGE;
522 sp[0] = ndx + 2;
640 __ibitmap(HTAB *hashp, int pnum, int nbits, int ndx)
655 hashp->BITMAPS[ndx
656 hashp->mapp[ndx] = ip;
833 uint16_t ndx;
839 ndx = (((uint32_t)addr) >> SPLITSHIFT);
841 (ndx ? hashp->SPARES[ndx - 1] : 0) + (addr & SPLITMASK) - 1;
898 fetch_bitmap(HTAB *hashp, int ndx)
900 if (ndx >= hashp->nmaps)
902 if ((hashp->mapp[ndx] = malloc((size_t)hashp->BSIZE)) == NULL)
905 (char *)(void *)hashp->mapp[ndx], (uint32_t)hashp->BITMAPS[ndx], 0, 1, 1)) {
906 free(hashp->mapp[ndx]);
909 return (hashp->mapp[ndx]);