Home
last modified time | relevance | path

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

/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_libc.cc109 char *s2 = (char*)InternalAlloc(len + 1); in internal_strdup()
117 char *s2 = (char*)InternalAlloc(len + 1); in internal_strndup()
Dsanitizer_symbolizer.cc44 void *mem = InternalAlloc(sizeof(SymbolizedStack)); in New()
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()
Dsanitizer_symbolizer_libbacktrace.cc56 char *buf = (char *)InternalAlloc(data->allocated); in CplusV3DemangleCallback()
Dsanitizer_deadlock_detector1.cc81 DDLogicalThread *lt = (DDLogicalThread*)InternalAlloc(sizeof(*lt)); in CreateLogicalThread()
Dsanitizer_symbolizer_posix_libcdep.cc376 char *res_buff = static_cast<char*>(InternalAlloc(res_length)); in Demangle()
Dsanitizer_common.cc268 void *mem = InternalAlloc(sizeof(AddressRange)); in addAddressRange()
Dsanitizer_deadlock_detector2.cc141 DDLogicalThread *lt = (DDLogicalThread*)InternalAlloc( in CreateLogicalThread()
Dsanitizer_common_interceptors.inc5425 (WrappedCookie *)InternalAlloc(sizeof(WrappedCookie));
/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); \
Dtsan_mman.cc248 return InternalAlloc(sz, &thr->proc()->internal_alloc_cache); in internal_alloc()
Dtsan_interceptors.cc409 AtExitCtx *ctx = (AtExitCtx*)InternalAlloc(sizeof(AtExitCtx)); in setup_at_exit_wrapper()
435 AtExitCtx *ctx = (AtExitCtx*)InternalAlloc(sizeof(AtExitCtx)); in TSAN_INTERCEPTOR()
588 return InternalAlloc(size); in TSAN_INTERCEPTOR()
/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()
/external/compiler-rt/lib/tsan/go/
Dtsan_go.cc32 return InternalAlloc(sz); in internal_alloc()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc36 thr = (Thread*)InternalAlloc(sizeof(*thr)); in InitThread()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc1183 (MSanAtExitRecord *)InternalAlloc(sizeof(MSanAtExitRecord)); in INTERCEPTOR()