Home
last modified time | relevance | path

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

/external/cronet/base/containers/
Dstack_container.h36 template <typename T, size_t stack_capacity, typename FallbackAllocator>
61 alignas(T) char stack_buffer_[sizeof(T[stack_capacity])];
74 typedef StackAllocator<U, stack_capacity, FallbackAllocator> other;
79 const StackAllocator<T, stack_capacity, FallbackAllocator>& rhs) in StackAllocator() argument
108 if (source_ && !source_->used_stack_buffer_ && n <= stack_capacity) { in allocate()
142 template <typename TContainerType, int stack_capacity>
153 container_.reserve(stack_capacity); in StackContainer()
188 template <typename TContainerType, int stack_capacity>
190 const StackContainer<TContainerType, stack_capacity>& stack_container)
195 template <typename TContainerType, int stack_capacity>
[all …]
/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;
/external/cronet/ipc/
Dipc_message_utils_unittest.cc89 static const size_t stack_capacity = 5; in TEST() local
90 base::StackVector<double, stack_capacity> stack_vector; in TEST()
91 for (size_t i = 0; i < 2 * stack_capacity; i++) in TEST()
97 base::StackVector<double, stack_capacity> output; in TEST()
100 for (size_t i = 0; i < 2 * stack_capacity; i++) in TEST()
Dipc_message_utils.h860 template <class P, size_t stack_capacity>
861 struct ParamTraits<base::StackVector<P, stack_capacity> > {
862 typedef base::StackVector<P, stack_capacity> param_type;