/freebsd/bin/pax/ |
H A D | buf_subs.c | 59 static char *bufend; /* end or last char in i/o buffer */ variable 112 bufend = buf + wrblksz; in wr_start() 151 bufend = buf + rdblksz; in rd_start() 152 bufpt = bufend; in rd_start() 233 skcnt += bufend - bufpt; in appnd_start() 252 bufend = buf + blksz; in appnd_start() 253 while (bufpt < bufend) { in appnd_start() 261 bufend = buf + blksz; in appnd_start() 266 bufend = buf + blksz; in appnd_start() 332 bufend = buf + res; in rd_sync() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | chat.c | 81 #define BUFLEFT(c) (sizeof (c)->buf - ((c)->bufend - (c)->buf)) 161 c->bufstart = c->bufend; in chat_UpdateSet() 300 end = c->bufend - c->arglen + 1; in chat_UpdateSet() 350 end = ptr = c->bufend; in chat_UpdateLog() 352 ptr = c->bufend - in; in chat_UpdateLog() 353 for (end = c->bufend - 1; end >= ptr; end--) in chat_UpdateLog() 359 for (ptr = c->bufend - (in == -1 ? 1 : in + 1); ptr >= c->bufstart; ptr--) in chat_UpdateLog() 397 in = physical_Read(c->physical, c->bufend, in); in chat_Read() 402 ebegin = c->bufend - c->arglen + 1; in chat_Read() 408 abegin = c->bufend - c->abort.string[0].len + 1; in chat_Read() [all …]
|
H A D | chat.h | 58 char *bufend; /* end of relevant data */ 56 char *bufend; /* end of relevant data */ global() member
|
/freebsd/lib/libc/stdlib/ |
H A D | strfmon.c | 89 *--bufend = *(avalue + avalue_size + padded); \ 94 bufend -= thousands_sep_size; \ 95 memcpy(bufend, thousands_sep, thousands_sep_size); \ 526 char *bufend; in __format_grouped_double() local 581 bufend = rslt + bufsize - 1; /* reserve space for trailing '\0' */ in __format_grouped_double() 591 bufend -= right_prec; in __format_grouped_double() 592 memcpy(bufend, avalue + avalue_size + padded - right_prec, in __format_grouped_double() 594 bufend -= decimal_point_size; in __format_grouped_double() 595 memcpy(bufend, decimal_point, decimal_point_size); in __format_grouped_double() 623 bufend -= avalue_size; in __format_grouped_double() [all …]
|
/freebsd/contrib/libdivsufsort/lib/ |
H A D | sssort.c | 548 saidx_t *a, *b, *c, *bufend; in ss_mergeforward() local 552 bufend = buf + (middle - first) - 1; in ss_mergeforward() 560 if(bufend <= b) { *bufend = t; return; } in ss_mergeforward() 567 while(b < bufend) { *a++ = *b, *b++ = *a; } in ss_mergeforward() 576 if(bufend <= b) { *bufend = t; return; } in ss_mergeforward() 583 while(b < bufend) { *a++ = *b, *b++ = *a; } in ss_mergeforward() 599 saidx_t *a, *b, *c, *bufend; in ss_mergebackward() local 604 bufend = buf + (last - middle) - 1; in ss_mergebackward() 608 if(*bufend < 0) { p1 = PA + ~*bufend; x |= 1; } in ss_mergebackward() 609 else { p1 = PA + *bufend; } in ss_mergebackward() [all …]
|
/freebsd/bin/sh/ |
H A D | output.h | 43 char *bufend; member 79 #define outc(c, file) ((file)->nextc == (file)->bufend ? (emptyoutbuf(file), *(file)->nextc++ = (c)…
|
H A D | output.c | 211 dest->bufend = dest->buf + dest->bufsize; in emptyoutbuf() 219 dest->bufend = dest->buf + newsize; in emptyoutbuf()
|
H A D | eval.c | 1123 memout.bufend = NULL; in evalcommand()
|
/freebsd/usr.bin/mail/ |
H A D | util.c | 383 char *nbuf, *bufend, *cp, *cp2; in skin() local 397 bufend = nbuf; in skin() 398 for (cp = name, cp2 = bufend; (c = *cp++) != '\0'; ) { in skin() 435 cp2 = bufend; in skin() 473 bufend = cp2; in skin()
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | divsufsort.c | 638 int *a, *b, *c, *bufend; in ss_mergeforward() local 642 bufend = buf + (middle - first) - 1; in ss_mergeforward() 650 if(bufend <= b) { *bufend = t; return; } in ss_mergeforward() 657 while(b < bufend) { *a++ = *b, *b++ = *a; } in ss_mergeforward() 666 if(bufend <= b) { *bufend = t; return; } in ss_mergeforward() 673 while(b < bufend) { *a++ = *b, *b++ = *a; } in ss_mergeforward() 689 int *a, *b, *c, *bufend; in ss_mergebackward() local 694 bufend = buf + (last - middle) - 1; in ss_mergebackward() 698 if(*bufend < 0) { p1 = PA + ~*bufend; x |= 1; } in ss_mergebackward() 699 else { p1 = PA + *bufend; } in ss_mergebackward() [all …]
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | util.c | 1051 char* bufend = buf + LIST_SIZE_INCREASE; in UTIL_createExpandedFNT() local 1059 if (buf + pos + len >= bufend) { in UTIL_createExpandedFNT() 1060 ptrdiff_t newListSize = (bufend - buf) + LIST_SIZE_INCREASE; in UTIL_createExpandedFNT() 1064 bufend = buf + newListSize; in UTIL_createExpandedFNT() 1066 if (buf + pos + len < bufend) { in UTIL_createExpandedFNT() 1072 … nbFiles += (unsigned)UTIL_prepareFileList(inputNames[ifnNb], &buf, &pos, &bufend, followLinks); in UTIL_createExpandedFNT() 1085 if (buf + pos > bufend) { free(buf); free((void*)fileNamesTable); return NULL; } in UTIL_createExpandedFNT()
|
/freebsd/contrib/diff/src/ |
H A D | io.c | 235 char const *bufend = FILE_BUFFER (current) + current->buffered; in find_and_hash_each_line() local 393 if (p == bufend in find_and_hash_each_line() 404 bufend = suffix_begin = p; in find_and_hash_each_line() 491 if (p == bufend) in find_and_hash_each_line()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | glob.c | 175 Char *bufnext, *bufend, patbuf[MaxPathLen+1]; in glob() local 189 bufend = bufnext + MaxPathLen; in glob() 192 while (bufnext < bufend && (c = *patnext++) != CHAR_EOS) in glob() 204 while (bufnext < bufend && (c = *patnext++) != CHAR_EOS) in glob()
|
/freebsd/contrib/libder/libder/ |
H A D | libder_read.c | 199 const uint8_t *bufend; in libder_stream_refill() local 245 bufend = &stream->stream_buf[stream->stream_bufsz]; in libder_stream_refill() 254 assert(refill_buf + needed <= bufend); in libder_stream_refill() 277 assert(refill_buf + needed <= bufend); in libder_stream_refill()
|
/freebsd/contrib/sendmail/src/ |
H A D | headers.c | 1363 #define SM_HAVE_ROOMB ((bp < buflim) && (buflim <= bufend)) 1412 char *bufend; local 1419 buflim = bufend = &buf[sizeof(buf) - 1]; 1713 if (realqmode && bp < bufend) 1715 while (realcmtlev-- > 0 && bp < bufend) 1717 if (addangle && bp < bufend) 1720 if (bp < bufend)
|
/freebsd/lib/libc/gen/ |
H A D | glob-compat11.c | 156 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; in freebsd11_glob() local 179 bufend = bufnext + MAXPATHLEN - 1; in freebsd11_glob() 183 while (bufnext <= bufend) { in freebsd11_glob() 197 while (bufnext <= bufend) { in freebsd11_glob()
|
H A D | glob.c | 188 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; in glob() local 211 bufend = bufnext + MAXPATHLEN - 1; in glob() 215 while (bufnext <= bufend) { in glob() 229 while (bufnext <= bufend) { in glob()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | glob.c | 187 Char *bufnext, *bufend, patbuf[PATH_MAX]; in glob() local 210 bufend = bufnext + PATH_MAX - 1; in glob() 212 while (bufnext < bufend && (c = *patnext++) != EOS) in glob() 216 while (bufnext < bufend && (c = *patnext++) != EOS) in glob()
|
/freebsd/stand/common/ |
H A D | module.c | 1164 u_char *cp, *recptr, *bufend, *best; in mod_search_hints() local 1176 bufend = recptr + mdp->d_hintsz; in mod_search_hints() 1179 while (recptr < bufend && !found) { in mod_search_hints()
|
/freebsd/sys/kern/ |
H A D | kern_linker.c | 2000 u_char *cp, *recptr, *bufend, *result, *pathbuf; in linker_hints_lookup() local 2055 bufend = hints + vattr.va_size; in linker_hints_lookup() 2058 while (recptr < bufend && !found) { in linker_hints_lookup()
|