Searched refs:StaticVector (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/libs/ftl/ |
D | static_vector_test.cpp | 29 using ftl::StaticVector; 32 TEST(StaticVector, Example) { in TEST() argument 33 ftl::StaticVector<char, 3> vector; in TEST() 46 EXPECT_EQ(vector, (ftl::StaticVector{'c', 'b'})); in TEST() 52 vector = ftl::StaticVector(array); in TEST() 53 EXPECT_EQ(vector, (ftl::StaticVector{'h', 'i', '\0'})); in TEST() 55 ftl::StaticVector strings = ftl::init::list<std::string>("abc")("123456", 3u)(3u, '?'); in TEST() 63 TEST(StaticVector, Construct) { in TEST() argument 66 StaticVector<std::string, 2> vector; in TEST() 72 StaticVector vector(floats); in TEST() [all …]
|
D | small_vector_test.cpp | 131 ftl::StaticVector doubles = {.1, .2, .3}; in TEST()
|
/frameworks/native/include/ftl/ |
D | static_vector.h | 76 class StaticVector final : ArrayTraits<T>, 77 ArrayIterators<StaticVector<T, N>, T>, 78 ArrayComparators<StaticVector> { 83 using Iter = ArrayIterators<StaticVector, T>; 111 StaticVector() = default; 114 StaticVector(const StaticVector& other) in StaticVector() function 115 : StaticVector(kIteratorRange, other.begin(), other.end()) {} in StaticVector() 117 StaticVector(StaticVector&& other) { swap<true>(other); } in StaticVector() function 121 StaticVector(const StaticVector<U, M>& other) in StaticVector() function 122 : StaticVector(kIteratorRange, other.begin(), other.end()) {} in StaticVector() [all …]
|
D | small_vector.h | 77 using Static = StaticVector<T, N>; 380 SmallVector(StaticVector<T, N>&&) -> SmallVector<T, N>;
|