Home
last modified time | relevance | path

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

12

/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_malloc_mac.cpp31 if (in_symbolizer()) return InternalAlloc(size); \
44 void *p = InternalAlloc(size, nullptr, alignment); \
53 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
Dtsan_new_delete.cpp33 return InternalAlloc(size); \
48 return InternalAlloc(size, nullptr, (uptr)align); \
Dtsan_rtl_proc.cpp21 void *mem = InternalAlloc(sizeof(Processor)); in ProcCreate()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_internal.h48 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
65 return InternalAlloc(size); in new()
Dsanitizer_allocator.cc122 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() function
134 return InternalAlloc(size, cache); in InternalRealloc()
149 void *p = InternalAlloc(count * size, cache); in InternalCalloc()
Dsanitizer_symbolizer.cc44 void *mem = InternalAlloc(sizeof(SymbolizedStack)); in New()
Dsanitizer_libc.cc109 char *s2 = (char*)InternalAlloc(len + 1); in internal_strdup()
117 char *s2 = (char*)InternalAlloc(len + 1); in internal_strndup()
Dsanitizer_symbolizer_libcdep.cc22 *result = (char*)InternalAlloc(prefix_len + 1); in ExtractToken()
55 *result = (char *)InternalAlloc(prefix_len + 1); in ExtractTokenUpToDelimiter()
Dsanitizer_addrhashmap.h256 add = (AddBucket*)InternalAlloc(kInitSize); in acquire()
266 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); in acquire()
Dsanitizer_suppressions.cc132 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_malloc_mac.cc31 if (cur_thread()->in_symbolizer) return InternalAlloc(size); \
44 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
Dtsan_rtl_proc.cc22 void *mem = InternalAlloc(sizeof(Processor)); in ProcCreate()
Dtsan_new_delete.cc29 return InternalAlloc(size); \
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_coverage_libcdep_new.cpp60 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
61 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
62 uptr* pcs = static_cast<uptr*>(InternalAlloc(len * sizeof(uptr))); in SanitizerDumpCoverage()
Dsanitizer_allocator.cpp155 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() function
168 return InternalAlloc(size, cache); in InternalRealloc()
199 void *p = InternalAlloc(count * size, cache); in InternalCalloc()
Dsanitizer_allocator_internal.h42 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
Dsanitizer_vector.h109 T *p = (T*)InternalAlloc(cap * sizeof(T)); in EnsureSize()
Dsanitizer_symbolizer.cpp45 void *mem = InternalAlloc(sizeof(SymbolizedStack)); in New()
Dsanitizer_addrhashmap.h267 add = (AddBucket*)InternalAlloc(kInitSize); in acquire()
277 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); in acquire()
Dsanitizer_suppressions.cpp145 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse()
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_common_mac.cpp62 ptr = (thread_local_data_t *)InternalAlloc(sizeof(*ptr)); in get_tls_val()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_utils.cpp125 LogWriter *LW = reinterpret_cast<LogWriter *>(InternalAlloc(sizeof(LogWriter))); in Open()
Dxray_basic_logging.cpp135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
148 InternalAlloc(sizeof(StackEntry) * GlobalOptions.MaxStackDepth, nullptr, in getThreadLocalData()
Dxray_log_interface.cpp76 auto *NewModeImpl = static_cast<ModeImpl *>(InternalAlloc(sizeof(ModeImpl))); in __xray_log_register_mode()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc616 char *p = (char*)InternalAlloc(10); in TEST()
618 char *p2 = (char*)InternalAlloc(20); in TEST()
631 char *p = (char*)InternalAlloc(sz); in TEST()
641 void *p = InternalAlloc(10 << 20); in TEST()

12