Home
last modified time | relevance | path

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

123

/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/llvm-project/lldb/test/API/commands/add-dsym/uuid/
DTestAddDsymCommand.py85 exe_path = self.getBuildArtifact(exe_name)
86 self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET)
96 exe_path,
106 exe_path = self.getBuildArtifact(exe_name)
107 self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET)
114 exe_path,
124 exe_path = self.getBuildArtifact(exe_name)
125 self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET)
128 right_path = "%s.dSYM" % exe_path
/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/openscreen/platform/test/
Dpaths_posix.cc13 std::string exe_path = GetExePath(); in ReadTestDataPath() local
14 OSP_DCHECK(!exe_path.empty()); in ReadTestDataPath()
20 int i = exe_path.size() - 1; in ReadTestDataPath()
22 slashes_found += exe_path[i] == '/'; in ReadTestDataPath()
29 return exe_path.substr(0, i + 1) + OPENSCREEN_TEST_DATA_DIR; in ReadTestDataPath()
Dpaths_internal_mac.cc19 std::string exe_path(path_size, 0); in GetExePath() local
20 int ret = _NSGetExecutablePath(data(exe_path), &path_size); in GetExePath()
22 char* resolved = realpath(exe_path.c_str(), nullptr); in GetExePath()
/external/llvm-project/lldb/scripts/
Dverify_api.py11 def extract_exe_symbol_names(arch, exe_path, match_str): argument
13 arch, exe_path, match_str)
91 for exe_path in args:
92 print('Verifying (%s) "%s"...' % (arch, exe_path))
95 arch, exe_path, "( UNDF EXT)")
/external/llvm-project/lldb/source/Host/freebsd/
DHostInfoFreeBSD.cpp67 char exe_path[PATH_MAX]; in GetProgramFileSpec() local
68 size_t exe_path_size = sizeof(exe_path); in GetProgramFileSpec()
69 if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0) in GetProgramFileSpec()
70 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
/external/wayland/tests/
Dtest-helpers.c74 char exe_path[256] = { 0 }; in exec_fd_leak_check() local
80 snprintf(exe_path, sizeof exe_path - 1, "%s/%s", test_build_dir, exe); in exec_fd_leak_check()
83 execl(exe_path, exe, number, (char *)NULL); in exec_fd_leak_check()
/external/OpenCL-CTS/test_common/harness/
Dos_helpers.cpp131 std::string exe_path() in exe_path() function
163 std::string path = exe_path(); in exe_dir()
263 std::string exe_path() in exe_path() function
318 std::string path = exe_path(); in exe_dir()
398 std::string exe_path() in exe_path() function
447 std::string exe = exe_path(); in exe_dir()
547 char* path = strdup(exe_path().c_str()); in get_exe_path()
/external/autotest/client/tools/
Dcrash_handler.py147 exe_path = get_info_from_core(path)['full_exe_path']
151 if exe_path is not None:
158 (exe_path, path, gdb_command_path))
163 exe_path = "Unknown"
167 report = "Program: %s\n" % exe_path
/external/llvm-project/lldb/source/Host/linux/
DHostInfoLinux.cpp165 char exe_path[PATH_MAX]; in GetProgramFileSpec() local
166 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1); in GetProgramFileSpec()
168 exe_path[len] = 0; in GetProgramFileSpec()
169 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
/external/libchrome/base/
Dnative_library_unittest.cc79 base::FilePath exe_path; in TestLibrary() local
84 CHECK(base::PathService::Get(base::DIR_EXE, &exe_path)); in TestLibrary()
88 exe_path.AppendASCII(kTestLibraryName), options, nullptr); in TestLibrary()
/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/tensorflow/tensorflow/core/platform/
Denv.cc327 char exe_path[PATH_MAX] = {0}; in GetExecutablePath() local
333 CHECK(realpath(unresolved_path.data(), exe_path)); in GetExecutablePath()
338 if (sysctl(mib, 4, exe_path, &exe_path_size, NULL, 0) != 0) { in GetExecutablePath()
347 std::copy(file_path.begin(), file_path.end(), exe_path); in GetExecutablePath()
369 snprintf(exe_path, sizeof(exe_path), "%s", &buf[token_pos]); in GetExecutablePath()
371 snprintf(exe_path, sizeof(exe_path), "%s", buf); in GetExecutablePath()
376 exe_path[sizeof(exe_path) - 1] = 0; in GetExecutablePath()
378 return exe_path; in GetExecutablePath()
/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/llvm-project/lldb/test/API/tools/lldb-server/
DTestAppleSimulatorOSType.py54 exe_path = self.getBuildArtifact(exe_name)
56 'xcrun', 'simctl', 'spawn', '-s', deviceUDID, exe_path,
109 if image['pathname'] != exe_path:
/external/oss-fuzz/projects/postgresql/fuzzer/
Dprotocol_fuzzer.c57 char *exe_path = (*argv)[0]; in LLVMFuzzerInitialize() local
59 char *exe_path_copy = strdup(exe_path); in LLVMFuzzerInitialize()
Dfuzzer_initialize.c50 char *exe_path = (*argv)[0]; in FuzzerInitialize() local
52 char *exe_path_copy = strdup(exe_path); in FuzzerInitialize()
/external/llvm-project/llvm/lib/Support/Unix/
DPath.inc197 char exe_path[PATH_MAX];
198 uint32_t size = sizeof(exe_path);
199 if (_NSGetExecutablePath(exe_path, &size) == 0) {
201 if (realpath(exe_path, link_path))
209 char exe_path[PATH_MAX];
211 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0)
212 return exe_path;
227 if (getprogpath(exe_path, argv0) != NULL)
228 return exe_path;
232 char exe_path[PATH_MAX];
[all …]
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc187 char exe_path[MAXPATHLEN];
188 uint32_t size = sizeof(exe_path);
189 if (_NSGetExecutablePath(exe_path, &size) == 0) {
191 if (realpath(exe_path, link_path))
199 char exe_path[PATH_MAX];
201 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0)
202 return exe_path;
222 if (getprogpath(exe_path, argv0) != NULL)
223 return exe_path;
227 char exe_path[PATH_MAX];
[all …]
/external/llvm-project/lldb/source/Host/posix/
DProcessLauncherPosixFork.cpp181 char exe_path[PATH_MAX]; in LaunchProcess() local
182 launch_info.GetExecutableFile().GetPath(exe_path, sizeof(exe_path)); in LaunchProcess()

123