Home
last modified time | relevance | path

Searched refs:InternalAlloc (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_malloc_mac.cpp32 if (in_symbolizer()) return InternalAlloc(size); \
59 void *p = InternalAlloc(size, nullptr, alignment); \
68 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
H A Dtsan_new_delete.cpp33 return InternalAlloc(size); \
48 return InternalAlloc(size, nullptr, (uptr)align); \
H A Dtsan_rtl_proc.cpp21 void *mem = InternalAlloc(sizeof(Processor)); in ProcCreate()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_libcdep_new.cpp62 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
63 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
64 uptr* pcs = static_cast<uptr*>(InternalAlloc(len * sizeof(uptr))); in SanitizerDumpCoverage()
H A Dsanitizer_allocator.cpp86 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() function
119 void *p = InternalAlloc(count * size, cache); in InternalCalloc()
H A Dsanitizer_allocator_internal.h42 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
H A Dsanitizer_allocator_dlsym.h37 void *ptr = InternalAlloc(size_in_bytes, nullptr, align);
H A Dsanitizer_vector.h109 T *p = (T*)InternalAlloc(cap * sizeof(T)); in EnsureSize()
H A Dsanitizer_win_interception.cpp48 static void *operator new(size_t size) { return InternalAlloc(size); } in operator new()
H A Dsanitizer_symbolizer.cpp59 void *mem = InternalAlloc(sizeof(SymbolizedStack)); in New()
H A Dsanitizer_addrhashmap.h306 add = (AddBucket*)InternalAlloc(kInitSize); in acquire()
316 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); in acquire()
H A Dsanitizer_suppressions.cpp149 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse()
H A Dsanitizer_symbolizer_libbacktrace.cpp55 char *buf = (char *)InternalAlloc(data->allocated); in CplusV3DemangleCallback()
H A Dsanitizer_symbolizer_libcdep.cpp34 *result = (char *)InternalAlloc(prefix_len + 1); in ExtractToken()
78 *result = (char *)InternalAlloc(prefix_len + 1); in ExtractTokenUpToDelimiter()
H A Dsanitizer_deadlock_detector1.cpp80 DDLogicalThread *lt = (DDLogicalThread*)InternalAlloc(sizeof(*lt)); in CreateLogicalThread()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_mibmap.cpp26 (LockedMemInfoBlock *)InternalAlloc(sizeof(LockedMemInfoBlock)); in InsertOrMerge()
H A Dmemprof_rawprofile.cpp265 Buffer = (char *)InternalAlloc(TotalSizeBytes); in SerializeToRawProfile()
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_context.cpp39 static_cast<Context *>(InternalAlloc(sizeof(Context))); in GetContextForThisThreadImpl()
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp170 Arena *NewArena = new (__sanitizer::InternalAlloc( in allocateNewArena()
282 Root = new (__sanitizer::InternalAlloc(sizeof(ContextRoot))) ContextRoot(); in getOrAllocateContextRoot()
449 auto *RD = new (__sanitizer::InternalAlloc(sizeof(RootAutoDetector))) in __llvm_ctx_profile_start_collection()
H A DRootAutoDetector.cpp113 new (__sanitizer::InternalAlloc(sizeof(PerThreadSamples))) in collectStack()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp36 thr = (Thread*)InternalAlloc(sizeof(*thr)); in InitThread()
167 void *newcond = InternalAlloc(sizeof(pthread_cond_t)); in init_cond()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
148 InternalAlloc(sizeof(StackEntry) * GlobalOptions.MaxStackDepth, nullptr, in getThreadLocalData()
H A Dxray_utils.cpp126 LogWriter *LW = reinterpret_cast<LogWriter *>(InternalAlloc(sizeof(LogWriter))); in Open()
H A Dxray_log_interface.cpp76 auto *NewModeImpl = static_cast<ModeImpl *>(InternalAlloc(sizeof(ModeImpl))); in __xray_log_register_mode()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp79 ptr = (thread_local_data_t *)InternalAlloc(sizeof(*ptr)); in get_tls_val()

12