Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/netbsd/usr.bin/indent/
H A Dpr_comment.c115 delim = true; in analyze_comment()
117 delim = true; in analyze_comment()
147 *p_delim = delim; in analyze_comment()
161 if (*delim && fits_in_one_line(line_length)) in copy_comment_start()
162 *delim = false; in copy_comment_start()
163 if (*delim) { in copy_comment_start()
250 if (delim) { in copy_comment_wrap_finish()
277 copy_comment_wrap(int line_length, bool delim) in copy_comment_wrap() argument
298 copy_comment_wrap_finish(line_length, delim); in copy_comment_wrap()
341 bool may_wrap, delim; in process_comment() local
[all …]
/netbsd/external/bsd/ipf/dist/lib/
H A Dparseipfexpr.c157 char *delim; local
159 delim = strchr(s, '/');
160 if (delim != NULL) {
161 *delim++ = '\0';
183 char *delim; local
185 delim = strchr(s, '/');
186 if (delim != NULL) {
187 *delim++ = '\0';
224 char *delim; local
227 if (delim != NULL) {
[all …]
/netbsd/external/ibm-public/postfix/dist/src/global/
H A Dstrip_addr.c124 char *delim = "+-"; in main() local
147 stripped = strip_addr_internal("foo", (char **) 0, delim); in main()
151 stripped = strip_addr_internal("foo", &extension, delim); in main()
167 stripped = strip_addr_internal("foo@bar", (char **) 0, delim); in main()
171 stripped = strip_addr_internal("foo@bar", &extension, delim); in main()
187 stripped = strip_addr_internal("foo-ext", (char **) 0, delim); in main()
194 stripped = strip_addr_internal("foo-ext", &extension, delim); in main()
214 stripped = strip_addr_internal("foo-ext@bar", (char **) 0, delim); in main()
221 stripped = strip_addr_internal("foo-ext@bar", &extension, delim); in main()
231 stripped = strip_addr_internal("foo+ext@bar", &extension, delim); in main()
[all …]
/netbsd/usr.bin/paste/
H A Dpaste.c61 static char *delim = dflt_delim; variable
73 delim = strdup(optarg); in main()
74 delimcnt = tr(delim); in main()
115 dp = delim + delimcnt; in parallel()
134 if (dp >= delim + delimcnt) in parallel()
135 dp = delim; in parallel()
151 if (dp >= delim + delimcnt) in parallel()
152 dp = delim; in parallel()
176 for (cnt = 0, dp = delim;;) { in sequential()
187 dp = delim; in sequential()
/netbsd/external/bsd/am-utils/dist/conf/checkmount/
H A Dcheckmount_osf.c64 char *delim; in fixmount_check_mount() local
70 if ((delim = strchr(fslist[i].f_mntfromname, ':'))) { in fixmount_check_mount()
71 *delim = '\0'; in fixmount_check_mount()
72 if ((STREQ(delim + 1, path) || in fixmount_check_mount()
77 } else if ((delim = strchr(fslist[i].f_mntfromname, '@'))) { in fixmount_check_mount()
78 *delim = '\0'; in fixmount_check_mount()
81 is_same_host(delim + 1, host, hostaddr)) in fixmount_check_mount()
/netbsd/external/ibm-public/postfix/dist/src/util/
H A Dargv_split.c65 ARGV *argv_split(const char *string, const char *delim) in argv_split() argument
72 while ((arg = mystrtok(&bp, delim)) != 0) in argv_split()
81 ARGV *argv_split_count(const char *string, const char *delim, ssize_t count) in argv_split_count() argument
90 while (count-- > 1 && (arg = mystrtok(&bp, delim)) != 0) in argv_split_count()
93 bp += strspn(bp, delim); in argv_split_count()
103 ARGV *argv_split_append(ARGV *argvp, const char *string, const char *delim) in argv_split_append() argument
109 while ((arg = mystrtok(&bp, delim)) != 0) in argv_split_append()
H A Dargv_splitq.c69 ARGV *argv_splitq(const char *string, const char *delim, const char *parens) in argv_splitq() argument
76 while ((arg = mystrtokq(&bp, delim, parens)) != 0) in argv_splitq()
85 ARGV *argv_splitq_count(const char *string, const char *delim, in argv_splitq_count() argument
95 while (count-- > 1 && (arg = mystrtokq(&bp, delim, parens)) != 0) in argv_splitq_count()
98 bp += strspn(bp, delim); in argv_splitq_count()
108 ARGV *argv_splitq_append(ARGV *argvp, const char *string, const char *delim, in argv_splitq_append() argument
115 while ((arg = mystrtokq(&bp, delim, parens)) != 0) in argv_splitq_append()
H A Dname_mask.c209 const char *names, const char *delim, int flags) in name_mask_delim_opt() argument
233 while ((name = mystrtok(&bp, delim)) != 0) { in name_mask_delim_opt()
275 int delim = (flags & NAME_MASK_COMMA ? ',' : in str_name_mask_opt() local
292 vstring_sprintf_append(buf, "0x%x%c", mask, delim); in str_name_mask_opt()
308 vstring_sprintf_append(buf, "%s%c", np->name, delim); in str_name_mask_opt()
322 const char *names, const char *delim, in long_name_mask_delim_opt() argument
347 while ((name = mystrtok(&bp, delim)) != 0) { in long_name_mask_delim_opt()
389 int delim = (flags & NAME_MASK_COMMA ? ',' : in str_long_name_mask_opt() local
407 vstring_sprintf_append(buf, "0x%lx%c", mask, delim); in str_long_name_mask_opt()
423 vstring_sprintf_append(buf, "%s%c", np->name, delim); in str_long_name_mask_opt()
/netbsd/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-perl.c644 switch (delim) in extract_quotelike_pass1()
863 if (delim == '(' || delim == '<' || delim == '{' || delim == '[') in extract_triple_quotelike()
2159 if ((delim >= '0' && delim <= '9') in x_perl_prelex()
2160 || (delim >= 'A' && delim <= 'Z') in x_perl_prelex()
2161 || (delim >= 'a' && delim <= 'z')) in x_perl_prelex()
2193 if ((delim >= '0' && delim <= '9') in x_perl_prelex()
2194 || (delim >= 'A' && delim <= 'Z') in x_perl_prelex()
2195 || (delim >= 'a' && delim <= 'z')) in x_perl_prelex()
2242 if ((delim >= '0' && delim <= '9') in x_perl_prelex()
2243 || (delim >= 'A' && delim <= 'Z') in x_perl_prelex()
[all …]
/netbsd/external/bsd/pkg_install/dist/admin/
H A Daudit.c390 const char *delim, *end_base; in check_pkg_history_pattern() local
394 for (delim = pattern; in check_pkg_history_pattern()
395 *delim != '\0' && *delim != '['; delim++) { in check_pkg_history_pattern()
396 if (*delim == '-') in check_pkg_history_pattern()
397 end_base = delim; in check_pkg_history_pattern()
403 if ((delim = strchr(pattern, '>')) != NULL || in check_pkg_history_pattern()
404 (delim = strchr(pattern, '<')) != NULL) in check_pkg_history_pattern()
408 } else if ((delim = strchr(pattern, '>')) != NULL) { in check_pkg_history_pattern()
409 end_base = delim; in check_pkg_history_pattern()
410 if ((delim = strchr(pattern, '<')) != NULL && delim < end_base) in check_pkg_history_pattern()
[all …]
/netbsd/external/ibm-public/postfix/dist/mantools/
H A Dfixman61 my ($delim) = @_;
63 print "$delim .IP \"\\fB$name ($defval_text{$name})\\fR\"\n";
111 $block =~ s/^([^.])/$delim\t\1/;
112 $block =~ s/^\./$delim ./;
113 $block =~ s/\n([^.])/\n$delim\t\1/g;
114 $block =~ s/\n\./\n$delim ./g;
118 print "$delim .IP \"\\fB$name ($defval)\\fR\"\n";
/netbsd/external/bsd/unbound/dist/compat/
H A Dstrsep.c36 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()
/netbsd/usr.bin/m4/
H A Dtrace.c176 char delim[3]; in trace() local
179 delim[0] = LPAREN; in trace()
180 delim[1] = EOS; in trace()
182 fprintf(traceout, "%s%s%s%s", delim, in trace()
186 delim[0] = COMMA; in trace()
187 delim[1] = ' '; in trace()
188 delim[2] = EOS; in trace()
/netbsd/sbin/routed/
H A Dparms.c497 char *val0, *p, delim; in get_passwd() local
521 if (delim != '|') { in get_passwd()
543 if (delim == '|') { in get_passwd()
548 if (delim != '|') in get_passwd()
561 if (delim != '\0') in get_passwd()
608 if (delim == ',') { in parse_parms()
662 delim = *line; in parse_parms()
663 if (delim == '=') { in parse_parms()
669 if (delim != '\0') { in parse_parms()
672 if (delim == '#') in parse_parms()
[all …]
/netbsd/external/bsd/openldap/dist/libraries/libldap/
H A Dstring.c39 static int int_strspn( const char *str, const char *delim ) in int_strspn() argument
42 const char *p=delim; in int_strspn()
46 for( p=delim; (*p) ; p++ ) { in int_strspn()
80 char *(ldap_pvt_strtok)( char *str, const char *delim, char **pos )
97 str += int_strspn( str, delim );
102 p = int_strpbrk( str, delim );
/netbsd/usr.bin/radioctl/
H A Dradioctl.c504 const char *delim; in print_vars() local
527 delim = ""; in print_vars()
529 printf("%s stereo detect", delim), delim=","; in print_vars()
531 printf("%s signal detect", delim), delim=","; in print_vars()
533 printf("%s manageable mono/stereo", delim), delim=","; in print_vars()
535 printf("%s hardware search", delim), delim=","; in print_vars()
537 printf("%s hardware AFC", delim), delim=","; in print_vars()
/netbsd/external/mpl/bind/dist/lib/irs/
H A Dresconf.c356 int delim; in resconf_parsesearch() local
379 delim = getword(fp, word, sizeof(word)); in resconf_parsesearch()
396 if (delim == EOF || delim == '\n') { in resconf_parsesearch()
399 delim = getword(fp, word, sizeof(word)); in resconf_parsesearch()
408 int delim, res; in resconf_parsesortlist() local
413 delim = getword(fp, word, sizeof(word)); in resconf_parsesortlist()
452 if (delim == EOF || delim == '\n') { in resconf_parsesortlist()
455 delim = getword(fp, word, sizeof(word)); in resconf_parsesortlist()
464 int delim; in resconf_parseoption() local
469 delim = getword(fp, word, sizeof(word)); in resconf_parseoption()
[all …]
/netbsd/sys/dev/ir/
H A Dirframe.c114 const char *delim; in irframe_attach() local
134 delim = ":"; in irframe_attach()
136 printf("%s SIR", delim); in irframe_attach()
137 delim = ","; in irframe_attach()
140 printf("%s MIR", delim); in irframe_attach()
141 delim = ","; in irframe_attach()
144 printf("%s FIR", delim); in irframe_attach()
145 delim = ","; in irframe_attach()
148 printf("%s VFIR", delim); in irframe_attach()
149 delim = ","; in irframe_attach()
/netbsd/external/bsd/unbound/dist/sldns/
H A Dparse.c27 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 Dparse.h56 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);
/netbsd/bin/csh/
H A Ddol.c641 int delim = DgetC(0); in fixDolMod() local
643 dolmod[dolnmod++] = (Char)delim; in fixDolMod()
645 if (!delim || letter(delim) in fixDolMod()
646 || Isdigit(delim) || any(" \t\n", delim)) { in fixDolMod()
652 if(c == delim) delimcnt--; in fixDolMod()
688 int delim; in setDolp() local
693 delim = dolmod[++i]; in setDolp()
694 if (!delim || letter(delim) in setDolp()
695 || Isdigit(delim) || any(" \t\n", delim)) { in setDolp()
700 while(dolmod[i] != delim && dolmod[++i]) { in setDolp()
[all …]
/netbsd/sys/external/bsd/drm2/dist/drm/
H A Ddrm_modes.c1602 if (*delim != '=') in drm_mode_parse_cmdline_int()
1605 value = delim + 1; in drm_mode_parse_cmdline_int()
1620 if (*delim != '=') in drm_mode_parse_panel_orientation()
1623 value = delim + 1; in drm_mode_parse_panel_orientation()
1624 delim = strchr(value, ','); in drm_mode_parse_panel_orientation()
1625 if (!delim) in drm_mode_parse_panel_orientation()
1652 delim = strchr(option, '='); in drm_mode_parse_cmdline_options()
1653 if (!delim) { in drm_mode_parse_cmdline_options()
1654 delim = strchr(option, ','); in drm_mode_parse_cmdline_options()
1656 if (!delim) in drm_mode_parse_cmdline_options()
[all …]
/netbsd/lib/libc/string/
H A Dstrtok_r.c51 strtok_r(char *s, const char *delim, char **lasts) in __weak_alias()
58 _DIAGASSERT(delim != NULL); in __weak_alias()
69 for (spanp = delim; (sc = *spanp++) != 0;) { in __weak_alias()
86 spanp = delim; in __weak_alias()
H A Dwcstok.c53 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim, in wcstok() argument
61 _DIAGASSERT(delim != NULL); in wcstok()
72 for (spanp = delim; (sc = *spanp++) != L'\0';) { in wcstok()
89 spanp = delim; in wcstok()
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/
H A DTimer.cpp444 const char *TimerGroup::printJSONValues(raw_ostream &OS, const char *delim) { in printJSONValues() argument
449 OS << delim; in printJSONValues()
450 delim = ",\n"; in printJSONValues()
454 OS << delim; in printJSONValues()
456 OS << delim; in printJSONValues()
459 OS << delim; in printJSONValues()
463 OS << delim; in printJSONValues()
468 return delim; in printJSONValues()
471 const char *TimerGroup::printAllJSONValues(raw_ostream &OS, const char *delim) { in printAllJSONValues() argument
474 delim = TG->printJSONValues(OS, delim); in printAllJSONValues()
[all …]

12345678910>>...17