Lines Matching refs:ndx
625 int n, ndx, off, size; local
643 for (bp = (__uint16_t *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
654 ndx += 2;
664 ndx = 1;
667 if ((ndx =
668 __find_bigpair(hashp, rbufp, ndx, kp, size)) > 0)
670 if (ndx == -2) {
674 ndx = 0;
686 ndx = 1;
719 if (bp[ndx + 1] < REAL_KEY) {
720 if (__big_return(hashp, rbufp, ndx, val, 0))
723 val->data = (u_char *)rbufp->page + (int)bp[ndx + 1];
724 val->size = bp[ndx] - bp[ndx + 1];
728 if ((__delpair(hashp, rbufp, ndx)) ||
735 if (__delpair(hashp, rbufp, ndx))
754 __uint16_t *bp, ndx; local
807 ndx = hashp->cndx;
808 if (bp[ndx + 1] < REAL_KEY) {
812 key->data = (u_char *)hashp->cpage->page + bp[ndx];
813 key->size = (ndx > 1 ? bp[ndx - 1] : hashp->BSIZE) - bp[ndx];
814 data->data = (u_char *)hashp->cpage->page + bp[ndx + 1];
815 data->size = bp[ndx] - bp[ndx + 1];
816 ndx += 2;
817 if (ndx > bp[0]) {
822 hashp->cndx = ndx;