Home
last modified time | relevance | path

Searched refs:element (Results 1 – 18 of 18) sorted by relevance

/chre-3.4.0/util/include/chre/util/
Ddynamic_vector.h127 bool push_back(const ElementType &element);
128 bool push_back(ElementType &&element);
214 bool insert(size_type index, const ElementType &element);
215 bool insert(size_type index, ElementType &&element);
236 size_type find(const ElementType &element) const;
360 bool doPushBack(const ElementType &element, std::true_type);
367 bool doPushBack(const ElementType &element, std::false_type);
Dfixed_size_blocking_queue_impl.h27 const ElementType &element) { in push() argument
31 success = mQueue.push(element); in push()
40 bool FixedSizeBlockingQueue<ElementType, kSize>::push(ElementType &&element) { in push() argument
44 success = mQueue.push(std::move(element)); in push()
59 ElementType element(std::move(mQueue.front())); in pop()
61 return element; in pop()
Ddynamic_vector_impl.h101 bool DynamicVector<ElementType>::push_back(const ElementType &element) { in push_back() argument
102 return doPushBack(element, typename std::is_trivial<ElementType>::type()); in push_back()
106 bool DynamicVector<ElementType>::doPushBack(const ElementType &element, in doPushBack() argument
108 return DynamicVectorBase::doPushBack(static_cast<const void *>(&element), in doPushBack()
113 bool DynamicVector<ElementType>::doPushBack(const ElementType &element, in doPushBack() argument
117 new (&data()[mSize++]) ElementType(element); in doPushBack()
124 bool DynamicVector<ElementType>::push_back(ElementType &&element) { in push_back() argument
127 new (&data()[mSize++]) ElementType(std::move(element)); in push_back()
221 const ElementType &element) { in insert() argument
224 new (&data()[index]) ElementType(element); in insert()
[all …]
Dfixed_size_blocking_queue.h44 bool push(const ElementType &element);
45 bool push(ElementType &&element);
Dsynchronized_memory_pool_impl.h35 ElementType *element) { in deallocate() argument
37 mMemoryPool.deallocate(element); in deallocate()
Darray_queue.h109 bool push(const ElementType &element);
110 bool push(ElementType &&element);
119 void kick_push(const ElementType &element);
120 void kick_push(ElementType &&element);
Darray_queue_impl.h86 bool ArrayQueue<ElementType, kCapacity>::push(const ElementType &element) { in push() argument
89 new (&data()[mTail]) ElementType(element); in push()
95 bool ArrayQueue<ElementType, kCapacity>::push(ElementType &&element) { in push() argument
98 new (&data()[mTail]) ElementType(std::move(element)); in push()
104 void ArrayQueue<ElementType, kCapacity>::kick_push(const ElementType &element) { in kick_push() argument
108 push(element); in kick_push()
112 void ArrayQueue<ElementType, kCapacity>::kick_push(ElementType &&element) { in kick_push() argument
116 push(element); in kick_push()
Dmemory_pool_impl.h53 void MemoryPool<ElementType, kSize>::deallocate(ElementType *element) { in deallocate() argument
54 uintptr_t elementAddress = reinterpret_cast<uintptr_t>(element); in deallocate()
Dsynchronized_memory_pool.h52 void deallocate(ElementType *element);
Ddynamic_vector_base.h80 bool doPushBack(const void *element, size_t elementSize);
Dmemory_pool.h76 void deallocate(ElementType *element);
Dpriority_queue.h79 bool push(const ElementType &element);
Dpriority_queue_impl.h55 const ElementType &element) { in push() argument
56 bool success = mData.push_back(element); in push()
Dfixed_size_vector.h99 void push_back(const ElementType &element);
Dfixed_size_vector_impl.h90 const ElementType &element) { in push_back() argument
93 new (&data()[mSize++]) ElementType(element); in push_back()
/chre-3.4.0/util/
Ddynamic_vector_base.cc74 bool DynamicVectorBase::doPushBack(const void *element, size_t elementSize) { in doPushBack() argument
77 memcpy(static_cast<uint8_t *>(mData) + (mSize * elementSize), element, in doPushBack()
/chre-3.4.0/doc/
Dnanoapp_clients.md29 Manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element),
/chre-3.4.0/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h372 const uint8_t *element = reinterpret_cast<const uint8_t *>(search_result);
374 return IndirectHelper<T>::Read(element, 0);
1338 template<typename T> uoffset_t PushElement(T element) {
1340 T litle_endian_element = EndianScalar(element);