Home
last modified time | relevance | path

Searched refs:fixed_addr (Results 1 – 6 of 6) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc171 void *MmapFixedNoReserve(uptr fixed_addr, uptr size, const char *name) { in MmapFixedNoReserve() argument
179 void *p = VirtualAlloc((LPVOID)fixed_addr, size, MEM_RESERVE, PAGE_READWRITE); in MmapFixedNoReserve()
181 void *p = VirtualAlloc((LPVOID)fixed_addr, size, MEM_RESERVE | MEM_COMMIT, in MmapFixedNoReserve()
187 SanitizerToolName, size, size, fixed_addr, GetLastError()); in MmapFixedNoReserve()
193 void *MmapFixedOrDie(uptr fixed_addr, uptr size) { in MmapFixedOrDie() argument
194 void *p = VirtualAlloc((LPVOID)fixed_addr, size, in MmapFixedOrDie()
199 fixed_addr); in MmapFixedOrDie()
210 void *MmapFixedNoAccess(uptr fixed_addr, uptr size, const char *name) { in MmapFixedNoAccess() argument
212 void *res = VirtualAlloc((LPVOID)fixed_addr, size, in MmapFixedNoAccess()
217 SanitizerToolName, size, size, fixed_addr, GetLastError()); in MmapFixedNoAccess()
Dsanitizer_posix_libcdep.cc259 void *MmapFixedNoReserve(uptr fixed_addr, uptr size, const char *name) { in MmapFixedNoReserve() argument
265 uptr p = internal_mmap((void *)(fixed_addr & ~(PageSize - 1)), in MmapFixedNoReserve()
272 SanitizerToolName, size, size, fixed_addr, reserrno); in MmapFixedNoReserve()
277 void *MmapFixedNoAccess(uptr fixed_addr, uptr size, const char *name) { in MmapFixedNoAccess() argument
282 return (void *)internal_mmap((void *)fixed_addr, size, PROT_NONE, flags, fd, in MmapFixedNoAccess()
Dsanitizer_posix.cc182 void *MmapFixedOrDie(uptr fixed_addr, uptr size) { in MmapFixedOrDie() argument
184 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)), in MmapFixedOrDie()
193 fixed_addr); in MmapFixedOrDie()
Dsanitizer_common.h88 void *MmapFixedNoReserve(uptr fixed_addr, uptr size,
91 void *MmapFixedOrDie(uptr fixed_addr, uptr size);
92 void *MmapFixedNoAccess(uptr fixed_addr, uptr size, const char *name = nullptr);
/external/valgrind/none/tests/solaris/
Dcoredump_many_segments.c162 static void *map_segment(void *fixed_addr) in map_segment() argument
165 void *addr = mmap(fixed_addr, 1, PROT_READ | PROT_WRITE, in map_segment()
172 assert(addr == fixed_addr); in map_segment()
/external/ipsec-tools/src/racoon/
Dracoonctl.c221 char * fixed_addr __P((char *, char *, int));
1156 p = fixed_addr(_addr1_, _addr2_, 22);
1160 p = fixed_addr(_addr1_, _addr2_, 45);
1171 p = fixed_addr(_addr1_, _addr2_, 22);
1175 p = fixed_addr(_addr1_, _addr2_, 45);
1246 fixed_addr(_addr1_, _addr2_, 45)
1247 : fixed_addr(_addr1_, _addr2_, 22));
1253 fixed_addr(_addr1_, _addr2_, 45)
1254 : fixed_addr(_addr1_, _addr2_, 22));
1520 fixed_addr(addr, port, len) in fixed_addr() function