• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/btree/

Lines Matching defs:recno

23  * In recno, there are two meanings to the on-page "deleted" flag.  If we're
55 * cp1's recno is less than cp2's recno
60 (((cp1)->recno < (cp2)->recno) || \
61 (((cp1)->recno == (cp2)->recno) && \
70 ((cp1)->recno == (cp2)->recno && CD_ISSET((cp1)) == CD_ISSET((cp2)) && \
174 ret = __ram_add(dbc, &cp->recno, data, DB_APPEND, 0);
178 ret = __db_retcopy(dbc->env, key, &cp->recno,
179 sizeof(cp->recno), &dbc->rkey->data, &dbc->rkey->ulen);
222 if ((ret = __bam_rsearch(dbc, &cp->recno, SR_DELETE, 1, &exact)) != 0)
264 &lsn, 0, CA_DELETE, cp->root, cp->recno, cp->order)) != 0)
271 * databases never go away, recno or otherwise. However, if
381 if (cp->recno != RECNO_OOB) {
382 ++cp->recno;
388 cp->recno = 1;
408 if (cp->recno != RECNO_OOB) {
409 if (cp->recno == 1) {
413 --cp->recno;
422 if ((ret = __bam_nrecs(dbc, &cp->recno)) != 0)
424 if (cp->recno == 0) {
433 * current cursor position. Increment the recno by 1,
440 cp->recno++;
455 cp->recno = 1;
461 if ((ret = __ram_getno(dbc, key, &cp->recno, 0)) != 0)
479 __ram_update(dbc, cp->recno, 0)) != 0) && ret != DB_NOTFOUND)
482 for (;; ++cp->recno) {
484 if ((ret = __bam_rsearch(dbc, &cp->recno,
519 * normal recno should give up and return
520 * DB_NOTFOUND if the matching recno is deleted.
552 key, &cp->recno, sizeof(cp->recno),
600 cp->recno = 1;
605 &cp->recno, data, DB_APPEND, 0)) != 0)
609 CA_ICURRENT, cp->root, cp->recno, cp->order)) != 0)
617 * Handle normal DB_KEYFIRST/DB_KEYLAST; for a recno, which has
619 * datum at the given recno".
623 ret = __ram_getno(dbc, key, &cp->recno, 1);
625 ret = __ram_add(dbc, &cp->recno, data, flags, 0);
632 * corresponding to its current recno, but instead is "between" that
642 split: if ((ret = __bam_rsearch(dbc, &cp->recno, SR_INSERT, 1, &exact)) != 0)
661 arg = &cp->recno;
676 * the item after the current recno, rather than remapping it
680 ++cp->recno;
685 cp->root, cp->recno, cp->order)) != 0)
691 --cp->recno;
696 cp->root, cp->recno, cp->order)) != 0)
713 CA_ICURRENT, cp->root, cp->recno, cp->order)) != 0)
723 ret = __db_retcopy(env, key, &cp->recno,
724 sizeof(cp->recno), &dbc->rkey->data, &dbc->rkey->ulen);
748 db_recno_t recno;
755 recno = cp_arg->recno;
759 * recno; we should only be called if this is one.
782 recno == cp->recno && CD_ISSET(cp) &&
807 if (recno < cp->recno) {
808 --cp->recno;
813 if (recno == cp->recno && CD_ISSET(cp))
815 } else if (recno == cp->recno &&
827 ++cp->recno;
851 ++cp->recno;
854 if (recno == cp->recno && adjusted)
856 * If we've moved this cursor's recno,
890 db_recno_t recno;
901 if ((recno = *(db_recno_t *)key->data) == 0) {
906 *rep = recno;
913 __ram_update(dbc, recno, can_create) : 0);
921 __ram_update(dbc, recno, can_create)
923 db_recno_t recno;
948 if (!t->re_eof && recno > nrecs) {
949 if ((ret = __ram_sread(dbc, recno)) != 0 && ret != DB_NOTFOUND)
959 if (!can_create || recno <= nrecs + 1)
966 while (recno > ++nrecs)
1182 db_recno_t recno;
1190 if ((ret = __bam_nrecs(dbc, &recno)) != 0)
1211 while (recno < top) {
1253 if (t->re_last >= recno) {
1254 ++recno;
1255 if ((ret = __ram_add(dbc, &recno, &data, 0, 0)) != 0)