Searched refs:self_path (Results 1 – 2 of 2) sorted by relevance
49 char self_path[PATH_MAX]; in GetHelperBinary() local50 if (!SafeReadLink("/proc/self/exe", self_path)) { in GetHelperBinary()53 helper_path = string(self_path); in GetHelperBinary()
81 char self_path[PATH_MAX]; in GetExecutablePath() local82 uint32_t size = sizeof(self_path); in GetExecutablePath()83 if (_NSGetExecutablePath(self_path, &size) != 0) in GetExecutablePath()85 return self_path; in GetExecutablePath()