Searched refs:OldCapacity (Results 1 – 7 of 7) sorted by relevance
/external/llvm/unittests/ADT/ |
D | FoldingSet.cpp | 159 auto OldCapacity = Trivial.capacity(); in TEST() local 160 Trivial.reserve(OldCapacity + 1); in TEST() 161 EXPECT_GE(Trivial.capacity(), OldCapacity + 1); in TEST() 166 auto OldCapacity = Trivial.capacity(); in TEST() local 167 Trivial.reserve(OldCapacity - 1); in TEST() 168 EXPECT_EQ(Trivial.capacity(), OldCapacity); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | FoldingSet.cpp | 180 auto OldCapacity = Trivial.capacity(); in TEST() local 181 Trivial.reserve(OldCapacity + 1); in TEST() 182 EXPECT_GE(Trivial.capacity(), OldCapacity + 1); in TEST() 187 auto OldCapacity = Trivial.capacity(); in TEST() local 188 Trivial.reserve(OldCapacity - 1); in TEST() 189 EXPECT_EQ(Trivial.capacity(), OldCapacity); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/PDB/ |
D | HashTableTest.cpp | 117 uint32_t OldCapacity = Table.capacity(); in TEST() local 118 for (uint32_t I = 0; I < OldCapacity; ++I) { in TEST() 119 Table.set_as(OldCapacity + I * 2 + 1, I * 2 + 3); in TEST() 121 EXPECT_EQ(OldCapacity, Table.size()); in TEST() 122 EXPECT_GT(Table.capacity(), OldCapacity); in TEST() 123 for (uint32_t I = 0; I < OldCapacity; ++I) { in TEST() 124 ASSERT_NE(Table.end(), Table.find_as(OldCapacity + I * 2 + 1)); in TEST() 125 EXPECT_EQ(I * 2 + 3, Table.get(OldCapacity + I * 2 + 1)); in TEST()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceBitVector.h | 424 unsigned OldCapacity = Capacity; variable 426 init_words(&Bits[OldCapacity], (Capacity - OldCapacity), t); 671 const auto OldCapacity = Capacity; variable 678 Alloc.deallocate(Bits, OldCapacity); 767 const auto OldCapacity = Capacity; in grow() local 771 std::memcpy(Bits, NewBits, OldCapacity * sizeof(BitWord)); in grow() 772 Alloc.deallocate(Bits, OldCapacity); in grow()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | BitVector.h | 195 unsigned OldCapacity = Capacity; variable 197 init_words(&Bits[OldCapacity], (Capacity-OldCapacity), t);
|
/external/llvm/include/llvm/ADT/ |
D | BitVector.h | 195 unsigned OldCapacity = Capacity; variable 197 init_words(&Bits[OldCapacity], (Capacity-OldCapacity), t);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | BitVector.h | 374 unsigned OldCapacity = Bits.size(); 376 init_words(Bits.drop_front(OldCapacity), t);
|