/bionic/libc/bionic/ |
__bionic_get_shell_path.cpp | 45 char exe_path[strlen(VENDOR_PREFIX)]; local 46 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path)); 47 if (len != -1 && !strncmp(exe_path, VENDOR_PREFIX, strlen(VENDOR_PREFIX))) {
|
/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);
|
/system/update_engine/common/ |
test_utils.cc | 270 base::FilePath exe_path; local 271 base::ReadSymbolicLink(base::FilePath("/proc/self/exe"), &exe_path); 272 return exe_path.DirName();
|
/external/tensorflow/tensorflow/stream_executor/ |
dso_loader.cc | 157 string exe_path = port::Env::Default()->GetExecutablePath(); local 158 return strip_executable_name ? port::Dirname(exe_path).ToString() : 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/core/platform/ |
env.cc | 296 char exe_path[PATH_MAX] = {0}; local 302 CHECK(realpath(unresolved_path, exe_path)); 307 if (sysctl(mib, 4, exe_path, &exe_path_size, NULL, 0) != 0) { 316 std::copy(file_path.begin(), file_path.end(), exe_path); 318 CHECK_NE(-1, readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1)); 321 exe_path[sizeof(exe_path) - 1] = 0; 323 return exe_path;
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_gpu_executor.cc | 182 char exe_path[PATH_MAX] = {0}; local 188 CHECK_ERR(realpath(unresolved_path, exe_path) ? 1 : -1); 192 GetModuleFileName(hModule, exe_path, MAX_PATH); 194 CHECK_ERR(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1)); 198 exe_path[sizeof(exe_path) - 1] = 0; 202 string ret = exe_path; 203 std::vector<string> components = port::Split(exe_path, '/'); 207 return exe_path; [all...] |
/external/pdfium/samples/ |
pdfium_test.cc | 113 std::string exe_path; member in struct:__anon31342::Options 724 options->exe_path = args[0]; [all...] |