Home
last modified time | relevance | path

Searched refs:exe_path (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A DPath.inc198 char exe_path[PATH_MAX];
199 uint32_t size = sizeof(exe_path);
200 if (_NSGetExecutablePath(exe_path, &size) == 0) {
202 if (realpath(exe_path, link_path))
210 char exe_path[PATH_MAX];
212 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0)
213 return exe_path;
228 if (getprogpath(exe_path, argv0) != NULL)
229 return exe_path;
233 char exe_path[PATH_MAX];
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_mac.cc361 InternalScopedString exe_path(kMaxPathLength); in ReadBinaryName() local
362 uint32_t size = exe_path.size(); in ReadBinaryName()
363 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName()
364 realpath(exe_path.data(), buf) != 0) { in ReadBinaryName()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_mac.cc346 InternalScopedString exe_path(kMaxPathLength); in ReadBinaryName() local
347 uint32_t size = exe_path.size(); in ReadBinaryName()
348 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName()
349 realpath(exe_path.data(), buf) != 0) { in ReadBinaryName()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_mac.cpp468 InternalMmapVector<char> exe_path(kMaxPathLength); in ReadBinaryName() local
469 uint32_t size = exe_path.size(); in ReadBinaryName()
470 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName()
471 realpath(exe_path.data(), buf) != 0) { in ReadBinaryName()
/netbsd-src/sys/arch/x68k/stand/libdos/
H A Ddos.h127 char exe_path[68]; member
/netbsd-src/external/gpl3/gcc/dist/libgfortran/
H A DChangeLog-2015198 (set_args): Don't set exe_path.
H A DChangeLog-20071657 exe_path should be free'd by the library destructor function.
1658 (cleanup): Only free exe_path if needed.