Home
last modified time | relevance | path

Searched refs:stack_capacity (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/containers/
Dstack_container.h35 template<typename T, size_t stack_capacity>
57 alignas(T) char stack_buffer_[sizeof(T[stack_capacity])];
70 typedef StackAllocator<U, stack_capacity> other;
74 StackAllocator(const StackAllocator<T, stack_capacity>& rhs) in StackAllocator()
107 && n <= stack_capacity) {
140 template<typename TContainerType, int stack_capacity>
145 typedef StackAllocator<ContainedType, stack_capacity> Allocator;
151 container_.reserve(stack_capacity); in StackContainer()
192 template<typename T, size_t stack_capacity>
194 std::vector<T, StackAllocator<T, stack_capacity> >,
[all …]
/external/libchrome/ipc/
Dipc_message_utils_unittest.cc85 static const size_t stack_capacity = 5; in TEST() local
86 base::StackVector<double, stack_capacity> stack_vector; in TEST()
87 for (size_t i = 0; i < 2 * stack_capacity; i++) in TEST()
93 base::StackVector<double, stack_capacity> output; in TEST()
96 for (size_t i = 0; i < 2 * stack_capacity; i++) in TEST()
Dipc_message_utils.h797 template <class P, size_t stack_capacity>
798 struct ParamTraits<base::StackVector<P, stack_capacity> > {
799 typedef base::StackVector<P, stack_capacity> param_type;