Home
last modified time | relevance | path

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

1234

/openbmc/linux/lib/
H A Dtest_scanf.c401 static void __init numbers_list_ll(const char *delim) in numbers_list_ll() argument
403 numbers_list_8(unsigned long long, "%llu", delim, "llu", check_ull); in numbers_list_ll()
404 numbers_list_8(long long, "%lld", delim, "lld", check_ll); in numbers_list_ll()
405 numbers_list_8(long long, "%lld", delim, "lli", check_ll); in numbers_list_ll()
406 numbers_list_8(unsigned long long, "%llx", delim, "llx", check_ull); in numbers_list_ll()
407 numbers_list_8(unsigned long long, "0x%llx", delim, "llx", check_ull); in numbers_list_ll()
408 numbers_list_8(long long, "0x%llx", delim, "lli", check_ll); in numbers_list_ll()
411 static void __init numbers_list_l(const char *delim) in numbers_list_l() argument
413 numbers_list_8(unsigned long, "%lu", delim, "lu", check_ulong); in numbers_list_l()
414 numbers_list_8(long, "%ld", delim, "ld", check_long); in numbers_list_l()
[all …]
/openbmc/linux/fs/smb/client/
H A Dunc.c21 char *dst, *delim; in extract_hostname() local
34 delim = strchr(src, '\\'); in extract_hostname()
35 if (!delim) in extract_hostname()
38 len = delim - src; in extract_hostname()
52 char *delim, *dst; in extract_sharename() local
58 delim = strchr(src, '\\'); in extract_sharename()
59 if (!delim) in extract_sharename()
61 delim++; in extract_sharename()
64 dst = kstrdup(delim, GFP_KERNEL); in extract_sharename()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_ftp.c195 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
203 if (data[i] == delim) { in get_port()
224 char delim; in try_eprt() local
233 delim = data[0]; in try_eprt()
234 if (isdigit(delim) || delim < 33 || delim > 126 || data[2] != delim) { in try_eprt()
245 pr_debug("EPRT: Got %c%c%c\n", delim, data[1], delim); in try_eprt()
251 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
258 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
265 return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); in try_eprt()
273 char delim; in try_epsv_response() local
[all …]
/openbmc/openbmc-test-automation/bin/
H A Dgen_list.sh54 local delim="${3:-${default_delim}}"
72 __rle_new_list__="${__rle_new_list__//${delim}${1}${delim}/${delim}}"
77 __rle_new_list__="${__rle_new_list__%${delim}${1}}"
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c832 void print_header(char *delim) in print_header() argument
838 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
840 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
842 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
844 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header()
846 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
848 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
850 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
852 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
854 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
[all …]
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.c162 const char delim[] = "\n"; in cg_read_lc() local
169 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in cg_read_lc()
202 const char delim[] = "\n\t "; in cg_find_unified_root() local
211 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
212 mount = strtok(NULL, delim); in cg_find_unified_root()
213 type = strtok(NULL, delim); in cg_find_unified_root()
214 options = strtok(NULL, delim); in cg_find_unified_root()
215 strtok(NULL, delim); in cg_find_unified_root()
216 strtok(NULL, delim); in cg_find_unified_root()
513 const char delim[] = "\n"; in is_swap_enabled() local
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_modes.c2092 static int drm_mode_parse_cmdline_int(const char *delim, unsigned int *int_ret) in drm_mode_parse_cmdline_int() argument
2102 if (*delim != '=') in drm_mode_parse_cmdline_int()
2105 value = delim + 1; in drm_mode_parse_cmdline_int()
2115 static int drm_mode_parse_panel_orientation(const char *delim, in drm_mode_parse_panel_orientation() argument
2120 if (*delim != '=') in drm_mode_parse_panel_orientation()
2123 value = delim + 1; in drm_mode_parse_panel_orientation()
2124 delim = strchr(value, ','); in drm_mode_parse_panel_orientation()
2125 if (!delim) in drm_mode_parse_panel_orientation()
2126 delim = value + strlen(value); in drm_mode_parse_panel_orientation()
2128 if (!strncmp(value, "normal", delim - value)) in drm_mode_parse_panel_orientation()
[all …]
/openbmc/linux/include/trace/stages/
H A Dstage3_trace_output.h67 #define __print_flags(flag, delim, flag_array...) \ argument
71 trace_print_flags_seq(p, delim, flag, __flags); \
85 #define __print_flags_u64(flag, delim, flag_array...) \ argument
89 trace_print_flags_seq_u64(p, delim, flag, __flags); \
99 #define __print_flags_u64(flag, delim, flag_array...) \ argument
100 __print_flags(flag, delim, flag_array)
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/openbmc/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 …]
/openbmc/linux/net/core/
H A Dnetpoll.c543 char *cur=opt, *delim; in netpoll_parse_options() local
548 if ((delim = strchr(cur, '@')) == NULL) in netpoll_parse_options()
550 *delim = 0; in netpoll_parse_options()
553 cur = delim; in netpoll_parse_options()
559 if ((delim = strchr(cur, '/')) == NULL) in netpoll_parse_options()
561 *delim = 0; in netpoll_parse_options()
567 cur = delim; in netpoll_parse_options()
573 if ((delim = strchr(cur, ',')) == NULL) in netpoll_parse_options()
575 *delim = 0; in netpoll_parse_options()
577 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()
/openbmc/linux/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()
/openbmc/u-boot/tools/
H A Dmingw_support.c85 char *strtok_r(char *s, const char *delim, char **save_ptr) in strtok_r() argument
93 s += strspn(s, delim); in strtok_r()
101 s = strpbrk (token, delim); in strtok_r()
/openbmc/pyphosphor/obmc/utils/
H A Ddtree.py60 delim = ' '
63 delim = ','
70 fd.write(delim)
/openbmc/openbmc-test-automation/lib/
H A Dvar_funcs.py200 def parse_key_value(string, delim=":", strip=" ", to_lower=1, underscores=1): argument
238 pair = string.split(delim)
244 value = delim.join(pair[1:]).strip(strip)
352 delim = args.get("delim", ":")
369 if any(delim in word for word in sub_list):
386 if any(delim in word for word in sub_list):
/openbmc/linux/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);
/openbmc/u-boot/env/
H A Dattr.c283 const char *delim; in env_attr_lookup() local
293 delim = strpbrk(entry, delims); in env_attr_lookup()
294 if (delim == NULL) in env_attr_lookup()
297 len = delim - entry; in env_attr_lookup()
/openbmc/bmcweb/include/
H A Dstr_utility.hpp18 char delim) in split() argument
24 end = str.find(delim, start); in split()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/procmail/procmail/
H A DCVE-2014-3618.patch17 case '"':*target++=delim='"';start++;
22 if((i= *target++= *start++)==delim) /* corresponding delimiter? */
/openbmc/hiomapd/
H A Dmboxctl.c249 char *delim = NULL; in handle_cmd_backend() local
292 delim = strchr(sarg, ':'); in handle_cmd_backend()
293 if (delim) { in handle_cmd_backend()
296 path = realpath(delim + 1, NULL); in handle_cmd_backend()
H A Dmboxd.c342 const char *delim; in mboxd_backend_init() local
357 delim = strchr(context->source, ':'); in mboxd_backend_init()
358 path = delim ? delim + 1 : NULL; in mboxd_backend_init()
/openbmc/linux/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
/openbmc/linux/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;

1234