Searched refs:stack_capacity (Results 1 – 6 of 6) sorted by relevance
/external/cronet/base/containers/ |
D | stack_container.h | 36 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/ |
D | stack_container.h | 35 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/ |
D | ipc_message_utils_unittest.cc | 85 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()
|
D | ipc_message_utils.h | 797 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/ |
D | ipc_message_utils_unittest.cc | 89 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()
|
D | ipc_message_utils.h | 860 template <class P, size_t stack_capacity> 861 struct ParamTraits<base::StackVector<P, stack_capacity> > { 862 typedef base::StackVector<P, stack_capacity> param_type;
|