Searched refs:exec_path (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
D | exec-cmd.c | 21 const char *exec_path, const char *exec_path_env) in exec_cmd_init() argument 25 subcmd_config.exec_path = exec_path; in exec_cmd_init() 103 void set_argv_exec_path(const char *exec_path) in set_argv_exec_path() argument 105 argv_exec_path = exec_path; in set_argv_exec_path() 109 setenv(subcmd_config.exec_path_env, exec_path, 1); in set_argv_exec_path() 125 return system_path(subcmd_config.exec_path); in get_argv_exec_path()
|
D | help.c | 199 char *exec_path = get_argv_exec_path(); in load_command_list() local 201 if (exec_path) { in load_command_list() 202 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list() 214 if (!exec_path || strcmp(path, exec_path)) in load_command_list() 227 free(exec_path); in load_command_list() 244 char *exec_path = get_argv_exec_path(); in list_commands() local 245 printf("available %s in '%s'\n", title, exec_path); in list_commands() 247 mput_char('-', strlen(title) + strlen(exec_path)); in list_commands() 251 free(exec_path); in list_commands()
|
D | exec-cmd.h | 6 const char *exec_path, const char *exec_path_env); 8 extern void set_argv_exec_path(const char *exec_path);
|
D | subcmd-config.h | 8 const char *exec_path; member
|
D | subcmd-config.c | 9 .exec_path = UNDEFINED,
|
/kernel/liteos_a/apps/mksh/ |
D | BUILD.gn | 46 exec_path = rebase_path("$target_out_dir/mksh_build") 87 command += rebase_path("$root_out_dir/bin", exec_path) 89 command += rebase_path("$root_out_dir/unstripped/bin/mksh", exec_path) 91 command += rebase_path("$root_out_dir/bin/mksh", exec_path) 93 command += rebase_path("$root_out_dir/etc/.mkshrc", exec_path)
|
/kernel/liteos_a/apps/toybox/ |
D | BUILD.gn | 55 exec_path = rebase_path("$target_out_dir/toybox_build") 76 command += rebase_path("$root_out_dir/bin/toybox", exec_path) 78 command += rebase_path("$root_out_dir/unstripped/bin/toybox", exec_path)
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | builtin-test.c | 510 char *exec_path; in shell_tests__dir() local 523 exec_path = get_argv_exec_path(); in shell_tests__dir() 524 scnprintf(path, size, "%s/tests/shell", exec_path); in shell_tests__dir() 525 free(exec_path); in shell_tests__dir()
|
/kernel/linux/build/ |
D | BUILD.gn | 35 exec_path = rebase_path(".", root_build_dir)
|
/kernel/liteos_a/ |
D | BUILD.gn | 419 exec_path = rebase_path(root_out_dir) 431 exec_path = rebase_path(".", root_build_dir)
|
/kernel/uniproton/ |
D | BUILD.gn | 270 exec_path = rebase_path(root_out_dir)
|
/kernel/liteos_m/ |
D | BUILD.gn | 215 exec_path = rebase_path(root_out_dir)
|