Home
last modified time | relevance | path

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

/u-boot/common/
A Dcli_simple.c187 char *sep; /* end of token (separator) in cmdbuf */ in cli_simple_run_command() local
223 for (inquotes = 0, sep = str; *sep; sep++) { in cli_simple_run_command()
224 if ((*sep == '\'') && in cli_simple_run_command()
225 (*(sep - 1) != '\\')) in cli_simple_run_command()
229 (*sep == ';') && /* separator */ in cli_simple_run_command()
230 (sep != str) && /* past string start */ in cli_simple_run_command()
231 (*(sep - 1) != '\\')) /* and NOT escaped */ in cli_simple_run_command()
239 if (*sep) { in cli_simple_run_command()
240 str = sep + 1; /* start of command for next pass */ in cli_simple_run_command()
241 *sep = '\0'; in cli_simple_run_command()
[all …]
A Dcommand.c306 static void print_argv(const char *banner, const char *leader, const char *sep, in print_argv() argument
310 int sl = sep != NULL ? strlen(sep) : 0; in print_argv()
326 } else if (sep) in print_argv()
327 puts(sep); in print_argv()
364 const char *sep; in cmd_auto_complete() local
408 sep = NULL; in cmd_auto_complete()
418 sep = " "; in cmd_auto_complete()
444 if (sep != NULL) in cmd_auto_complete()
446 *t++ = sep[i]; in cmd_auto_complete()
451 if (sep == NULL) in cmd_auto_complete()
A Dcli_hush.c2761 char *sep; local
2769 sep = strchr(src, ':');
2771 if (sep) {
2772 *sep = '\0';
2774 default_val = sep+2;
2776 default_val = sep+2;
2780 default_val = sep+2;
2803 if (sep)
2804 *sep = ':';
2835 char sep[]=" "; local
[all …]
A Dimage-fit.c47 const char *sep; in fit_parse_spec() local
52 sep = strchr(spec, sepc); in fit_parse_spec()
53 if (sep) { in fit_parse_spec()
54 if (sep - spec > 0) in fit_parse_spec()
57 *name = sep + 1; in fit_parse_spec()
/u-boot/cmd/
A Dbootmenu.c286 char *sep; in bootmenu_create() local
303 sep = strchr(option, '='); in bootmenu_create()
304 if (!sep) { in bootmenu_create()
313 len = sep-option; in bootmenu_create()
322 len = strlen(sep + 1); in bootmenu_create()
329 memcpy(entry->command, sep + 1, len); in bootmenu_create()
435 char *option, *sep; in bootmenu_show() local
444 sep = strchr(option, '='); in bootmenu_show()
445 if (!sep) { in bootmenu_show()
449 run_command(sep+1, 0); in bootmenu_show()
A Dnvedit.c963 char sep = '\n'; in do_env_export() local
976 sep = '\0'; in do_env_export()
981 sep = '\0'; in do_env_export()
992 sep = '\n'; in do_env_export()
1013 if (sep) { /* export as text file */ in do_env_export()
1014 len = hexport_r(&env_htab, sep, in do_env_export()
1092 char sep = '\n'; in do_env_import() local
1109 sep = '\0'; in do_env_import()
1114 sep = '\0'; in do_env_import()
1120 sep = '\n'; in do_env_import()
[all …]
A Defidebug.c289 static const char sep[] = "================"; variable
320 printf("%.*s ====================\n", EFI_HANDLE_WIDTH, sep); in do_efi_show_devices()
402 EFI_HANDLE_WIDTH, sep); in do_efi_show_drivers()
592 printf("%.*s ====================\n", EFI_HANDLE_WIDTH, sep); in do_efi_show_handles()
689 int sep, i; in print_memory_attributes() local
691 for (sep = 0, i = 0; i < ARRAY_SIZE(efi_mem_attrs); i++) in print_memory_attributes()
693 if (sep) { in print_memory_attributes()
697 sep = 1; in print_memory_attributes()
743 EFI_PHYS_ADDR_WIDTH, sep, EFI_PHYS_ADDR_WIDTH, sep); in do_efi_show_memmap()
/u-boot/scripts/dtc/libfdt/
A Dfdt_overlay.c449 char *sep, *endptr; in overlay_fixup_phandle() local
461 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle()
462 if (!sep || *sep != ':') in overlay_fixup_phandle()
465 path_len = sep - path; in overlay_fixup_phandle()
470 name = sep + 1; in overlay_fixup_phandle()
471 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle()
472 if (!sep || *sep != ':') in overlay_fixup_phandle()
475 name_len = sep - name; in overlay_fixup_phandle()
479 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle()
480 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
/u-boot/drivers/sysreset/
A Dsysreset_mpc83xx.c155 char *sep; in mpc83xx_sysreset_get_status() local
167 sep = " "; in mpc83xx_sysreset_get_status()
171 res = snprintf(buf, size, "%s%s%s", sep, bits[i].desc, in mpc83xx_sysreset_get_status()
180 sep = ", "; in mpc83xx_sysreset_get_status()
/u-boot/include/
A Dsearch.h95 ssize_t hexport_r(struct hsearch_data *htab, const char sep, int flag,
103 const char sep, int flag, int crlf_is_lf, int nvars,
/u-boot/lib/
A Dhashtable.c610 ssize_t hexport_r(struct hsearch_data *htab, const char sep, int flag, in hexport_r() argument
648 if (sep == '\0') { in hexport_r()
656 if ((*s == sep) || (*s == '\\')) in hexport_r()
717 if ((*s == sep) || (*s == '\\')) in hexport_r()
721 *p++ = sep; in hexport_r()
801 const char *env, size_t size, const char sep, int flag, in himport_r() argument
899 while (*dp && (*dp != sep)) in himport_r()
906 for (name = dp; *dp != '=' && *dp && *dp != sep; ++dp) in himport_r()
911 *dp == sep || *(dp + 1) == sep) { in himport_r()
928 for (value = sp = dp; *dp && (*dp != sep); ++dp) { in himport_r()
/u-boot/tools/
A Dmkimage.c493 char *sep = NULL; in main() local
496 if ((sep = strchr(file, ':')) != NULL) { in main()
497 *sep = '\0'; in main()
521 if (sep) { in main()
522 *sep = ':'; in main()
523 file = sep + 1; in main()
532 char *sep = strchr(file, ':'); in main() local
533 if (sep) { in main()
534 *sep = '\0'; in main()
536 *sep++ = ':'; in main()
[all …]
/u-boot/arch/powerpc/cpu/mpc83xx/
A Dcpu_init.c428 char *sep; in prt_83xx_rsr() local
432 sep = " "; in prt_83xx_rsr()
435 printf("%s%s", sep, bits[i].desc); in prt_83xx_rsr()
436 sep = ", "; in prt_83xx_rsr()
/u-boot/arch/mips/mach-octeon/
A Dbootoctlinux.c227 char *sep; in octeon_parse_nodes() local
231 values[node] = simple_strtoull(str, &sep, base); in octeon_parse_nodes()
233 str = sep + 1; in octeon_parse_nodes()
234 } while (++node < CVMX_MAX_NODES && *sep == ','); in octeon_parse_nodes()
/u-boot/drivers/video/
A Dvideomodes.c119 video_get_param_len(const char *start, char sep) in video_get_param_len() argument
122 while ((*start != 0) && (*start != sep)) { in video_get_param_len()
/u-boot/doc/sphinx/
A Dkernel_feat.py107 srctree + os.sep + "scripts",
A Dkernel_abi.py105 srctree + os.sep + "scripts",
A Dkernel_include.py66 if path.startswith(os.sep + "etc"):
A Dkfigure.py93 fname = folder + os.sep + cmd
/u-boot/tools/dtoc/
A Dfdt.py309 sep = '' if self.path[-1] == '/' else '/'
311 path = self.path + sep + name
/u-boot/scripts/
A Dcheckpatch.pl3746 my $sep = '';
3753 $err .= "$sep$ctx\n";
3754 $sep = '';
3756 $sep = "[...]\n";
/u-boot/tools/buildman/
A Dkconfiglib.py968 self._srctree_prefix = realpath(self.srctree) + os.sep
6382 sym_path = path + os.sep + sym_name.lower().replace("_", os.sep) + ".h"

Completed in 48 milliseconds