Searched refs:new_path (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/filesystems/fat/ |
A D | run_fat_tests.sh | 45 local new_path="${MNT_PATH}/new_file" 48 echo new | sudo tee "${new_path}" >/dev/null 2>&1 49 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1 52 grep old "${new_path}" >/dev/null 2>&1 60 local new_path="${dir_path}/new_file" 64 echo new | sudo tee "${new_path}" >/dev/null 2>&1 65 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1 68 grep old "${new_path}" >/dev/null 2>&1
|
/tools/lib/subcmd/ |
A D | exec-cmd.c | 151 char *new_path = NULL; in setup_path() local 154 add_path(&new_path, tmp); in setup_path() 155 add_path(&new_path, argv0_path); in setup_path() 159 astrcat(&new_path, old_path); in setup_path() 161 astrcat(&new_path, "/usr/local/bin:/usr/bin:/bin"); in setup_path() 163 setenv("PATH", new_path, 1); in setup_path() 165 free(new_path); in setup_path()
|
/tools/perf/util/ |
A D | debuginfo.h | 56 char **new_path); 60 char **new_path __maybe_unused) in get_source_from_debuginfod()
|
A D | debuginfo.c | 185 const char *sbuild_id, char **new_path) in get_source_from_debuginfod() argument 195 0, p, new_path); in get_source_from_debuginfod() 205 pr_debug("Got a source %s\n", *new_path); in get_source_from_debuginfod()
|
A D | probe-finder.h | 51 const char *comp_dir, char **new_path);
|
A D | probe-finder.c | 1904 const char *comp_dir, char **new_path) in find_source_path() argument 1913 if (!get_source_from_debuginfod(prefixed_raw_path, sbuild_id, new_path)) in find_source_path() 1923 *new_path = strdup(raw_path); in find_source_path() 1924 return *new_path ? 0 : -ENOMEM; in find_source_path() 1930 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); in find_source_path() 1931 if (!*new_path) in find_source_path() 1935 sprintf(*new_path, "%s/%s", prefix, raw_path); in find_source_path() 1937 if (access(*new_path, R_OK) == 0) in find_source_path() 1942 zfree(new_path); in find_source_path() 1953 zfree(new_path); in find_source_path() [all …]
|
/tools/perf/ |
A D | builtin-help.c | 332 char *new_path; in setup_man_path() local 339 if (asprintf(&new_path, "%s:%s", system_path(PERF_MAN_PATH), old_path ?: "") > 0) { in setup_man_path() 340 setenv("MANPATH", new_path, 1); in setup_man_path() 341 free(new_path); in setup_man_path()
|
Completed in 18 milliseconds