/external/lldb/source/Host/common/ |
D | FileSpec.cpp | 43 char resolved_path[PATH_MAX]; in GetFileStats() local 44 if (file_spec->GetPath (resolved_path, sizeof(resolved_path))) in GetFileStats() 45 return ::stat (resolved_path, stats_ptr) == 0; in GetFileStats() 209 char resolved_path[PATH_MAX]; in Resolve() local 210 if (::realpath (unglobbed_path, resolved_path)) in Resolve() 213 return ::snprintf(dst_path, dst_len, "%s", resolved_path); in Resolve() 298 char resolved_path[PATH_MAX]; in SetFile() local 303 …path_fit = (FileSpec::Resolve (pathname, resolved_path, sizeof(resolved_path)) < sizeof(resolved_p… in SetFile() 310 if (::strlen (pathname) > sizeof(resolved_path) - 1) in SetFile() 313 ::strcpy (resolved_path, pathname); in SetFile() [all …]
|
D | Host.cpp | 960 char resolved_path[PATH_MAX]; in GetLLDBPath() local 973 FileSpec::Resolve (raw_path, resolved_path, sizeof(resolved_path)); in GetLLDBPath() 974 g_lldb_support_exe_dir.SetCString(resolved_path); in GetLLDBPath() 992 char resolved_path[PATH_MAX]; in GetLLDBPath() local 1001 FileSpec::Resolve (raw_path, resolved_path, sizeof(resolved_path)); in GetLLDBPath() 1002 g_lldb_headers_dir.SetCString(resolved_path); in GetLLDBPath() 1024 char resolved_path[PATH_MAX]; in GetLLDBPath() local 1047 FileSpec::Resolve (raw_path, resolved_path, sizeof(resolved_path)); in GetLLDBPath() 1048 g_lldb_python_dir.SetCString(resolved_path); in GetLLDBPath() 1070 char resolved_path[PATH_MAX]; in GetLLDBPath() local [all …]
|
/external/lldb/source/Plugins/Platform/MacOSX/ |
D | PlatformRemoteiOS.cpp | 571 char resolved_path[PATH_MAX]; in GetFileInSDKRoot() local 575 ::snprintf (resolved_path, in GetFileInSDKRoot() 576 sizeof(resolved_path), in GetFileInSDKRoot() 581 local_file.SetFile(resolved_path, true); in GetFileInSDKRoot() 586 ::snprintf (resolved_path, in GetFileInSDKRoot() 587 sizeof(resolved_path), in GetFileInSDKRoot() 592 local_file.SetFile(resolved_path, true); in GetFileInSDKRoot() 595 ::snprintf (resolved_path, in GetFileInSDKRoot() 596 sizeof(resolved_path), in GetFileInSDKRoot() 601 local_file.SetFile(resolved_path, true); in GetFileInSDKRoot() [all …]
|
D | PlatformiOSSimulator.cpp | 326 char resolved_path[PATH_MAX]; in GetFile() local 331 ::snprintf (resolved_path, in GetFile() 332 sizeof(resolved_path), in GetFile() 338 local_file.SetFile(resolved_path, true); in GetFile()
|
/external/selinux/libselinux/src/ |
D | matchpathcon.c | 349 int realpath_not_final(const char *name, char *resolved_path) in realpath_not_final() argument 374 p = strcpy(resolved_path, ""); in realpath_not_final() 378 p = realpath(tmp_path, resolved_path); in realpath_not_final() 381 p = realpath("./", resolved_path); in realpath_not_final() 400 resolved_path += len; in realpath_not_final() 401 strcpy(resolved_path, "/"); in realpath_not_final() 402 resolved_path += 1; in realpath_not_final() 403 strcpy(resolved_path, last_component); in realpath_not_final()
|
/external/lldb/examples/python/ |
D | symbolication.py | 203 self.resolved_path = None 221 print 'resolved_path = "%s"' % (self.resolved_path) 252 if self.resolved_path: 253 return self.resolved_path 320 resolved_path = self.get_resolved_path() 321 self.module = target.AddModule (resolved_path, self.arch, uuid_str, self.symfile) 357 resolved_path = self.get_resolved_path(); 358 path_spec = lldb.SBFileSpec (resolved_path) 361 target = lldb.debugger.CreateTarget (resolved_path, self.arch, None, False, error);
|
D | crashlog.py | 180 … self.resolved_path = os.path.expanduser (plist['DBGSymbolRichExecutable']) 181 if not self.resolved_path and os.path.exists(self.path): 190 self.resolved_path = self.path 193 if not self.resolved_path: 197 …if (self.resolved_path and os.path.exists(self.resolved_path)) or (self.path and os.path.exists(se… 506 for resolved_path in glob.glob(arg): 507 crash_log_files.append(resolved_path)
|
/external/selinux/policycoreutils/sandbox/ |
D | seunshare.c | 753 char *resolved_path = NULL; in main() local 770 resolved_path = realpath(pwd->pw_dir,NULL); in main() 771 if (! resolved_path) goto childerr; in main() 773 if (verify_directory(resolved_path, NULL, &st_curhomedir) < 0) in main() 775 if (check_owner_uid(uid, resolved_path, &st_curhomedir) < 0) in main() 779 if (homedir_s && seunshare_mount(homedir_s, resolved_path, in main() 851 free(resolved_path); in main()
|
/external/lldb/tools/debugserver/source/ |
D | debugserver.cpp | 208 char resolved_path[PATH_MAX]; in RNBRunLoopLaunchInferior() local 212 if ( !DNBResolveExecutablePath (inferior_argv[0], resolved_path, sizeof(resolved_path)) ) in RNBRunLoopLaunchInferior() 213 ::strncpy(resolved_path, inferior_argv[0], sizeof(resolved_path)); in RNBRunLoopLaunchInferior() 219 nub_process_t pid = DNBProcessLaunch (resolved_path, in RNBRunLoopLaunchInferior()
|
D | DNB.cpp | 1947 DNBResolveExecutablePath (const char *path, char *resolved_path, size_t resolved_path_size) in DNBResolveExecutablePath() argument 1968 …if (::CFURLGetFileSystemRepresentation (url.get(), true, (UInt8*)resolved_path, resolved_path_size… in DNBResolveExecutablePath() 1977 ::strncpy(resolved_path, max_path, resolved_path_size); in DNBResolveExecutablePath() 1978 return strlen(resolved_path) + 1 < resolved_path_size; in DNBResolveExecutablePath() 2010 ::strncpy(resolved_path, result.c_str(), resolved_path_size); in DNBResolveExecutablePath()
|
D | DNB.h | 148 nub_bool_t DNBResolveExecutablePath (const char *path, char *resolved_path, size_t resolved_pa…
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 229 INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { in INTERCEPTOR() argument 231 return REAL(realpath)(path, resolved_path); in INTERCEPTOR()
|
/external/selinux/libselinux/include/selinux/ |
D | selinux.h | 452 extern int realpath_not_final(const char *name, char *resolved_path);
|
/external/lldb/source/Commands/ |
D | CommandObjectTarget.cpp | 2717 char resolved_path[PATH_MAX]; in DoExecute() local 2719 if (file_spec.GetPath (resolved_path, sizeof(resolved_path))) in DoExecute() 2721 if (strcmp (resolved_path, path) != 0) in DoExecute() 2723 ….AppendErrorWithFormat ("invalid module path '%s' with resolved path '%s'\n", path, resolved_path); in DoExecute()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 2798 INTERCEPTOR(char *, realpath, const char *path, char *resolved_path) { 2800 COMMON_INTERCEPTOR_ENTER(ctx, realpath, path, resolved_path); 2808 if (!resolved_path) 2809 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1); 2811 char *res = REAL(realpath)(path, resolved_path);
|