Home
last modified time | relevance | path

Searched refs:OldCapacity (Results 1 – 8 of 8) sorted by relevance

/external/llvm/unittests/ADT/
DFoldingSet.cpp159 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/llvm-project/llvm/unittests/ADT/
DFoldingSet.cpp179 auto OldCapacity = Trivial.capacity(); in TEST() local
180 Trivial.reserve(OldCapacity + 1); in TEST()
181 EXPECT_GE(Trivial.capacity(), OldCapacity + 1); in TEST()
186 auto OldCapacity = Trivial.capacity(); in TEST() local
187 Trivial.reserve(OldCapacity - 1); in TEST()
188 EXPECT_EQ(Trivial.capacity(), OldCapacity); in TEST()
/external/llvm-project/llvm/unittests/DebugInfo/PDB/
DHashTableTest.cpp128 uint32_t OldCapacity = Table.capacity(); in TEST() local
129 for (uint32_t I = 0; I < OldCapacity; ++I) { in TEST()
130 Table.set_as(OldCapacity + I * 2 + 1, I * 2 + 3, Traits); in TEST()
132 EXPECT_EQ(OldCapacity, Table.size()); in TEST()
133 EXPECT_GT(Table.capacity(), OldCapacity); in TEST()
134 for (uint32_t I = 0; I < OldCapacity; ++I) { in TEST()
135 ASSERT_NE(Table.end(), Table.find_as(OldCapacity + I * 2 + 1, Traits)); in TEST()
136 EXPECT_EQ(I * 2 + 3, Table.get(OldCapacity + I * 2 + 1, Traits)); in TEST()
/external/swiftshader/third_party/subzero/src/
DIceBitVector.h424 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
772 std::memcpy(NewBits, Bits, OldCapacity * sizeof(BitWord)); in grow()
773 Alloc.deallocate(Bits, OldCapacity); in grow()
/external/llvm/include/llvm/ADT/
DBitVector.h195 unsigned OldCapacity = Capacity; variable
197 init_words(&Bits[OldCapacity], (Capacity-OldCapacity), t);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DBitVector.h195 unsigned OldCapacity = Capacity; variable
197 init_words(&Bits[OldCapacity], (Capacity-OldCapacity), t);
/external/llvm-project/llvm/include/llvm/ADT/
DBitVector.h356 unsigned OldCapacity = Bits.size();
358 init_words(Bits.drop_front(OldCapacity), t);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DBitVector.h373 unsigned OldCapacity = Bits.size();
375 init_words(Bits.drop_front(OldCapacity), t);