Home
last modified time | relevance | path

Searched refs:nrecs (Results 1 – 11 of 11) sorted by relevance

/openbsd/lib/libc/db/recno/
H A Drec_search.c80 if (++idx == top || total + r->nrecs > recno) in __rec_search()
82 total += r->nrecs; in __rec_search()
90 --GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search()
94 ++GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search()
110 --GETRINTERNAL(h, parent->index)->nrecs; in __rec_search()
112 ++GETRINTERNAL(h, parent->index)->nrecs; in __rec_search()
/openbsd/gnu/usr.sbin/mkhybrid/src/libhfs_iso/
H A Dnode.c110 int offset, nrecs, i; in n_compact() local
114 nrecs = 0; in n_compact()
126 np->roff[nrecs++] = offset; in n_compact()
139 np->roff[nrecs] = offset; in n_compact()
140 np->nd.ndNRecs = nrecs; in n_compact()
203 int nrecs, i, mid; in n_split() local
213 nrecs = left->nd.ndNRecs; in n_split()
222 mid = nrecs/2; in n_split()
237 if ( mid < nrecs in n_split()
241 if (mid < nrecs) in n_split()
[all …]
H A Dbtree.c337 int bt_space(btree *bt, unsigned int nrecs) in bt_space() argument
342 nnodes = nrecs * (bt->hdr.bthDepth + 1); in bt_space()
/openbsd/usr.sbin/tcpdump/
H A Dprint-cnfp.c75 int nrecs, ver, proto; in cnfp_print() local
82 nrecs = ntohl(nh->ver_cnt) & 0xffff; in cnfp_print()
96 printf("%2u recs", nrecs); in cnfp_print()
98 for (; nrecs-- && (u_char *)(nr + 1) <= snapend; nr++) { in cnfp_print()
/openbsd/gnu/usr.bin/perl/dist/Tie-File/lib/Tie/
H A DFile.pm435 my ($self, $pos, $nrecs, @data) = @_;
444 $nrecs = $oldsize unless defined $nrecs;
461 if ($nrecs < 0) {
462 $nrecs = $oldsize - $pos + $nrecs;
463 $nrecs = 0 if $nrecs < 0;
468 if ($nrecs + $pos > $oldsize) {
469 $nrecs = $oldsize - $pos;
479 for ($pos .. $pos+$nrecs-1) {
494 $self->_fill_offsets_to($pos+$nrecs);
508 for ($pos .. $pos+$nrecs-1) {
[all …]
/openbsd/lib/libc/db/btree/
H A Dbtree.h150 recno_t nrecs; /* number of records */ member
163 #define WR_RINTERNAL(p, nrecs, pgno) { \ argument
164 *(recno_t *)p = nrecs; \
295 u_int32_t nrecs; /* R: number of records */ member
H A Dbt_split.c247 ((RINTERNAL *)dest)->nrecs = rec_total(lchild); in __bt_split()
253 ((RINTERNAL *)dest)->nrecs = rec_total(rchild); in __bt_split()
265 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(lchild); in __bt_split()
271 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(rchild); in __bt_split()
791 recs += GETRINTERNAL(h, nxt)->nrecs; in rec_total()
H A Dbt_debug.c102 (void)fprintf(stderr, "nrecs %u\n", m->nrecs); in __bt_dmpage()
191 ri->nrecs, ri->pgno); in __bt_dpage()
H A Dbt_open.c228 M_32_SWAP(m.nrecs); in __bt_open()
241 t->bt_nrecs = m.nrecs; in __bt_open()
H A Dbt_close.c164 m.nrecs = t->bt_nrecs; in bt_meta()
/openbsd/gnu/usr.bin/perl/dist/Tie-File/
H A DChangeLog77 Bug fixes: Negative 'nrecs' argument to 'splice' is now handled