Home
last modified time | relevance | path

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

/external/pdfium/testing/
Dv8_initializer.cpp20 std::string GetFullPathForSnapshotFile(const std::string& exe_path, in GetFullPathForSnapshotFile() argument
29 } else if (!exe_path.empty()) { in GetFullPathForSnapshotFile()
30 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile()
32 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()
39 bool GetExternalData(const std::string& exe_path, in GetExternalData() argument
44 GetFullPathForSnapshotFile(exe_path, bin_dir, filename); in GetExternalData()
57 std::unique_ptr<v8::Platform> InitializeV8Common(const std::string& exe_path) { in InitializeV8Common() argument
58 v8::V8::InitializeICUDefaultLocation(exe_path.c_str()); in InitializeV8Common()
79 const std::string& exe_path, in InitializeV8ForPDFiumWithStartupData() argument
82 std::unique_ptr<v8::Platform> platform = InitializeV8Common(exe_path); in InitializeV8ForPDFiumWithStartupData()
[all …]
Dv8_initializer.h25 const std::string& exe_path,
30 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 >= static_cast<int>(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/OpenCL-CTS/test_common/harness/
Dos_helpers.cpp126 exe_path( in exe_path() function
155 std::string path = exe_path(); in exe_dir()
252 exe_path( in exe_path() function
306 std::string path = exe_path(); in exe_dir()
396 exe_path( in exe_path() function
441 std::string exe = exe_path(); in exe_dir()
553 char * path = strdup( exe_path().c_str() ); in get_exe_path()
Dos_helpers.h31 std::string exe_path();
/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.cc321 char exe_path[PATH_MAX] = {0}; in GetExecutablePath() local
327 CHECK(realpath(unresolved_path.data(), exe_path)); in GetExecutablePath()
332 if (sysctl(mib, 4, exe_path, &exe_path_size, NULL, 0) != 0) { in GetExecutablePath()
341 std::copy(file_path.begin(), file_path.end(), exe_path); in GetExecutablePath()
363 snprintf(exe_path, sizeof(exe_path), "%s", &buf[token_pos]); in GetExecutablePath()
365 snprintf(exe_path, sizeof(exe_path), "%s", buf); in GetExecutablePath()
370 exe_path[sizeof(exe_path) - 1] = 0; in GetExecutablePath()
372 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/oss-fuzz/projects/libchewing/
Dchewing_fuzzer_common.c11 char* exe_path = (*argv)[0]; in LLVMFuzzerInitialize() local
14 char* exe_path_copy = strdup(exe_path); in LLVMFuzzerInitialize()
/external/oss-fuzz/projects/file/
Dmagic_fuzzer.cc40 char* exe_path = (*argv)[0]; in LLVMFuzzerInitialize() local
42 char* exe_path_copy = strdup(exe_path); in LLVMFuzzerInitialize()
/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/v8/src/base/debug/
Dstack_trace_win.cc83 wchar_t exe_path[MAX_PATH]; in InitializeSymbols() local
84 GetModuleFileName(nullptr, exe_path, MAX_PATH); in InitializeSymbols()
85 std::wstring exe_path_wstring(exe_path); in InitializeSymbols()
/external/angle/third_party/jsoncpp/source/test/
Drununittests.py39 def runAllTests(exe_path, use_valgrind=False): argument
40 test_proxy = TestProxy(exe_path, use_valgrind=use_valgrind)
/external/jsoncpp/test/
Drununittests.py28 def runAllTests( exe_path, use_valgrind=False ): argument
29 test_proxy = TestProxy( exe_path, use_valgrind=use_valgrind )
/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/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 PCHECK(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1) != -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 = absl::StrSplit(exe_path, '/'); in GetBinaryDir()
217 return exe_path; in GetBinaryDir()
/external/angle/src/compiler/
Dgenerate_parser_tools.py20 exe_path = os.path.join(sys.path[0], '..', '..', '..', 'tools', 'flex-bison', platform)
22 return os.path.join(exe_path, tool_name)
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc218 char exe_path[PATH_MAX] = {0}; in GetBinaryDir() local
219 PCHECK(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1) != -1); in GetBinaryDir()
221 exe_path[sizeof(exe_path) - 1] = 0; in GetBinaryDir()
225 string ret = exe_path; in GetBinaryDir()
226 std::vector<string> components = absl::StrSplit(exe_path, '/'); in GetBinaryDir()
230 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/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/libyuv/files/tools_libyuv/valgrind/
Dchrome_tests.py132 exe_path = os.path.join(self._options.build_dir, exe)
133 if not os.path.exists(exe_path):
134 raise ExecutableNotFound("Couldn't find '%s'" % exe_path)
144 nm_output = subprocess.check_output(["nm", exe_path])
152 cmd.append(exe_path)
/external/pdfium/samples/
Dpdfium_test.cc140 std::string exe_path; member
392 options->exe_path = args[0]; in ParseCommandLine()
1103 options.exe_path, options.bin_directory, &snapshot); in main()
1107 platform = InitializeV8ForPDFium(options.exe_path); in main()