Home
last modified time | relevance | path

Searched refs:exe_path (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/testing/
Dtest_support.cpp26 std::string GetFullPathForSnapshotFile(const std::string& exe_path, in GetFullPathForSnapshotFile() argument
35 } else if (!exe_path.empty()) { in GetFullPathForSnapshotFile()
36 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile()
38 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()
45 bool GetExternalData(const std::string& exe_path, in GetExternalData() argument
50 GetFullPathForSnapshotFile(exe_path, bin_dir, filename); in GetExternalData()
63 void InitializeV8Common(const char* exe_path, v8::Platform** platform) { in InitializeV8Common() argument
64 v8::V8::InitializeICUDefaultLocation(exe_path); in InitializeV8Common()
180 bool InitializeV8ForPDFium(const std::string& exe_path, in InitializeV8ForPDFium() argument
185 InitializeV8Common(exe_path.c_str(), platform); in InitializeV8ForPDFium()
[all …]
Dtest_support.h94 bool InitializeV8ForPDFium(const std::string& exe_path,
100 bool InitializeV8ForPDFium(const std::string& exe_path,
/external/bcc/src/cc/
Dcommon.cc53 char exe_path[4096]; in get_pid_exe() local
57 res = readlink(exe_link.c_str(), exe_path, sizeof(exe_path)); in get_pid_exe()
60 if (res >= sizeof(exe_path)) in get_pid_exe()
61 res = sizeof(exe_path) - 1; in get_pid_exe()
62 exe_path[res] = '\0'; in get_pid_exe()
63 return std::string(exe_path); in get_pid_exe()
/external/libcxx/utils/libcxx/test/
Dexecutor.py18 def run(self, exe_path, cmd, local_cwd, file_deps=None, env=None): argument
39 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
40 cmd = cmd or [exe_path]
59 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
60 cmd = cmd or [exe_path]
61 return self.chain.run(exe_path, self.commandPrefix + cmd, work_dir,
73 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
74 cmd = cmd or [exe_path]
119 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
127 cmd = [c if c != exe_path else target_exe_path for c in cmd]
[all …]
/external/autotest/client/tools/
Dcrash_handler.py133 exe_path = get_info_from_core(path)['full_exe_path']
137 if exe_path is not None:
144 (exe_path, path, gdb_command_path))
149 exe_path = "Unknown"
153 report = "Program: %s\n" % exe_path
/external/tensorflow/tensorflow/core/platform/
Denv.cc298 char exe_path[PATH_MAX] = {0}; in GetExecutablePath() local
304 CHECK(realpath(unresolved_path, exe_path)); in GetExecutablePath()
309 if (sysctl(mib, 4, exe_path, &exe_path_size, NULL, 0) != 0) { in GetExecutablePath()
318 std::copy(file_path.begin(), file_path.end(), exe_path); in GetExecutablePath()
340 snprintf(exe_path, sizeof(exe_path), "%s", &buf[token_pos]); in GetExecutablePath()
342 snprintf(exe_path, sizeof(exe_path), "%s", buf); in GetExecutablePath()
347 exe_path[sizeof(exe_path) - 1] = 0; in GetExecutablePath()
349 return exe_path; in GetExecutablePath()
/external/autotest/client/common_lib/cros/
Dchromedriver.py154 def __init__(self, exe_path, port=None, skip_cleanup=False, argument
170 if not os.path.exists(exe_path):
171 raise RuntimeError('ChromeDriver exe not found at: ' + exe_path)
173 chromedriver_args = [exe_path]
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocfs_utils.cc30 char exe_path[64]; in ReadExePath() local
31 sprintf(exe_path, "/proc/%d/exe", pid); in ReadExePath()
32 ssize_t res = readlink(exe_path, buf, size - 1); in ReadExePath()
/external/autotest/client/site_tests/security_AltSyscall/
Dsecurity_AltSyscall.py41 exe_path = os.path.join(self.srcdir, exe)
43 cmdline = '/sbin/minijail0 %s -- %s' % (flags, exe_path)
/external/v8/src/base/debug/
Dstack_trace_win.cc82 wchar_t exe_path[MAX_PATH]; in InitializeSymbols() local
83 GetExePath(exe_path); in InitializeSymbols()
85 std::wstring(exe_path)); in InitializeSymbols()
/external/llvm/lib/Support/Unix/
DPath.inc155 char exe_path[MAXPATHLEN];
156 uint32_t size = sizeof(exe_path);
157 if (_NSGetExecutablePath(exe_path, &size) == 0) {
159 if (realpath(exe_path, link_path))
165 char exe_path[PATH_MAX];
167 if (getprogpath(exe_path, argv0) != NULL)
168 return exe_path;
170 char exe_path[MAXPATHLEN];
174 ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
176 return std::string(exe_path, len);
[all …]
/external/jsoncpp/test/
Drununittests.py28 def runAllTests( exe_path, use_valgrind=False ): argument
29 test_proxy = TestProxy( exe_path, use_valgrind=use_valgrind )
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc156 char exe_path[MAXPATHLEN];
157 uint32_t size = sizeof(exe_path);
158 if (_NSGetExecutablePath(exe_path, &size) == 0) {
160 if (realpath(exe_path, link_path))
166 char exe_path[PATH_MAX];
168 if (getprogpath(exe_path, argv0) != NULL)
169 return exe_path;
171 char exe_path[MAXPATHLEN];
175 ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
177 return std::string(exe_path, len);
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_gpu_executor.cc192 char exe_path[PATH_MAX] = {0}; in GetBinaryDir() local
198 CHECK_ERR(realpath(unresolved_path, exe_path) ? 1 : -1); in GetBinaryDir()
202 GetModuleFileName(hModule, exe_path, MAX_PATH); in GetBinaryDir()
204 CHECK_ERR(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1)); in GetBinaryDir()
208 exe_path[sizeof(exe_path) - 1] = 0; in GetBinaryDir()
212 string ret = exe_path; in GetBinaryDir()
213 std::vector<string> components = port::Split(exe_path, '/'); in GetBinaryDir()
217 return exe_path; in GetBinaryDir()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc206 char exe_path[PATH_MAX] = {0}; in GetBinaryDir() local
207 CHECK_ERR(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1)); in GetBinaryDir()
209 exe_path[sizeof(exe_path) - 1] = 0; in GetBinaryDir()
213 string ret = exe_path; in GetBinaryDir()
214 std::vector<string> components = port::Split(exe_path, '/'); in GetBinaryDir()
218 return exe_path; in GetBinaryDir()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc163 char exe_path[MAXPATHLEN];
164 uint32_t size = sizeof(exe_path);
165 if (_NSGetExecutablePath(exe_path, &size) == 0) {
167 if (realpath(exe_path, link_path))
173 char exe_path[PATH_MAX];
175 if (getprogpath(exe_path, argv0) != NULL)
176 return exe_path;
178 char exe_path[MAXPATHLEN];
182 ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
184 return std::string(exe_path, len);
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPath.inc325 char exe_path[MAXPATHLEN];
326 uint32_t size = sizeof(exe_path);
327 if (_NSGetExecutablePath(exe_path, &size) == 0) {
329 if (realpath(exe_path, link_path))
334 char exe_path[PATH_MAX];
336 if (getprogpath(exe_path, argv0) != NULL)
337 return Path(exe_path);
339 char exe_path[MAXPATHLEN];
340 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path));
342 return Path(StringRef(exe_path, len));
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mac.cc308 InternalScopedString exe_path(kMaxPathLength); in ReadBinaryName() local
309 uint32_t size = exe_path.size(); in ReadBinaryName()
310 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName()
311 realpath(exe_path.data(), buf) != 0) { in ReadBinaryName()
/external/pdfium/samples/
Dpdfium_test.cc113 std::string exe_path; member
724 options->exe_path = args[0]; in ParseCommandLine()
1571 InitializeV8ForPDFium(options.exe_path, options.bin_directory, &natives, in main()
1574 InitializeV8ForPDFium(options.exe_path, &platform); in main()