Home
last modified time | relevance | path

Searched refs:ElementType (Results 1 – 25 of 259) sorted by relevance

1234567891011

/aosp12/system/chre/util/include/chre/util/
H A Ddynamic_vector_impl.h45 DynamicVector<ElementType> &DynamicVector<ElementType>::operator=(
68 ElementType *DynamicVector<ElementType>::data() { in data()
73 const ElementType *DynamicVector<ElementType>::data() const { in data()
106 bool DynamicVector<ElementType>::doPushBack(const ElementType &element, in doPushBack()
124 bool DynamicVector<ElementType>::push_back(ElementType &&element) { in push_back()
151 const ElementType &DynamicVector<ElementType>::operator[](
189 ElementType *newData = static_cast<ElementType *>( in doReserve()
316 ElementType &DynamicVector<ElementType>::front() { in front()
322 const ElementType &DynamicVector<ElementType>::front() const { in front()
328 ElementType &DynamicVector<ElementType>::back() { in back()
[all …]
H A Darray_queue_impl.h49 ElementType &ArrayQueue<ElementType, kCapacity>::front() { in front()
55 const ElementType &ArrayQueue<ElementType, kCapacity>::front() const { in front()
61 ElementType &ArrayQueue<ElementType, kCapacity>::back() { in back()
67 const ElementType &ArrayQueue<ElementType, kCapacity>::back() const { in back()
73 ElementType &ArrayQueue<ElementType, kCapacity>::operator[](size_t index) {
79 const ElementType &ArrayQueue<ElementType, kCapacity>::operator[](
86 bool ArrayQueue<ElementType, kCapacity>::push(const ElementType &element) { in push()
95 bool ArrayQueue<ElementType, kCapacity>::push(ElementType &&element) { in push()
112 void ArrayQueue<ElementType, kCapacity>::kick_push(ElementType &&element) { in kick_push()
235 ElementType *ArrayQueue<ElementType, kCapacity>::data() { in data()
[all …]
H A Dfixed_size_vector_impl.h35 ElementType &FixedSizeVector<ElementType, kCapacity>::back() { in back()
41 const ElementType &FixedSizeVector<ElementType, kCapacity>::back() const { in back()
47 ElementType &FixedSizeVector<ElementType, kCapacity>::front() { in front()
53 const ElementType &FixedSizeVector<ElementType, kCapacity>::front() const { in front()
59 ElementType *FixedSizeVector<ElementType, kCapacity>::data() { in data()
64 const ElementType *FixedSizeVector<ElementType, kCapacity>::data() const { in data()
90 const ElementType &element) { in push_back()
113 ElementType &FixedSizeVector<ElementType, kCapacity>::operator[](size_t index) {
123 const ElementType &FixedSizeVector<ElementType, kCapacity>::operator[](
153 ElementType &temp = *reinterpret_cast<ElementType *>(&tempStorage); in swap()
[all …]
H A Dpriority_queue_impl.h30 template <typename ElementType, typename CompareFunction>
33 template <typename ElementType, typename CompareFunction>
38 template <typename ElementType, typename CompareFunction>
54 bool PriorityQueue<ElementType, CompareFunction>::push( in push()
55 const ElementType &element) { in push()
74 ElementType &PriorityQueue<ElementType, CompareFunction>::operator[](
80 const ElementType &PriorityQueue<ElementType, CompareFunction>::operator[](
86 ElementType &PriorityQueue<ElementType, CompareFunction>::top() { in top()
91 const ElementType &PriorityQueue<ElementType, CompareFunction>::top() const { in top()
117 PriorityQueue<ElementType, CompareFunction>::begin() { in begin()
[all …]
H A Dmemory_impl.h29 template <typename ElementType>
32 first[i].~ElementType(); in destroy()
37 template <typename ElementType>
38 inline void moveOrCopyAssign(ElementType &dest, ElementType &source, in moveOrCopyAssign()
44 template <typename ElementType>
45 inline void moveOrCopyAssign(ElementType &dest, ElementType &source, in moveOrCopyAssign()
50 template <typename ElementType>
51 inline void moveOrCopyAssign(ElementType &dest, ElementType &source) { in moveOrCopyAssign()
57 template <typename ElementType>
65 template <typename ElementType>
[all …]
H A Ddynamic_vector.h30 template <typename ElementType>
36 typedef ElementType *iterator;
37 typedef const ElementType *const_iterator;
78 ElementType *data();
87 const ElementType *data() const;
128 bool push_back(ElementType &&element);
150 ElementType &operator[](size_type index);
255 ElementType &front();
263 const ElementType &front() const;
271 ElementType &back();
[all …]
H A Dfixed_size_vector.h38 ElementType &back();
39 const ElementType &back() const;
44 ElementType &front();
45 const ElementType &front() const;
52 ElementType *data();
59 const ElementType *data() const;
99 void push_back(const ElementType &element);
128 ElementType &operator[](size_t index);
180 typedef ElementType *iterator;
181 typedef const ElementType *const_iterator;
[all …]
H A Dfixed_size_blocking_queue_impl.h25 template <typename ElementType, size_t kSize>
27 const ElementType &element) { in push()
39 template <typename ElementType, size_t kSize>
40 bool FixedSizeBlockingQueue<ElementType, kSize>::push(ElementType &&element) { in push()
52 template <typename ElementType, size_t kSize>
53 ElementType FixedSizeBlockingQueue<ElementType, kSize>::pop() { in pop()
64 template <typename ElementType, size_t kSize>
70 template <typename ElementType, size_t kSize>
76 template <typename ElementType, size_t kSize>
83 ElementType &FixedSizeBlockingQueue<ElementType, kCapacity>::operator[](
[all …]
H A Darray_queue.h67 ElementType &front();
68 const ElementType &front() const;
76 ElementType &back();
77 const ElementType &back() const;
88 ElementType &operator[](size_t index);
109 bool push(const ElementType &element);
110 bool push(ElementType &&element);
120 void kick_push(ElementType &&element);
250 typename std::aligned_storage<sizeof(ElementType), alignof(ElementType)>::type
272 ElementType *data();
[all …]
H A Dpriority_queue.h32 template <typename ElementType,
33 typename CompareFunction = std::less<ElementType>>
79 bool push(const ElementType &element);
100 ElementType &operator[](size_t index);
112 const ElementType &operator[](size_t index) const;
122 ElementType &top();
132 const ElementType &top() const;
153 typedef ElementType *iterator;
154 typedef const ElementType *const_iterator;
168 typename PriorityQueue<ElementType, CompareFunction>::iterator end();
[all …]
H A Dmemory_pool_impl.h26 template <typename ElementType, size_t kSize>
27 MemoryPool<ElementType, kSize>::MemoryPool() { in MemoryPool()
37 template <typename ElementType, size_t kSize>
39 ElementType *MemoryPool<ElementType, kSize>::allocate(Args &&... args) { in allocate()
49 ElementType(std::forward<Args>(args)...); in allocate()
52 template <typename ElementType, size_t kSize>
53 void MemoryPool<ElementType, kSize>::deallocate(ElementType *element) { in deallocate()
58 blocks()[blockIndex].mElement.~ElementType(); in deallocate()
64 template <typename ElementType, size_t kSize>
69 template <typename ElementType, size_t kSize>
[all …]
H A Dmemory.h31 template <typename ElementType>
32 void destroy(ElementType *first, size_t count);
38 template <typename ElementType>
39 void moveOrCopyAssign(ElementType &dest, ElementType &source);
51 template <typename ElementType>
52 void uninitializedMoveOrCopy(ElementType *source, size_t count,
53 ElementType *dest);
H A Dbuffer.h39 template <typename ElementType>
42 static_assert(std::is_trivial<ElementType>::value,
44 static_assert(std::is_trivially_destructible<ElementType>::value,
50 ElementType *data() const { in data()
51 return static_cast<ElementType *>(mBuffer); in data()
72 void wrap(ElementType *buffer, size_t size) { in wrap()
91 bool copy_array(const ElementType *buffer, size_t size) { in copy_array()
92 return BufferBase::copy_array(buffer, size, sizeof(ElementType)); in copy_array()
H A Dsynchronized_memory_pool_impl.h25 template <typename ElementType, size_t kSize>
27 ElementType *SynchronizedMemoryPool<ElementType, kSize>::allocate( in allocate()
33 template <typename ElementType, size_t kSize>
34 void SynchronizedMemoryPool<ElementType, kSize>::deallocate( in deallocate()
35 ElementType *element) { in deallocate()
40 template <typename ElementType, size_t kSize>
41 size_t SynchronizedMemoryPool<ElementType, kSize>::getFreeBlockCount() { in getFreeBlockCount()
H A Dfixed_size_blocking_queue.h33 template <typename ElementType, size_t kSize>
44 bool push(const ElementType &element);
45 bool push(ElementType &&element);
53 ElementType pop();
83 ElementType &operator[](size_t index);
94 const ElementType &operator[](size_t index) const;
105 ArrayQueue<ElementType, kSize> mQueue;
/aosp12/system/nvram/messages/include/nvram/messages/
H A Dvector.h41 data_[i].~ElementType(); in ~Vector()
52 Vector<ElementType>& operator=(const Vector<ElementType>& other) = delete;
56 Vector<ElementType>& operator=(Vector<ElementType>&& other) {
60 friend void swap(Vector<ElementType>& first, Vector<ElementType>& second) { in swap()
63 ElementType* tmp_data = first.data_; in swap()
71 ElementType& operator[](size_t pos) {
101 ElementType* new_data = nullptr; in Resize()
120 new (&new_data[i]) ElementType(static_cast<ElementType&&>(data_[i])); in Resize()
126 data_[i].~ElementType(); in Resize()
131 new (&new_data[i]) ElementType; in Resize()
[all …]
/aosp12/frameworks/libs/modules-utils/java/android/annotation/
H A DCondemned.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.PARAMETER;
25 import static java.lang.annotation.ElementType.TYPE;
H A DHide.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
H A DSuppressAutoDoc.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
H A DTestApi.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
H A DSuppressLint.java18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE;
H A DSystemApi.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DDataClass.java18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
31 import java.lang.annotation.ElementType;
38 @Target(ElementType.TYPE)
/aosp12/frameworks/base/errorprone/java/android/annotation/
H A DSuppressLint.java18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE;
/aosp12/frameworks/base/errorprone/tests/res/android/annotation/
H A DSuppressLint.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;

1234567891011