HomeSort by relevance Sort by last modified time
    Searched full:new_path (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/linux-tools-perf/src/tools/perf/util/
exec_cmd.c 85 struct strbuf new_path = STRBUF_INIT; local
87 add_path(&new_path, perf_exec_path());
88 add_path(&new_path, argv0_path);
91 strbuf_addstr(&new_path, old_path);
93 strbuf_addstr(&new_path, "/usr/local/bin:/usr/bin:/bin");
95 setenv("PATH", new_path.buf, 1);
97 strbuf_release(&new_path);
probe-event.c 367 char **new_path)
377 *new_path = strdup(raw_path);
384 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2));
385 if (!*new_path)
389 sprintf(*new_path, "%s/%s", prefix, raw_path);
391 if (access(*new_path, R_OK) == 0)
405 free(*new_path);
406 *new_path = NULL;
412 free(*new_path);
413 *new_path = NULL
    [all...]
  /external/compiler-rt/test/asan/Unit/
lit.site.cfg.in 9 def push_ld_library_path(config, new_path):
11 (new_path, config.environment.get('LD_LIBRARY_PATH', '')))
  /bionic/libc/bionic/
link.cpp 32 int link(const char* old_path, const char* new_path) {
33 return linkat(AT_FDCWD, old_path, AT_FDCWD, new_path, 0);
rename.cpp 32 int rename(const char* old_path, const char* new_path) {
33 return renameat(AT_FDCWD, old_path, AT_FDCWD, new_path);
symlink.cpp 32 int symlink(const char* old_path, const char* new_path) {
33 return symlinkat(old_path, AT_FDCWD, new_path);
  /external/lldb/source/Target/
PathMappingList.cpp 181 PathMappingList::RemapPath (const ConstString &path, ConstString &new_path) const
197 new_path.SetCString(new_path_str.c_str());
205 PathMappingList::RemapPath (const char *path, std::string &new_path) const
217 new_path = pos->second.GetCString();
218 new_path.append(path + prefix_len);
231 char new_path[PATH_MAX]; local
244 const size_t new_path_len = snprintf(new_path, sizeof(new_path), "%s/%s", pos->second.GetCString(), orig_path + prefix_len);
245 if (new_path_len < sizeof(new_path))
247 new_spec.SetFile (new_path, true)
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DirectoryEntryTest.groovy 34 def clone = entry.cloneWithNewPath(NEW_PATH)
37 assert clone.path == NEW_PATH
AbstractFileSystemEntryTestCase.groovy 31 protected static final NEW_PATH = "d:/other/dir"
FileEntryTest.groovy 117 def clone = entry.cloneWithNewPath(NEW_PATH)
120 assert clone.path == NEW_PATH
132 def clone = entry.cloneWithNewPath(NEW_PATH)
135 assert clone.path == NEW_PATH
  /external/lldb/include/lldb/Target/
PathMappingList.h 72 GetPathsAtIndex (uint32_t idx, ConstString &path, ConstString &new_path) const;
97 RemapPath (const ConstString &path, ConstString &new_path) const;
100 /// Remaps a source file given \a path into \a new_path.
109 /// @param[out] new_path
113 /// /b true if \a path was successfully located and \a new_path
117 RemapPath (const char *path, std::string &new_path) const;
  /external/linux-tools-perf/src/tools/perf/
builtin-help.c 312 struct strbuf new_path = STRBUF_INIT; local
319 strbuf_addstr(&new_path, system_path(PERF_MAN_PATH));
320 strbuf_addch(&new_path, ':');
322 strbuf_addstr(&new_path, old_path);
324 setenv("MANPATH", new_path.buf, 1);
326 strbuf_release(&new_path);
  /ndk/sources/android/crazy_linker/src/
crazy_linker_proc_maps.cpp 149 char* new_path = static_cast<char*>(::malloc(entry.path_len + 1)); local
150 ::memcpy(new_path, old_path, entry.path_len);
151 new_path[entry.path_len] = '\0';
152 entry.path = const_cast<const char*>(new_path);
  /external/ipsec-tools/src/racoon/
remoteconf.c 640 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/opencv/otherlibs/highgui/
loadsave.cpp 129 char* new_path = new char[new_size];
133 memcpy( new_path, m_path, m_len );
137 m_path = new_path;
  /external/google-breakpad/src/client/linux/minidump_writer/
linux_dumper.cc 453 char new_path[NAME_MAX]; local
456 if (!SafeReadLink(exe_link, new_path))
458 if (my_strcmp(path, new_path) != 0)
465 sys_stat(new_path, &new_path_stat) == 0 &&
  /bootable/recovery/
recovery.cpp 635 char new_path[PATH_MAX]; local
636 strlcpy(new_path, path, PATH_MAX);
637 strlcat(new_path, "/", PATH_MAX);
638 strlcat(new_path, item, PATH_MAX);
642 new_path[strlen(new_path)-1] = '\0'; // truncate the trailing '/'
643 result = browse_directory(new_path, device);
647 result = strdup(new_path);
    [all...]
  /external/compiler-rt/test/asan/
lit.cfg 17 def push_dynamic_library_lookup_path(config, new_path):
26 (new_path, config.environment.get(dynamic_library_lookup_var, '')))
  /external/lldb/source/Plugins/Platform/MacOSX/
PlatformDarwin.cpp 336 char new_path[PATH_MAX]; local
340 const size_t search_path_len = module_search_paths_ptr->GetFileSpecAtIndex(i).GetPath(new_path, sizeof(new_path));
341 if (search_path_len < sizeof(new_path))
343 snprintf (new_path + search_path_len, sizeof(new_path) - search_path_len, "/%s", platform_path + bundle_directory_len);
344 FileSpec new_file_spec (new_path, false);
    [all...]
  /external/lldb/scripts/
build-llvm.pl 231 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/selinux/policycoreutils/sepolicy/sepolicy/
manpage.py 171 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"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
os.py 292 new_path = join(top, name)
293 if followlinks or not islink(new_path):
294 for x in walk(new_path, topdown, onerror, followlinks):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
os.py 292 new_path = join(top, name)
293 if followlinks or not islink(new_path):
294 for x in walk(new_path, topdown, onerror, followlinks):
  /ndk/build/tools/
build-host-gcc.sh     [all...]
  /external/chromium-trace/trace-viewer/third_party/Paste/paste/
wsgilib.py 575 new_path = new_func.func_globals['__name__'] + '.' + new_name
579 % (new_name, new_path),

Completed in 537 milliseconds

1 2 3