/freebsd/sbin/ipf/libipf/ |
H A D | parseipfexpr.c | 149 char *delim; in parseipfexpr() local 151 delim = strchr(s, '/'); in parseipfexpr() 152 if (delim != NULL) { in parseipfexpr() 153 *delim++ = '\0'; in parseipfexpr() 154 if (genmask(AF_INET, delim, in parseipfexpr() 175 char *delim; in parseipfexpr() local 177 delim = strchr(s, '/'); in parseipfexpr() 178 if (delim != NULL) { in parseipfexpr() 179 *delim++ = '\0'; in parseipfexpr() 180 if (genmask(AF_INET6, delim, in parseipfexpr() [all …]
|
/freebsd/usr.bin/paste/ |
H A D | paste.c | 47 static wchar_t *delim; variable 82 delimcnt = tr(delim = warg); in main() 96 if (!delim) { in main() 98 delim = tab; in main() 148 (ch = delim[(lp->cnt - 1) % delimcnt])) in parallel() 157 (ch = delim[(lp->cnt - 1) % delimcnt])) in parallel() 168 if ((ch = delim[cnt % delimcnt])) in parallel() 170 } else if ((ch = delim[(lp->cnt - 1) % delimcnt])) in parallel() 206 if (delim[cnt] != '\0') in sequential() 207 putwchar(delim[cnt]); in sequential()
|
/freebsd/contrib/unbound/compat/ |
H A D | strsep.c | 36 in_delim(char c, const char* delim) in in_delim() argument 39 if(!delim) in in_delim() 41 for(p=delim; *p; p++) { in in_delim() 48 char *strsep(char **stringp, const char *delim) in strsep() argument 56 while(*s && !in_delim(*s, delim)) in strsep()
|
/freebsd/contrib/ldns/ |
H A D | parse.c | 25 ldns_fget_token(FILE *f, char *token, const char *delim, size_t limit) in ldns_fget_token() argument 27 return ldns_fget_token_l(f, token, delim, limit, NULL); in ldns_fget_token() 36 bool fixed, const char *delim, int *line_nr, in ldns_fget_token_l_st_file_type() argument 48 if (!delim) { in ldns_fget_token_l_st_file_type() 52 del = delim; in ldns_fget_token_l_st_file_type() 227 , const char *delim, int *line_nr) in ldns_fget_token_l_st() argument 230 f, token, limit, fixed, delim, line_nr, zone_file_type); in ldns_fget_token_l_st() 234 ldns_fget_token_l_resolv_conf(FILE *f, char *token, const char *delim, in ldns_fget_token_l_resolv_conf() argument 239 if (ldns_fget_token_l_st_file_type(f, &token, &limit, true, delim, in ldns_fget_token_l_resolv_conf() 247 ldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr) in ldns_fget_token_l() argument [all …]
|
/freebsd/usr.bin/m4/ |
H A D | trace.c | 159 char delim[3]; in trace() local 162 delim[0] = LPAREN; in trace() 163 delim[1] = EOS; in trace() 165 fprintf(traceout, "%s%s%s%s", delim, in trace() 169 delim[0] = COMMA; in trace() 170 delim[1] = ' '; in trace() 171 delim[2] = EOS; in trace()
|
/freebsd/usr.sbin/sysrc/ |
H A D | sysrc | 801 delim="${add%"${add#?}"}" # first character 803 case "$delim" in 804 ""|[$IFS]|[a-zA-Z0-9./]) delim=" " ;; 805 *) IFS="$delim" 814 [ "$skip" ] || new="$new$delim$a" 816 new="${new#"$delim"}" IFS="$oldIFS" 817 unset add delim oldIFS a skip b 823 delim="${remove%"${remove#?}"}" # first character 825 case "$delim" in 826 ""|[$IFS]|[a-zA-Z0-9./]) delim=" " ;; [all …]
|
/freebsd/sbin/routed/ |
H A D | parms.c | 467 char *val0, *p, delim; in get_passwd() local 487 if (0 > parse_quote(&val, "| ,\n\r", &delim, in get_passwd() 491 if (delim != '|') { in get_passwd() 497 if (0 > parse_quote(&val, "| ,\n\r", &delim, buf,sizeof(buf)) in get_passwd() 512 if (delim == '|') { in get_passwd() 514 if (NULL != (p = parse_ts(&k.start,&val,val0,&delim, in get_passwd() 517 if (delim != '|') in get_passwd() 520 if (NULL != (p = parse_ts(&k.end,&val,val0,&delim, in get_passwd() 530 if (delim != '\0') in get_passwd() 563 char delim, *val0 = NULL, *tgt, *val, *p; in parse_parms() local [all …]
|
/freebsd/contrib/ldns/ldns/ |
H A D | parse.h | 57 ssize_t ldns_fget_token(FILE *f, char *token, const char *delim, size_t limit); 70 ssize_t ldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr); 96 …fget_token_l_st(FILE *f, char **token, size_t *limit, bool fixed, const char *delim, int *line_nr); 98 ssize_t ldns_fget_token_l_resolv_conf(FILE *f, char *token, const char *delim, size_t limit, int *l… 110 ssize_t ldns_bget_token(ldns_buffer *b, char *token, const char *delim, size_t limit);
|
/freebsd/lib/libc/string/ |
H A D | strtok.c | 48 __strtok_r(char *s, const char *delim, char **last) in __strtok_r() argument 61 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { in __strtok_r() 78 spanp = (char *)delim; in __strtok_r() 94 strtok(char *s, const char *delim) in strtok() argument 98 return (__strtok_r(s, delim, &last)); in strtok()
|
H A D | wcstok.c | 40 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim, in wcstok() argument 55 for (spanp = delim; (sc = *spanp++) != L'\0';) { in wcstok() 72 spanp = delim; in wcstok()
|
/freebsd/contrib/bmake/ |
H A D | stresep.c | 42 char * stresep(char **stringp, const char *delim, int esc); 57 stresep(char **stringp, const char *delim, int esc) in stresep() argument 65 if (stringp == NULL || delim == NULL) in stresep() 79 spanp = delim; in stresep()
|
/freebsd/contrib/unbound/sldns/ |
H A D | parse.c | 27 sldns_fget_token(FILE *f, char *token, const char *delim, size_t limit) in sldns_fget_token() argument 29 return sldns_fget_token_l(f, token, delim, limit, NULL); in sldns_fget_token() 33 sldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr) in sldns_fget_token_l() argument 44 if (!delim) { in sldns_fget_token_l() 48 del = delim; in sldns_fget_token_l() 280 sldns_bget_token(sldns_buffer *b, char *token, const char *delim, size_t limit) in sldns_bget_token() argument 282 return sldns_bget_token_par(b, token, delim, limit, NULL, NULL); in sldns_bget_token() 286 sldns_bget_token_par(sldns_buffer *b, char *token, const char *delim, in sldns_bget_token_par() argument 298 if (!delim) { in sldns_bget_token_par() 302 del = delim; in sldns_bget_token_par()
|
H A D | parse.h | 56 ssize_t sldns_fget_token(FILE *f, char *token, const char *delim, size_t limit); 69 ssize_t sldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr); 87 ssize_t sldns_bget_token_par(struct sldns_buffer *b, char *token, const char *delim, size_t limit, … 99 ssize_t sldns_bget_token(struct sldns_buffer *b, char *token, const char *delim, size_t limit);
|
/freebsd/lib/libutil/ |
H A D | hexdump.c | 47 char delim; in hexdump() local 50 delim = (flags & HD_DELIM_MASK) >> 8; in hexdump() 52 delim = ' '; in hexdump() 71 printf("%c%02x", delim, cp[k]); in hexdump()
|
/freebsd/contrib/kyua/engine/ |
H A D | atf_result.cpp | 186 std::string::size_type delim = rest.find_first_of(":("); in parse_with_reason_and_arg() local 187 if (delim == std::string::npos) in parse_with_reason_and_arg() 194 if (rest[delim] == '(') { in parse_with_reason_and_arg() 195 const std::string::size_type delim2 = rest.find("):", delim); in parse_with_reason_and_arg() 196 if (delim == std::string::npos) in parse_with_reason_and_arg() 199 const std::string argstr = rest.substr(delim + 1, delim2 - delim - 1); in parse_with_reason_and_arg() 205 delim = delim2 + 1; in parse_with_reason_and_arg() 208 const std::string reason = rest.substr(delim + 2); in parse_with_reason_and_arg() 299 const std::string::size_type delim = data.second.find_first_not_of( in parse() local 301 const std::string status = data.second.substr(0, delim); in parse()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Timer.cpp | 468 const char *TimerGroup::printJSONValues(raw_ostream &OS, const char *delim) { in printJSONValues() argument 473 OS << delim; in printJSONValues() 474 delim = ",\n"; in printJSONValues() 478 OS << delim; in printJSONValues() 480 OS << delim; in printJSONValues() 483 OS << delim; in printJSONValues() 487 OS << delim; in printJSONValues() 492 return delim; in printJSONValues() 495 const char *TimerGroup::printAllJSONValues(raw_ostream &OS, const char *delim) { in printAllJSONValues() argument 498 delim = TG->printJSONValues(OS, delim); in printAllJSONValues() [all …]
|
/freebsd/usr.bin/pr/ |
H A D | egetopt.c | 73 static int delim; /* which option delimiter */ in egetopt() local 92 delim = (int)*place; in egetopt() 134 return (delim); in egetopt() 149 if (delim == (int)'+') { in egetopt()
|
/freebsd/contrib/libpcap/missing/ |
H A D | strtok_r.c | 42 pcapint_strtok_r(char *s, const char *delim, char **last) in pcapint_strtok_r() argument 55 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { in pcapint_strtok_r() 72 spanp = (char *)delim; in pcapint_strtok_r()
|
/freebsd/contrib/tcsh/ |
H A D | sh.dol.c | 749 eChar delim = DgetC(0); in fixDolMod() local 751 Strbuf_append1(&dolmod, (Char) delim); in fixDolMod() 753 if (delim == DEOF || !delim || letter(delim) in fixDolMod() 754 || Isdigit(delim) || any(" \t\n", delim)) { in fixDolMod() 760 if (c == delim) delimcnt--; in fixDolMod() 811 Char delim; in setDolp() local 817 delim = dolmod.s[++i]; in setDolp() 818 if (!delim || letter(delim) in setDolp() 819 || Isdigit(delim) || any(" \t\n", delim)) { in setDolp() 824 while (dolmod.s[i] != delim && dolmod.s[++i]) { in setDolp() [all …]
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_value_fmts.c | 58 size_t ilen, char *delim, size_t *nelem); 639 char delim; in bhnd_nvram_val_bcmstr_csv_next() local 655 delim = ','; in bhnd_nvram_val_bcmstr_csv_next() 665 delim = *next; in bhnd_nvram_val_bcmstr_csv_next() 675 *len = bhnd_nvram_parse_field(&next, remain, delim); in bhnd_nvram_val_bcmstr_csv_next() 792 char delim; in bhnd_nvram_val_bcm_macaddr_string_next() local 807 if (!bhnd_nvram_ident_octet_string(str, slen, &delim, NULL)) { in bhnd_nvram_val_bcm_macaddr_string_next() 809 delim = ','; in bhnd_nvram_val_bcm_macaddr_string_next() 824 delim = *next; in bhnd_nvram_val_bcm_macaddr_string_next() 834 *len = bhnd_nvram_parse_field(&next, remain, delim); in bhnd_nvram_val_bcm_macaddr_string_next() [all …]
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_ftp.c | 404 char ch, delim; in ParseFtpEprtCommand() local 420 delim = '|'; /* XXX gcc -Wuninitialized */ in ParseFtpEprtCommand() 427 delim = ch; in ParseFtpEprtCommand() 438 if (ch == delim) in ParseFtpEprtCommand() 475 else if (ch == delim) in ParseFtpEprtCommand() 567 char ch, delim; in ParseFtp229Reply() local 581 delim = '|'; /* XXX gcc -Wuninitialized */ in ParseFtp229Reply() 592 delim = ch; in ParseFtp229Reply() 597 if (ch == delim) in ParseFtp229Reply() 612 else if (ch == delim) in ParseFtp229Reply()
|
/freebsd/usr.sbin/bluetooth/hcsecd/ |
H A D | lexer.l | 40 delim [ \t\n] 41 ws {delim}+ 42 empty {delim}*
|
/freebsd/lib/libc/tests/stdio/ |
H A D | getdelim_test.c | 276 const char delim = '!'; in _nonblock_eagain() local 350 (linelen = getdelim(&line, &linecap, delim, fp)) == -1); in _nonblock_eagain() 362 ATF_CHECK(getdelim(&line, &linecap, delim, fp) == strslen[0]); in _nonblock_eagain() 364 ATF_REQUIRE(getdelim(&line, &linecap, delim, fp) == strslen[1]); in _nonblock_eagain() 368 (linelen = getdelim(&line, &linecap, delim, fp)) == -1); in _nonblock_eagain() 377 ATF_REQUIRE((linelen = getdelim(&line, &linecap, delim, fp)) != -1); in _nonblock_eagain() 384 (linelen = getdelim(&line, &linecap, delim, fp)) == -1); in _nonblock_eagain() 392 ATF_REQUIRE((linelen = getdelim(&line, &linecap, delim, fp)) != -1); in _nonblock_eagain()
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_global.c | 72 int cnt, delim, eval; in ex_g_setup() local 95 delim = *p++; in ex_g_setup() 104 if (p[0] == '\0' || p[0] == delim) { in ex_g_setup() 105 if (p[0] == delim) in ex_g_setup() 116 if (p[1] == delim) in ex_g_setup()
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | lexer.l | 47 delim [ \t\n] 48 ws {delim}+ 49 empty {delim}*
|