Home
last modified time | relevance | path

Searched refs:alloc_type (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp91 u8 alloc_type : 2; member in __asan::ChunkHeader
474 AllocType alloc_type, bool can_fill) { in Allocate()
557 m->alloc_type = alloc_type; in Allocate()
687 if (m->alloc_type != alloc_type) { in Deallocate()
690 (AllocType)alloc_type); in Deallocate()
694 (alloc_type == FROM_NEW || alloc_type == FROM_NEW_BR) && in Deallocate()
896 return (AllocType)chunk_->alloc_type; in GetAllocType()
944 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in asan_free()
948 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete() argument
949 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in asan_delete()
[all …]
H A Dasan_allocator.h207 AllocType alloc_type);
208 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
210 BufferedStackTrace *stack, AllocType alloc_type);
H A Dasan_report.h58 AllocType alloc_type,
H A Dasan_errors.h113 AllocType alloc_type, dealloc_type; member
121 alloc_type(alloc_type_), in ErrorAllocTypeMismatch()
H A Dasan_descriptions.h117 u32 alloc_type : 2; member
H A Dasan_report.cpp244 AllocType alloc_type, in ReportAllocTypeMismatch() argument
248 alloc_type, dealloc_type); in ReportAllocTypeMismatch()
H A Dasan_errors.cpp122 CHECK_NE(alloc_type, dealloc_type); in Print()
126 scariness.GetDescription(), alloc_names[alloc_type], in Print()
H A Dasan_descriptions.cpp123 descr->alloc_type = chunk.GetAllocType(); in GetAccessToHeapChunkInformation()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.h81 AllocType alloc_type);
82 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
84 BufferedStackTrace *stack, AllocType alloc_type);
H A Dmemprof_allocator.cpp341 AllocType alloc_type) { in Allocate()
438 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
587 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free() argument
588 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in memprof_free()
592 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete() argument
593 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in memprof_delete()
648 AllocType alloc_type) { in memprof_memalign() argument
655 return SetErrnoOnNull(instance.Allocate(size, alignment, stack, alloc_type)); in memprof_memalign()
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp2484 const uint32_t alloc_type = static_cast<uint32_t>(*alloc->element.type.get()); in LoadAllocation() local
2490 } else if (alloc_type != file_type) { in LoadAllocation()
2493 uint32_t target_type_name_idx = alloc_type; in LoadAllocation()
2495 if (alloc_type >= Element::RS_TYPE_ELEMENT && in LoadAllocation()
2496 alloc_type <= Element::RS_TYPE_FONT) in LoadAllocation()
2498 (alloc_type - Element::RS_TYPE_ELEMENT) + in LoadAllocation()