| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/ |
| H A D | ArrayRecycler.h | 70 class Capacity { 72 explicit Capacity(uint8_t idx) : Index(idx) {} in Capacity() function 75 Capacity() : Index(0) {} in Capacity() function 78 static Capacity get(size_t N) { in get() 79 return Capacity(N ? Log2_64_Ceil(N) : 0); in get() 91 Capacity getNext() const { return Capacity(Index + 1); } in getNext() 124 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate() 136 void deallocate(Capacity Cap, T *Ptr) { in deallocate()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | BitVector.h | 34 unsigned Capacity; // Size of allocated memory in BitWord. variable 75 BitVector() : Size(0), Capacity(0) { in BitVector() 82 Capacity = NumBitWords(s); in Size() 83 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in Size() 84 init_words(Bits, Capacity, t); in Size() 93 Capacity = 0; in BitVector() 97 Capacity = NumBitWords(RHS.size()); in BitVector() 98 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in BitVector() 99 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord)); in BitVector() 103 : Bits(RHS.Bits), Size(RHS.Size), Capacity(RHS.Capacity) { in BitVector() [all …]
|
| H A D | IntervalMap.h | 215 enum { Capacity = N }; enumerator 404 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, 504 assert(n <= NodeT::Capacity && "Size too big for node"); in NodeRef() 1094 if (branched() || rootSize == RootLeaf::Capacity) in insert() 1170 const unsigned Nodes = RootLeaf::Capacity / Leaf::Capacity + 1; in branchRoot() 1180 NewOffset = distribute(Nodes, rootSize, Leaf::Capacity, nullptr, size, in branchRoot() 1211 const unsigned Nodes = RootBranch::Capacity / Branch::Capacity + 1; in splitRoot() 1221 NewOffset = distribute(Nodes, rootSize, Leaf::Capacity, nullptr, Size, in splitRoot() 1743 if (IM.rootSize < RootBranch::Capacity) { in insertNode() 1763 if (P.size(Level) == Branch::Capacity) { in insertNode() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyUtil.h | 88 SimpleArray() : Data(nullptr), Size(0), Capacity(0) {} in SimpleArray() 90 : Data(Dat), Size(Sz), Capacity(Cp) {} in Data() 92 : Data(Cp == 0 ? nullptr : A.allocateT<T>(Cp)), Size(0), Capacity(Cp) {} in SimpleArray() 94 : Data(A.Data), Size(A.Size), Capacity(A.Capacity) { in SimpleArray() 97 A.Capacity = 0; in SimpleArray() 104 Capacity = RHS.Capacity; 107 RHS.Size = RHS.Capacity = 0; 114 if (Ncp <= Capacity) in reserve() 118 Capacity = Ncp; in reserve() 125 if (Capacity == 0) in reserveCheck() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | TypeLocBuilder.cpp | 46 assert(NewCapacity > Capacity); in grow() 50 unsigned NewIndex = Index + NewCapacity - Capacity; in grow() 53 Capacity - Index); in grow() 59 Capacity = NewCapacity; in grow() 75 size_t RequiredCapacity = Capacity + (LocalSize - Index); in pushImpl() 76 size_t NewCapacity = Capacity * 2; in pushImpl() 132 assert(Capacity - Index == TypeLoc::getFullDataSizeForType(T) && in pushImpl()
|
| H A D | TypeLocBuilder.h | 31 size_t Capacity; variable 48 : Buffer(InlineBuffer.buffer), Capacity(InlineCapacity), in TypeLocBuilder() 60 if (Requested > Capacity) in reserve() 82 Index = Capacity; in clear() 109 size_t FullDataSize = Capacity - Index; in getTypeSourceInfo() 122 size_t FullDataSize = Capacity - Index; in getTypeLocInContext()
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/Support/ |
| H A D | ArrayRecyclerTest.cpp | 25 TEST(ArrayRecyclerTest, Capacity) { in TEST() argument 27 ARO::Capacity Cap = ARO::Capacity::get(0); in TEST() 32 Cap = ARO::Capacity::get(N); in TEST() 42 Cap = ARO::Capacity::get(0); in TEST() 55 ARO::Capacity Cap = ARO::Capacity::get(8); in TEST()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/Support/ |
| H A D | BumpVector.h | 54 T *Begin, *End, *Capacity; variable 58 : Begin(nullptr), End(nullptr), Capacity(nullptr) { in BumpVector() 150 if (End < Capacity) { in push_back() 165 if (End + Cnt <= Capacity) { in insert() 179 if (unsigned(Capacity-Begin) < N) in reserve() 185 size_t capacity() const { return Capacity - Begin; } in capacity() 216 size_t CurCapacity = Capacity-Begin; in grow() 240 Capacity = Begin+NewCapacity; in grow()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTVector.h | 36 llvm::PointerIntPair<T*, 1, bool> Capacity; variable 43 bool getTag() const { return Capacity.getInt(); } in getTag() 44 void setTag(bool B) { Capacity.setInt(B); } in setTag() 48 ASTVector() : Begin(nullptr), End(nullptr), Capacity(nullptr, false) {} in ASTVector() 50 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { in ASTVector() 52 O.Capacity.setPointer(nullptr); in ASTVector() 53 O.Capacity.setInt(false); in ASTVector() 57 : Begin(nullptr), End(nullptr), Capacity(nullptr, false) { in ASTVector() 66 swap(Capacity, O.Capacity); 369 return (iterator) Capacity.getPointer(); in capacity_ptr() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Support/ |
| H A D | IntervalMap.cpp | 120 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, in distribute() argument 123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); in distribute() 150 assert(NewSize[n] <= Capacity && "Overallocated node"); in distribute()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 98 unsigned Capacity = 1024; in allocate() local 99 while (Capacity < Size) Capacity *= 2; in allocate() 100 StartOfBuffer = new char[Capacity]; in allocate() 101 StartOfData = EndOfBuffer = StartOfBuffer + Capacity; in allocate()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | MachineFunction.h | 426 typedef ArrayRecycler<MachineOperand>::Capacity OperandCapacity;
|
| H A D | MachineInstr.h | 77 typedef ArrayRecycler<MachineOperand>::Capacity OperandCapacity;
|
| /minix3/external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ |
| H A D | pr15031.ll | 30 …neOperand"*, i32, %"class.llvm::ArrayRecycler<llvm::MachineOperand, 8>::Capacity", i8, i8, i8, %"c… 252 %"class.llvm::ArrayRecycler<llvm::MachineOperand, 8>::Capacity" = type { i8 }
|
| /minix3/external/bsd/file/dist/magic/magdir/ |
| H A D | filesystems | 1808 # Byte Capacity Media Size and Type
|
| /minix3/etc/ |
| H A D | services | 14677 mvs-capacity 10007/tcp # MVS Capacity [Donna_Dillenberger] … 14678 mvs-capacity 10007/udp # MVS Capacity [Donna_Dillenberger] …
|