/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ArrayRecycler.h | 49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); 51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); 63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); 67 /// The size of an allocated array is represented by a Capacity instance. 71 class Capacity { class in class:llvm::ArrayRecycler 73 explicit Capacity(uint8_t idx) : Index(idx) {} function in class:llvm::ArrayRecycler::Capacity 76 Capacity() : Index(0) {} function in class:llvm::ArrayRecycler::Capacity 79 static Capacity get(size_t N) { 80 return Capacity(N ? Log2_64_Ceil(N) : 0); 92 Capacity getNex [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | TypeLocBuilder.cpp | 45 assert(NewCapacity > Capacity); 49 unsigned NewIndex = Index + NewCapacity - Capacity; 52 Capacity - Index); 58 Capacity = NewCapacity; 74 size_t RequiredCapacity = Capacity + (LocalSize - Index); 75 size_t NewCapacity = Capacity * 2; 159 assert(Capacity - Index == TypeLoc::getFullDataSizeForType(T) &&
|
H A D | TypeLocBuilder.h | 30 size_t Capacity; member in class:clang::TypeLocBuilder 47 : Buffer(InlineBuffer), Capacity(InlineCapacity), Index(InlineCapacity), 57 if (Requested > Capacity) 79 Index = Capacity; 106 size_t FullDataSize = Capacity - Index; 119 size_t FullDataSize = Capacity - Index;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyUtil.h | 88 : Data(Dat), Size(Sz), Capacity(Cp) {} 90 : Data(Cp == 0 ? nullptr : A.allocateT<T>(Cp)), Capacity(Cp) {} 94 : Data(A.Data), Size(A.Size), Capacity(A.Capacity) { 97 A.Capacity = 0; 104 Capacity = RHS.Capacity; 107 RHS.Size = RHS.Capacity = 0; 114 if (Ncp <= Capacity) 118 Capacity [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTVector.h | 40 llvm::PointerIntPair<T *, 1, bool> Capacity; member in class:clang::ASTVector 47 bool getTag() const { return Capacity.getInt(); } 48 void setTag(bool B) { Capacity.setInt(B); } 52 ASTVector() : Capacity(nullptr, false) {} 54 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { 56 O.Capacity.setPointer(nullptr); 57 O.Capacity.setInt(false); 60 ASTVector(const ASTContext &C, unsigned N) : Capacity(nullptr, false) { 71 swap(Capacity, [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 62 T *Capacity = nullptr; member in class:clang::BumpVector 160 if (End < Capacity) { 175 if (End + Cnt <= Capacity) { 189 if (unsigned(Capacity-Begin) < N) 195 size_t capacity() const { return Capacity - Begin; } 226 size_t CurCapacity = Capacity-Begin; 251 Capacity = Begin+NewCapacity;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | MicrosoftDemangle.h | 32 size_t Capacity = 0; member in struct:llvm::ms_demangle::ArenaAllocator::AllocatorNode 36 void addNode(size_t Capacity) { argument 38 NewHead->Buf = new uint8_t[Capacity]; 40 NewHead->Capacity = Capacity; 64 if (Head->Used <= Head->Capacity) 83 if (Head->Used <= Head->Capacity) 102 if (Head->Used <= Head->Capacity)
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | HashTable.h | 106 support::ulittle32_t Capacity; member in struct:llvm::pdb::HashTable::Header 116 explicit HashTable(uint32_t Capacity) { argument 117 Buckets.resize(Capacity); 124 if (H->Capacity == 0) 126 "Invalid Hash Table Capacity"); 127 if (H->Size > maxLoad(H->Capacity)) 131 Buckets.resize(H->Capacity); 187 H.Capacity = capacity();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | IntervalMap.cpp | 120 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, argument 123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); 150 assert(NewSize[n] <= Capacity && "Overallocated node");
|
H A D | SmallVector.cpp | 78 this->Capacity = NewCapacity;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallVector.h | 41 /// Size and Capacity of the SmallVector, so it can be adjusted. 49 Size_T Size = 0, Capacity; member in class:llvm::SmallVectorBase 58 : BeginX(FirstEl), Capacity(TotalCapacity) {} 67 size_t capacity() const { return Capacity; } 129 this->Size = this->Capacity = 0; // FIXME: Setting Capacity to 0 is suspect. 297 this->Capacity = NewCapacity; 721 std::swap(this->Capacity, RHS.Capacity); 811 this->Capacity [all...] |
H A D | IntervalMap.h | 222 enum { Capacity = N }; enumerator in enum:llvm::IntervalMapImpl::NodeBase::__anon3023 386 /// Elements + Grow <= Nodes * Capacity. 391 /// NewSize[i] <= Capacity. 399 /// Grow is set and NewSize[idx] == Capacity-1. The index points to the node 405 /// @param Capacity The capacity of each node. 411 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, 508 assert(n <= NodeT::Capacity && "Size too big for node"); 624 /// @return (insert position, new size), or (i, Capacity+1) on overflow. 1083 if (branched() || rootSize == RootLeaf::Capacity) 1171 const unsigned Nodes = RootLeaf::Capacity / Lea [all...] |
H A D | BitVector.h | 140 size_t Capacity = NumBitWords(s); local 141 Bits = allocate(Capacity); 154 size_t Capacity = NumBitWords(RHS.size()); local 155 Bits = allocate(Capacity); 156 std::memcpy(Bits.data(), RHS.Bits.data(), Capacity * sizeof(BitWord));
|
/freebsd-13-stable/sys/dev/hptmv/ |
H A D | gui_lib.c | 524 pInfo->Capacity = pVDevice->VDeviceCapacity; 534 pInfo->Capacity = pVDevice->u.disk.dDeRealCapacity; 548 pInfo->Capacity.lo32 = pVDevice->VDeviceCapacity; 549 pInfo->Capacity.hi32 = sizeof(LBA_T)>4? (pVDevice->VDeviceCapacity>>32) : 0; 559 pInfo->Capacity.lo32 = pVDevice->u.disk.dDeRealCapacity; 560 pInfo->Capacity.hi32 = 0; 826 param2.Capacity.lo32 = param2.Capacity.hi32 = 0; 911 LBA_T Capacity; local 937 Capacity [all...] |
H A D | hptintf.h | 524 DWORD Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO 539 LBA64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2 620 LBA64 Capacity; /* specify array capacity (0 for default) */ member in struct:_CREATE_ARRAY_PARAMS_V2
|
H A D | array.h | 128 ULONG Capacity; /* capacity for the array */ member in struct:_ArrayDescript::__anon12172
|
/freebsd-13-stable/sys/dev/hptrr/ |
H A D | hptintf.h | 794 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO 809 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2 831 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3 860 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4 985 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2 1007 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
|
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.h | 59 static unsigned constexpr Capacity = std::numeric_limits<uint8_t>::max()+1; member in struct:llvm::MachineValueTypeSet 62 static unsigned constexpr NumWords = Capacity/WordWidth; 63 static_assert(NumWords*WordWidth == Capacity, 64 "Capacity should be a multiple of WordWidth"); 119 assert(Pos != Capacity); 124 Pos = End ? Capacity : find_from_pos(0); 128 assert(Pos != Capacity); 165 return Capacity;
|
/freebsd-13-stable/sys/dev/hpt27xx/ |
H A D | hptintf.h | 986 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO 1001 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2 1023 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3 1052 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4 1184 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2 1208 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
|
/freebsd-13-stable/sys/dev/hptnr/ |
H A D | hptintf.h | 982 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO 997 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2 1019 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3 1048 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4 1180 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2 1204 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCleanup.cpp | 109 unsigned Capacity = 1024; local 110 while (Capacity < Size) Capacity *= 2; 111 StartOfBuffer = new char[Capacity]; 112 StartOfData = EndOfBuffer = StartOfBuffer + Capacity;
|
/freebsd-13-stable/sys/dev/aacraid/ |
H A D | aacraid_cam.c | 709 scsi_ulto4b(co->co_mntobj.Capacity-1, p->addr); 733 scsi_ulto4b(co->co_mntobj.Capacity-1, &p->addr[4]); 775 if (co->co_mntobj.Capacity > 0xffffff || 782 (co->co_mntobj.Capacity >> 16); 784 (co->co_mntobj.Capacity >> 8); 786 (co->co_mntobj.Capacity);
|
/freebsd-13-stable/lib/libefivar/ |
H A D | efivar-dp-format.c | 111 if ((Str->Count + (Count + 1)) > Str->Capacity) { 112 Str->Capacity = (Str->Count + (Count + 1) * 2); 113 Str->Str = reallocf(Str->Str, Str->Capacity); 117 vsnprintf(Str->Str + Str->Count, Str->Capacity - Str->Count, Fmt, Args);
|
H A D | uefi-dplib.h | 80 UINTN Capacity; member in struct:__anon7598
|
/freebsd-13-stable/sys/dev/aac/ |
H A D | aac_disk.c | 383 sc->ad_size = sc->ad_container->co_mntobj.Capacity;
|