Searched refs:bt_cursor (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12-stable/lib/libc/db/recno/ |
| D | rec_seq.c | 83 if (F_ISSET(&t->bt_cursor, CURS_INIT)) { in __rec_seq() 84 nrec = t->bt_cursor.rcursor + 1; in __rec_seq() 92 if (F_ISSET(&t->bt_cursor, CURS_INIT)) { in __rec_seq() 93 if ((nrec = t->bt_cursor.rcursor - 1) == 0) in __rec_seq() 120 F_SET(&t->bt_cursor, CURS_INIT); in __rec_seq() 121 t->bt_cursor.rcursor = nrec; in __rec_seq()
|
| D | rec_delete.c | 88 if (!F_ISSET(&t->bt_cursor, CURS_INIT)) in __rec_delete() 92 status = rec_rdelete(t, t->bt_cursor.rcursor - 1); in __rec_delete() 94 --t->bt_cursor.rcursor; in __rec_delete()
|
| D | rec_put.c | 105 if (!F_ISSET(&t->bt_cursor, CURS_INIT)) in __rec_put() 107 nrec = t->bt_cursor.rcursor; in __rec_put() 170 t->bt_cursor.rcursor = nrec; in __rec_put()
|
| D | rec_close.c | 141 scursor = t->bt_cursor.rcursor; in __rec_sync() 174 t->bt_cursor.rcursor = scursor; in __rec_sync()
|
| /freebsd-12-stable/lib/libc/db/btree/ |
| D | bt_seq.c | 99 if (F_ISSET(&t->bt_cursor, CURS_INIT)) { in __bt_seq() 245 c = &t->bt_cursor; in __bt_seqadv() 432 if (t->bt_cursor.key.data != NULL) { in __bt_setcur() 433 free(t->bt_cursor.key.data); in __bt_setcur() 434 t->bt_cursor.key.size = 0; in __bt_setcur() 435 t->bt_cursor.key.data = NULL; in __bt_setcur() 437 F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE); in __bt_setcur() 440 t->bt_cursor.pg.pgno = pgno; in __bt_setcur() 441 t->bt_cursor.pg.index = idx; in __bt_setcur() 442 F_SET(&t->bt_cursor, CURS_INIT); in __bt_setcur()
|
| D | bt_put.c | 103 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_put() 104 !F_ISSET(&t->bt_cursor, in __bt_put() 153 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL) in __bt_put() 155 idx = t->bt_cursor.pg.index; in __bt_put() 220 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_put() 221 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && in __bt_put() 222 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx) in __bt_put() 223 ++t->bt_cursor.pg.index; in __bt_put()
|
| D | bt_delete.c | 93 c = &t->bt_cursor; in __bt_delete() 105 if (__bt_stkacq(t, &h, &t->bt_cursor)) in __bt_delete() 473 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_dleaf() 474 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && in __bt_dleaf() 475 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx && in __bt_dleaf() 503 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_dleaf() 504 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && in __bt_dleaf() 505 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx) in __bt_dleaf() 506 --t->bt_cursor.pg.index; in __bt_dleaf() 536 c = &t->bt_cursor; in __bt_curdel()
|
| D | bt_close.c | 88 if (t->bt_cursor.key.data != NULL) { in __bt_close() 89 free(t->bt_cursor.key.data); in __bt_close() 90 t->bt_cursor.key.size = 0; in __bt_close() 91 t->bt_cursor.key.data = NULL; in __bt_close()
|
| D | btree.h | 311 CURSOR bt_cursor; /* cursor */ member
|
| D | bt_split.c | 691 c = &t->bt_cursor; in bt_psplit()
|