Home
last modified time | relevance | path

Searched refs:AllocType (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_function.pass.cpp30 template <class FuncType, class AllocType>
31 void test_FunctionObject(AllocType& alloc) in test_FunctionObject()
54 template <class FuncType, class AllocType>
55 void test_FreeFunction(AllocType& alloc) in test_FreeFunction()
76 template <class TargetType, class FuncType, class AllocType>
77 void test_MemFunClass(AllocType& alloc) in test_MemFunClass()
Dalloc_F.pass.cpp42 template <class FuncType, class AllocType>
43 void test_FunctionObject(AllocType& alloc) in test_FunctionObject()
62 template <class FuncType, class AllocType>
63 void test_FreeFunction(AllocType& alloc) in test_FreeFunction()
81 template <class TargetType, class FuncType, class AllocType>
82 void test_MemFunClass(AllocType& alloc) in test_MemFunClass()
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_F.pass.cpp40 template <class FuncType, class AllocType>
41 void test_FunctionObject(AllocType& alloc) in test_FunctionObject()
60 template <class FuncType, class AllocType>
61 void test_FreeFunction(AllocType& alloc) in test_FreeFunction()
77 template <class TargetType, class FuncType, class AllocType>
78 void test_MemFunClass(AllocType& alloc) in test_MemFunClass()
Dalloc_function.pass.cpp28 template <class FuncType, class AllocType>
29 void test_FunctionObject(AllocType& alloc) in test_FunctionObject()
52 template <class FuncType, class AllocType>
53 void test_FreeFunction(AllocType& alloc) in test_FreeFunction()
74 template <class TargetType, class FuncType, class AllocType>
75 void test_MemFunClass(AllocType& alloc) in test_MemFunClass()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.h27 enum AllocType : u8 { enum
49 void *scudoMalloc(uptr Size, AllocType Type);
50 void scudoFree(void *Ptr, AllocType Type);
51 void scudoSizedFree(void *Ptr, uptr Size, AllocType Type);
Dscudo_allocator.cpp73 u8 AllocType : 2; // malloc, new, new[], or memalign member
317 void *allocate(uptr Size, uptr Alignment, AllocType Type) { in allocate()
364 Header.AllocType = Type; in allocate()
377 void deallocate(void *UserPtr, uptr DeleteSize, AllocType Type) { in deallocate()
402 if (NewHeader.AllocType != Type) { in deallocate()
404 if (NewHeader.AllocType != FromMemalign || Type != FromMalloc) { in deallocate()
473 if (OldHeader.AllocType != FromMalloc) { in reallocate()
538 void *scudoMalloc(uptr Size, AllocType Type) { in scudoMalloc()
542 void scudoFree(void *Ptr, AllocType Type) { in scudoFree()
546 void scudoSizedFree(void *Ptr, uptr Size, AllocType Type) { in scudoSizedFree()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.h20 enum AllocType : u8 { enum
45 u64 AllocType : 2; // malloc, new, new[], or memalign member
113 void *scudoAllocate(uptr Size, uptr Alignment, AllocType Type);
114 void scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type);
Dscudo_allocator.cpp302 void *allocate(uptr Size, uptr Alignment, AllocType Type, in allocate()
381 Header.AllocType = Type; in allocate()
444 AllocType Type) { in deallocate()
472 if (Header.AllocType != Type) { in deallocate()
474 if (Header.AllocType != FromMemalign || Type != FromMalloc) in deallocate()
514 if (UNLIKELY(OldHeader.AllocType != FromMalloc)) in reallocate()
697 void *scudoAllocate(uptr Size, uptr Alignment, AllocType Type) { in scudoAllocate()
707 void scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type) { in scudoDeallocate()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.h32 enum AllocType { enum
82 AllocType alloc_type);
83 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
85 BufferedStackTrace *stack, AllocType alloc_type);
Dmemprof_allocator.cpp514 AllocType alloc_type) { in Allocate()
612 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
763 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free()
768 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete()
824 AllocType alloc_type) { in memprof_memalign()
/external/compiler-rt/lib/asan/
Dasan_allocator.h26 enum AllocType { enum
164 AllocType alloc_type);
165 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
167 AllocType alloc_type);
Dasan_report.h61 AllocType alloc_type,
62 AllocType dealloc_type);
Dasan_allocator.cc324 AllocType alloc_type, bool can_fill) { in Allocate()
480 AllocType alloc_type) { in QuarantineChunk()
512 AllocType alloc_type) { in Deallocate()
526 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
527 (AllocType)alloc_type); in Deallocate()
720 AllocType alloc_type) { in asan_memalign()
724 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
729 AllocType alloc_type) { in asan_sized_free()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.h26 enum AllocType { enum
69 AllocType GetAllocType() const;
209 AllocType alloc_type);
210 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
212 BufferedStackTrace *stack, AllocType alloc_type);
Dasan_report.h58 AllocType alloc_type,
59 AllocType dealloc_type);
Dasan_allocator.cpp485 AllocType alloc_type, bool can_fill) { in Allocate()
677 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
701 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
702 (AllocType)alloc_type); in Deallocate()
907 AllocType AsanChunkView::GetAllocType() const { in GetAllocType()
908 return (AllocType)chunk_->alloc_type; in GetAllocType()
970 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
975 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
1032 AllocType alloc_type) { in asan_memalign()
Dasan_errors.h113 AllocType alloc_type, dealloc_type;
118 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
/external/clang/lib/Sema/
DSemaExprCXX.cpp1458 QualType AllocType = TInfo->getType(); in ActOnCXXNew() local
1471 AllocType, in ActOnCXXNew()
1504 QualType AllocType, in BuildCXXNew() argument
1535 if (TypeMayContainAuto && AllocType->isUndeducedType()) { in BuildCXXNew()
1538 << AllocType << TypeRange); in BuildCXXNew()
1543 << AllocType << TypeRange); in BuildCXXNew()
1548 << AllocType << TypeRange); in BuildCXXNew()
1554 << AllocType << Deduce->getType() in BuildCXXNew()
1558 AllocType = DeducedType; in BuildCXXNew()
1565 = Context.getAsConstantArrayType(AllocType)) { in BuildCXXNew()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp1647 static bool hasNewExtendedAlignment(Sema &S, QualType AllocType) { in hasNewExtendedAlignment() argument
1649 S.getASTContext().getTypeAlignIfKnown(AllocType) > in hasNewExtendedAlignment()
1799 QualType AllocType = TInfo->getType(); in ActOnCXXNew() local
1809 TypeIdParens, AllocType, TInfo, ArraySize, DirectInitRange, in ActOnCXXNew()
1870 QualType AllocType, in BuildCXXNew() argument
1920 auto *Deduced = AllocType->getContainedDeducedType(); in BuildCXXNew()
1930 = InitializedEntity::InitializeNew(StartLoc, AllocType); in BuildCXXNew()
1931 AllocType = DeduceTemplateSpecializationFromInitializer( in BuildCXXNew()
1933 if (AllocType.isNull()) in BuildCXXNew()
1947 << AllocType << TypeRange); in BuildCXXNew()
[all …]
/external/OpenCL-CTS/test_conformance/allocations/
DtestBase.h48 enum AllocType enum
/external/llvm-project/llvm/lib/Support/Windows/
DMemory.inc111 DWORD AllocType = MEM_RESERVE | MEM_COMMIT;
116 AllocType |= MEM_LARGE_PAGES;
136 AllocSize, AllocType, Protect);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DMemory.inc111 DWORD AllocType = MEM_RESERVE | MEM_COMMIT;
116 AllocType |= MEM_LARGE_PAGES;
136 AllocSize, AllocType, Protect);
/external/skia/src/core/
DSkMask.h123 enum AllocType { enum
127 static uint8_t* AllocImage(size_t bytes, AllocType = kUninit_Alloc);
/external/skqp/src/core/
DSkMask.h121 enum AllocType { enum
125 static uint8_t* AllocImage(size_t bytes, AllocType = kUninit_Alloc);
/external/pdfium/core/fxcrt/
Dstring_view_template.h76 template <typename AllocType>
78 const std::vector<UnsignedType, AllocType>& vec) noexcept in StringViewTemplate()

12