Home
last modified time | relevance | path

Searched refs:new_path (Results 1 – 18 of 18) sorted by relevance

/external/lldb/source/Target/
DPathMappingList.cpp181 PathMappingList::RemapPath (const ConstString &path, ConstString &new_path) const in RemapPath()
197 new_path.SetCString(new_path_str.c_str()); in RemapPath()
205 PathMappingList::RemapPath (const char *path, std::string &new_path) const in RemapPath()
217 new_path = pos->second.GetCString(); in RemapPath()
218 new_path.append(path + prefix_len); in RemapPath()
231 char new_path[PATH_MAX]; in FindFile() local
244 …const size_t new_path_len = snprintf(new_path, sizeof(new_path), "%s/%s", pos->second.GetCString()… in FindFile()
245 if (new_path_len < sizeof(new_path)) in FindFile()
247 new_spec.SetFile (new_path, true); in FindFile()
261 PathMappingList::Replace (const ConstString &path, const ConstString &new_path, bool notify) in Replace() argument
[all …]
DProcess.cpp535 std::string new_path("PATH=\""); in ConvertArgumentsForLaunchingInShell() local
536 const size_t empty_path_len = new_path.size(); in ConvertArgumentsForLaunchingInShell()
540 new_path += working_dir; in ConvertArgumentsForLaunchingInShell()
547 new_path += cwd; in ConvertArgumentsForLaunchingInShell()
552 if (new_path.size() > empty_path_len) in ConvertArgumentsForLaunchingInShell()
553 new_path += ':'; in ConvertArgumentsForLaunchingInShell()
554 new_path += curr_path; in ConvertArgumentsForLaunchingInShell()
556 new_path += "\" "; in ConvertArgumentsForLaunchingInShell()
557 shell_command.PutCString(new_path.c_str()); in ConvertArgumentsForLaunchingInShell()
/external/linux-tools-perf/src/tools/perf/util/
Dexec_cmd.c85 struct strbuf new_path = STRBUF_INIT; in setup_path() local
87 add_path(&new_path, perf_exec_path()); in setup_path()
88 add_path(&new_path, argv0_path); in setup_path()
91 strbuf_addstr(&new_path, old_path); in setup_path()
93 strbuf_addstr(&new_path, "/usr/local/bin:/usr/bin:/bin"); in setup_path()
95 setenv("PATH", new_path.buf, 1); in setup_path()
97 strbuf_release(&new_path); in setup_path()
Dprobe-event.c367 char **new_path) in get_real_path() argument
377 *new_path = strdup(raw_path); in get_real_path()
384 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); in get_real_path()
385 if (!*new_path) in get_real_path()
389 sprintf(*new_path, "%s/%s", prefix, raw_path); in get_real_path()
391 if (access(*new_path, R_OK) == 0) in get_real_path()
405 free(*new_path); in get_real_path()
406 *new_path = NULL; in get_real_path()
412 free(*new_path); in get_real_path()
413 *new_path = NULL; in get_real_path()
/external/lldb/include/lldb/Target/
DPathMappingList.h72 GetPathsAtIndex (uint32_t idx, ConstString &path, ConstString &new_path) const;
97 RemapPath (const ConstString &path, ConstString &new_path) const;
117 RemapPath (const char *path, std::string &new_path) const;
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-help.c312 struct strbuf new_path = STRBUF_INIT; in setup_man_path() local
319 strbuf_addstr(&new_path, system_path(PERF_MAN_PATH)); in setup_man_path()
320 strbuf_addch(&new_path, ':'); in setup_man_path()
322 strbuf_addstr(&new_path, old_path); in setup_man_path()
324 setenv("MANPATH", new_path.buf, 1); in setup_man_path()
326 strbuf_release(&new_path); in setup_man_path()
/external/compiler-rt/test/asan/Unit/
Dlit.site.cfg.in9 def push_ld_library_path(config, new_path):
11 (new_path, config.environment.get('LD_LIBRARY_PATH', '')))
/external/ipsec-tools/src/racoon/
Dremoteconf.c640 vchar_t *new_path; local
652 if ((new_path = vmalloc(len)) == NULL) {
658 new_path->v[0] = '\0';
659 (void)strlcat(new_path->v, script_dir, len);
660 (void)strlcat(new_path->v, "/", len);
661 (void)strlcat(new_path->v, path->v, len);
664 path = new_path;
/external/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwin.cpp336 char new_path[PATH_MAX]; in GetSharedModule() local
340 …arch_path_len = module_search_paths_ptr->GetFileSpecAtIndex(i).GetPath(new_path, sizeof(new_path)); in GetSharedModule()
341 if (search_path_len < sizeof(new_path)) in GetSharedModule()
343 …snprintf (new_path + search_path_len, sizeof(new_path) - search_path_len, "/%s", platform_path + b… in GetSharedModule()
344 FileSpec new_file_spec (new_path, false); in GetSharedModule()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc453 char new_path[NAME_MAX]; in HandleDeletedFileInMapping() local
456 if (!SafeReadLink(exe_link, new_path)) in HandleDeletedFileInMapping()
458 if (my_strcmp(path, new_path) != 0) in HandleDeletedFileInMapping()
465 sys_stat(new_path, &new_path_stat) == 0 && in HandleDeletedFileInMapping()
/external/lldb/scripts/
Dbuild-llvm.pl231 my $new_path = "$original_env_path:$llvm_dstroot_arch_bin";
232 print "Setting new environment PATH = '$new_path'\n";
233 $ENV{PATH} = $new_path;
/external/opencv/otherlibs/highgui/
Dloadsave.cpp129 char* new_path = new char[new_size];
133 memcpy( new_path, m_path, m_len );
137 m_path = new_path;
/external/selinux/policycoreutils/sepolicy/sepolicy/
Dmanpage.py171 self.new_path = self.old_path + self.os_version+"/"
186 if not os.path.isdir(self.new_path):
187 os.mkdir(self.new_path)
192 convert_manpage_to_html((self.new_path+d.split("_selinux")[0]+".html"),self.old_path+d)
197 convert_manpage_to_html((self.new_path+r.split("_selinux")[0]+".html"),self.old_path+r)
247 html = self.new_path+self.os_version+".html"
/external/compiler-rt/test/asan/
Dlit.cfg17 def push_dynamic_library_lookup_path(config, new_path):
26 (new_path, config.environment.get(dynamic_library_lookup_var, '')))
/external/lldb/source/Commands/
DCommandObjectProcess.cpp657 char new_path[PATH_MAX]; in DoExecute() local
664 new_exec_module_sp->GetFileSpec().GetPath(new_path, PATH_MAX); in DoExecute()
665 result.AppendMessageWithFormat("Executable module set to \"%s\".\n", new_path); in DoExecute()
673 new_exec_module_sp->GetFileSpec().GetPath (new_path, PATH_MAX); in DoExecute()
676 old_path, new_path); in DoExecute()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dwsgilib.py575 new_path = new_func.func_globals['__name__'] + '.' + new_name
579 % (new_name, new_path),
/external/lldb/include/lldb/Core/
DModule.h933 RemapSourceFile (const char *path, std::string &new_path) const;
/external/lldb/source/Core/
DModule.cpp1483 Module::RemapSourceFile (const char *path, std::string &new_path) const in RemapSourceFile()
1486 return m_source_mappings.RemapPath(path, new_path); in RemapSourceFile()