Home
last modified time | relevance | path

Searched refs:internal_alloc (Results 1 – 13 of 13) sorted by relevance

/external/compiler-rt/lib/tsan/go/
Dtsan_go.cc43 ReportStack *ent = (ReportStack*)internal_alloc(MBlockReportStack, in NewReportStackEntry()
50 void *internal_alloc(MBlockType typ, uptr sz) { in internal_alloc() function
71 ReportStack *s = (ReportStack*)internal_alloc(MBlockReportStack, in SymbolizeCode()
95 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_stack_trace.cc55 s_ = (uptr*)internal_alloc(MBlockStackTrace, cnt * sizeof(s_[0])); in Init()
79 s_ = (uptr*)internal_alloc(MBlockStackTrace, in ObtainCurrent()
Dtsan_rtl_report.cc152 void *mem = internal_alloc(MBlockReport, sizeof(ReportDesc)); in ScopedReport()
173 void *mem = internal_alloc(MBlockReportMop, sizeof(ReportMop)); in AddMemoryAccess()
201 void *mem = internal_alloc(MBlockReportThread, sizeof(ReportThread)); in AddThread()
270 void *mem = internal_alloc(MBlockReportMutex, sizeof(ReportMutex)); in AddMutex()
303 void *mem = internal_alloc(MBlockReportMutex, sizeof(ReportMutex)); in AddDeadMutex()
321 void *mem = internal_alloc(MBlockReportLoc, sizeof(ReportLocation)); in AddLocation()
342 void *mem = internal_alloc(MBlockReportLoc, sizeof(ReportLocation)); in AddLocation()
360 void *mem = internal_alloc(MBlockReportLoc, sizeof(ReportLocation)); in AddLocation()
731 __sanitizer::StackTrace *ptrace = new(internal_alloc(MBlockStackTrace, in PrintCurrentStackSlow()
Dtsan_symbolize.cc40 ReportStack *ent = (ReportStack*)internal_alloc(MBlockReportStack, in NewReportStackEntry()
137 ReportLocation *ent = (ReportLocation*)internal_alloc(MBlockReportStack, in SymbolizeData()
Dtsan_mman.h69 void *internal_alloc(MBlockType typ, uptr sz);
Dtsan_vector.h112 T *p = (T*)internal_alloc(typ_, cap * sizeof(T)); in EnsureSize()
Dtsan_suppressions.cc67 char *buf = (char*)internal_alloc(MBlockSuppression, fsize + 1); in ReadFile()
Dtsan_mman.cc162 void *internal_alloc(MBlockType typ, uptr sz) { in internal_alloc() function
Dtsan_rtl.cc72 void *mem = internal_alloc(MBlockThreadContex, sizeof(ThreadContext)); in CreateThreadContext()
428 uptr *newstack = (uptr*)internal_alloc(MBlockShadowStack, in GrowShadowStack()
Dtsan_rtl_thread.cc97 thr->shadow_stack = (uptr*)internal_alloc(MBlockShadowStack, in OnStarted()
Dtsan_interface_ann.cc97 race = (ExpectRace*)internal_alloc(MBlockExpectRace, sizeof(ExpectRace)); in AddExpectRace()
Dtsan_interceptors.cc2390 atexit_ctx = new(internal_alloc(MBlockAtExit, sizeof(AtExitContext))) in InitializeInterceptors()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cc22 char *p = (char*)internal_alloc(MBlockScopedBuf, 10); in TEST()
24 char *p2 = (char*)internal_alloc(MBlockScopedBuf, 20); in TEST()