Lines Matching refs:off

576 	db_indx_t off;
602 off = parent->indx + O_INDX;
636 if ((ret = __db_pitem(dbc, ppage, off,
654 if (ppage->prev_pgno == PGNO_INVALID && off <= 1)
685 if ((ret = __db_pitem(dbc, ppage, off,
707 if ((ret = __db_pitem(dbc, ppage, off,
735 ppage, off, RINTERNAL_SIZE, &hdr, NULL)) != 0)
775 db_indx_t half, nbytes, off, splitp, top;
789 off = 0;
793 off = NUM_ENT(cp->page) - adjust;
795 off = adjust;
797 if (off != 0)
823 for (nbytes = 0, off = 0; off < top && nbytes < half; ++off)
826 if (B_TYPE(GET_BINTERNAL(pp, off)->type) == B_KEYDATA)
828 BINTERNAL_SIZE(GET_BINTERNAL(pp, off)->len);
833 if (B_TYPE(GET_BKEYDATA(pp, off)->type) == B_KEYDATA)
835 BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len);
839 ++off;
840 if (B_TYPE(GET_BKEYDATA(pp, off)->type) == B_KEYDATA)
842 BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len);
850 nbytes += BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len);
855 sort: splitp = off;
862 isbigkey = B_TYPE(GET_BINTERNAL(pp, off)->type) != B_KEYDATA;
864 isbigkey = B_TYPE(GET_BKEYDATA(pp, off)->type) != B_KEYDATA;
869 off = splitp + cnt * adjust;
870 if (off < (db_indx_t)NUM_ENT(pp) &&
872 B_TYPE(GET_BINTERNAL(pp,off)->type) == B_KEYDATA) ||
873 B_TYPE(GET_BKEYDATA(pp, off)->type) == B_KEYDATA)) {
874 splitp = off;
879 off = splitp - cnt * adjust;
881 B_TYPE(GET_BINTERNAL(pp, off)->type) == B_KEYDATA :
882 B_TYPE(GET_BKEYDATA(pp, off)->type) == B_KEYDATA) {
883 splitp = off;
891 * because that's the point where we push it off onto a duplicate
897 off = splitp + cnt * adjust;
898 if (off < NUM_ENT(pp) &&
899 pp->inp[splitp] != pp->inp[off]) {
900 splitp = off;
905 off = splitp - cnt * adjust;
906 if (pp->inp[splitp] != pp->inp[off]) {
907 splitp = off + adjust;
935 db_indx_t nbytes, off;
941 for (off = 0; nxt < stop; ++nxt, ++NUM_ENT(cp), ++off) {
955 if (off != 0 && (nxt % P_INDX) == 0 &&
957 cp->inp[off] = cp->inp[off - P_INDX];
974 cp->inp[off] = HOFFSET(cp) -= nbytes;
975 memcpy(P_ENTRY(cp, off), P_ENTRY(pp, nxt), nbytes);