| /netbsd-src/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_read_support_format_warc.c | 665 const char *val, *eol; in _warc_rdtyp() local 672 if ((eol = _warc_find_eol(val, buf + bsz - val)) == NULL) { in _warc_rdtyp() 678 while (val < eol && (*val == ' ' || *val == '\t')) in _warc_rdtyp() 681 if (val + 8U == eol) { in _warc_rdtyp() 694 const char *val, *uri, *eol, *p; in _warc_rduri() local 703 if ((eol = _warc_find_eol(val, buf + bsz - val)) == NULL) { in _warc_rduri() 708 while (val < eol && (*val == ' ' || *val == '\t')) in _warc_rduri() 712 if ((uri = xmemmem(val, eol - val, "://", 3U)) == NULL) { in _warc_rduri() 718 for (p = val; p < eol; p++) { in _warc_rduri() 737 while (uri < eol && *uri++ != '/'); in _warc_rduri() [all …]
|
| /netbsd-src/usr.bin/mkdep/ |
| H A D | mkdep.c | 217 char *buf, *lim, *ptr, *line, *suf, *colon, *eol; in main() local 364 for (line = eol = buf; eol <= lim;) { in main() 365 while (eol <= lim && *eol++ != '\n') in main() 368 if (line == eol - 1) { in main() 370 line = eol; in main() 373 if (eol[-2] == '\\') in main() 377 if (colon >= eol) { in main() 384 if (write(dependfile, line, eol - line) < 0) in main() 386 line = eol; in main() 438 if (write(dependfile, colon, eol - colon) < 0) in main() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/global/ |
| H A D | mail_copy.c | 140 int flags, const char *eol, DSN_BUF *why) in mail_copy() argument 193 asctime(localtime(&now)), eol); in mail_copy() 197 *sender ? vstring_str(buf) : "", eol); in mail_copy() 210 vstream_fprintf(dst, "X-Original-To: %s%s", vstring_str(buf), eol); in mail_copy() 217 vstream_fprintf(dst, "Delivered-To: %s%s", vstring_str(buf), eol); in mail_copy() 244 if (type == REC_TYPE_NORM && vstream_fputs(eol, dst) == VSTREAM_EOF) in mail_copy() 257 vstream_fputs(eol, dst); in mail_copy() 259 vstream_fputs(eol, dst); in mail_copy()
|
| /netbsd-src/external/bsd/pkg_install/dist/lib/ |
| H A D | var.c | 68 const char *eol, *next; in var_copy_list() local 73 if ((eol = strchr(buf, '\n')) != NULL) { in var_copy_list() 74 next = eol + 1; in var_copy_list() 75 len = eol - buf; in var_copy_list() 148 const char *eol, *next, *data; in var_get_memory() local 160 if ((eol = strchr(buf, '\n')) != NULL) { in var_get_memory() 161 next = eol + 1; in var_get_memory() 162 len = eol - buf; in var_get_memory() 164 next = eol; in var_get_memory()
|
| /netbsd-src/usr.bin/lam/ |
| H A D | lam.c | 63 char eol; /* end of line character */ member 122 if (!ip->eol) in getargs() 123 ip->eol = (T ? (ip-1)->eol : '\n'); in getargs() 138 ip->eol = *p; in getargs() 202 if ((*p = c) == ip->eol) in gatherline()
|
| /netbsd-src/external/gpl2/grep/dist/src/ |
| H A D | search.c | 341 char eol = eolbyte; in EGexecute() local 370 end = memchr(beg, eol, buflim - beg); in EGexecute() 376 while (beg > buf && beg[-1] != eol) in EGexecute() 391 end = memchr (beg, eol, buflim - beg); in EGexecute() 393 while (beg > buf && beg[-1] != eol) in EGexecute() 508 char eol = eolbyte; in Fexecute() local 531 if (beg > buf && beg[-1] != eol) in Fexecute() 533 if (beg + len < buf + size && beg[len] != eol) in Fexecute() 576 end = memchr (beg + len, eol, (buf + size) - (beg + len)); in Fexecute() 578 while (buf < beg && beg[-1] != eol) in Fexecute() [all …]
|
| /netbsd-src/external/mpl/bind/dist/fuzz/ |
| H A D | isc_lex_getmastertoken.c | 52 bool eol; 54 if (size < sizeof(expect) + sizeof(eol)) { in LLVMFuzzerTestOneInput() 62 eol = *data != 0; in LLVMFuzzerTestOneInput() 73 result = isc_lex_getmastertoken(lex, &token, expect, eol); in LLVMFuzzerTestOneInput() 58 bool eol; LLVMFuzzerTestOneInput() local
|
| /netbsd-src/external/bsd/pkg_install/dist/info/ |
| H A D | perform.c | 280 char *iter, *eol, *next; in build_full_reqby() local 291 eol = iter + strcspn(iter, "\n"); in build_full_reqby() 292 if (*eol == '\n') in build_full_reqby() 293 next = eol + 1; in build_full_reqby() 295 next = eol; in build_full_reqby() 296 if (iter == eol) in build_full_reqby() 299 if (strlen(lpp->lp_name) + iter != eol) in build_full_reqby() 301 if (memcmp(lpp->lp_name, iter, eol - iter) == 0) in build_full_reqby() 306 *eol = '\0'; in build_full_reqby() 308 if (next != eol) in build_full_reqby() [all …]
|
| H A D | show.c | 402 const char *eol; in print_string_as_var() local 404 while ((eol = strchr(str, '\n')) != NULL) { in print_string_as_var() 405 printf("%s=%.*s\n", var, (int)(eol - str), str); in print_string_as_var() 406 str = eol + 1; in print_string_as_var()
|
| /netbsd-src/usr.bin/grep/ |
| H A D | fastgrep.c | 92 fg->eol = false; in fastcomp() 116 fg->eol = false; in fastcomp() 122 fg->eol = true; in fastcomp() 176 if ((!(lflag || cflag)) && ((!(fg->bol || fg->eol)) && in fastcomp() 238 if (fg->bol || fg->eol) { in grep_search() 243 j = fg->eol ? len - fg->len : 0; in grep_search() 244 if (!((fg->bol && fg->eol) && (len != fg->len))) in grep_search()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
| H A D | m-fgrep.c | 77 char eol = ckwset->eolbyte; in Fexecute() local 114 if (beg > buf && beg[-1] != eol) in Fexecute() 116 if (beg + len < buf + buf_size && beg[len] != eol) in Fexecute() 154 end = memchr (beg + len, eol, (buf + buf_size) - (beg + len)); in Fexecute() 156 while (buf < beg && beg[-1] != eol) in Fexecute()
|
| /netbsd-src/usr.bin/make/unit-tests/ |
| H A D | cmd-errors.mk | 11 # expect: : undefined--eol 12 : $@-${UNDEFINED}-eol 26 # expect-not: : unknown-modifier--eol 27 : $@-${UNKNOWN:Z}-eol 30 # expect: : end-eol 31 : $@-eol
|
| H A D | cmd-errors-jobs.mk | 27 # expect: : undefined-direct--eol 29 # expect: : undefined-direct--eol 33 : $@-${UNDEFINED}-eol 48 : unexpected $@-${UNKNOWN:Z}-eol
|
| /netbsd-src/external/bsd/pkg_install/dist/admin/ |
| H A D | audit.c | 137 char buf[4096], *line, *eol; in check_batch_exact_pkgs() local 150 eol = line + strlen(line); in check_batch_exact_pkgs() 151 if (eol == line) in check_batch_exact_pkgs() 153 --eol; in check_batch_exact_pkgs() 154 if (*eol == '\n') { in check_batch_exact_pkgs() 155 if (eol == line) in check_batch_exact_pkgs() 157 *eol = '\0'; in check_batch_exact_pkgs()
|
| /netbsd-src/sbin/veriexecctl/ |
| H A D | veriexecctl_parse.y | 66 | statement path type fingerprint flags eol { 109 | statement eol 110 | statement error eol { 191 eol : EOL
|
| /netbsd-src/external/gpl3/gcc/dist/c++tools/ |
| H A D | resolver.cc | 137 *end = begin + stat.st_size, *eol; in read_tuple_file() 138 begin != end; begin = eol + 1) in read_tuple_file() 141 eol = std::find (begin, end, '\n'); in read_tuple_file() 142 if (eol == end) in read_tuple_file() 173 std::string file (space, eol); in read_tuple_file()
|
| /netbsd-src/usr.sbin/installboot/arch/ |
| H A D | hppa.c | 79 int retval, eol; in hppa_clearboot() local 100 eol = HPPA_LABELOFFSET + HPPA_LABELSIZE; in hppa_clearboot() 101 memset(&bb[eol], 0, sizeof bb - eol); in hppa_clearboot()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
| H A D | hex.c | 131 bool eol; in isc_hex_tobuffer() local 142 eol = false; in isc_hex_tobuffer() 144 eol = true; in isc_hex_tobuffer() 147 isc_tokentype_string, eol)); in isc_hex_tobuffer()
|
| H A D | base64.c | 189 bool eol; in isc_base64_tobuffer() local 200 eol = false; in isc_base64_tobuffer() 202 eol = true; in isc_base64_tobuffer() 205 isc_tokentype_string, eol)); in isc_base64_tobuffer()
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | hex.c | 148 bool eol; in isc_hex_tobuffer() 159 eol = false; in isc_hex_tobuffer() 161 eol = true; in isc_hex_tobuffer() 164 isc_tokentype_string, eol)); in isc_hex_tobuffer() 131 bool eol; isc_hex_tobuffer() local
|
| H A D | base64.c | 189 bool eol; in isc_base64_tobuffer() local 200 eol = false; in isc_base64_tobuffer() 202 eol = true; in isc_base64_tobuffer() 205 isc_tokentype_string, eol)); in isc_base64_tobuffer()
|
| /netbsd-src/external/bsd/pkg_install/dist/delete/ |
| H A D | pkg_delete.c | 166 char line[MaxPathSize], *eol, *fname; in process_required_by() local 188 if ((eol = strrchr(line, '\n')) != NULL) in process_required_by() 189 *eol = '\0'; in process_required_by() 451 char line[MaxPathSize], *eol; in remove_line() local 465 if ((eol = strrchr(line, '\n')) != NULL) in remove_line() 466 *eol = '\0'; in remove_line()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | pex-win32.c | 685 char *eol; in spawn_script() local 687 eol = strchr (buf, '\n'); in spawn_script() 688 if (eol && strncmp (buf, "#!", 2) == 0) in spawn_script() 698 *eol = '\0'; in spawn_script() 699 while (*--eol == '\r' || *eol == ' ' || *eol == '\t'); in spawn_script()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | pex-win32.c | 685 char *eol; in spawn_script() local 687 eol = strchr (buf, '\n'); in spawn_script() 688 if (eol && strncmp (buf, "#!", 2) == 0) in spawn_script() 698 *eol = '\0'; in spawn_script() 699 while (*--eol == '\r' || *eol == ' ' || *eol == '\t'); in spawn_script()
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | pex-win32.c | 685 char *eol; in spawn_script() local 687 eol = strchr (buf, '\n'); in spawn_script() 688 if (eol && strncmp (buf, "#!", 2) == 0) in spawn_script() 698 *eol = '\0'; in spawn_script() 699 while (*--eol == '\r' || *eol == ' ' || *eol == '\t'); in spawn_script()
|