Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 25 of 192) sorted by relevance

12345678

/dragonfly/usr.sbin/inetd/
HDinetd.c146 #define ISWRAP(sep) \ argument
147 ( ((wrap_ex && !(sep)->se_bi) || (wrap_bi && (sep)->se_bi)) \
148 && (sep->se_family == AF_INET || sep->se_family == AF_INET6) \
149 && ( ((sep)->se_accept && (sep)->se_socktype == SOCK_STREAM) \
150 || (sep)->se_socktype == SOCK_DGRAM))
206 void unregisterrpc(struct servtab *sep);
207 static struct conninfo *search_conn(struct servtab *sep, int ctrl);
208 static int room_conn(struct servtab *sep, struct conninfo *conn);
212 static void resize_conn(struct servtab *sep, int maxperip);
213 static void free_connlist(struct servtab *sep);
[all …]
HDbuiltins.c121 chargen_dg(int s, struct servtab *sep) /* Character generator */ in chargen_dg() argument
139 if (check_loop((struct sockaddr *)&ss, sep)) in chargen_dg()
157 chargen_stream(int s, struct servtab *sep) /* Character generator */ in chargen_stream() argument
162 inetd_setproctitle(sep->se_service, s); in chargen_stream()
193 daytime_dg(int s, struct servtab *sep) /* Return human-readable time of day */ in daytime_dg() argument
207 if (check_loop((struct sockaddr *)&ss, sep)) in daytime_dg()
216 daytime_stream(int s, struct servtab *sep __unused) /* Return human-readable time of day */ in daytime_stream()
234 discard_dg(int s, struct servtab *sep __unused) /* Discard service -- ignore data */ in discard_dg()
243 discard_stream(int s, struct servtab *sep) /* Discard service -- ignore data */ in discard_stream() argument
248 inetd_setproctitle(sep->se_service, s); in discard_stream()
[all …]
HDinetd.h48 #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/
HDstrtok.c124 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/
HDprint-ahcp.c142 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
189 ND_PRINT("%s%s/%u", sep, GET_IP6ADDR_STRING(cp), GET_U_1(cp + 16)); in ahcp_ipv6_prefixes_print()
192 sep = ", "; in ahcp_ipv6_prefixes_print()
205 const char *sep = ": "; in ahcp_ipv4_prefixes_print() local
[all …]
/dragonfly/contrib/grep/lib/
HDfilenamecat-lgpl.c53 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/
HDsnprintb.c49 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()
HDhumanize_number.c51 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/
HDdriver_roboswitch.c210 char *sep; in wpa_driver_roboswitch_set_param() local
213 sep = drv->ifname + os_strlen(drv->ifname); in wpa_driver_roboswitch_set_param()
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()
[all …]
/dragonfly/lib/libc/db/btree/
HDbt_debug.c58 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
158 fprintf(stderr, "%s%s", sep, name); \ in __bt_dpage()
[all …]
/dragonfly/contrib/tcp_wrappers/
HDworkarounds.c270 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/
HDiflagg.c129 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/
HDtype_printers.py47 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/
HDyp_mkdb.c251 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/
HDtw.comp.c403 tw_dollar(const Char *str, Char **wl, size_t nwl, Char **result, Char sep, in tw_dollar() argument
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()
[all …]
/dragonfly/contrib/nvi2/ex/
HDex_screen.c101 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/
HDfilter-regex.c31 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/
HDunwind-ia64.c48 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()
192 char regname[16], maskstr[64], *sep; \
[all …]
/dragonfly/usr.bin/tset/
HDwrterm.c49 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/
HDunwind-ia64.c47 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()
191 char regname[16], maskstr[64], *sep; \
[all …]
/dragonfly/usr.bin/unzip/
HDunzip.c349 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/gcc-4.7/gcc/
HDgcov-dump.c377 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/
HDmeta2deps.sh119 sep=' '
124 "|") sep="$1"; shift;;
134 case "$sep$list$sep" in
135 *"$sep$top$suffix$sep"*) continue;;
137 list="${list:+$list$sep}$top$suffix"
/dragonfly/lib/libu4bhid/
HDusage.c220 const char *sep; in hid_parse_usage_in_page() local
224 sep = strchr(name, ':'); in hid_parse_usage_in_page()
225 if (sep == NULL) in hid_parse_usage_in_page()
227 l = sep - name; in hid_parse_usage_in_page()
233 sep++; in hid_parse_usage_in_page()
235 if (strcmp(pages[k].page_contents[j].name, sep) == 0) in hid_parse_usage_in_page()
/dragonfly/contrib/cvs-1.12/diff/
HDside.c176 print_1sdiff_line (left, sep, right) in print_1sdiff_line() argument
178 int sep;
192 if (sep != ' ')
197 if (sep == '|' && put_newline != (right[1][-1] == '\n'))
198 sep = put_newline ? '/' : '\\';
199 cc = sep;

12345678