Lines Matching full:exe_path
246 char exe_path[MAXPATHLEN];
247 uint32_t size = sizeof(exe_path);
248 if (_NSGetExecutablePath(exe_path, &size) == 0) {
250 if (realpath(exe_path, link_path))
255 char exe_path[PATH_MAX];
257 if (getprogpath(exe_path, argv0) != NULL)
258 return exe_path;
260 char exe_path[MAXPATHLEN];
264 ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
266 return StringRef(exe_path, len);
269 if (getprogpath(exe_path, argv0) != NULL)
270 return exe_path;