• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/BerkeleyDB-21/db/btree/

Lines Matching refs:indx

344 		cp->recno -= cp->csp->indx;
702 cp->csp[-1].indx != NUM_ENT(cp->csp[-1].page) - 1)
817 if (cp->csp[-1].indx == NUM_ENT(cp->csp[-1].page) - 1) {
837 cp->csp[-1].indx + 1, nolock, DB_LOCK_NG, ret);
999 ncp->csp[-1].indx == 0 && ncp->csp[-1].entries != 1) ||
1025 db_indx_t adj, indx, nent, *ninp, pind;
1067 for (indx = 0; indx < nent; indx += adj) {
1068 bk = GET_BKEYDATA(dbp, npg, indx);
1075 size += BITEM_PSIZE(GET_BKEYDATA(dbp, npg, indx + 1));
1082 indx < nent - adj &&
1083 ninp[indx] == ninp[indx + adj]) {
1090 GET_BKEYDATA(dbp, npg, indx + n_ok));
1092 } while (indx + n_ok < nent &&
1093 ninp[indx] == ninp[indx + n_ok]);
1106 indx += n_ok;
1110 indx += n_ok - adj;
1114 if (indx == 0)
1117 if (indx == nent)
1134 bi = GET_BINTERNAL(dbp, epg->page, epg->indx);
1139 if (epg->indx != 0)
1148 if (indx == nent) {
1149 if (ncp->csp[-1].indx != 0 || ncp->csp[-1].entries == 1 ||
1153 indx -= adj;
1155 bk = GET_BKEYDATA(dbp, npg, indx);
1156 if (indx != 0 && BINTERNAL_SIZE(bk->len) >= pfree) {
1168 while (indx != 0 && ninp[indx] == ninp[indx - adj])
1169 indx -= adj;
1171 while (indx != 0 && BINTERNAL_SIZE(bk->len) >= pfree) {
1180 tmp_bk = GET_BKEYDATA(dbp, npg, indx - adj);
1195 indx -= adj;
1196 } while (indx != 0 && ninp[indx] == ninp[indx - adj]);
1198 bk = GET_BKEYDATA(dbp, npg, indx);
1202 * indx references the first record that will not move to the previous
1206 if (indx == 0)
1208 DB_ASSERT(env, indx <= nent);
1267 "Unknown record format, page %lu, indx 0",
1283 } while (--indx != 0);
1455 db_indx_t indx, pind;
1491 indx = NUM_ENT(npg);
1536 while (--epg >= ncp->sp && epg->indx == 0)
1538 fip = bip = GET_BINTERNAL(dbp, epg->page, epg->indx);
1541 for (indx = 0;;) {
1546 if (++indx >= NUM_ENT(npg))
1548 bip = GET_BINTERNAL(dbp, npg, indx);
1552 if (indx == NUM_ENT(npg) && epg[-1].indx != 0)
1558 bip = GET_BINTERNAL(dbp, epg->page, epg->indx);
1563 if (epg->indx != 0)
1569 if (indx == NUM_ENT(npg)) {
1573 GET_BINTERNAL(dbp, epg[-1].page, epg[-1].indx + 1);
1575 bip = GET_BINTERNAL(dbp, npg, indx);
1578 while (indx != 0 && BINTERNAL_PSIZE(bip->len) > pfree) {
1579 indx--;
1580 bip = GET_BINTERNAL(dbp, npg, indx);
1582 if (indx == 0)
1640 } while (--indx != 0);
1987 pgnop = &GET_BINTERNAL(dbp, epg->page, epg->indx)->pgno;
1990 pgnop = &GET_RINTERNAL(dbp, epg->page, epg->indx)->pgno;
1993 pgnop = &GET_BOVERFLOW(dbp, epg->page, epg->indx)->pgno;
1998 0, PGNO(epg->page), &LSN(epg->page), (u_int32_t)epg->indx,
2071 * The page is reference by the pg/indx passed in.
2074 __bam_truncate_root_page(dbc, pg, indx, c_data)
2077 u_int32_t indx;
2094 bi = GET_BINTERNAL(dbp, pg, indx);
2101 bo = GET_BOVERFLOW(dbp, pg, indx);
2140 &LSN(pg), (u_int32_t)indx, *pgnop, newpgno)) != 0)
2169 db_indx_t indx;
2174 for (indx = 0; indx < NUM_ENT(page); indx++) {
2175 bi = GET_BINTERNAL(dbc->dbp, page, indx);
2180 __bam_truncate_root_page(dbc, page, indx, c_data)) != 0)
2248 db_indx_t indx, top;
2261 for (indx = 0, top = NUM_ENT(pg); indx != top; indx++) {
2262 ri = GET_RINTERNAL(dbp, pg, indx);