Searched refs:bt_cursor (Results 1 - 10 of 10) sorted by relevance

/freebsd-9.3-release/lib/libc/db/recno/
H A Drec_seq.c81 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
82 nrec = t->bt_cursor.rcursor + 1;
90 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
91 if ((nrec = t->bt_cursor.rcursor - 1) == 0)
118 F_SET(&t->bt_cursor, CURS_INIT);
119 t->bt_cursor.rcursor = nrec;
H A Drec_delete.c86 if (!F_ISSET(&t->bt_cursor, CURS_INIT))
90 status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
92 --t->bt_cursor.rcursor;
H A Drec_close.c139 scursor = t->bt_cursor.rcursor;
172 t->bt_cursor.rcursor = scursor;
H A Drec_put.c103 if (!F_ISSET(&t->bt_cursor, CURS_INIT))
105 nrec = t->bt_cursor.rcursor;
169 t->bt_cursor.rcursor = nrec;
/freebsd-9.3-release/lib/libc/db/btree/
H A Dbt_close.c86 if (t->bt_cursor.key.data != NULL) {
87 free(t->bt_cursor.key.data);
88 t->bt_cursor.key.size = 0;
89 t->bt_cursor.key.data = NULL;
H A Dbt_put.c100 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
101 !F_ISSET(&t->bt_cursor,
150 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
152 idx = t->bt_cursor.pg.index;
217 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
218 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
219 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
220 ++t->bt_cursor.pg.index;
H A Dbt_seq.c97 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
243 c = &t->bt_cursor;
430 if (t->bt_cursor.key.data != NULL) {
431 free(t->bt_cursor.key.data);
432 t->bt_cursor.key.size = 0;
433 t->bt_cursor.key.data = NULL;
435 F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE);
438 t->bt_cursor.pg.pgno = pgno;
439 t->bt_cursor.pg.index = idx;
440 F_SET(&t->bt_cursor, CURS_INI
[all...]
H A Dbt_delete.c91 c = &t->bt_cursor;
103 if (__bt_stkacq(t, &h, &t->bt_cursor))
471 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
472 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
473 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx &&
501 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
502 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
503 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor
[all...]
H A Dbtree.h309 CURSOR bt_cursor; /* cursor */ member in struct:_btree
H A Dbt_split.c684 c = &t->bt_cursor;

Completed in 191 milliseconds