/openbsd/usr.sbin/inetd/ |
H A D | inetd.c | 522 for (sep = servtab; sep; sep = sep->se_next) in reap() 536 sep->se_service, sep->se_fd); in reap() 552 for (sep = servtab; sep; sep = sep->se_next) in config() 556 for (sep = servtab; sep; sep = sep->se_next) in config() 771 for (sep = servtab; sep; sep = sep->se_next) { in retry() 791 for (sep = servtab; sep; sep = sep->se_next) { in die() 861 r = bind(sep->se_fd, &sep->se_ctrladdr, sep->se_ctrladdr_size); in setup() 950 sep = malloc(sizeof (*sep)); in enter() 1057 memset(sep, 0, sizeof *sep); in getconfigent() 1675 sep->se_wait, sep->se_max, sep->se_user, in print_service() [all …]
|
/openbsd/gnu/usr.bin/perl/t/win32/ |
H A D | runenv.t | 227 my $sep = $Config{path_sep}; 232 ['two things, ::', "zwapp${sep}${sep}bam", 'zwapp', 'bam'], 234 [': at end', "zwapp${sep}", 'zwapp'], 235 [':: sandwich ::', "${sep}${sep}zwapp${sep}${sep}", 'zwapp'], 236 [':', "${sep}"], 237 ['::', "${sep}${sep}"], 238 [':::', "${sep}${sep}${sep}"], 239 ['two things and :', "zwapp${sep}bam${sep}", 'zwapp', 'bam'], 240 [': and two things', "${sep}zwapp${sep}bam", 'zwapp', 'bam'], 241 [': two things :', "${sep}zwapp${sep}bam${sep}", 'zwapp', 'bam'], [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Env/lib/ |
H A D | Env.pm | 128 my $sep = $Config::Config{path_sep}; 141 my @temp = split($sep, $ENV{$$self}); 143 $ENV{$$self} = join($sep, @temp); 160 $ENV{$$self} = join($sep, @temp); 173 $ENV{$$self} = join($sep, @temp); 181 $ENV{$$self} = join($sep, @temp); 189 $ENV{$$self} = join($sep, @temp); 197 $ENV{$$self} = join($sep, @temp); 205 $ENV{$$self} = join($sep, @temp); 216 $ENV{$$self} = join($sep, @temp); [all …]
|
/openbsd/gnu/usr.bin/perl/t/run/ |
H A D | runenv.t | 290 my $sep = $Config{path_sep}; 294 ['two things, ::', "zwapp${sep}${sep}bam", 'zwapp', 'bam'], 296 [': at end', "zwapp${sep}", 'zwapp'], 297 [':: sandwich ::', "${sep}${sep}zwapp${sep}${sep}", 'zwapp'], 298 [':', "${sep}"], 299 ['::', "${sep}${sep}"], 300 [':::', "${sep}${sep}${sep}"], 301 ['two things and :', "zwapp${sep}bam${sep}", 'zwapp', 'bam'], 302 [': and two things', "${sep}zwapp${sep}bam", 'zwapp', 'bam'], 303 [': two things :', "${sep}zwapp${sep}bam${sep}", 'zwapp', 'bam'], [all …]
|
/openbsd/sbin/swapctl/ |
H A D | swaplist.c | 48 struct swapent *sep, *fsep; in list_swap() local 59 fsep = sep = calloc(nswap, sizeof(*sep)); in list_swap() 60 if (sep == NULL) in list_swap() 78 for (i = rnswap; i-- > 0; sep++) in list_swap() 79 if (pathmax < (l = strlen(sep->se_path))) in list_swap() 81 sep = fsep; in list_swap() 87 for (; rnswap-- > 0; sep++) { in list_swap() 88 if (pflag && sep->se_priority != pri) in list_swap() 91 size = sep->se_nblks; in list_swap() 92 inuse = sep->se_inuse; in list_swap() [all …]
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | cpu.c | 575 sep = ""; in cpu_identify() 708 sep = ""; in cpu_identify() 712 sep = ","; in cpu_identify() 718 sep = ","; in cpu_identify() 725 sep = ","; in cpu_identify() 732 sep = ","; in cpu_identify() 737 sep = ","; in cpu_identify() 742 sep = ","; in cpu_identify() 747 sep = ","; in cpu_identify() 752 sep = ","; in cpu_identify() [all …]
|
/openbsd/usr.bin/systat/ |
H A D | swap.c | 177 struct swapent *sep; in showswap() local 182 sep = &swap_devices[i]; in showswap() 184 p = strrchr(sep->se_path, '/'); in showswap() 185 p = p ? p+1 : sep->se_path; in showswap() 189 xsize = sep->se_nblks; in showswap() 190 used = sep->se_inuse; in showswap() 202 struct swapent *sep; in showtotal() local 208 for (sep = swap_devices, i = 0; i < nswap; i++, sep++) { in showtotal() 209 xsize = sep->se_nblks; in showtotal() 210 used = sep->se_inuse; in showtotal()
|
/openbsd/lib/libfuse/ |
H A D | fuse_opt.c | 76 size_t sep, len; in match_opt() local 79 sep = strcspn(templ, "="); in match_opt() 81 if (sep == len) in match_opt() 82 sep = strcspn(templ, " "); in match_opt() 85 if (sep < len && (templ[sep + 1] == '\0' || templ[sep + 1] == '%')) { in match_opt() 87 return (sep); in match_opt() 194 size_t sep; in parse_opt() local 200 if (sep == 0) in parse_opt() 207 if (o->templ[sep] == '=') in parse_opt() 208 val = &opt[sep + 1]; in parse_opt() [all …]
|
/openbsd/usr.bin/netstat/ |
H A D | unix.c | 101 #define p(fmt, v, sep) printf(#v " " fmt sep, unp.v); in unpcb_dump() argument 102 #define pll(fmt, v, sep) printf(#v " " fmt sep, (long long) unp.v); in unpcb_dump() argument 103 #define pull(fmt, v, sep) printf(#v " " fmt sep, (unsigned long long) unp.v); in unpcb_dump() argument 104 #define pp(fmt, v, sep) printf(#v " " fmt sep, unp.v); in unpcb_dump() argument
|
/openbsd/gnu/usr.bin/gcc/gcc/java/ |
H A D | jcf-path.c | 232 char *try, sep[2]; in jcf_path_init() local 241 sep[1] = '\0'; in jcf_path_init() 254 strcat (try, sep); in jcf_path_init() 256 strcat (try, sep); in jcf_path_init() 260 strcat (try, sep); in jcf_path_init() 270 sep); in jcf_path_init() 272 strcat (try, sep); in jcf_path_init() 279 strcat (try, sep); in jcf_path_init() 281 strcat (try, sep); in jcf_path_init() 283 strcat (try, sep); in jcf_path_init() [all …]
|
/openbsd/sbin/ttyflags/ |
H A D | ttyflags.c | 158 int fd, flags = 0, rval = 0, st, sep = 0; in ttyflags() local 173 sep++; in ttyflags() 177 if (sep++) in ttyflags() 183 if (sep++) in ttyflags() 189 if (sep++) in ttyflags() 223 sep++; in ttyflags() 226 if (sep++) in ttyflags() 231 if (sep++) in ttyflags() 236 if (sep++) in ttyflags()
|
/openbsd/lib/libc/db/btree/ |
H A D | bt_debug.c | 55 char *sep; in __bt_dump() local 65 (void)fprintf(stderr, "%s%s", sep, name); \ in __bt_dump() 66 sep = ", "; \ in __bt_dump() 69 sep = " flags ("; in __bt_dump() 95 char *sep; in __bt_dmpage() local 107 (void)fprintf(stderr, "%s%s", sep, name); \ in __bt_dmpage() 108 sep = ", "; \ in __bt_dmpage() 111 sep = " ("; in __bt_dmpage() 149 char *sep; in __bt_dpage() local 156 sep = ", "; \ in __bt_dpage() [all …]
|
/openbsd/gnu/usr.bin/perl/ |
H A D | TestInit.pm | 128 my $sep; 130 $sep = '|'; 132 $sep = ';'; 134 $sep = ':'; 137 my $lib = join $sep, @INC;
|
/openbsd/regress/lib/libc/regex/ |
H A D | split.c | 7 int split(char *string, char *fields[], int nfields, char *sep); 14 split(char *string, char *fields[], int nfields, char *sep) in split() argument 18 register char sepc = sep[0]; in split() 31 sep = " \t"; /* note, code below knows this is 2 long */ in split() 35 sepc2 = sep[1]; /* now we can safely pick this up */ in split() 66 if (sep[2] == '\0') { in split() 119 sepp = sep; in split() 129 sepp = sep; in split()
|
/openbsd/lib/libc/nls/ |
H A D | catopen.c | 57 char *s, *t, *sep, *dot; in catopen() local 91 sep = strchr(lang, '_'); in catopen() 93 if (dot && sep && dot < sep) in catopen() 115 if (sep && u >= sep) in catopen() 122 if (sep == NULL) in catopen() 124 u = sep + 1; in catopen()
|
/openbsd/gnu/usr.bin/perl/dist/PathTools/lib/File/Spec/ |
H A D | Mac.pm | 516 my ($head, $sep, $tail, $volume, $directories); 521 ( $volume, $sep, $directories ) = $path =~ m|^((?:[^:]+:)?)(:*)(.*)|s; 526 $sep .= ':'; 529 while ($sep || $directories) { 530 if (length($sep) > 1) { 531 my $updir_count = length($sep) - 1; 538 $sep = ''; 540 ( $head, $sep, $tail ) = $directories =~ m|^((?:[^:]+)?)(:*)(.*)|s;
|
/openbsd/usr.bin/vi/ex/ |
H A D | ex_screen.c | 103 int cnt, col, len, sep; in ex_sdisplay() local 111 col = len = sep = 0; in ex_sdisplay() 116 col += len = strlen(tsp->frp->name) + sep; in ex_sdisplay() 119 sep = 0; in ex_sdisplay() 122 sep = 1; in ex_sdisplay()
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | hash-clear-placeholders.t | 25 my $sep = "=-=-=-=\n"; 27 print STDERR $sep; 31 print STDERR $sep; 42 my ($first, $second, $third) = split $sep, $got;
|
/openbsd/lib/libc/net/ |
H A D | inet_net_pton.c | 213 char *sep; in inet_net_pton_ipv6() local 221 sep = strchr(buf, '/'); in inet_net_pton_ipv6() 222 if (sep != NULL) in inet_net_pton_ipv6() 223 *sep++ = '\0'; in inet_net_pton_ipv6() 229 if (sep == NULL) in inet_net_pton_ipv6() 232 bits = strtonum(sep, 0, 128, &errstr); in inet_net_pton_ipv6()
|
/openbsd/usr.sbin/smtpd/ |
H A D | mda_variables.c | 55 char *lbracket, *rbracket, *content, *sep, *mods; in mda_expand_token() local 79 if ((sep = strchr(content, ':')) == NULL) in mda_expand_token() 83 *sep = '\0'; in mda_expand_token() 84 if (content != sep) in mda_expand_token() 87 if (*(++sep)) { in mda_expand_token() 89 endoff = strtonum(sep, -EXPAND_BUFFER, in mda_expand_token() 172 if ((sep = strchr(mods, '|')) != NULL) in mda_expand_token() 173 *sep++ = '\0'; in mda_expand_token() 187 } while ((mods = sep) != NULL); in mda_expand_token()
|
/openbsd/gnu/usr.bin/binutils/binutils/ |
H A D | unwind-ia64.c | 45 int sep = 0; in unw_print_brmask() local 52 if (sep) in unw_print_brmask() 56 sep = 1; in unw_print_brmask() 66 int sep = 0; in unw_print_grmask() local 73 if (sep) in unw_print_grmask() 77 sep = 1; in unw_print_grmask() 87 int sep = 0; in unw_print_frmask() local 94 if (sep) in unw_print_frmask() 104 sep = 1; in unw_print_frmask() 199 sep = ","; \ [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | unwind-ia64.c | 45 int sep = 0; in unw_print_brmask() local 52 if (sep) in unw_print_brmask() 56 sep = 1; in unw_print_brmask() 66 int sep = 0; in unw_print_grmask() local 73 if (sep) in unw_print_grmask() 77 sep = 1; in unw_print_grmask() 87 int sep = 0; in unw_print_frmask() local 94 if (sep) in unw_print_frmask() 104 sep = 1; in unw_print_frmask() 199 sep = ","; \ [all …]
|
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/ |
H A D | local.exp | 73 set sep "(\[.\]|___)\[0-9\]" 245 …\n\t \]*InnerLocal *& operator *=\\((main${sep}::|)InnerLocal const *&\\);\[\r\n\t \]*InnerLocal\\… 248 …\n\t \]*InnerLocal *& operator *=\\((main${sep}::|)InnerLocal const *&\\);\[\r\n\t \]*InnerLocal\\… 276 …cal *& *operator *= *\\((main${sep}::|)InnerLocal::NestedInnerLocal const *&\\);\[\r\n\t \]*Nested…
|
/openbsd/usr.bin/vi/common/ |
H A D | options.c | 413 char *endp, *name, *p, *sep, *t; in opts_set() local 427 for (sep = NULL, equals = qmark = 0, in opts_set() 436 sep = p; in opts_set() 446 if (sep != NULL) in opts_set() 447 *sep++ = '\0'; in opts_set() 556 if (!isdigit(sep[0])) in opts_set() 561 t = msg_print(sp, sep, &nf2); in opts_set() 584 t = msg_print(sp, sep, &nf2); in opts_set() 621 op->func(sp, spo, sep, &value)) || in opts_set() 655 !strcmp(O_STR(sp, offset), sep)) in opts_set() [all …]
|
/openbsd/lib/libusbhid/ |
H A D | usage.c | 267 const char *sep, *fmtsep, *errstr, *fmtname; in hid_parse_usage_in_page() local 271 sep = strchr(name, ':'); in hid_parse_usage_in_page() 272 if (sep == NULL) in hid_parse_usage_in_page() 274 l = sep - name; in hid_parse_usage_in_page() 280 sep++; in hid_parse_usage_in_page() 287 if (fmtsep != NULL && strncmp(sep, fmtname, len) == 0) { in hid_parse_usage_in_page() 288 pu = strtonum(sep + len, 0x1, 0xFFFF, &errstr); in hid_parse_usage_in_page() 293 if (strcmp(pages[k].page_contents[j].name, sep) == 0) in hid_parse_usage_in_page()
|