Searched refs:LinearStdAllocator (Results 1 – 3 of 3) sorted by relevance
155 class LinearStdAllocator {160 explicit LinearStdAllocator(LinearAllocator& allocator) : linearAllocator(allocator) {} in LinearStdAllocator() function161 LinearStdAllocator(const LinearStdAllocator& other) : linearAllocator(other.linearAllocator) {} in LinearStdAllocator() function162 ~LinearStdAllocator() {} in ~LinearStdAllocator()167 typedef LinearStdAllocator<U> other;171 LinearStdAllocator(const LinearStdAllocator<U>& other) // NOLINT(google-explicit-constructor) in LinearStdAllocator() function189 bool operator==(const LinearStdAllocator<T1>&, const LinearStdAllocator<T2>&) {193 bool operator!=(const LinearStdAllocator<T1>&, const LinearStdAllocator<T2>&) {198 class LsaVector : public std::vector<T, LinearStdAllocator<T>> {200 explicit LsaVector(const LinearStdAllocator<T>& allocator) in LsaVector()[all …]
89 TEST(LinearStdAllocator, simpleAllocate) { in TEST() argument91 LinearStdAllocator<void*> stdAllocator(la); in TEST()93 std::vector<char, LinearStdAllocator<char> > v(stdAllocator); in TEST()118 LinearStdAllocator<void*> stdAllocator(allocator); in TEST()
40 LinearStdAllocator<void*> stdAllocator(la); in BM_LinearStdAllocator_vector()41 std::vector<char, LinearStdAllocator<char> > v(stdAllocator); in BM_LinearStdAllocator_vector()