Home
last modified time | relevance | path

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

/freebsd-12.1/bin/pax/
H A Dbuf_subs.c120 bufend = buf + wrblksz; in wr_start()
159 bufend = buf + rdblksz; in rd_start()
160 bufpt = bufend; in rd_start()
260 bufend = buf + blksz; in appnd_start()
269 bufend = buf + blksz; in appnd_start()
274 bufend = buf + blksz; in appnd_start()
340 bufend = buf + res; in rd_sync()
438 cnt = bufend - bufpt; in rd_skip()
466 bufpt = bufend; in wr_fin()
492 cnt = bufend - bufpt; in wr_rdbuf()
[all …]
/freebsd-12.1/usr.sbin/ppp/
H A Dchat.c163 c->bufstart = c->bufend; in chat_UpdateSet()
352 end = ptr = c->bufend; in chat_UpdateLog()
354 ptr = c->bufend - in; in chat_UpdateLog()
421 c->bufend += in; in chat_Read()
442 while (from < c->bufend) in chat_Read()
445 c->bufend -= chop; in chat_Read()
463 end = c->bufend; in chat_Read()
466 c->bufend = end; in chat_Read()
481 end = c->bufend; in chat_Read()
484 c->bufend = end; in chat_Read()
[all …]
H A Dchat.h58 char *bufend; /* end of relevant data */ member
/freebsd-12.1/lib/libc/stdlib/
H A Dstrfmon.c90 *--bufend = *(avalue+avalue_size+padded); \
95 *--bufend = thousands_sep; \
533 char *bufend; in __format_grouped_double() local
593 bufend -= right_prec; in __format_grouped_double()
596 *--bufend = decimal_point; in __format_grouped_double()
627 bufend -= avalue_size; in __format_grouped_double()
628 memcpy(bufend, avalue+padded, avalue_size); in __format_grouped_double()
635 bufend -= padded; in __format_grouped_double()
636 memset(bufend, pad_char, padded); in __format_grouped_double()
639 bufsize = bufsize - (bufend - rslt) + 1; in __format_grouped_double()
[all …]
/freebsd-12.1/contrib/binutils/gas/
H A Decoff.c3607 char **bufend, in ecoff_add_bytes() argument
3620 *bufend = *buf + want; in ecoff_add_bytes()
3630 char **bufend, in ecoff_padding_adjust() argument
3658 char **bufend, in ecoff_build_lineno() argument
3889 char **bufend, in ecoff_build_symbols() argument
4254 char **bufend, in ecoff_build_procs() argument
4344 char **bufend, in ecoff_build_aux() argument
4457 char **bufend, in ecoff_build_strings() argument
4496 char **bufend, in ecoff_build_ss() argument
4539 char **bufend, in ecoff_build_fdr() argument
[all …]
/freebsd-12.1/contrib/libdivsufsort/lib/
H A Dsssort.c548 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-12.1/usr.bin/mail/
H A Dutil.c390 char *nbuf, *bufend, *cp, *cp2; in skin() local
404 bufend = nbuf; in skin()
405 for (cp = name, cp2 = bufend; (c = *cp++) != '\0'; ) { in skin()
442 cp2 = bufend; in skin()
480 bufend = cp2; in skin()
/freebsd-12.1/bin/sh/
H A Doutput.h46 char *bufend; member
82 #define outc(c, file) ((file)->nextc == (file)->bufend ? (emptyoutbuf(file), *(file)->nextc++ = (c)…
H A Doutput.c219 dest->bufend = dest->buf + dest->bufsize; in emptyoutbuf()
227 dest->bufend = dest->buf + newsize; in emptyoutbuf()
H A Deval.c1136 memout.bufend = NULL; in evalcommand()
/freebsd-12.1/sys/contrib/zstd/programs/
H A Dutil.h534 char* bufend = buf + LIST_SIZE_INCREASE; in UTIL_createFileList() local
542 if (buf + pos + len >= bufend) { in UTIL_createFileList()
543 ptrdiff_t newListSize = (bufend - buf) + LIST_SIZE_INCREASE; in UTIL_createFileList()
545 bufend = buf + newListSize; in UTIL_createFileList()
548 if (buf + pos + len < bufend) { in UTIL_createFileList()
549 strncpy(buf + pos, inputNames[i], bufend - (buf + pos)); in UTIL_createFileList()
554 nbFiles += UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend, followLinks); in UTIL_createFileList()
568 if (buf + pos > bufend) { free(buf); free((void*)fileTable); return NULL; } in UTIL_createFileList()
/freebsd-12.1/contrib/gdb/gdb/
H A Dsolib-svr4.c434 char *bufend; in elf_locate_base() local
459 for (bufend = buf + dyninfo_sect_size; in elf_locate_base()
460 buf < bufend; in elf_locate_base()
494 for (bufend = buf + dyninfo_sect_size; in elf_locate_base()
495 buf < bufend; in elf_locate_base()
H A Dpa64solib.c1014 char *bufend; in read_dynamic_info() local
1028 for (bufend = buf + dyninfo_sect_size, entry_addr = dyninfo_addr; in read_dynamic_info()
1029 buf < bufend; in read_dynamic_info()
/freebsd-12.1/sys/contrib/zstd/lib/dictBuilder/
H A Ddivsufsort.c638 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-12.1/crypto/heimdal/lib/roken/
H A Dglob.c175 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-12.1/contrib/diff/src/
H A Dio.c235 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-12.1/contrib/sendmail/src/
H A Dheaders.c1311 #define SM_HAVE_ROOM ((bp < buflim) && (buflim <= bufend))
1354 char *bufend; local
1360 buflim = bufend = &buf[sizeof(buf) - 1];
1654 if (realqmode && bp < bufend)
1656 while (realcmtlev-- > 0 && bp < bufend)
1658 if (addangle && bp < bufend)
1661 if (bp < bufend)
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dglob.c183 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; in glob() local
207 bufend = bufnext + MAXPATHLEN - 1; in glob()
209 while (bufnext < bufend && (c = *patnext++) != EOS) in glob()
213 while (bufnext < bufend && (c = *patnext++) != EOS) in glob()
/freebsd-12.1/lib/libc/gen/
H A Dglob.c192 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; in glob() local
215 bufend = bufnext + MAXPATHLEN - 1; in glob()
219 while (bufnext <= bufend) { in glob()
233 while (bufnext <= bufend) { in glob()
H A Dglob-compat11.c161 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; in freebsd11_glob() local
184 bufend = bufnext + MAXPATHLEN - 1; in freebsd11_glob()
188 while (bufnext <= bufend) { in freebsd11_glob()
202 while (bufnext <= bufend) { in freebsd11_glob()
/freebsd-12.1/stand/common/
H A Dmodule.c829 u_char *cp, *recptr, *bufend, *best; in mod_search_hints() local
841 bufend = recptr + mdp->d_hintsz; in mod_search_hints()
844 while (recptr < bufend && !found) { in mod_search_hints()
/freebsd-12.1/contrib/binutils/bfd/
H A Decofflink.c36 PARAMS ((char **buf, char **bufend, size_t need));
258 ecoff_add_bytes (buf, bufend, need) in ecoff_add_bytes() argument
260 char **bufend;
267 have = *bufend - *buf;
280 *bufend = *buf + have + want;
/freebsd-12.1/sys/kern/
H A Dkern_linker.c1821 u_char *cp, *recptr, *bufend, *result, *best, *pathbuf, *sep; in linker_hints_lookup() local
1872 bufend = hints + vattr.va_size; in linker_hints_lookup()
1875 while (recptr < bufend && !found) { in linker_hints_lookup()