Home
last modified time | relevance | path

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

/external/syslinux/gnu-efi/gnu-efi-3.0/apps/
DAllocPages.c119 INTN AllocType = -1; in efi_main() local
169 AllocType = xtoi(argv[1]); in efi_main()
174 if ( (AllocType < 0) || (AllocType > 2)) { in efi_main()
194 Print(L"AllocatPage(%d,%d,%d,%lx)\n", AllocType, MemType, NumPages, Addr); in efi_main()
196 efi_status = uefi_call_wrapper(BS->AllocatePages, 4, AllocType, MemType, NumPages, &Addr); in efi_main()
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
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()
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()
/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/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()
Dasan_report.cc862 AllocType alloc_type, in ReportAllocTypeMismatch()
863 AllocType dealloc_type) { in ReportAllocTypeMismatch()
/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 …]
DTreeTransform.h9499 QualType AllocType = AllocTypeInfo->getType(); in TransformCXXNewExpr() local
9506 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr()
9514 AllocType = ConsArrayT->getElementType(); in TransformCXXNewExpr()
9519 AllocType = DepArrayT->getElementType(); in TransformCXXNewExpr()
9530 AllocType, in TransformCXXNewExpr()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp807 QualType AllocType, Address NewPtr) { in StoreAnyExprIntoOneUnit() argument
809 switch (CGF.getEvaluationKind(AllocType)) { in StoreAnyExprIntoOneUnit()
812 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
815 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
820 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
860 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() local
862 AllocType->getAsArrayTypeUnsafe())) { in EmitNewArrayInitializer()
863 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp34 enum AllocType : uint8_t { enum
45 AllocType AllocTy;
101 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
/external/clang/include/clang/Sema/
DSema.h4777 QualType AllocType,
4784 bool CheckAllocatedType(QualType AllocType, SourceLocation Loc,
4787 bool UseGlobal, QualType AllocType, bool IsArray,