HomeSort by: relevance | last modified time | path
    Searched refs:bt_cursor (Results 1 - 10 of 10) sorted by relevancy

  /src/lib/libc/db/recno/
rec_seq.c 85 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
86 nrec = t->bt_cursor.rcursor + 1;
94 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
95 if ((nrec = t->bt_cursor.rcursor - 1) == 0)
122 F_SET(&t->bt_cursor, CURS_INIT);
123 t->bt_cursor.rcursor = nrec;
rec_delete.c 91 if (!F_ISSET(&t->bt_cursor, CURS_INIT))
95 status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
97 --t->bt_cursor.rcursor;
rec_close.c 142 scursor = t->bt_cursor.rcursor;
176 t->bt_cursor.rcursor = scursor;
rec_put.c 108 if (!F_ISSET(&t->bt_cursor, CURS_INIT))
110 nrec = t->bt_cursor.rcursor;
173 t->bt_cursor.rcursor = nrec;
  /src/lib/libc/db/btree/
bt_close.c 88 if (t->bt_cursor.key.data != NULL) {
89 free(t->bt_cursor.key.data);
90 t->bt_cursor.key.size = 0;
91 t->bt_cursor.key.data = NULL;
bt_put.c 105 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
106 !F_ISSET(&t->bt_cursor,
155 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
157 idx = t->bt_cursor.pg.index;
222 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
223 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
224 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
225 ++t->bt_cursor.pg.index;
bt_seq.c 106 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
258 c = &t->bt_cursor;
564 if (t->bt_cursor.key.data != NULL) {
565 free(t->bt_cursor.key.data);
566 t->bt_cursor.key.size = 0;
567 t->bt_cursor.key.data = NULL;
569 F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE);
572 t->bt_cursor.pg.pgno = pgno;
573 t->bt_cursor.pg.index = idx;
574 F_SET(&t->bt_cursor, CURS_INIT)
    [all...]
bt_delete.c 95 c = &t->bt_cursor;
107 if (__bt_stkacq(t, &h, &t->bt_cursor))
477 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
478 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
479 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx &&
507 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
508 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
509 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx
    [all...]
btree.h 362 CURSOR bt_cursor; /* cursor */ member in struct:_btree
bt_split.c 717 c = &t->bt_cursor;

Completed in 18 milliseconds