Searched refs:sep (Results 1 - 25 of 485) sorted by relevance

1234567891011>>

/netbsd-current/external/mit/libuv/dist/src/
H A Dstrtok.h25 char* uv__strtok(char* str, const char* sep, char** itr);
H A Dstrtok.c25 char* uv__strtok(char* str, const char* sep, char** itr) { argument
39 sep_itr = sep;
/netbsd-current/usr.sbin/inetd/
H A Dparse.c134 struct servtab *sep, *cp; local
159 for (sep = servtab; sep != NULL; sep = sep->se_next)
160 if (is_same_service(sep, cp))
162 if (sep != NULL) {
168 * sep->se_wait may be holding the pid of a daemon
174 (sep->se_wait == 1 || cp->se_wait == 0))
175 sep
340 struct servtab *sep; local
386 struct servtab *sep = &serv; local
894 print_service(const char *action, struct servtab *sep) argument
939 struct servtab *sep; local
956 struct servtab *sep, **sepp = &servtab; local
982 is_same_service(const struct servtab *sep, const struct servtab *cp) argument
993 parse_protocol(struct servtab *sep) argument
1059 parse_wait(struct servtab *sep, int wait) argument
1085 parse_server(struct servtab *sep, const char *arg) argument
1102 parse_accept_filter(char *arg, struct servtab *sep) argument
1131 parse_socktype(char* arg, struct servtab* sep) argument
[all...]
H A Dratelimit.c77 rl_process(struct servtab *sep, int ctrl) argument
82 SERV_PARAMS(sep));
84 "%zu and se_count %zu", SERV_PARAMS(sep),
85 sep->se_service_max, sep->se_count);
87 if (sep->se_count == 0) {
89 sep->se_time = now;
92 if (!rl_process_service_max(sep, ctrl, &now)
93 || !rl_process_ip_max(sep, ctrl, &now)) {
97 DPRINTF(SERV_FMT ": running service ", SERV_PARAMS(sep));
109 rl_get_name(struct servtab *sep, int ctrl, union addr *out) argument
188 rl_drop_connection(struct servtab *sep, int ctrl) argument
239 rl_add(struct servtab *sep, union addr *addr) argument
304 rl_reset(struct servtab *sep, time_t now) argument
317 rl_clear_ip_list(struct servtab *sep) argument
328 rl_try_get_ip(struct servtab *sep, union addr *addr) argument
343 rl_process_service_max(struct servtab *sep, int ctrl, time_t *now) argument
386 rl_process_ip_max(struct servtab *sep, int ctrl, time_t *now) argument
458 rl_ip_eq(struct servtab *sep, union addr *addr, struct rl_ip_node *cur) argument
504 rl_node_tostring(struct servtab *sep, struct rl_ip_node *node, char buffer[NI_MAXHOST]) argument
523 rl_print_found_node(struct servtab *sep, struct rl_ip_node *node) argument
533 rl_log_address_exceed(struct servtab *sep, struct rl_ip_node *node) argument
[all...]
H A Dparse_v2.c149 parse_syntax_v2(struct servtab *sep, char **cpp) argument
158 switch(parse_invoke_handler(&is_valid_definition, cpp, sep)) {
172 if (is_valid_definition && fill_default_values(sep)) {
202 fill_default_values(struct servtab *sep) argument
206 if (sep->se_service_max == SERVTAB_UNSPEC_SIZE_T) {
208 sep->se_service_max = TOOMANY;
211 if (sep->se_hostaddr == NULL) {
213 sep->se_hostaddr = newstr(defhost);
216 try_infer_socktype(sep);
218 if (sep
258 setup_ipsec(struct servtab *sep) argument
272 try_infer_socktype(struct servtab *sep) argument
286 setup_internal(struct servtab *sep) argument
302 infer_protocol_ip_version(struct servtab *sep) argument
554 parse_invoke_handler(bool *is_valid_definition, char **cpp, struct servtab *sep) argument
649 is_internal(struct servtab *sep) argument
660 unknown_handler(struct servtab *sep, vlist values) argument
668 bind_handler(struct servtab *sep, vlist values) argument
685 socket_type_handler(struct servtab *sep, vlist values) argument
711 filter_handler(struct servtab *sep, vlist values) argument
751 protocol_handler(struct servtab *sep, vlist values) argument
817 send_buf_handler(struct servtab *sep, vlist values) argument
852 recv_buf_handler(struct servtab *sep, vlist values) argument
887 wait_handler(struct servtab *sep, vlist values) argument
933 service_max_handler(struct servtab *sep, vlist values) argument
970 ip_max_handler(struct servtab *sep, vlist values) argument
1007 user_handler(struct servtab *sep, vlist values) argument
1033 group_handler(struct servtab *sep, vlist values) argument
1054 exec_handler(struct servtab *sep, vlist values) argument
1086 args_handler(struct servtab *sep, vlist values) argument
1121 ipsec_handler(struct servtab *sep, vlist values) argument
[all...]
H A Dinetd.c410 struct servtab *sep; local
441 sep = (struct servtab *)ev->udata;
443 if ((int)ev->ident != sep->se_fd)
445 DPRINTF(SERV_FMT ": service requested" , SERV_PARAMS(sep));
446 if (sep->se_wait == 0 && sep->se_socktype == SOCK_STREAM) {
448 ctrl = accept(sep->se_fd, NULL, NULL);
450 SERV_PARAMS(sep), ctrl);
455 SERV_PARAMS(sep));
459 ctrl = sep
466 spawn(struct servtab *sep, int ctrl) argument
517 run_service(int ctrl, struct servtab *sep, int didfork) argument
640 struct servtab *sep; local
672 struct servtab *sep; local
695 struct servtab *sep; local
723 setup(struct servtab *sep) argument
846 close_sep(struct servtab *sep) argument
860 register_rpc(struct servtab *sep) argument
898 unregister_rpc(struct servtab *sep) argument
1159 echo_stream(int s, struct servtab *sep) argument
1172 echo_dg(int s, struct servtab *sep) argument
1194 discard_stream(int s, struct servtab *sep) argument
1206 discard_dg(int s, struct servtab *sep) argument
1232 chargen_stream(int s, struct servtab *sep) argument
1262 chargen_dg(int s, struct servtab *sep) argument
1324 machtime_stream(int s, struct servtab *sep) argument
1334 machtime_dg(int s, struct servtab *sep) argument
1356 daytime_stream(int s,struct servtab *sep) argument
1371 daytime_dg(int s, struct servtab *sep) argument
1440 tcpmux(int ctrl, struct servtab *sep) argument
1608 try_biltin(struct servtab *sep) argument
[all...]
H A Dinetd.h106 #define ISMUXPLUS(sep) ((sep)->se_type == MUXPLUS_TYPE)
107 #define ISMUX(sep) (((sep)->se_type == MUX_TYPE) || ISMUXPLUS(sep))
147 #define SERV_PARAMS(sep) sep->se_service,sep->se_proto
164 #define isrpcservice(sep) ((sep)
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dfilenamecat-lgpl.c53 char sep = '\0'; local
58 sep = '/';
67 sep = '.';
70 char *p_concat = malloc (dirlen + (sep != '\0') + baselen + 1);
78 *p = sep;
79 p += sep != '\0';
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dfilenamecat-lgpl.c54 char sep = '\0'; local
59 sep = '/';
68 sep = '.';
71 char *p_concat = malloc (dirlen + (sep != '\0') + baselen + 1);
79 *p = sep;
80 p += sep != '\0';
/netbsd-current/external/bsd/pkg_install/dist/lib/
H A Dopattern.c55 char *sep; local
63 if ((sep = strchr(pattern, '{')) == (char *) NULL) {
66 (void) strncpy(buf, pattern, (size_t) (sep - pattern));
67 alt = &buf[sep - pattern];
69 for (cnt = 0, cp = sep; *cp && last == (char *) NULL; cp++) {
79 for (found = 0, cp = sep + 1; *sep != '}'; cp = sep + 1) {
80 for (cnt = 0, sep = cp; cnt > 0 || (cnt == 0 && *sep !
[all...]
/netbsd-current/sys/arch/sparc/sparc/
H A Dcache_print.h54 const char *sep = ""; local
58 printf("%s%dK instruction (%d b/l)", sep,
60 sep = ", ";
63 printf("%s%dK data (%d b/l)", sep,
/netbsd-current/tests/lib/libc/regex/
H A Dtest_regex.h41 int split(char *string, char *fields[], int nfields, const char *sep);
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dargv_split_at.c11 /* ARGV *argv_split_at(string, sep)
13 /* int sep;
15 /* ARGV *argv_split_at_count(string, sep, count)
17 /* int sep;
20 /* ARGV *argv_split_at_append(argv, string, sep)
23 /* int sep;
72 ARGV *argv_split_at(const char *string, int sep) argument
79 while ((arg = split_at(bp, sep)) != 0) {
91 ARGV *argv_split_at_count(const char *string, int sep, ssize_t count) argument
100 while (count-- > 1 && (arg = split_at(bp, sep)) !
112 argv_split_at_append(ARGV *argvp, const char *string, int sep) argument
[all...]
H A Dmystrtok.c103 char *mystrtok(char **src, const char *sep) argument
105 return (mystrtok_cw(src, sep, (char *) 0));
110 char *mystrtok_cw(char **src, const char *sep, const char *blame) argument
118 start += strspn(start, sep);
127 end = start + strcspn(start, sep);
144 char *mystrtokq(char **src, const char *sep, const char *parens) argument
146 return (mystrtokq_cw(src, sep, parens, (char *) 0));
151 char *mystrtokq_cw(char **src, const char *sep, const char *parens, argument
162 start += strspn(start, sep);
176 } else if (level == 0 && strchr(sep, c
195 mystrtokdq(char **src, const char *sep) argument
202 mystrtokdq_cw(char **src, const char *sep, const char *blame) argument
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/src/
H A Dgmock-matchers.cc237 const char* sep = ""; local
239 os << sep << "\n ("
242 sep = ",";
272 const char* sep = ""; local
274 ss << sep; local
278 sep = ";";
307 const char* sep = ""; local
309 *os << sep; local
317 sep = ", and\n";
319 sep
348 const char* sep = ""; local
350 *os << sep; local
386 const char* sep = local
400 const char* sep = local
450 const char* sep = "where:\\n"; local
[all...]
/netbsd-current/usr.sbin/bta2dpd/bta2dpd/
H A Davdtp_signal.h112 uint8_t sep; member in struct:avdtp_sepInfo
120 *sep);
123 void avdtpGetCapabilities(int fd, int recvfd, uint8_t sep);
125 caplen, uint8_t sep, u_int8_t *freq, u_int8_t *mode, u_int8_t *alloc_method,
127 int avdtpSetConfiguration(int fd, int recvfd, uint8_t sep, uint8_t *data,
129 void avdtpOpen(int fd, int recvfd, uint8_t sep);
130 void avdtpStart(int fd, int recvfd, uint8_t sep);
131 void avdtpClose(int fd, int recvfd, uint8_t sep);
132 void avdtpSuspend(int fd, int recvfd, uint8_t sep);
133 void avdtpAbort(int fd, int recvfd, uint8_t sep);
[all...]
/netbsd-current/usr.sbin/cpuctl/arch/
H A Dsparc64.c51 const char *sep; local
91 sep = "";
93 printf("%s%ldK instruction (%ld b/l)", sep,
96 sep = ", ";
99 printf("%s%ldK data (%ld b/l)", sep,
102 sep = ", ";
106 printf("%s%ldK external (%ld b/l)", sep,
/netbsd-current/lib/libc/stdio/
H A Dfgetstr.c50 __fgetstr(FILE *__restrict fp, size_t *__restrict lenp, int sep) argument
57 n = __getdelim(&_EXT(fp)->_fgetstr_buf, &_EXT(fp)->_fgetstr_len, sep, fp);
/netbsd-current/external/bsd/openldap/dist/libraries/librewrite/
H A Drewrite.c50 char *string, *sep, *result = NULL; local
65 for ( sep = strchr( rewriteContext, ',' );
67 rewriteContext = sep,
68 sep ? sep = strchr( rewriteContext, ',' ) : NULL )
72 if ( sep != NULL ) {
73 sep[ 0 ] = '\0';
74 sep++;
/netbsd-current/usr.bin/systat/
H A Dswap.c163 struct swapent *sep; local
168 for (sep = swap_devices, i = 0; i < nswap; i++, sep++) {
169 p = strrchr(sep->se_path, '/');
170 p = p ? p+1 : sep->se_path;
175 mvwprintw(wnd, i + 1, col, "%*d", hlen, sep->se_nblks / blk_div);
178 xsize = sep->se_nblks;
179 used = sep->se_inuse;
/netbsd-current/external/bsd/ntp/dist/scripts/stats/
H A Detf.S9 cat("\n", file=file2 , append=TRUE, fill=FALSE, sep="")
10 cat(file1, "\n", file=file2, append=TRUE, fill=FALSE, sep="")
11 cat("etf1 ", count, ", T ", mean, " ns, R ", slope, " ps/s, std ", std, " us\n", file=file2, append=TRUE, fill=FALSE, sep="")
12 str <- paste("eps/", file1, ".eps", sep="")
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_version_details.c81 const char *sep = strchr(p, ','); local
82 if (sep == NULL)
83 sep = p + strlen(p);
85 archive_strncat(&str, p, sep - p);
/netbsd-current/sbin/swapctl/
H A Dswaplist.c59 struct swapent *sep, *fsep; local
73 fsep = sep = (struct swapent *)malloc(nswap * sizeof(*sep));
74 if (sep == NULL)
76 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap);
114 for (i = rnswap; i-- > 0; sep++)
115 if ((size_t)pathmax < (l = strlen(sep->se_path)))
117 sep = fsep;
123 for (; rnswap-- > 0; sep++) {
124 if (pflag && sep
[all...]
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_screen.c111 int cnt, sep; local
120 col = len = sep = 0;
123 col += len = strlen(tsp->frp->name) + sep;
126 sep = 0;
129 sep = 1;
/netbsd-current/sys/arch/ews4800mips/stand/common/
H A Dcmd.c73 int i, argc, sep; local
97 sep = 0;
101 sep = 1;
102 } else if (sep) {
103 sep = 0;

Completed in 231 milliseconds

1234567891011>>