Searched defs:recno (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/tail/
H A Dread.c137 int blen, cnt, recno, wrap; local
143 blen = cnt = recno = wrap = 0;
154 if ((int)llines[recno].blen < cnt) {
155 llines[recno].blen = cnt + 256;
156 if ((llines[recno].l = realloc(llines[recno].l,
157 llines[recno].blen)) == NULL)
160 bcopy(sp, llines[recno].l, llines[recno].len = cnt);
163 if (++recno
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rsearch.c79 db_recno_t i, recno, total; local
149 *recnop = recno = total + 1;
151 recno = *recnop;
152 if (recno <= total)
156 if (!LF_ISSET(S_PAST_EOF) || recno > total + 1) {
166 * Record numbers in the tree are 0-based, but the recno is
173 recno -= total;
181 if (recno <= (db_recno_t)NUM_ENT(h) / P_INDX)
182 for (i = recno - 1;; --i) {
185 ++recno;
[all...]
H A Dbt_search.c86 db_recno_t recno; local
92 recno = 0;
207 recno += GET_BINTERNAL(h, i)->nrecs;
254 *recnop = recno + (indx / P_INDX) + 1;
H A Dbt_cursor.c111 cp->recno = RECNO_OOB;
716 db_recno_t recno; local
736 1, &recno, &exact)) != 0)
739 ret = __db_retcopy(data, &recno, sizeof(recno),
1401 db_recno_t recno; local
1412 if ((ret = __ram_getno(dbc, key, &recno, 0)) != 0)
1416 ret = __bam_rsearch(dbc, &recno, sflags, 1, exactp);
H A Dbt_recno.c43 * In recno, there are two meanings to the on-page "deleted" flag. If we're
92 /* Allocate and initialize the private recno structure. */
95 /* Link in the private recno structure. */
96 t->recno = rp;
204 db_recno_t recno; local
221 if ((ret = __ram_getno(dbc, key, &recno, 0)) != 0)
226 cp->recno = recno;
238 * Internal version of recno delete, called by __ram_delete and
277 if ((ret = __bam_rsearch(dbc, &cp->recno, S_DELET
360 db_recno_t recno; local
840 db_recno_t recno; local
1145 db_recno_t recno; local
1217 db_recno_t recno; local
[all...]
/illumos-gate/usr/src/cmd/refer/
H A Dsortbib.c101 int length, newrec, recno = 0; /* reclen, new rec'd?, number */ local
106 if (recno == 0) /* accept record w/o initial newline */
126 "(%d)\n"), recno, BUF*8, length);
130 if (recno++) { /* info for sorting */
151 recno, BUF*8, length);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpitime.c59 static int recno; variable
127 recno = 0;
300 recno++;
304 increm, recno);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlistmgr.c86 invalid_record(int list_handle, int recno) argument
91 if (recno < 0 || recno > bl_cs_array[list_handle]->total_elem)
317 bl_get_record(int list_handle, int recno) argument
323 if (invalid_record(list_handle, recno))
330 while (recno > (cur_rec + bl_ptr->count_per_block)) {
345 return ((char *)cur_as_ptr + ((recno - cur_rec) * bl_ptr->struct_size));
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Deventlog_svc.c434 DWORD recno, logr_record_t *rec)
456 rec->RecordNumber = recno;
433 logr_set_logrecord(char *src_name, logr_entry_t *le, DWORD recno, logr_record_t *rec) argument
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dbtree.h177 /* Per-thread information: shared by btree/recno. */
195 /* Per-thread information: recno private. */
196 db_recno_t recno; /* Current record number. */ member in struct:__cursor
205 * When renumbering recno databases during deletes, cursors referencing
214 * The in-memory recno data structure.
257 RECNO *recno; /* Private recno structure. */ member in struct:__btree
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_dtime.c479 getrecord(FILE *fp, dumpdates_t *ddatep, int *recno) argument
483 if (!fp || !ddatep || !recno)
493 "Unknown intermediate format in %s, line %d", tbuf, *recno);
495 (*recno)++;
520 int recno; local
526 recno = 1;
533 if (getrecord(fp, ddwalk, &recno) < 0) {
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c335 int i, j, state_change, recno = 0; local
442 if ((recno == 0) && (trec < start_time))
470 if (recno == 0) {
475 recno = 1;
489 recno = 1;
536 if (recno++ > 1) {
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c597 static blkcnt_t recno; variable
5070 if (recno + blocks <= nblock) {
5071 recno += blocks;
5074 if (recno > nblock)
5075 recno = nblock;
5076 seekval = (off_t)blocks - (nblock - recno);
5077 recno = nblock; /* so readtape() reads next time through */
5101 recno = nxb; /* so we don't read in next readtape() */
5112 if (recno >= nblock || first) {
5193 recno
[all...]

Completed in 129 milliseconds