Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/common/
H A Dcli_simple.c179 char *sep; /* end of token (separator) in cmdbuf */ in cli_simple_run_command() local
215 for (inquotes = 0, sep = str; *sep; sep++) { in cli_simple_run_command()
216 if ((*sep == '\'') && in cli_simple_run_command()
217 (*(sep - 1) != '\\')) in cli_simple_run_command()
221 (*sep == ';') && /* separator */ in cli_simple_run_command()
222 (sep != str) && /* past string start */ in cli_simple_run_command()
223 (*(sep - 1) != '\\')) /* and NOT escaped */ in cli_simple_run_command()
231 if (*sep) { in cli_simple_run_command()
232 str = sep + 1; /* start of command for next pass */ in cli_simple_run_command()
233 *sep = '\0'; in cli_simple_run_command()
[all …]
H A Dcommand.c270 static void print_argv(const char *banner, const char *leader, const char *sep, int linemax, char *… in print_argv() argument
273 int sl = sep != NULL ? strlen(sep) : 0; in print_argv()
289 } else if (sep) in print_argv()
290 puts(sep); in print_argv()
327 const char *sep; in cmd_auto_complete() local
361 sep = NULL; in cmd_auto_complete()
367 sep = " "; in cmd_auto_complete()
389 if (sep != NULL) in cmd_auto_complete()
391 *t++ = sep[i]; in cmd_auto_complete()
396 if (sep == NULL) in cmd_auto_complete()
H A Dcli_hush.c2772 char *sep; local
2780 sep = strchr(src, ':');
2782 if (sep) {
2783 *sep = '\0';
2784 if (*(sep + 1) == '-')
2785 default_val = sep+2;
2786 if (*(sep + 1) == '=') {
2787 default_val = sep+2;
2790 if (*(sep + 1) == '+') {
2791 default_val = sep+2;
[all …]
H A Dimage-fit.c48 const char *sep; in fit_parse_spec() local
53 sep = strchr(spec, sepc); in fit_parse_spec()
54 if (sep) { in fit_parse_spec()
55 if (sep - spec > 0) in fit_parse_spec()
58 *name = sep + 1; in fit_parse_spec()
/rk3399_rockchip-uboot/cmd/
H A Dbootmenu.c256 char *sep; in bootmenu_create() local
268 sep = strchr(option, '='); in bootmenu_create()
269 if (!sep) { in bootmenu_create()
278 len = sep-option; in bootmenu_create()
287 len = strlen(sep + 1); in bootmenu_create()
294 memcpy(entry->command, sep + 1, len); in bootmenu_create()
366 char *option, *sep; in bootmenu_show() local
375 sep = strchr(option, '='); in bootmenu_show()
376 if (!sep) { in bootmenu_show()
380 run_command(sep+1, 0); in bootmenu_show()
H A Dnvedit.c1274 char sep = '\n'; in do_env_export() local
1287 sep = '\0'; in do_env_export()
1292 sep = '\0'; in do_env_export()
1303 sep = '\n'; in do_env_export()
1324 if (sep) { /* export as text file */ in do_env_export()
1325 len = hexport_r(&env_htab, sep, in do_env_export()
1391 char sep = '\n'; in do_env_import() local
1407 sep = '\0'; in do_env_import()
1412 sep = '\0'; in do_env_import()
1418 sep = '\n'; in do_env_import()
[all …]
/rk3399_rockchip-uboot/scripts/dtc/libfdt/
H A Dfdt_overlay.c442 char *sep, *endptr; in overlay_fixup_phandle() local
454 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle()
455 if (!sep || *sep != ':') in overlay_fixup_phandle()
458 path_len = sep - path; in overlay_fixup_phandle()
463 name = sep + 1; in overlay_fixup_phandle()
464 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle()
465 if (!sep || *sep != ':') in overlay_fixup_phandle()
468 name_len = sep - name; in overlay_fixup_phandle()
472 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle()
473 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
/rk3399_rockchip-uboot/tools/
H A Dmkimage.c475 char *sep = NULL; in main() local
478 if ((sep = strchr(file, ':')) != NULL) { in main()
479 *sep = '\0'; in main()
503 if (sep) { in main()
504 *sep = ':'; in main()
505 file = sep + 1; in main()
514 char *sep = strchr(file, ':'); in main() local
515 if (sep) { in main()
516 *sep = '\0'; in main()
518 *sep++ = ':'; in main()
[all …]
/rk3399_rockchip-uboot/lib/
H A Dhashtable.c590 ssize_t hexport_r(struct hsearch_data *htab, const char sep, int flag, in hexport_r() argument
628 if (sep == '\0') { in hexport_r()
636 if ((*s == sep) || (*s == '\\')) in hexport_r()
697 if ((*s == sep) || (*s == '\\')) in hexport_r()
701 *p++ = sep; in hexport_r()
778 const char *env, size_t size, const char sep, int flag, in himport_r() argument
871 while (*dp && (*dp != sep)) in himport_r()
878 for (name = dp; *dp != '=' && *dp && *dp != sep; ++dp) in himport_r()
883 *dp == sep || *(dp + 1) == sep) { in himport_r()
900 for (value = sp = dp; *dp && (*dp != sep); ++dp) { in himport_r()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/
H A Dcpu_init.c490 char *sep; in prt_83xx_rsr() local
494 sep = " "; in prt_83xx_rsr()
497 printf("%s%s", sep, bits[i].desc); in prt_83xx_rsr()
498 sep = ", "; in prt_83xx_rsr()
/rk3399_rockchip-uboot/drivers/video/
H A Dvideomodes.c118 video_get_param_len(const char *start, char sep) in video_get_param_len() argument
121 while ((*start != 0) && (*start != sep)) { in video_get_param_len()
/rk3399_rockchip-uboot/tools/dtoc/
H A Dfdt.py222 sep = '' if self.path[-1] == '/' else '/'
224 path = self.path + sep + name
/rk3399_rockchip-uboot/scripts/
H A Dcheckpatch.pl3327 my $sep = '';
3334 $err .= "$sep$ctx\n";
3335 $sep = '';
3337 $sep = "[...]\n";