Home
last modified time | relevance | path

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

/original-bsd/bin/pax/
H A Dbuf_subs.c96 bufend = buf + wrblksz; in wr_start()
140 bufend = buf + rdblksz; in rd_start()
141 bufpt = bufend; in rd_start()
252 bufend = buf + blksz;
261 bufend = buf + blksz;
266 bufend = buf + blksz;
337 bufend = buf + res; in rd_sync()
448 cnt = bufend - bufpt;
481 bufpt = bufend; in wr_fin()
514 cnt = bufend - bufpt;
[all …]
/original-bsd/contrib/sort/
H A Dfiles.c99 makeline(flno, filelist, nfiles, buffer, bufend, dummy2) in makeline() argument
103 u_char *bufend;
113 end = min((char *) bufend, pos + MAXLLEN);
115 memmove(pos, opos, bufend - (u_char *) opos);
116 pos += ((char *) bufend - opos);
136 if (pos >= end && end == (char *) bufend) {
164 makekey(flno, filelist, nfiles, buffer, bufend, ftbl) in makekey() argument
168 u_char *bufend;
179 enterkey(buffer, line, bufend - (u_char *) buffer, ftbl);
197 if ((signed)line->size > bufend - buffer->data)
[all …]
H A Dfsort.c41 register u_char *bufend, **keypos, *tmpbuf; local
68 bufend = buffer + BUFSIZE;
85 infiles, nfiles, prevfd, buffer, bufend);
96 while((c = get(binno, infiles, nfiles, crec, bufend,
117 tmpbuf = malloc(bufend -
120 bufend - crec->data);
129 bufend - crec->data);
172 get(-1, tfiles, ntfiles, crec, bufend, 0); /* rewind */
175 get(i, tfiles, ntfiles, crec, bufend, 0);
185 get(i, tfiles, ntfiles, crec, bufend,0);
H A Dappend.c131 rd_append(binno, infl0, nfiles, outfd, buffer, bufend) in rd_append() argument
132 u_char *buffer, *bufend; in rd_append()
139 if (!getnext(binno, infl0, nfiles, (RECHEADER *) buffer, bufend, 0)) {
142 bufend, 0) == 0) {
H A Dfields.c177 number(pos, bufend, line, lineend, Rflag) in number() argument
178 register u_char *line, *pos, *bufend, *lineend; in number()
191 if (pos > bufend - 8)
244 if (pos == bufend)
263 if (pos > bufend-1)
/original-bsd/usr.bin/mail/
H A Daux.c429 char *bufend; local
440 bufend = nbuf;
441 for (cp = name, cp2 = bufend; c = *cp++; ) {
478 cp2 = bufend;
515 bufend = cp2;
/original-bsd/lib/libc/gen/
H A Dglob.c133 Char *bufnext, *bufend, patbuf[MAXPATHLEN+1]; local
147 bufend = bufnext + MAXPATHLEN;
150 while (bufnext < bufend && (c = *patnext++) != EOS)
162 while (bufnext < bufend && (c = *patnext++) != EOS)
/original-bsd/usr.bin/pascal/pdx/process/
H A Dptrace.c361 char *bufend; local
389 bufend = cp + nbytes;
390 while (cp < bufend) {
/original-bsd/old/sysline/
H A Dsysline.c805 char lbuf[100], sendbuf[100], *bufend; in mailseen() local
853 bufend = cp + n; in mailseen()
860 if (cp >= bufend) in mailseen()
867 while (*rp && cp < bufend) in mailseen()
/original-bsd/usr.bin/sccs/
H A Dsccs.c954 char *bufend; local
1017 bufend = &buf[strlen(buf)];
1038 gstrcpy(bufend, "/p.", sizeof(buf));
1039 basefile = bufend + 3;
/original-bsd/old/dbx/
H A Dprocess.c1186 char *bufend; local
1214 bufend = cp + nbytes;
1220 while (cp < bufend) {
1237 while (cp < bufend) {