/bionic/libc/bionic/ |
__bionic_get_shell_path.cpp | 47 char exe_path[strlen(VENDOR_PREFIX)]; local 48 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path)); 49 if (len != -1 && !strncmp(exe_path, VENDOR_PREFIX, strlen(VENDOR_PREFIX))) {
|
/external/bcc/src/cc/ |
common.cc | 53 char exe_path[4096]; local 57 res = readlink(exe_link.c_str(), exe_path, sizeof(exe_path)); 60 if (res >= sizeof(exe_path)) 61 res = sizeof(exe_path) - 1; 62 exe_path[res] = '\0'; 63 return std::string(exe_path);
|
/external/pdfium/testing/ |
test_support.cpp | 26 std::string GetFullPathForSnapshotFile(const std::string& exe_path, 35 } else if (!exe_path.empty()) { 36 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); 38 result = exe_path.substr(0, last_separator + 1); 45 bool GetExternalData(const std::string& exe_path, 50 GetFullPathForSnapshotFile(exe_path, bin_dir, filename); 63 void InitializeV8Common(const char* exe_path, v8::Platform** platform) { 64 v8::V8::InitializeICUDefaultLocation(exe_path); 180 bool InitializeV8ForPDFium(const std::string& exe_path, 185 InitializeV8Common(exe_path.c_str(), platform) [all...] |
test_support.h | 94 bool InitializeV8ForPDFium(const std::string& exe_path, 100 bool InitializeV8ForPDFium(const std::string& exe_path,
|
/external/libcxx/utils/libcxx/test/ |
executor.py | 18 def run(self, exe_path, cmd, local_cwd, file_deps=None, env=None): 23 exe_path: str: Local path to the executable to be run 39 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): 40 cmd = cmd or [exe_path] 59 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): 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): 74 cmd = cmd or [exe_path] 119 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None) [all...] |
/external/autotest/client/site_tests/security_AltSyscall/ |
security_AltSyscall.py | 41 exe_path = os.path.join(self.srcdir, exe) 43 cmdline = '/sbin/minijail0 %s -- %s' % (flags, exe_path)
|
/external/autotest/client/tools/ |
crash_handler.py | 133 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/chromium-trace/catapult/systrace/atrace_helper/jni/ |
procfs_utils.cc | 30 char exe_path[64]; local 31 sprintf(exe_path, "/proc/%d/exe", pid); 32 ssize_t res = readlink(exe_path, buf, size - 1);
|
/external/jsoncpp/test/ |
rununittests.py | 28 def runAllTests( exe_path, use_valgrind=False ): 29 test_proxy = TestProxy( exe_path, use_valgrind=use_valgrind )
|
/external/tensorflow/tensorflow/core/platform/ |
env.cc | 298 char exe_path[PATH_MAX] = {0}; local 304 CHECK(realpath(unresolved_path, exe_path)); 309 if (sysctl(mib, 4, exe_path, &exe_path_size, NULL, 0) != 0) { 318 std::copy(file_path.begin(), file_path.end(), exe_path); 340 snprintf(exe_path, sizeof(exe_path), "%s", &buf[token_pos]); 342 snprintf(exe_path, sizeof(exe_path), "%s", buf); 347 exe_path[sizeof(exe_path) - 1] = 0 [all...] |
/external/autotest/client/common_lib/cros/ |
chromedriver.py | 154 def __init__(self, exe_path, port=None, skip_cleanup=False, 159 exe_path: path to the ChromeDriver executable 170 if not os.path.exists(exe_path): 171 raise RuntimeError('ChromeDriver exe not found at: ' + exe_path) 173 chromedriver_args = [exe_path]
|
/external/v8/src/base/debug/ |
stack_trace_win.cc | 82 wchar_t exe_path[MAX_PATH]; local 83 GetExePath(exe_path); 85 std::wstring(exe_path));
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_gpu_executor.cc | 192 char exe_path[PATH_MAX] = {0}; local 198 CHECK_ERR(realpath(unresolved_path, exe_path) ? 1 : -1); 202 GetModuleFileName(hModule, exe_path, MAX_PATH); 204 CHECK_ERR(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1)); 208 exe_path[sizeof(exe_path) - 1] = 0; 212 string ret = exe_path; 213 std::vector<string> components = port::Split(exe_path, '/'); 217 return exe_path; [all...] |
/external/tensorflow/tensorflow/stream_executor/rocm/ |
rocm_gpu_executor.cc | 206 char exe_path[PATH_MAX] = {0}; local 207 CHECK_ERR(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1)); 209 exe_path[sizeof(exe_path) - 1] = 0; 213 string ret = exe_path; 214 std::vector<string> components = port::Split(exe_path, '/'); 218 return exe_path; [all...] |
/bionic/linker/ |
linker_main.cpp | 354 static std::string exe_path = exe_info.path; local 356 INFO("[ Linking executable \"%s\" ]", exe_path.c_str()); 360 exe_path.c_str(), &exe_info.file_stat, 369 init_link_map_head(*si, exe_path.c_str()); 407 std::vector<android_namespace_t*> namespaces = init_default_namespaces(exe_path.c_str());
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mac.cc | 308 InternalScopedString exe_path(kMaxPathLength); 309 uint32_t size = exe_path.size(); 310 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && 311 realpath(exe_path.data(), buf) != 0) {
|
/external/pdfium/samples/ |
pdfium_test.cc | 113 std::string exe_path; member in struct:__anon35179::Options 724 options->exe_path = args[0]; [all...] |