/system/chre/util/include/chre/util/ |
D | priority_queue_impl.h | 40 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 …]
|
D | array_queue.h | 314 : mData(storage), kCapacity(capacity) {} in ArrayQueueExternalStorage() 317 return mData; in data() 321 return mData; in data() 329 ElementType *mData;
|
D | dynamic_vector_impl.h | 49 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()
|
D | dynamic_vector_base.h | 83 void *mData = nullptr; variable
|
D | priority_queue.h | 176 DynamicVector<ElementType> mData;
|
/system/chre/apps/nearby/third_party/contexthub/chre/util/ |
D | dynamic_vector_base.cc | 27 : 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/ |
D | dynamic_vector_base.cc | 27 : 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/ |
D | send_event_test.cc | 139 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()
|
D | send_event_test.h | 44 uint32_t mData[6]; variable
|
/system/libhidl/libhidlmemory/ |
D | AshmemMemory.h | 35 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/ |
D | AshmemMemory.cpp | 29 mData(data) in AshmemMemory() 35 munmap(mData, mMemory.size()); in ~AshmemMemory() 65 return mData; in getPointer()
|
D | AshmemMemory.h | 60 void* mData; member
|
/system/libhwbinder/ |
D | Parcel.cpp | 274 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/ |
D | BitFieldParser.cpp | 29 : mData(data) in BitFieldParser() 44 uint8_t byte = mData[byteCursor]; in readBits()
|
D | BitFieldParser.h | 50 uint8_t *mData;
|
/system/chre/platform/embos/ |
D | system_timer.cc | 28 timer->mCallback(timer->mData); in invokeCallback() 66 mData = data; in set()
|
/system/chre/platform/slpi/ |
D | system_timer.cc | 62 mData = data; in set() 96 systemTimer->mCallback(systemTimer->mData); in systemTimerNotifyCallback()
|
/system/chre/platform/tinysys/ |
D | system_timer.cc | 43 callback(systemTimer->mData); in callbackRunner() 89 mData = data; in set()
|
/system/core/libutils/include/utils/ |
D | String16.h | 237 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/ |
D | String16.h | 237 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/ |
D | dynamic_vector_impl.h | 49 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()
|
D | dynamic_vector_base.h | 83 void *mData = nullptr; variable
|
/system/chre/platform/linux/ |
D | system_timer.cc | 42 sysTimer->mCallback(sysTimer->mData); in systemTimerNotifyCallback() 88 mData = data; in set()
|
/system/media/audio_utils/include/audio_utils/ |
D | Statistics.h | 441 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/ |
D | system_timer.h | 105 void *mData = nullptr; variable
|