| /freebsd-12.1/contrib/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.h | 21 enum AllocType : u8 { enum 46 u64 AllocType : 2; // malloc, new, new[], or memalign member 119 void *scudoAllocate(uptr Size, uptr Alignment, AllocType Type); 120 void scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type);
|
| H A D | scudo_allocator.cpp | 292 void *allocate(uptr Size, uptr Alignment, AllocType Type, in allocate() 363 Header.AllocType = Type; in allocate() 426 AllocType Type) { in deallocate() 446 if (Header.AllocType != Type) { in deallocate() 448 if (Header.AllocType != FromMemalign || Type != FromMalloc) in deallocate() 476 if (UNLIKELY(OldHeader.AllocType != FromMalloc)) in reallocate() 641 void *scudoAllocate(uptr Size, uptr Alignment, AllocType Type) { in scudoAllocate() 651 void scudoDeallocate(void *Ptr, uptr Size, uptr Alignment, AllocType Type) { in scudoDeallocate()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_allocator.h | 26 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 D | asan_report.h | 59 AllocType alloc_type, 60 AllocType dealloc_type);
|
| H A D | asan_allocator.cc | 400 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 D | asan_errors.h | 113 AllocType alloc_type, dealloc_type; 118 AllocType alloc_type_, AllocType dealloc_type_) in ErrorAllocTypeMismatch()
|
| H A D | asan_report.cc | 239 AllocType alloc_type, in ReportAllocTypeMismatch() 240 AllocType dealloc_type) { in ReportAllocTypeMismatch()
|
| /freebsd-12.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-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 1852 if (AllocType.isNull()) in BuildCXXNew() 1875 << AllocType << TypeRange; in BuildCXXNew() 1883 AllocType = DeducedType; in BuildCXXNew() 1905 AllocType = Context.getLifetimeQualifiedType(AllocType, in BuildCXXNew() 2053 AllocType->isDependentType() ? 0 : Context.getTypeAlign(AllocType); in BuildCXXNew() 2106 << AllocType in BuildCXXNew() 2138 InitType = AllocType; in BuildCXXNew() 2202 if (AllocType->isFunctionType()) in CheckAllocatedType() 2204 << AllocType << 0 << R; in CheckAllocatedType() 2207 << AllocType << 1 << R; in CheckAllocatedType() [all …]
|
| H A D | TreeTransform.h | 10313 QualType AllocType = AllocTypeInfo->getType(); in TransformCXXNewExpr() local 10320 const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType); in TransformCXXNewExpr() 10328 AllocType = ConsArrayT->getElementType(); in TransformCXXNewExpr() 10333 AllocType = DepArrayT->getElementType(); in TransformCXXNewExpr() 10341 /*FIXME:*/ E->getBeginLoc(), E->getTypeIdParens(), AllocType, in TransformCXXNewExpr()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 53 enum AllocType : uint8_t { enum 65 AllocType AllocTy; 136 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, in getAllocationDataForFunction() 173 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy, in getAllocationData()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 943 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument 946 switch (CGF.getEvaluationKind(AllocType)) { in StoreAnyExprIntoOneUnit() 949 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit() 952 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit() 957 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit() 1062 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() local 1064 AllocType->getAsArrayTypeUnsafe())) { in EmitNewArrayInitializer() 1065 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
|
| /freebsd-12.1/sys/contrib/dev/acpica/include/ |
| H A D | aclocal.h | 1592 UINT8 AllocType;
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 5203 QualType AllocType, 5218 bool CheckAllocatedType(QualType AllocType, SourceLocation Loc, 5238 QualType AllocType, bool IsArray,
|