Lines Matching refs:exe_path
155 char exe_path[MAXPATHLEN];
156 uint32_t size = sizeof(exe_path);
157 if (_NSGetExecutablePath(exe_path, &size) == 0) {
159 if (realpath(exe_path, link_path))
165 char exe_path[PATH_MAX];
167 if (getprogpath(exe_path, argv0) != NULL)
168 return exe_path;
170 char exe_path[MAXPATHLEN];
174 ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
176 return std::string(exe_path, len);
179 if (getprogpath(exe_path, argv0))
180 return exe_path;