Home
last modified time | relevance | path

Searched refs:mData (Results 1 – 25 of 31) sorted by relevance

12

/system/chre/util/include/chre/util/
Dpriority_queue_impl.h40 return mData.size(); in size()
45 return mData.capacity(); in capacity()
50 return mData.empty(); in empty()
56 bool success = mData.push_back(element); in push()
58 push_heap(mData, mCompare); in push()
66 bool success = mData.emplace_back(args...); in emplace()
68 push_heap(mData, mCompare); in emplace()
76 return mData[index];
82 return mData[index];
87 return mData[0]; in top()
[all …]
Darray_queue.h314 : mData(storage), kCapacity(capacity) {} in ArrayQueueExternalStorage()
317 return mData; in data()
321 return mData; in data()
329 ElementType *mData;
Ddynamic_vector_impl.h49 mData = other.mData;
53 other.mData = nullptr;
69 return static_cast<ElementType *>(mData); in data()
74 return static_cast<const ElementType *>(mData); in data()
197 mData = newData; in doReserve()
Ddynamic_vector_base.h83 void *mData = nullptr; variable
Dpriority_queue.h176 DynamicVector<ElementType> mData;
/system/chre/apps/nearby/third_party/contexthub/chre/util/
Ddynamic_vector_base.cc27 : mData(other.mData), mSize(other.mSize), mCapacity(other.mCapacity) { in DynamicVectorBase()
28 other.mData = nullptr; in DynamicVectorBase()
38 if (mData != nullptr) { in doReserve()
39 memcpy(newData, mData, mSize * elementSize); in doReserve()
40 memoryFree(mData); in doReserve()
42 mData = newData; in doReserve()
71 memmove(static_cast<uint8_t *>(mData) + (index * elementSize), in doErase()
72 static_cast<uint8_t *>(mData) + ((index + 1) * elementSize), in doErase()
79 memcpy(static_cast<uint8_t *>(mData) + (mSize * elementSize), element, in doPushBack()
/system/chre/util/
Ddynamic_vector_base.cc27 : mData(other.mData), mSize(other.mSize), mCapacity(other.mCapacity) { in DynamicVectorBase()
28 other.mData = nullptr; in DynamicVectorBase()
38 if (mData != nullptr) { in doReserve()
39 memcpy(newData, mData, mSize * elementSize); in doReserve()
40 memoryFree(mData); in doReserve()
42 mData = newData; in doReserve()
71 memmove(static_cast<uint8_t *>(mData) + (index * elementSize), in doErase()
72 static_cast<uint8_t *>(mData) + ((index + 1) * elementSize), in doErase()
79 memcpy(static_cast<uint8_t *>(mData) + (mSize * elementSize), element, in doPushBack()
/system/chre/apps/test/chqts/src/general_test/
Dsend_event_test.cc139 for (uint32_t i = 0; i < arrayLength(mData); i++) { in setUp()
140 mData[i] = i; in setUp()
144 if (!chreSendEvent(kEventType0, &mData[0], completeCallback0, id)) { in setUp()
149 if (!chreSendEvent(kEventType0, &mData[1], completeCallback1, id)) { in setUp()
154 if (!chreSendEvent(kEventType1, &mData[2], completeCallback0, id)) { in setUp()
159 if (!chreSendEvent(kEventType1, &mData[3], completeCallback1, id)) { in setUp()
164 if (!chreSendEvent(kEventType0, &mData[4], nullptr, id)) { in setUp()
169 if (!chreSendEvent(kEventType1, &mData[5], nullptr, id)) { in setUp()
201 expectedData = &mData[mNextNum]; in handleEvent()
Dsend_event_test.h44 uint32_t mData[6]; variable
/system/libhidl/libhidlmemory/
DAshmemMemory.h35 AshmemMemory(const hidl_memory& memory, void* data) : mMemory(memory), mData(data) {} in AshmemMemory()
37 ~AshmemMemory() { munmap(mData, mMemory.size()); } in ~AshmemMemory()
40 Return<void*> getPointer() override { return mData; } in getPointer()
56 void* mData; member
/system/libhidl/transport/memory/1.0/default/
DAshmemMemory.cpp29 mData(data) in AshmemMemory()
35 munmap(mData, mMemory.size()); in ~AshmemMemory()
65 return mData; in getPointer()
DAshmemMemory.h60 void* mData; member
/system/libhwbinder/
DParcel.cpp274 return mData; in data()
421 memcpy(mData+mDataPos, data, len); in writeUnpadded()
464 uint8_t* const data = mData+mDataPos; in writeInplace()
614 *reinterpret_cast<T*>(mData+mDataPos) = val; in writeObject()
616 const binder_object_header* hdr = reinterpret_cast<binder_object_header*>(mData+mDataPos); in writeObject()
686 (mData + mObjects[child_buffer_handle]); in validateBufferChild()
702 (mData + mObjects[parent_buffer_handle]); in validateBufferParent()
764 reinterpret_cast<binder_buffer_object*>(mData+dataPos); in updateCache()
885 memcpy(outData, mData+mDataPos, len); in read()
903 const void* data = mData+mDataPos; in readInplace()
[all …]
/system/media/audio_utils/spdif/
DBitFieldParser.cpp29 : mData(data) in BitFieldParser()
44 uint8_t byte = mData[byteCursor]; in readBits()
DBitFieldParser.h50 uint8_t *mData;
/system/chre/platform/embos/
Dsystem_timer.cc28 timer->mCallback(timer->mData); in invokeCallback()
66 mData = data; in set()
/system/chre/platform/slpi/
Dsystem_timer.cc62 mData = data; in set()
96 systemTimer->mCallback(systemTimer->mData); in systemTimerNotifyCallback()
/system/chre/platform/tinysys/
Dsystem_timer.cc43 callback(systemTimer->mData); in callbackRunner()
89 mData = data; in set()
/system/core/libutils/include/utils/
DString16.h237 constexpr StaticString16(const char16_t (&s)[N]) : String16(mData), mData(makeStaticData(s)) {} in StaticString16()
240 : String16(mData), mData(other.mData) {} in StaticString16()
249 const StaticData<N> mData;
/system/core/libutils/binder/include/utils/
DString16.h237 constexpr StaticString16(const char16_t (&s)[N]) : String16(mData), mData(makeStaticData(s)) {} in StaticString16()
240 : String16(mData), mData(other.mData) {} in StaticString16()
249 const StaticData<N> mData;
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/
Ddynamic_vector_impl.h49 mData = other.mData;
53 other.mData = nullptr;
69 return static_cast<ElementType *>(mData); in data()
74 return static_cast<const ElementType *>(mData); in data()
197 mData = newData; in doReserve()
Ddynamic_vector_base.h83 void *mData = nullptr; variable
/system/chre/platform/linux/
Dsystem_timer.cc42 sysTimer->mCallback(sysTimer->mData); in systemTimerNotifyCallback()
88 mData = data; in set()
/system/media/audio_utils/include/audio_utils/
DStatistics.h441 mData.push_front(value);
446 return mData.size();
452 mData.clear();
459 for (size_t i = 0; i < mData.size(); ++i) {
469 for (size_t i = 0; i < mData.size(); ++i) {
479 for (size_t i = 0; i < mData.size(); ++i) {
480 wsum += alpha_i * mData[i];
533 std::deque<T> mData; // store all the data for exact summation, mData[0] most recent.
540 for (size_t i = 0; i < mData.size(); ++i) {
541 const D diff = mData[i] - mean;
/system/chre/platform/include/chre/platform/
Dsystem_timer.h105 void *mData = nullptr; variable

12