Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_ftp.c199 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
207 if (data[i] == delim) { in get_port()
228 char delim; in try_eprt() local
237 delim = data[0]; in try_eprt()
238 if (isdigit(delim) || delim < 33 || delim > 126 || data[2] != delim) { in try_eprt()
249 pr_debug("EPRT: Got %c%c%c\n", delim, data[1], delim); in try_eprt()
255 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
262 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
269 return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); in try_eprt()
277 char delim; in try_epsv_response() local
[all …]
H A Dnf_conntrack_expect.c611 char *delim = ""; in exp_seq_show() local
628 delim = ","; in exp_seq_show()
631 seq_printf(s, "%sINACTIVE", delim); in exp_seq_show()
632 delim = ","; in exp_seq_show()
635 seq_printf(s, "%sUSERSPACE", delim); in exp_seq_show()
/OK3568_Linux_fs/kernel/tools/power/x86/turbostat/
H A Dturbostat.c739 void print_header(char *delim) in print_header() argument
745 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
747 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
749 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
751 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header()
753 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
755 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
757 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
759 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
761 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
[all …]
/OK3568_Linux_fs/external/xserver/hw/kdrive/src/
H A Dkdrive.c182 KdParseFindNext(const char *cur, const char *delim, char *save, char *last) in KdParseFindNext() argument
184 while (*cur && !strchr(delim, *cur)) { in KdParseFindNext()
219 char delim; in KdParseScreen() local
243 arg = KdParseFindNext(arg, "x/+@XY", save, &delim); in KdParseScreen()
250 if (delim == '/') { in KdParseScreen()
251 arg = KdParseFindNext(arg, "x+@XY", save, &delim); in KdParseScreen()
265 if (delim != 'x' && delim != '+' && delim != '@' && in KdParseScreen()
266 delim != 'X' && delim != 'Y' && in KdParseScreen()
267 (delim != '\0' || i == 0)) in KdParseScreen()
277 if (delim == '+') { in KdParseScreen()
[all …]
H A Dkinput.c941 char delim; in KdParseKeyboard() local
967 arg = KdParseFindNext(arg, ",", save, &delim); in KdParseKeyboard()
979 if (delim != ',') { in KdParseKeyboard()
983 arg = KdParseFindNext(arg, ",", save, &delim); in KdParseKeyboard()
985 while (delim == ',') { in KdParseKeyboard()
986 arg = KdParseFindNext(arg, ",", save, &delim); in KdParseKeyboard()
1049 char delim; in KdParsePointer() local
1074 arg = KdParseFindNext(arg, ",", save, &delim); in KdParsePointer()
1086 if (delim != ',') { in KdParsePointer()
1090 arg = KdParseFindNext(arg, ",", save, &delim); in KdParsePointer()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H A Dcgroup_util.c165 const char delim[] = "\n"; in cg_read_lc() local
172 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in cg_read_lc()
195 const char delim[] = "\n\t "; in cg_find_unified_root() local
204 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
205 mount = strtok(NULL, delim); in cg_find_unified_root()
206 type = strtok(NULL, delim); in cg_find_unified_root()
207 strtok(NULL, delim); in cg_find_unified_root()
208 strtok(NULL, delim); in cg_find_unified_root()
209 strtok(NULL, delim); in cg_find_unified_root()
498 const char delim[] = "\n"; in is_swap_enabled() local
[all …]
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcache.c59 char *delim, *dst; in extract_sharename() local
66 delim = strchr(src, '\\'); in extract_sharename()
67 if (!delim) in extract_sharename()
69 delim++; in extract_sharename()
70 len = strlen(delim); in extract_sharename()
73 dst = kstrndup(delim, len, GFP_KERNEL); in extract_sharename()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_modes.c1542 static int drm_mode_parse_cmdline_int(const char *delim, unsigned int *int_ret) in drm_mode_parse_cmdline_int() argument
1552 if (*delim != '=') in drm_mode_parse_cmdline_int()
1555 value = delim + 1; in drm_mode_parse_cmdline_int()
1565 static int drm_mode_parse_panel_orientation(const char *delim, in drm_mode_parse_panel_orientation() argument
1570 if (*delim != '=') in drm_mode_parse_panel_orientation()
1573 value = delim + 1; in drm_mode_parse_panel_orientation()
1574 delim = strchr(value, ','); in drm_mode_parse_panel_orientation()
1575 if (!delim) in drm_mode_parse_panel_orientation()
1576 delim = value + strlen(value); in drm_mode_parse_panel_orientation()
1578 if (!strncmp(value, "normal", delim - value)) in drm_mode_parse_panel_orientation()
[all …]
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Daddr.c162 const size_t buflen, const char *delim, in rpc_parse_scope_id() argument
170 if ((buf + buflen) == delim) in rpc_parse_scope_id()
173 if (*delim != IPV6_SCOPE_DELIMITER) in rpc_parse_scope_id()
179 len = (buf + buflen) - delim - 1; in rpc_parse_scope_id()
183 memcpy(p, delim + 1, len); in rpc_parse_scope_id()
204 const char *delim; in rpc_pton6() local
212 if (in6_pton(buf, buflen, addr, IPV6_SCOPE_DELIMITER, &delim) == 0) in rpc_pton6()
215 if (!rpc_parse_scope_id(net, buf, buflen, delim, sin6)) in rpc_pton6()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/pysh/
H A Dpyshlex.py154 def _is_escapable(self, c, delim=None): argument
155 if delim is None:
159 delim = '"'
163 delim = self._stack[-2][0]
165 escapables = self.ESCAPABLE.get(delim, None)
424 def __init__(self, op, delim): argument
426 if not delim:
427 raise ShellSyntaxError('invalid here document delimiter %s' % str(delim))
430 self._delim = delim
719 for token, type, delim in heredoc.pendings:
[all …]
/OK3568_Linux_fs/kernel/fs/afs/
H A Daddr_list.c65 char delim, in afs_parse_text_addrs() argument
76 _enter("%*.*s,%c", (int)len, (int)len, text, delim); in afs_parse_text_addrs()
83 if (delim == ':' && (memchr(text, ',', len) || !memchr(text, '.', len))) in afs_parse_text_addrs()
84 delim = ','; in afs_parse_text_addrs()
93 if (*p == delim) in afs_parse_text_addrs()
112 p = memchr(p, delim, end - p); in afs_parse_text_addrs()
141 if (*p == delim) { in afs_parse_text_addrs()
151 if (*q == '+' || *q == delim) in afs_parse_text_addrs()
191 } else if (*p == delim) { in afs_parse_text_addrs()
/OK3568_Linux_fs/kernel/net/core/
H A Dnetpoll.c525 char *cur=opt, *delim; in netpoll_parse_options() local
530 if ((delim = strchr(cur, '@')) == NULL) in netpoll_parse_options()
532 *delim = 0; in netpoll_parse_options()
535 cur = delim; in netpoll_parse_options()
541 if ((delim = strchr(cur, '/')) == NULL) in netpoll_parse_options()
543 *delim = 0; in netpoll_parse_options()
549 cur = delim; in netpoll_parse_options()
555 if ((delim = strchr(cur, ',')) == NULL) in netpoll_parse_options()
557 *delim = 0; in netpoll_parse_options()
559 cur = delim; in netpoll_parse_options()
[all …]
H A Dutils.c86 static inline int xdigit2bin(char c, int delim) in xdigit2bin() argument
90 if (c == delim || c == '\0') in xdigit2bin()
101 if (delim == -1) in xdigit2bin()
120 int delim, const char **end) in in4_pton() argument
136 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in4_pton()
186 int delim, const char **end) in in6_pton() argument
206 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in6_pton()
249 ret = in4_pton(tok ? tok : s, srclen + (int)(s - tok), d, delim, &s); in in6_pton()
/OK3568_Linux_fs/kernel/drivers/mtd/parsers/
H A Dcmdlinepart.c94 char delim; in newpart() local
113 delim = 0; in newpart()
123 delim = ')'; in newpart()
125 if (delim) { in newpart()
129 p = strchr(name, delim); in newpart()
131 pr_err("no closing %c found in partition name\n", delim); in newpart()
/OK3568_Linux_fs/u-boot/tools/
H A Dmingw_support.c88 char *strtok_r(char *s, const char *delim, char **save_ptr) in strtok_r() argument
96 s += strspn(s, delim); in strtok_r()
104 s = strpbrk (token, delim); in strtok_r()
H A Dmingw_support.h43 char *strtok_r(char *s, const char *delim, char **save_ptr);
/OK3568_Linux_fs/u-boot/env/
H A Dattr.c284 const char *delim; in env_attr_lookup() local
294 delim = strpbrk(entry, delims); in env_attr_lookup()
295 if (delim == NULL) in env_attr_lookup()
298 len = delim - entry; in env_attr_lookup()
/OK3568_Linux_fs/kernel/include/linux/
H A Dinet.h53 extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
54 extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_output.c65 trace_print_flags_seq(struct trace_seq *p, const char *delim, in trace_print_flags_seq() argument
82 if (!first && delim) in trace_print_flags_seq()
83 trace_seq_puts(p, delim); in trace_print_flags_seq()
91 if (!first && delim) in trace_print_flags_seq()
92 trace_seq_puts(p, delim); in trace_print_flags_seq()
129 trace_print_flags_seq_u64(struct trace_seq *p, const char *delim, in trace_print_flags_seq_u64() argument
146 if (!first && delim) in trace_print_flags_seq_u64()
147 trace_seq_puts(p, delim); in trace_print_flags_seq_u64()
155 if (!first && delim) in trace_print_flags_seq_u64()
156 trace_seq_puts(p, delim); in trace_print_flags_seq_u64()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/fusion/sequence/io/detail/
H A Dout.hpp31 print(OS& os, char const* delim, mpl::false_ = mpl::false_()) in print()
34 manip.print(delim); in print()
/OK3568_Linux_fs/kernel/arch/s390/boot/
H A Dipl_parm.c121 char *parm, *delim; in append_ipl_block_parm() local
126 delim = early_command_line + len; /* '\0' character position */ in append_ipl_block_parm()
144 *delim = ' '; /* replace '\0' with space */ in append_ipl_block_parm()
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py17 def define_flag_field(event_name, field_name, delim): argument
18 flag_fields[event_name][field_name]['delim'] = delim
/OK3568_Linux_fs/kernel/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.pm90 my ($event_name, $field_name, $delim) = @_;
92 $flag_fields{$event_name}{$field_name}{"delim"} = $delim;
/OK3568_Linux_fs/kernel/include/trace/
H A Dtrace_events.h289 #define __print_flags(flag, delim, flag_array...) \ argument
293 trace_print_flags_seq(p, delim, flag, __flags); \
307 #define __print_flags_u64(flag, delim, flag_array...) \ argument
311 trace_print_flags_seq_u64(p, delim, flag, __flags); \
321 #define __print_flags_u64(flag, delim, flag_array...) \ argument
322 __print_flags(flag, delim, flag_array)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/csscolorparser/
H A Dcsscolorparser.cpp169 std::vector<std::string> split(const std::string& s, char delim) { in split() argument
173 while (std::getline(ss, item, delim)) { in split()

123456