Home
last modified time | relevance | path

Searched refs:self_path (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/base/test/
Dutils.cc48 std::string self_path; in GetCurExecutableDir() local
56 self_path = std::string(buf, static_cast<size_t>(size)); in GetCurExecutableDir()
60 self_path.resize(size); in GetCurExecutableDir()
61 PERFETTO_CHECK(_NSGetExecutablePath(&self_path[0], &size) == 0); in GetCurExecutableDir()
65 self_path = std::string(buf, len); in GetCurExecutableDir()
66 self_path = self_path.substr(0, self_path.find_last_of("\\")); in GetCurExecutableDir()
72 return self_path.substr(0, self_path.find_last_of("/")); in GetCurExecutableDir()
76 std::string self_path = GetCurExecutableDir(); in GetTestDataPath() local
77 std::string full_path = self_path + "/../../" + path; in GetTestDataPath()
80 full_path = self_path + "/" + path; in GetTestDataPath()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer_unittest_utils.cc49 char self_path[PATH_MAX]; in GetHelperBinary() local
50 if (!SafeReadLink("/proc/self/exe", self_path)) { in GetHelperBinary()
53 helper_path = string(self_path); in GetHelperBinary()
/external/google-breakpad/src/client/mac/tests/
Dspawn_child_process.h81 char self_path[PATH_MAX]; in GetExecutablePath() local
82 uint32_t size = sizeof(self_path); in GetExecutablePath()
83 if (_NSGetExecutablePath(self_path, &size) != 0) in GetExecutablePath()
85 return self_path; in GetExecutablePath()