Home
last modified time | relevance | path

Searched refs:exec_path (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/tools/lib/subcmd/
Dexec-cmd.c21 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()
Dhelp.c199 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()
Dexec-cmd.h6 const char *exec_path, const char *exec_path_env);
8 extern void set_argv_exec_path(const char *exec_path);
Dsubcmd-config.h8 const char *exec_path; member
Dsubcmd-config.c9 .exec_path = UNDEFINED,
/kernel/liteos_a/apps/mksh/
DBUILD.gn46 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/
DBUILD.gn55 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/
Dbuiltin-test.c510 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/
DBUILD.gn35 exec_path = rebase_path(".", root_build_dir)
/kernel/liteos_a/
DBUILD.gn419 exec_path = rebase_path(root_out_dir)
431 exec_path = rebase_path(".", root_build_dir)
/kernel/uniproton/
DBUILD.gn270 exec_path = rebase_path(root_out_dir)
/kernel/liteos_m/
DBUILD.gn215 exec_path = rebase_path(root_out_dir)