Lines Matching defs:ndx
579 int n, ndx, off;
598 for (bp = (uint16_t *)(void *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
609 ndx += 2;
619 ndx = 1;
622 if ((ndx =
623 __find_bigpair(hashp, rbufp, ndx, kp, (int)size)) > 0)
625 if (ndx == -2) {
629 ndx = 0;
642 ndx = 1;
675 if (bp[ndx + 1] < REAL_KEY) {
676 if (__big_return(hashp, rbufp, ndx, val, 0))
679 val->data = (uint8_t *)rbufp->page + (int)bp[ndx + 1];
680 val->size = bp[ndx] - bp[ndx + 1];
684 if ((__delpair(hashp, rbufp, ndx)) ||
691 if (__delpair(hashp, rbufp, ndx))
699 if (ndx != hashp->cndx - 2 || rbufp != hashp->cpage)
728 uint16_t *bp, ndx;
801 ndx = hashp->cndx;
802 if (bp[ndx + 1] < REAL_KEY) {
809 key->data = (uint8_t *)hashp->cpage->page + bp[ndx];
810 key->size = (ndx > 1 ? bp[ndx - 1] : HASH_BSIZE(hashp)) - bp[ndx];
811 data->data = (uint8_t *)hashp->cpage->page + bp[ndx + 1];
812 data->size = bp[ndx] - bp[ndx + 1];