Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/gnu-efi/dist/apps/
H A DAllocPages.c118 INTN AllocType = -1; in efi_main() local
151 AllocType = xtoi(argv[1]); in efi_main()
156 if ( (AllocType < 0) || (AllocType > 2)) { in efi_main()
176 Print(L"AllocatPage(%d,%d,%d,%lx)\n", AllocType, MemType, NumPages, Addr); in efi_main()
178 efi_status = uefi_call_wrapper(BS->AllocatePages, 4, AllocType, MemType, NumPages, &Addr); in efi_main()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_allocator.h24 enum AllocType { enum
67 AllocType GetAllocType() const;
207 AllocType alloc_type);
208 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
210 BufferedStackTrace *stack, AllocType alloc_type);
H A Dasan_report.h57 AllocType alloc_type,
58 AllocType dealloc_type);
H A Dasan_allocator.cc398 AllocType alloc_type, bool can_fill) { in Allocate()
609 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
633 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
634 (AllocType)alloc_type); in Deallocate()
814 AllocType AsanChunkView::GetAllocType() const { in GetAllocType()
815 return (AllocType)chunk_->alloc_type; in GetAllocType()
864 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
869 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
915 AllocType alloc_type) { in asan_memalign()
H A Dasan_errors.h111 AllocType alloc_type, dealloc_type;
116 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
H A Dasan_report.cc237 AllocType alloc_type, in ReportAllocTypeMismatch()
238 AllocType dealloc_type) { in ReportAllocTypeMismatch()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_allocator.h26 enum AllocType { enum
67 AllocType GetAllocType() const;
207 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,
59 AllocType dealloc_type);
H A Dasan_allocator.cpp484 AllocType alloc_type, bool can_fill) { in Allocate()
676 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
700 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
701 (AllocType)alloc_type); in Deallocate()
906 AllocType AsanChunkView::GetAllocType() const { in GetAllocType()
907 return (AllocType)chunk_->alloc_type; in GetAllocType()
954 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
959 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
1016 AllocType alloc_type) { in asan_memalign()
H A Dasan_errors.h113 AllocType alloc_type, dealloc_type;
118 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
H A Dasan_report.cpp242 AllocType alloc_type, in ReportAllocTypeMismatch()
243 AllocType dealloc_type) { in ReportAllocTypeMismatch()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_allocator.h26 enum AllocType { enum
69 AllocType GetAllocType() const;
221 AllocType alloc_type);
222 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
224 BufferedStackTrace *stack, AllocType alloc_type);
H A Dasan_report.h59 AllocType alloc_type,
60 AllocType dealloc_type);
H A Dasan_allocator.cc400 AllocType alloc_type, bool can_fill) { in Allocate()
611 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
635 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
636 (AllocType)alloc_type); in Deallocate()
816 AllocType AsanChunkView::GetAllocType() const { in GetAllocType()
817 return (AllocType)chunk_->alloc_type; in GetAllocType()
866 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
871 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
917 AllocType alloc_type) { in asan_memalign()
H A Dasan_errors.h113 AllocType alloc_type, dealloc_type;
118 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
H A Dasan_report.cc239 AllocType alloc_type, in ReportAllocTypeMismatch()
240 AllocType dealloc_type) { in ReportAllocTypeMismatch()
/netbsd-src/sys/external/bsd/acpica/dist/utilities/
H A Duttrack.c74 UINT8 AllocType,
407 UINT8 AllocType, in AcpiUtTrackAllocation() argument
448 Allocation->AllocType = AllocType; in AcpiUtTrackAllocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprCXX.cpp1676 static bool hasNewExtendedAlignment(Sema &S, QualType AllocType) { in hasNewExtendedAlignment() argument
1678 S.getASTContext().getTypeAlignIfKnown(AllocType) > in hasNewExtendedAlignment()
1828 QualType AllocType = TInfo->getType(); in ActOnCXXNew() local
1838 TypeIdParens, AllocType, TInfo, ArraySize, DirectInitRange, in ActOnCXXNew()
1899 QualType AllocType, in BuildCXXNew() argument
1949 auto *Deduced = AllocType->getContainedDeducedType(); in BuildCXXNew()
1959 = InitializedEntity::InitializeNew(StartLoc, AllocType); in BuildCXXNew()
1960 AllocType = DeduceTemplateSpecializationFromInitializer( in BuildCXXNew()
1962 if (AllocType.isNull()) in BuildCXXNew()
1976 << AllocType << TypeRange); in BuildCXXNew()
[all …]
H A DTreeTransform.h11788 QualType AllocType = AllocTypeInfo->getType(); in TransformCXXNewExpr() local
11795 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr()
11803 AllocType = ConsArrayT->getElementType(); in TransformCXXNewExpr()
11808 AllocType = DepArrayT->getElementType(); in TransformCXXNewExpr()
11816 /*FIXME:*/ E->getBeginLoc(), E->getTypeIdParens(), AllocType, in TransformCXXNewExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DMemory.inc111 DWORD AllocType = MEM_RESERVE | MEM_COMMIT;
116 AllocType |= MEM_LARGE_PAGES;
136 AllocSize, AllocType, Protect);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp52 enum AllocType : uint8_t { enum
65 AllocType AllocTy;
141 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction()
178 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
190 getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprCXX.cpp954 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument
957 switch (CGF.getEvaluationKind(AllocType)) { in StoreAnyExprIntoOneUnit()
960 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
963 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
968 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1074 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() local
1076 AllocType->getAsArrayTypeUnsafe())) { in EmitNewArrayInitializer()
1077 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp3396 QualType AllocType = QualType()) { in expandStringLiteral() argument
3398 AllocType.isNull() ? S->getType() : AllocType); in expandStringLiteral()
6623 QualType AllocType = Info.Ctx.getConstantArrayType(ElemType, Size, nullptr, in HandleOperatorNewCall() local
6625 APValue *Val = Info.createHeapAlloc(E, AllocType, Result); in HandleOperatorNewCall()
6627 Result.addArray(Info, E, cast<ConstantArrayType>(AllocType)); in HandleOperatorNewCall()
6672 QualType AllocType = Pointer.Base.getDynamicAllocType(); in CheckDeleteKind() local
6675 << DeallocKind << (*Alloc)->getKind() << AllocType; in CheckDeleteKind()
9318 QualType AllocType);
9322 QualType AllocType);
9375 QualType AllocType = E->getAllocatedType(); in VisitCXXNewExpr() local
[all …]
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Daclocal.h1496 UINT8 AllocType;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h6218 QualType AllocType,
6233 bool CheckAllocatedType(QualType AllocType, SourceLocation Loc,
6253 QualType AllocType, bool IsArray,