Home
last modified time | relevance | path

Searched refs:MmapOrDie (Results 1 – 25 of 29) sorted by relevance

12

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc125 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
155 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie()
303 char *filename = (char*)MmapOrDie(kBufSize, __func__); in DumpProcessMap()
Dsanitizer_common.h83 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
85 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
123 ptr_ = (T*)MmapOrDie(cnt * sizeof(T), "InternalScopedBuffer"); in InternalScopedBuffer()
503 data_ = (T *)MmapOrDie(capacity_ * sizeof(T), "InternalMmapVectorNoCtor"); in Initialize()
565 T *new_data = (T *)MmapOrDie(new_capacity * sizeof(T), in Resize()
Dsanitizer_persistent_allocator.h59 uptr mem = (uptr)MmapOrDie(allocsz, "stack depot"); in alloc()
Dsanitizer_deadlock_detector2.cc119 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
130 DDPhysicalThread *pt = (DDPhysicalThread*)MmapOrDie(sizeof(DDPhysicalThread), in CreatePhysicalThread()
184 mutex[id_gen / kL2Size] = (Mutex*)MmapOrDie(kL2Size * sizeof(Mutex), in allocateId()
Dsanitizer_procmaps_freebsd.cc41 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
Dsanitizer_flags.cc98 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
Dsanitizer_win.cc88 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
207 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
470 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in init()
Dsanitizer_tls_get_addr.cc58 (DTLS::DTV *)MmapOrDie(new_size * sizeof(DTLS::DTV), "DTLS_Resize"); in DTLS_Resize()
Dsanitizer_allocator.cc172 (char*)MmapOrDie(size_to_allocate, __func__); in Allocate()
Dsanitizer_deadlock_detector1.cc64 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
Dsanitizer_printf.cc249 buffer = (char*)MmapOrDie(kLen, "Report"); in SharedPrintfCode()
Dsanitizer_thread_registry.cc102 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), in ThreadRegistry()
Dsanitizer_posix_libcdep.cc157 void* base = MmapOrDie(kAltStackSize, __func__); in SetAlternateSignalStack()
Dsanitizer_stoptheworld_linux_libcdep.cc315 guard_start_ = (uptr)MmapOrDie(stack_size_ + guard_size_, in ScopedStackSpaceWithGuard()
Dsanitizer_addrhashmap.h151 table_ = (Bucket*)MmapOrDie(kSize * sizeof(table_[0]), "AddrHashMap"); in AddrHashMap()
Dsanitizer_common.cc135 *buff = (char*)MmapOrDie(size, __func__); in ReadFileToBuffer()
/external/compiler-rt/lib/esan/
Desan_circular_buffer.h40 Data = (T *)MmapOrDie(Capacity * sizeof(T), "CircularBuffer"); in initialize()
Desan_sideline_linux.cpp115 Stack = static_cast<char*>(MmapOrDie(SidelineStackSize, "SidelineStack")); in launchThread()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc364 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState), in cur_thread()
369 MmapOrDie(sizeof(ThreadState), "ThreadState")); in cur_thread()
Dtsan_dense_alloc.h107 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), "DenseSlabAllocator"); in Refill()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); in Create()
/external/compiler-rt/lib/safestack/
Dsafestack.cc97 void *addr = MmapOrDie(size + guard, "unsafe_stack_alloc"); in unsafe_stack_alloc()
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc31 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext"); in CreateThreadContext()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc47 mapping = MmapOrDie(2 * ps, "FastUnwindTest"); in SetUp()
/external/compiler-rt/lib/asan/
Dasan_fake_stack.cc55 : MmapOrDie(size, "FakeStack")); in Create()

12