/dragonfly/usr.sbin/inetd/ |
H A D | inetd.c | 550 for (sep = servtab; n && sep; sep = sep->se_next) in main() 555 dofork = !sep->se_bi || sep->se_bi->bi_fork || ISWRAP(sep); in main() 889 for (sep = servtab; sep; sep = sep->se_next) { in reapchild() 897 sep->se_pids[k] = sep->se_pids[--sep->se_numchild]; in reapchild() 931 for (sep = servtab; sep; sep = sep->se_next) in config() 956 for (sep = servtab; sep; sep = sep->se_next) in config() 1153 for (sep = servtab; sep; sep = sep->se_next) in retry() 1230 if (chown(sep->se_service, sep->se_sockuid, sep->se_sockgid) < 0) in setup() 1271 sep->se_server, sep->se_fd); in setup() 1449 memset(sep, 0, sizeof *sep); in getconfigent() [all …]
|
H A D | builtins.c | 162 inetd_setproctitle(sep->se_service, s); in chargen_stream() 248 inetd_setproctitle(sep->se_service, s); in discard_stream() 366 for (av = sep->se_argv; *av; av++) in ident_stream() 764 struct servtab *sep; in tcpmux() local 783 for (sep = servtab; sep; sep = sep->se_next) { in tcpmux() 784 if (!ISMUX(sep)) in tcpmux() 786 write(s,sep->se_service,strlen(sep->se_service)); in tcpmux() 793 for (sep = servtab; sep; sep = sep->se_next) { in tcpmux() 794 if (!ISMUX(sep)) in tcpmux() 797 if (ISMUXPLUS(sep)) { in tcpmux() [all …]
|
H A D | inetd.h | 48 #define ISMUX(sep) (((sep)->se_type == MUX_TYPE) || \ argument 49 ((sep)->se_type == MUXPLUS_TYPE)) 50 #define ISMUXPLUS(sep) ((sep)->se_type == MUXPLUS_TYPE) argument 51 #define ISTTCP(sep) ((sep)->se_type == TTCP_TYPE) argument 123 int check_loop(const struct sockaddr *, const struct servtab *sep);
|
/dragonfly/lib/libc/string/ |
H A D | strtok.c | 124 char *brkb, *brkt, *phrase, *sep, *word; in main() local 126 sep = "\\/:;=-"; in main() 131 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) in main() 135 for (word = strtok_r(test, sep, &brkt); word; in main() 136 word = strtok_r(NULL, sep, &brkt)) { in main() 139 for (phrase = strtok_r(blah, sep, &brkb); phrase; in main() 140 phrase = strtok_r(NULL, sep, &brkb)) in main()
|
/dragonfly/contrib/tcpdump/ |
H A D | print-ahcp.c | 142 const char *sep = ": "; in ahcp_ipv6_addresses_print() local 147 ND_PRINT("%s%s", sep, GET_IP6ADDR_STRING(cp)); in ahcp_ipv6_addresses_print() 150 sep = ", "; in ahcp_ipv6_addresses_print() 163 const char *sep = ": "; in ahcp_ipv4_addresses_print() local 168 ND_PRINT("%s%s", sep, GET_IPADDR_STRING(cp)); in ahcp_ipv4_addresses_print() 171 sep = ", "; in ahcp_ipv4_addresses_print() 184 const char *sep = ": "; in ahcp_ipv6_prefixes_print() local 192 sep = ", "; in ahcp_ipv6_prefixes_print() 205 const char *sep = ": "; in ahcp_ipv4_prefixes_print() local 210 ND_PRINT("%s%s/%u", sep, GET_IPADDR_STRING(cp), GET_U_1(cp + 4)); in ahcp_ipv4_prefixes_print() [all …]
|
/dragonfly/contrib/diffutils/lib/ |
H A D | filenamecat-lgpl.c | 53 char sep = '\0'; in mfile_name_concat() local 58 sep = '/'; in mfile_name_concat() 67 sep = '.'; in mfile_name_concat() 70 char *p_concat = malloc (dirlen + (sep != '\0') + baselen + 1); in mfile_name_concat() 77 *p = sep; in mfile_name_concat() 78 p += sep != '\0'; in mfile_name_concat()
|
/dragonfly/contrib/grep/lib/ |
H A D | filenamecat-lgpl.c | 53 char sep = '\0'; in mfile_name_concat() local 58 sep = '/'; in mfile_name_concat() 67 sep = '.'; in mfile_name_concat() 70 char *p_concat = malloc (dirlen + (sep != '\0') + baselen + 1); in mfile_name_concat() 77 *p = sep; in mfile_name_concat() 78 p += sep != '\0'; in mfile_name_concat()
|
/dragonfly/lib/libutil/ |
H A D | snprintb.c | 49 int bit, ch, t_len, s_len = 0, l_len, f_len, v_len, sep; in snprintb_m() local 113 if (l_max > 0 && sep != '<') { \ in snprintb_m() 118 STORE(sep); \ in snprintb_m() 129 sep = '<'; \ in snprintb_m() 155 sep = '<'; in snprintb_m() 164 sep = ','; in snprintb_m() 189 sep = ','; in snprintb_m() 200 sep = ','; in snprintb_m() 248 if (sep != '<' && (size_t)(++t_len) < buflen) in snprintb_m()
|
H A D | humanize_number.c | 51 const char *prefixes, *sep; in humanize_number() local 125 sep = ""; in humanize_number() 127 sep = " "; in humanize_number() 167 sep, SCALE2PREFIX(i), suffix); in humanize_number() 191 sep, SCALE2PREFIX(i), suffix); in humanize_number() 204 sep, SCALE2PREFIX(i), suffix); in humanize_number()
|
/dragonfly/contrib/wpa_supplicant/src/drivers/ |
H A D | driver_roboswitch.c | 210 char *sep; in wpa_driver_roboswitch_set_param() local 214 *sep = '.'; in wpa_driver_roboswitch_set_param() 223 *sep = '\0'; in wpa_driver_roboswitch_set_param() 360 char *sep; in wpa_driver_roboswitch_init() local 369 sep = drv->ifname + in wpa_driver_roboswitch_init() 372 while (sep > drv->ifname && *sep != '.') sep--; in wpa_driver_roboswitch_init() 373 if (sep <= drv->ifname) { in wpa_driver_roboswitch_init() 379 *sep = '\0'; in wpa_driver_roboswitch_init() 380 while (*++sep) { in wpa_driver_roboswitch_init() 381 if (*sep < '0' || *sep > '9') { in wpa_driver_roboswitch_init() [all …]
|
/dragonfly/lib/libc/db/btree/ |
H A D | bt_debug.c | 58 char *sep; in __bt_dump() local 68 fprintf(stderr, "%s%s", sep, name); \ in __bt_dump() 69 sep = ", "; \ in __bt_dump() 72 sep = " flags ("; in __bt_dump() 98 char *sep; in __bt_dmpage() local 110 fprintf(stderr, "%s%s", sep, name); \ in __bt_dmpage() 111 sep = ", "; \ in __bt_dmpage() 114 sep = " ("; in __bt_dmpage() 152 char *sep; in __bt_dpage() local 159 sep = ", "; \ in __bt_dpage() [all …]
|
/dragonfly/contrib/tcp_wrappers/ |
H A D | workarounds.c | 270 char *fix_strtok(buf, sep) in fix_strtok() argument 272 char *sep; 279 while ((result = strsep(&state, sep)) && result[0] == 0) 295 char *my_strtok(buf, sep) in my_strtok() argument 297 char *sep; 308 if (*(state += strspn(state, sep)) == 0) 315 if (*(state += strcspn(state, sep)) != 0)
|
/dragonfly/sbin/ifconfig/ |
H A D | iflagg.c | 129 lacp_format_peer(struct lacp_opreq *req, const char *sep) in lacp_format_peer() argument 138 req->actor_key, req->actor_portprio, req->actor_portno, sep, in lacp_format_peer() 187 const char *sep = ""; in lagg_status() local 191 printf("%sl2", sep); in lagg_status() 192 sep = ","; in lagg_status() 195 printf("%sl3", sep); in lagg_status() 196 sep = ","; in lagg_status() 199 printf("%sl4", sep); in lagg_status() 200 sep = ","; in lagg_status()
|
/dragonfly/contrib/gdb-7/gdb/python/lib/gdb/command/ |
H A D | type_printers.py | 47 sep = '' 50 print ("%sType printers for %s:" % (sep, objfile.name)) 52 sep = '\n' 54 print ("%sType printers for program space:" % sep) 56 sep = '\n' 58 print ("%sGlobal type printers:" % sep)
|
/dragonfly/usr.sbin/yp_mkdb/ |
H A D | yp_mkdb.c | 251 char *sep = NULL; in main() local 255 if ((sep = strchr(buf, '\n'))) in main() 256 *sep = '\0'; in main() 262 if ((sep = strchr(buf, '\n'))) in main() 263 *sep = '\0'; in main() 267 if ((sep = strpbrk(buf, " \t")) == NULL) { in main() 274 datbuf = sep + 1; in main() 275 *sep = '\0'; in main()
|
/dragonfly/contrib/tcsh-6/ |
H A D | tw.comp.c | 410 for (sp = str; *sp && *sp != sep;) in tw_dollar() 430 if (*sp++ == sep) { in tw_dollar() 437 stderror(ERR_COMPMIS, (int)sep, msg, short2str(str)); in tw_dollar() 524 Char sep; /* the command and separator characters */ in tw_complete() local 552 sep = ptr[1]; in tw_complete() 553 if (!Ispunct(sep)) { in tw_complete() 555 stderror(ERR_COMPINV, CGETS(27, 2, "separator"), (int)sep); in tw_complete() 559 ptr = tw_dollar(&ptr[2], wl, wordno, &ran, sep, in tw_complete() 569 ptr = tw_dollar(ptr, wl, wordno, &com, sep, in tw_complete() 574 if (*ptr == sep) in tw_complete() [all …]
|
/dragonfly/contrib/nvi2/ex/ |
H A D | ex_screen.c | 101 int cnt, col, len, sep; in ex_sdisplay() local 109 col = len = sep = 0; in ex_sdisplay() 112 col += len = strlen(tsp->frp->name) + sep; in ex_sdisplay() 115 sep = 0; in ex_sdisplay() 118 sep = 1; in ex_sdisplay()
|
/dragonfly/contrib/lvm2/dist/lib/filters/ |
H A D | filter-regex.c | 31 char sep, *r, *ptr; in _extract_pattern() local 56 sep = ')'; in _extract_pattern() 60 sep = ']'; in _extract_pattern() 64 sep = '}'; in _extract_pattern() 68 sep = *pat; in _extract_pattern() 82 if (*ptr != sep) { in _extract_pattern()
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | unwind-ia64.c | 48 int sep = 0; in unw_print_brmask() local 55 if (sep) in unw_print_brmask() 59 sep = 1; in unw_print_brmask() 69 int sep = 0; in unw_print_grmask() local 76 if (sep) in unw_print_grmask() 80 sep = 1; in unw_print_grmask() 90 int sep = 0; in unw_print_frmask() local 97 if (sep) in unw_print_frmask() 107 sep = 1; in unw_print_frmask() 202 sep = ","; \ [all …]
|
/dragonfly/usr.bin/tset/ |
H A D | wrterm.c | 49 char *t, *sep; in wrtermcap() local 57 sep = strdup(""); in wrtermcap() 60 (void)printf("%s%s", sep, p); in wrtermcap() 61 sep = strdup("|"); in wrtermcap()
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | unwind-ia64.c | 47 int sep = 0; in unw_print_brmask() local 54 if (sep) in unw_print_brmask() 58 sep = 1; in unw_print_brmask() 68 int sep = 0; in unw_print_grmask() local 75 if (sep) in unw_print_grmask() 79 sep = 1; in unw_print_grmask() 89 int sep = 0; in unw_print_frmask() local 96 if (sep) in unw_print_frmask() 106 sep = 1; in unw_print_frmask() 201 sep = ","; \ [all …]
|
/dragonfly/usr.bin/unzip/ |
H A D | unzip.c | 349 char *sep; in make_parent() local 351 sep = strrchr(path, '/'); in make_parent() 352 if (sep == NULL || sep == path) in make_parent() 354 *sep = '\0'; in make_parent() 357 *sep = '/'; in make_parent() 364 *sep = '/'; in make_parent() 367 for (sep = path; (sep = strchr(sep, '/')) != NULL; sep++) { in make_parent() 369 if (sep == path) in make_parent() 371 *sep = '\0'; in make_parent() 373 *sep = '/'; in make_parent()
|
/dragonfly/contrib/diffutils/src/ |
H A D | side.c | 201 print_1sdiff_line (char const *const *left, char sep, in print_1sdiff_line() argument 211 if (sep == '<') in print_1sdiff_line() 216 else if (sep == '>') in print_1sdiff_line() 228 if (sep != ' ') in print_1sdiff_line() 231 if (sep == '|' && put_newline != (right[1][-1] == '\n')) in print_1sdiff_line() 232 sep = put_newline ? '/' : '\\'; in print_1sdiff_line() 233 putc (sep, out); in print_1sdiff_line()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | gcov-dump.c | 377 char const *sep = NULL; in tag_lines() local 390 sep = NULL; in tag_lines() 393 if (!sep) in tag_lines() 398 sep = ""; in tag_lines() 402 printf ("%s%u", sep, lineno); in tag_lines() 403 sep = ", "; in tag_lines() 407 printf ("%s`%s'", sep, source); in tag_lines() 408 sep = ":"; in tag_lines()
|
/dragonfly/contrib/bmake/mk/ |
H A D | meta2deps.sh | 119 sep=' ' 124 "|") sep="$1"; shift;; 134 case "$sep$list$sep" in 135 *"$sep$top$suffix$sep"*) continue;; 137 list="${list:+$list$sep}$top$suffix"
|