Home
last modified time | relevance | path

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

123456789

/openbmc/linux/drivers/parport/
H A Dprobe.c66 char *sep; in parse_data() local
69 sep = strchr(p, ':'); in parse_data()
70 if (sep) { in parse_data()
72 *(sep++) = 0; in parse_data()
74 u = sep + strlen (sep) - 1; in parse_data()
80 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data()
83 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
89 string_upper(sep, sep); in parse_data()
91 if (!strcmp(classes[i].token, sep)) { in parse_data()
97 port->name, sep); in parse_data()
[all …]
/openbmc/linux/samples/pktgen/
H A Dfunctions.sh185 local sep=: sep2=::
203 [[ ${addr:0:1} == $sep ]] && addr=0${addr}
204 [[ ${addr: -1} == $sep ]] && addr=${addr}0
217 local addr sep
230 [[ $IP6 ]] && sep=: || sep=.
231 IFS=$sep read -a addr <<< $net
278 local ip sep
281 [[ $IP6 ]] && sep=: || sep=.
282 IFS=$sep read -ra ip <<< $net
299 min_ip=$(IFS=$sep; echo "${min[*]}")
[all …]
/openbmc/u-boot/common/
H A Dcli_simple.c178 char *sep; /* end of token (separator) in cmdbuf */ in cli_simple_run_command() local
214 for (inquotes = 0, sep = str; *sep; sep++) { in cli_simple_run_command()
215 if ((*sep == '\'') && in cli_simple_run_command()
216 (*(sep - 1) != '\\')) in cli_simple_run_command()
220 (*sep == ';') && /* separator */ in cli_simple_run_command()
221 (sep != str) && /* past string start */ in cli_simple_run_command()
222 (*(sep - 1) != '\\')) /* and NOT escaped */ in cli_simple_run_command()
230 if (*sep) { in cli_simple_run_command()
231 str = sep + 1; /* start of command for next pass */ in cli_simple_run_command()
232 *sep = '\0'; in cli_simple_run_command()
[all …]
H A Dcommand.c298 static void print_argv(const char *banner, const char *leader, const char *sep, int linemax, char *… in print_argv() argument
301 int sl = sep != NULL ? strlen(sep) : 0; in print_argv()
317 } else if (sep) in print_argv()
318 puts(sep); in print_argv()
355 const char *sep; in cmd_auto_complete() local
394 sep = NULL; in cmd_auto_complete()
404 sep = " "; in cmd_auto_complete()
430 if (sep != NULL) in cmd_auto_complete()
432 *t++ = sep[i]; in cmd_auto_complete()
437 if (sep == NULL) in cmd_auto_complete()
/openbmc/qemu/tests/tcg/s390x/
H A Dclst.c5 static int clst(char sep, const char **s1, const char **s2) in clst() argument
12 register int r0 asm("r0") = sep; in clst()
29 char sep; member
37 .sep = 0,
45 .sep = 1,
53 .sep = 2,
72 cc = clst(t->sep, &s1, &s2); in main()
/openbmc/openbmc/meta-phosphor/classes/
H A Dobmc-phosphor-utils.bbclass1 def set_doappend(d, var, val, sep=' '):
2 values = (d.getVar(var, True) or '').split(sep)
4 d.appendVar(var, '%s%s' %(sep, val))
9 def listvar_to_list(d, list_var, sep=' '):
10 return list(filter(bool, (d.getVar(list_var, True) or '').split(sep)))
18 return (kw.get('sep') or ' ').join(lst)
25 return (kw.get('sep') or ' ').join(lst)
H A Dfit-image.bbclass386 sep=""
414 sep=", "
420 sep=", "
426 sep=", "
432 sep=", "
437 conf_desc="$conf_desc${sep}setup"
468 sep=""
472 sep=", "
477 sep=", "
482 sep=", "
[all …]
/openbmc/linux/tools/perf/ui/tui/
H A Dutil.c85 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local
87 if (sep == NULL) in ui_browser__input_window()
88 sep = strchr(t, '\0'); in ui_browser__input_window()
89 len = sep - t; in ui_browser__input_window()
93 if (*sep == '\0') in ui_browser__input_window()
95 t = sep + 1; in ui_browser__input_window()
178 if (sep == NULL) in __ui__info_window()
179 sep = strchr(t, '\0'); in __ui__info_window()
180 len = sep - t; in __ui__info_window()
184 if (*sep == '\0') in __ui__info_window()
[all …]
/openbmc/linux/arch/sh/kernel/
H A Dnmi_debug.c47 char *p, *sep; in nmi_debug_setup() local
54 for (p = str + 1; *p; p = sep + 1) { in nmi_debug_setup()
55 sep = strchr(p, ','); in nmi_debug_setup()
56 if (sep) in nmi_debug_setup()
57 *sep = 0; in nmi_debug_setup()
69 if (!sep) in nmi_debug_setup()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_debugfs.c37 seq_putc(m, *sep); in __seq_print_rq_state_bit()
39 *sep = '|'; in __seq_print_rq_state_bit()
43 *sep = '|'; in __seq_print_rq_state_bit()
57 char sep = ' '; in seq_print_request_state() local
66 sep = ' '; in seq_print_request_state()
71 if (sep == ' ') in seq_print_request_state()
76 sep = ' '; in seq_print_request_state()
83 if (sep == ' ') in seq_print_request_state()
87 sep = ' '; in seq_print_request_state()
91 if (sep == ' ') in seq_print_request_state()
[all …]
/openbmc/pyphosphor/obmc/utils/
H A Dmisc.py18 def org_dot_openbmc_match_strings(sep='.', prefix=''): argument
24 return [prefix + sep.join(y) for y in matches]
27 def org_dot_openbmc_match(name, sep='.', prefix=''): argument
28 names = org_dot_openbmc_match_strings(sep=sep, prefix=prefix)
/openbmc/linux/scripts/dtc/
H A Dfdtput.c153 const char *sep; in create_paths() local
160 for (sep = path; *sep; path = sep + 1, offset = node) { in create_paths()
162 sep = strchr(path, '/'); in create_paths()
163 if (!sep) in create_paths()
164 sep = path + strlen(path); in create_paths()
167 sep - path); in create_paths()
170 sep - path); in create_paths()
173 report_error(path, sep - path, node); in create_paths()
/openbmc/linux/tools/perf/ui/stdio/
H A Dhist.c417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local
434 if (!sep || !first) { in __hist_entry__snprintf()
462 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() local
484 if (!sep || !first) { in hist_entry__hierarchy_fprintf()
499 if (!sep) in hist_entry__hierarchy_fprintf()
624 if (sep != NULL || indent < 2) in print_hierarchy_indent()
642 const char *sep = symbol_conf.field_sep; in hists__fprintf_hierarchy_headers() local
692 fprintf(fp, "%s", sep ?: ".."); in hists__fprintf_hierarchy_headers()
741 fprintf(fp, "%s", sep ?: " "); in fprintf_line()
772 if (sep) in hists__fprintf_standard_headers()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Djson_writer.c25 char sep; /* either nul or comma */ member
49 if (self->sep != '\0') in jsonw_eor()
50 putc(self->sep, self->out); in jsonw_eor()
51 self->sep = ','; in jsonw_eor()
97 self->sep = '\0'; in jsonw_new()
122 self->sep = '\0'; in jsonw_reset()
131 self->sep = '\0'; in jsonw_begin()
139 if (self->sep != '\0') in jsonw_end()
142 self->sep = ','; in jsonw_end()
151 self->sep = '\0'; in jsonw_name()
/openbmc/linux/tools/bpf/bpftool/
H A Djson_writer.c25 char sep; /* either nul or comma */ member
49 if (self->sep != '\0') in jsonw_eor()
50 putc(self->sep, self->out); in jsonw_eor()
51 self->sep = ','; in jsonw_eor()
97 self->sep = '\0'; in jsonw_new()
122 self->sep = '\0'; in jsonw_reset()
131 self->sep = '\0'; in jsonw_begin()
139 if (self->sep != '\0') in jsonw_end()
142 self->sep = ','; in jsonw_end()
151 self->sep = '\0'; in jsonw_name()
/openbmc/linux/tools/perf/util/
H A Dintlist.c97 char *sep; in intlist__parse_list() local
101 unsigned long value = strtol(s, &sep, 10); in intlist__parse_list()
103 if (*sep != ',' && *sep != '\0') in intlist__parse_list()
108 s = sep + 1; in intlist__parse_list()
109 } while (*sep != '\0'); in intlist__parse_list()
/openbmc/linux/fs/smb/client/
H A Ddns_resolve.c34 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local
52 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip()
53 if (sep) in dns_resolve_server_name_to_ip()
54 len = sep - hostname; in dns_resolve_server_name_to_ip()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0005-crashdump-elf.c-work-around-for-sysconf-_SC_NPROCESS.patch56 + char sep;
60 + /* int n = fscanf(file, "%u%c", &cpu, &sep); */
65 + n = sscanf(line, "%u%c", &cpu, &sep);
72 + sep = '\n';
78 + } else if (sep == '-')
83 + if (sep == '\n')
/openbmc/u-boot/cmd/
H A Dbootmenu.c255 char *sep; in bootmenu_create() local
272 sep = strchr(option, '='); in bootmenu_create()
273 if (!sep) { in bootmenu_create()
282 len = sep-option; in bootmenu_create()
291 len = strlen(sep + 1); in bootmenu_create()
298 memcpy(entry->command, sep + 1, len); in bootmenu_create()
376 char *option, *sep; in bootmenu_show() local
385 sep = strchr(option, '='); in bootmenu_show()
386 if (!sep) { in bootmenu_show()
390 run_command(sep+1, 0); in bootmenu_show()
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/oelib/
H A Dtypes.py41 def assertListEqual(self, value, valid, sep=None): argument
42 obj = create(value, 'list', separator=sep)
44 if sep is not None:
45 self.assertEqual(obj.separator, sep)
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_overlay.c493 char *sep, *endptr; in overlay_fixup_phandle() local
505 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle()
506 if (!sep || *sep != ':') in overlay_fixup_phandle()
509 path_len = sep - path; in overlay_fixup_phandle()
514 name = sep + 1; in overlay_fixup_phandle()
515 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle()
516 if (!sep || *sep != ':') in overlay_fixup_phandle()
519 name_len = sep - name; in overlay_fixup_phandle()
523 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle()
524 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
/openbmc/linux/scripts/dtc/libfdt/
H A Dfdt_overlay.c434 char *sep, *endptr; in overlay_fixup_phandle() local
446 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle()
447 if (!sep || *sep != ':') in overlay_fixup_phandle()
450 path_len = sep - path; in overlay_fixup_phandle()
455 name = sep + 1; in overlay_fixup_phandle()
456 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle()
457 if (!sep || *sep != ':') in overlay_fixup_phandle()
460 name_len = sep - name; in overlay_fixup_phandle()
464 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle()
465 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/
H A Dpyshlex.py203 if sep=='"':
217 pos, sep = find_chars(buf, chars)
222 if (result[0]=='$(' and sep==')') or (result[0]=='`' and sep=='`'):
223 result += [sep]
237 if sep=='}':
238 result += [sep]
244 sep = result[0]
245 if sep=='$':
284 sep = result[0]
285 if sep=='$(':
[all …]
/openbmc/linux/tools/perf/scripts/python/
H A Dstackcollapse.py113 sep = "-"
115 comm = comm + sep + str(param_dict['sample']['pid'])
116 sep = "/"
118 comm = comm + sep + str(param_dict['sample']['tid'])
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpath.py189 return (file + os.path.sep).startswith(root)
196 for d in rel_path.split(os.path.sep):
249 if not root.endswith(os.path.sep):
251 root = root + os.path.sep
283 if not pth_abs.endswith(os.sep):
284 pth_abs += os.sep
329 def canonicalize(paths, sep=','): argument
344 for path in (paths or '').split(sep):
349 return sep.join(canonical_paths)

123456789