Home
last modified time | relevance | path

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

12

/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
HDtsan_malloc_mac.cpp32 if (in_symbolizer()) return InternalAlloc(size); \
59 void *p = InternalAlloc(size, nullptr, alignment); \
68 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
HDtsan_new_delete.cpp33 return InternalAlloc(size); \
48 return InternalAlloc(size, nullptr, (uptr)align); \
HDtsan_rtl_proc.cpp21 void *mem = InternalAlloc(sizeof(Processor)); in ProcCreate()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_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()
HDsanitizer_allocator.cpp86 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() function
119 void *p = InternalAlloc(count * size, cache); in InternalCalloc()
HDsanitizer_allocator_internal.h42 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
HDsanitizer_allocator_dlsym.h35 void *ptr = InternalAlloc(size_in_bytes, nullptr, kWordSize); in Allocate()
HDsanitizer_vector.h109 T *p = (T*)InternalAlloc(cap * sizeof(T)); in EnsureSize()
HDsanitizer_symbolizer.cpp59 void *mem = InternalAlloc(sizeof(SymbolizedStack)); in New()
HDsanitizer_addrhashmap.h306 add = (AddBucket*)InternalAlloc(kInitSize); in acquire()
316 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); in acquire()
HDsanitizer_suppressions.cpp149 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse()
HDsanitizer_symbolizer_libbacktrace.cpp55 char *buf = (char *)InternalAlloc(data->allocated); in CplusV3DemangleCallback()
HDsanitizer_symbolizer_libcdep.cpp34 *result = (char*)InternalAlloc(prefix_len + 1); in ExtractToken()
77 *result = (char *)InternalAlloc(prefix_len + 1); in ExtractTokenUpToDelimiter()
HDsanitizer_symbolizer_win.cpp285 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseSymbolizerTools()
HDsanitizer_deadlock_detector1.cpp80 DDLogicalThread *lt = (DDLogicalThread*)InternalAlloc(sizeof(*lt)); in CreateLogicalThread()
HDsanitizer_common.cpp198 void *mem = InternalAlloc(sizeof(AddressRange)); in addAddressRange()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/memprof/
HDmemprof_mibmap.cpp26 (LockedMemInfoBlock *)InternalAlloc(sizeof(LockedMemInfoBlock)); in InsertOrMerge()
HDmemprof_rawprofile.cpp265 Buffer = (char *)InternalAlloc(TotalSizeBytes); in SerializeToRawProfile()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/rtsan/
HDrtsan_context.cpp40 __sanitizer::InternalAlloc(sizeof(__rtsan::Context))); in GetContextForThisThreadImpl()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/
HDdd_interceptors.cpp36 thr = (Thread*)InternalAlloc(sizeof(*thr)); in InitThread()
167 void *newcond = InternalAlloc(sizeof(pthread_cond_t)); in init_cond()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/xray/
HDxray_utils.cpp126 LogWriter *LW = reinterpret_cast<LogWriter *>(InternalAlloc(sizeof(LogWriter))); in Open()
HDxray_basic_logging.cpp135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
148 InternalAlloc(sizeof(StackEntry) * GlobalOptions.MaxStackDepth, nullptr, in getThreadLocalData()
HDxray_log_interface.cpp76 auto *NewModeImpl = static_cast<ModeImpl *>(InternalAlloc(sizeof(ModeImpl))); in __xray_log_register_mode()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/lsan/
HDlsan_common_mac.cpp79 ptr = (thread_local_data_t *)InternalAlloc(sizeof(*ptr)); in get_tls_val()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/tsan/go/
HDtsan_go.cpp30 void *Alloc(uptr sz) { return InternalAlloc(sz); } in Alloc()

12