Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_malloc_mac.cc32 if (cur_thread()->in_symbolizer) return InternalAlloc(size); \
45 void *p = InternalAlloc(size, nullptr, alignment); \
54 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
H A Dtsan_new_delete.cc34 return InternalAlloc(size); \
49 return InternalAlloc(size, nullptr, (uptr)align); \
H A Dtsan_rtl_proc.cc22 void *mem = InternalAlloc(sizeof(Processor)); in ProcCreate()
H A Dtsan_interceptors.cc420 AtExitCtx *ctx = (AtExitCtx*)InternalAlloc(sizeof(AtExitCtx)); in setup_at_exit_wrapper()
461 AtExitCtx *ctx = (AtExitCtx*)InternalAlloc(sizeof(AtExitCtx)); in TSAN_INTERCEPTOR()
669 return InternalAlloc(size); in TSAN_INTERCEPTOR()
812 return InternalAlloc(sz, nullptr, align); in TSAN_INTERCEPTOR()
819 return InternalAlloc(sz, nullptr, GetPageSizeCached()); in TSAN_INTERCEPTOR()
830 return InternalAlloc(sz, nullptr, PageSize); in TSAN_INTERCEPTOR()
843 void *p = InternalAlloc(sz, nullptr, align); in TSAN_INTERCEPTOR()
H A Dtsan_mman.cc330 return InternalAlloc(sz, &thr->proc()->internal_alloc_cache); in internal_alloc()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_libcdep_new.cc61 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
62 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
63 uptr* pcs = static_cast<uptr*>(InternalAlloc(len * sizeof(uptr))); in SanitizerDumpCoverage()
H A Dsanitizer_allocator.cc150 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() function
162 return InternalAlloc(size, cache); in InternalRealloc()
181 void *p = InternalAlloc(count * size, cache); in InternalCalloc()
H A Dsanitizer_allocator_internal.h57 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
H A Dsanitizer_vector.h114 T *p = (T*)InternalAlloc(cap * sizeof(T)); in EnsureSize()
H A Dsanitizer_symbolizer.cc46 void *mem = InternalAlloc(sizeof(SymbolizedStack)); in New()
H A Dsanitizer_addrhashmap.h268 add = (AddBucket*)InternalAlloc(kInitSize); in acquire()
278 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); in acquire()
H A Dsanitizer_symbolizer_libcdep.cc34 *result = (char*)InternalAlloc(prefix_len + 1); in ExtractToken()
67 *result = (char *)InternalAlloc(prefix_len + 1); in ExtractTokenUpToDelimiter()
H A Dsanitizer_suppressions.cc135 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse()
H A Dsanitizer_symbolizer_libbacktrace.cc56 char *buf = (char *)InternalAlloc(data->allocated); in CplusV3DemangleCallback()
H A Dsanitizer_common.cc163 void *mem = InternalAlloc(sizeof(AddressRange)); in addAddressRange()
H A Dsanitizer_deadlock_detector1.cc81 DDLogicalThread *lt = (DDLogicalThread*)InternalAlloc(sizeof(*lt)); in CreateLogicalThread()
H A Dsanitizer_libc.cc110 char *s2 = (char*)InternalAlloc(len + 1); in internal_strdup()
H A Dsanitizer_symbolizer_posix_libcdep.cc416 char *res_buff = static_cast<char*>(InternalAlloc(res_length)); in Demangle()
/freebsd-12.1/contrib/compiler-rt/lib/esan/
H A Desan_hashtable.h142 Table = (HashEntry **)InternalAlloc(Capacity * sizeof(HashEntry *)); in HashTable()
202 Table = (HashEntry **)InternalAlloc(Capacity * sizeof(HashEntry *)); in resize()
238 HashEntry *Add = (HashEntry *)InternalAlloc(sizeof(*Add)); in add()
/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_basic_logging.cc136 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
149 InternalAlloc(sizeof(StackEntry) * GlobalOptions.MaxStackDepth, nullptr, in getThreadLocalData()
H A Dxray_utils.cc122 LogWriter *LW = reinterpret_cast<LogWriter *>(InternalAlloc(sizeof(LogWriter))); in Open()
H A Dxray_log_interface.cc77 auto *NewModeImpl = static_cast<ModeImpl *>(InternalAlloc(sizeof(ModeImpl))); in __xray_log_register_mode()
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cc63 ptr = (thread_local_data_t *)InternalAlloc(sizeof(*ptr)); in get_tls_val()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/go/
H A Dtsan_go.cc32 return InternalAlloc(sz); in internal_alloc()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cc36 thr = (Thread*)InternalAlloc(sizeof(*thr)); in InitThread()

12