Lines Matching defs:indx

91 	db_indx_t indx, nbytes;
100 indx = *indxp;
155 __bam_partsize(data, h, indx) : data->size;
176 indx + (TYPE(h) == P_LBTREE ? O_INDX : 0));
211 &tdbt, h, indx, data_size, flags)) != 0)
229 indx += 2;
240 if ((ret = __bam_ovput(dbc, h, indx, key)) != 0)
243 if ((ret = __db_pitem(dbc, h, indx,
246 ++indx;
256 h, indx + P_INDX, indx, 1)) != 0)
259 indx += 3;
264 ++indx;
265 __bam_ca_di(dbp, h->pgno, indx, 1);
277 __bam_adjindx(dbc, h, indx, indx, 1)) != 0)
280 ++indx;
283 __bam_ca_di(dbp, h->pgno, indx, 1);
287 ++indx;
296 if ((ret = __bam_ditem(dbc, h, indx)) != 0)
311 if ((ret = __bam_ovput(dbc, h, indx, data)) != 0)
322 ret = __db_pitem(dbc, h, indx,
325 ret = __bam_ritem(dbc, h, indx, data);
327 ret = __db_pitem(dbc, h, indx,
342 --indx;
343 if ((ret = __bam_ndup(dbc, h, indx)) != 0)
372 __bam_partsize(data, h, indx)
375 u_int32_t indx;
384 if (indx >= NUM_ENT(h))
391 bk = GET_BKEYDATA(h, indx + (TYPE(h) == P_LBTREE ? O_INDX : 0));
420 #define OVPUT(h, indx, bo) do { \
426 h, indx, BOVERFLOW_SIZE, &__hdr, NULL)) != 0) \
435 __bam_ovput(dbc, h, indx, item)
438 u_int32_t indx;
451 OVPUT(h, indx, bo);
463 __bam_ritem(dbc, h, indx, data)
466 u_int32_t indx;
484 bk = GET_BKEYDATA(h, indx);
513 (u_int32_t)indx, (u_int32_t)B_DISSET(bk->type),
536 h->inp[indx] += nbytes;
541 off = h->inp[indx];
563 * Check to see if the duplicate set at indx should have its own page.
567 __bam_ndup(dbc, h, indx)
570 u_int32_t indx;
582 while (indx > 0 && h->inp[indx] == h->inp[indx - P_INDX])
583 indx -= P_INDX;
584 for (cnt = 0, sz = 0, first = indx;; ++cnt, indx += P_INDX) {
585 if (indx >= NUM_ENT(h) || h->inp[first] != h->inp[indx])
587 bk = GET_BKEYDATA(h, indx);
590 bk = GET_BKEYDATA(h, indx + O_INDX);
613 for (indx = first + O_INDX, cpindx = 0;; ++cpindx) {
615 bk = GET_BKEYDATA(h, indx);
630 PGNO(h), first, indx - O_INDX, PGNO(cp), cpindx);
633 if ((ret = __db_ditem(dbc, h, indx, hdr.size)) != 0)
639 if ((ret = __bam_adjindx(dbc, h, indx, first, 0)) != 0)
650 OVPUT(h, indx, bo);
716 __bam_partial(dbc, dbt, h, indx, nbytes, flags)
720 u_int32_t indx, nbytes, flags;
763 if (indx < NUM_ENT(h)) {
764 bk = GET_BKEYDATA(h, indx + (TYPE(h) == P_LBTREE ? O_INDX : 0));