| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.h | 20 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);
|
| H A D | scudo_allocator.cpp | 302 void *allocate(uptr Size, uptr Alignment, AllocType Type, in allocate() 384 Header.AllocType = Type; in allocate() 447 AllocType Type) { in deallocate() 475 if (Header.AllocType != Type) { in deallocate() 477 if (Header.AllocType != FromMemalign || Type != FromMalloc) in deallocate() 517 if (UNLIKELY(OldHeader.AllocType != FromMalloc)) in reallocate() 701 void *scudoAllocate(uptr Size, uptr Alignment, AllocType Type) { in scudoAllocate() 711 void scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type) { in scudoDeallocate()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.h | 32 enum AllocType { enum 81 AllocType alloc_type); 82 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type); 84 BufferedStackTrace *stack, AllocType alloc_type);
|
| H A D | memprof_allocator.cpp | 514 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()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_allocator.h | 26 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);
|
| H A D | asan_report.h | 58 AllocType alloc_type, 59 AllocType dealloc_type);
|
| H A D | asan_allocator.cpp | 485 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()
|
| H A D | asan_errors.h | 113 AllocType alloc_type, dealloc_type; 118 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
|
| H A D | asan_report.cpp | 242 AllocType alloc_type, in ReportAllocTypeMismatch() 243 AllocType dealloc_type) { in ReportAllocTypeMismatch()
|
| /freebsd-13.1/sys/contrib/dev/acpica/components/utilities/ |
| H A D | uttrack.c | 182 UINT8 AllocType, 515 UINT8 AllocType, in AcpiUtTrackAllocation() argument 556 Allocation->AllocType = AllocType; in AcpiUtTrackAllocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 1979 if (AllocType.isNull()) in BuildCXXNew() 2011 AllocType = DeducedType; in BuildCXXNew() 2033 AllocType = Context.getLifetimeQualifiedType(AllocType, in BuildCXXNew() 2182 AllocType->isDependentType() ? 0 : Context.getTypeAlign(AllocType); in BuildCXXNew() 2296 << AllocType in BuildCXXNew() 2321 AllocType, in BuildCXXNew() 2329 InitType = AllocType; in BuildCXXNew() 2391 if (AllocType->isFunctionType()) in CheckAllocatedType() 2393 << AllocType << 0 << R; in CheckAllocatedType() 2396 << AllocType << 1 << R; in CheckAllocatedType() [all …]
|
| H A D | TreeTransform.h | 11867 QualType AllocType = AllocTypeInfo->getType(); in TransformCXXNewExpr() local 11874 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr() 11882 AllocType = ConsArrayT->getElementType(); in TransformCXXNewExpr() 11887 AllocType = DepArrayT->getElementType(); in TransformCXXNewExpr() 11895 /*FIXME:*/ E->getBeginLoc(), E->getTypeIdParens(), AllocType, in TransformCXXNewExpr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Memory.inc | 111 DWORD AllocType = MEM_RESERVE | MEM_COMMIT; 116 AllocType |= MEM_LARGE_PAGES; 136 AllocSize, AllocType, Protect);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 52 enum AllocType : uint8_t { enum 65 AllocType AllocTy; 142 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 957 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument 960 switch (CGF.getEvaluationKind(AllocType)) { in StoreAnyExprIntoOneUnit() 963 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit() 966 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit() 971 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit() 1077 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() local 1079 AllocType->getAsArrayTypeUnsafe())) { in EmitNewArrayInitializer() 1080 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 3401 AllocType.isNull() ? S->getType() : AllocType); in expandStringLiteral() 9398 QualType AllocType = E->getAllocatedType(); in VisitCXXNewExpr() local 9472 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr() 9475 assert(!AllocType->isArrayType() && in VisitCXXNewExpr() 9485 QualType AllocType; in VisitCXXNewExpr() member 9496 SubobjType << AllocType; in VisitCXXNewExpr() 9531 ImplicitValueInitExpr VIE(AllocType); in VisitCXXNewExpr() 9536 AllocType)) in VisitCXXNewExpr() 10446 .VisitInitListExpr(ILE, AllocType); in EvaluateArrayNewInitList() 10479 AllocType.isNull() ? E->getType() : AllocType); in VisitInitListExpr() [all …]
|
| /freebsd-13.1/sys/contrib/dev/acpica/include/ |
| H A D | aclocal.h | 1592 UINT8 AllocType;
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 6285 QualType AllocType, 6300 bool CheckAllocatedType(QualType AllocType, SourceLocation Loc, 6320 QualType AllocType, bool IsArray,
|