Lines Matching defs:ndx
579 int n, ndx, off, size;
597 for (bp = (u_int16_t *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
608 ndx += 2;
618 ndx = 1;
621 if ((ndx =
622 __find_bigpair(hashp, rbufp, ndx, kp, size)) > 0)
624 if (ndx == -2) {
628 ndx = 0;
640 ndx = 1;
673 if (bp[ndx + 1] < REAL_KEY) {
674 if (__big_return(hashp, rbufp, ndx, val, 0))
677 val->data = (u_char *)rbufp->page + (int)bp[ndx + 1];
678 val->size = bp[ndx] - bp[ndx + 1];
682 if ((__delpair(hashp, rbufp, ndx)) ||
689 if (__delpair(hashp, rbufp, ndx))
705 u_int16_t *bp, ndx;
769 ndx = hashp->cndx;
770 if (bp[ndx + 1] < REAL_KEY) {
776 key->data = (u_char *)hashp->cpage->page + bp[ndx];
777 key->size = (ndx > 1 ? bp[ndx - 1] : hashp->BSIZE) - bp[ndx];
778 data->data = (u_char *)hashp->cpage->page + bp[ndx + 1];
779 data->size = bp[ndx] - bp[ndx + 1];