/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/ |
D | Buffer.h | 51 Buffer() : mData(nullptr), mBufferEnd(nullptr) {} in Buffer() 59 Buffer(const T* data, size_t bufLen) : mData(data), mBufferEnd(pointerAdd(data, bufLen)) {} in Buffer() 63 return mData; 71 return {true, *mData}; in getFirst() 83 memcpy(&val, mData, std::min(sizeof(val), remainingLength())); in copyFirst() 91 return {impl::data<const T, const D>(mData, offset), dataEnd()}; 96 const auto selfStart = uintptr_t(mData); in getOffset() 98 const auto innerStart = uintptr_t(inner.mData); in getOffset() 115 mCurrent.mData = reinterpret_cast<const T*>( // 116 uintptr_t(mCurrent.mData) + impl::align(mCurrent.declaredLength())); [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/files/ |
D | MemStream.cpp | 27 mData.reserve(reserveSize); in MemStream() 30 MemStream::MemStream(Buffer&& data) : mData(std::move(data)) {} in MemStream() 34 memcpy(buffer, mData.data() + mReadPos, sizeToRead); in read() 40 mData.insert(mData.end(), (const char*)buffer, (const char*)buffer + size); in write() 45 return (int)mData.size(); in writtenSize() 53 return mData.size() - mReadPos; in readSize() 57 saveBuffer(stream, mData); in save() 61 loadBuffer(stream, &mData); in load()
|
/hardware/google/aemu/base/ |
D | MemStream.cpp | 28 mData.reserve(reserveSize); in MemStream() 31 MemStream::MemStream(Buffer&& data) : mData(std::move(data)) {} in MemStream() 38 memcpy(buffer, mData.data() + mReadPos, sizeToRead); in read() 47 mData.insert(mData.end(), (const char*)buffer, (const char*)buffer + size); in write() 52 return (int)mData.size(); in writtenSize() 60 return mData.size() - mReadPos; in readSize() 64 saveBuffer(stream, mData); in save() 68 loadBuffer(stream, &mData); in load()
|
/hardware/qcom/sm8150/gps/utils/ |
D | LocHeap.cpp | 40 LocRankable* mData; member in loc_util::LocHeapNode 43 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 64 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 65 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 84 if (mData) { in ~LocHeapNode() 85 mData = NULL; in ~LocHeapNode() 91 LocRankable* tmpData = node.mData; in swap() 92 node.mData = mData; in swap() 93 mData = tmpData; in swap() 98 LocRankable* data = mData; in detachData() [all …]
|
/hardware/qcom/sm7250/gps/utils/ |
D | LocHeap.cpp | 40 LocRankable* mData; member in loc_util::LocHeapNode 43 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 64 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 65 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 84 if (mData) { in ~LocHeapNode() 85 mData = NULL; in ~LocHeapNode() 91 LocRankable* tmpData = node.mData; in swap() 92 node.mData = mData; in swap() 93 mData = tmpData; in swap() 98 LocRankable* data = mData; in detachData() [all …]
|
/hardware/libhardware/modules/camera/3_0/ |
D | Metadata.cpp | 33 mData(NULL) in Metadata() 44 if (m == mData) { in replace() 48 if (mData) in replace() 49 free_camera_metadata(mData); in replace() 50 mData = m; in replace() 141 if (NULL == mData) { in add() 145 entry_capacity = get_camera_metadata_entry_count(mData) + 1; in add() 146 data_capacity = get_camera_metadata_data_count(mData) + size; in add() 150 if (mData && !add_camera_metadata_entry(mData, tag, tag_data, count)) in add() 160 if (NULL != mData) { in add() [all …]
|
/hardware/google/aemu/base/include/aemu/base/testing/ |
D | TestMemoryOutputStream.h | 38 mData.insert(mData.end(), static_cast<const char*>(buffer), in write() 44 return std::string_view(mData.data(), mData.size()); in view() 47 void reset() { mData.clear(); } in reset() 50 std::vector<char> mData;
|
/hardware/qcom/sm8150p/gps/utils/ |
D | LocHeap.cpp | 38 LocRankable* mData; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 82 if (mData) { in ~LocHeapNode() 83 mData = NULL; in ~LocHeapNode() 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 91 mData = tmpData; in swap() 96 LocRankable* data = mData; in detachData() [all …]
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocHeap.cpp | 38 LocRankable* mData; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 82 if (mData) { in ~LocHeapNode() 83 mData = NULL; in ~LocHeapNode() 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 91 mData = tmpData; in swap() 96 LocRankable* data = mData; in detachData() [all …]
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocHeap.cpp | 38 LocRankable* mData; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 82 if (mData) { in ~LocHeapNode() 83 mData = NULL; in ~LocHeapNode() 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 91 mData = tmpData; in swap() 96 LocRankable* data = mData; in detachData() [all …]
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | LocHeap.cpp | 38 LocRankable* mData; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 82 if (mData) { in ~LocHeapNode() 83 mData = NULL; in ~LocHeapNode() 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 91 mData = tmpData; in swap() 96 LocRankable* data = mData; in detachData() [all …]
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocHeap.cpp | 38 LocRankable* mData; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 82 if (mData) { in ~LocHeapNode() 83 mData = NULL; in ~LocHeapNode() 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 91 mData = tmpData; in swap() 96 LocRankable* data = mData; in detachData() [all …]
|
/hardware/qcom/sm7150/gps/utils/ |
D | LocHeap.cpp | 38 LocRankable* mData; member in LocHeapNode 41 mSize(1), mLeft(NULL), mRight(NULL), mData(&data) {} in LocHeapNode() 62 inline bool outRanks(LocHeapNode& node) { return mData->outRanks(*node.mData); } in outRanks() 63 inline bool outRanks(LocRankable& data) { return mData->outRanks(data); } in outRanks() 82 if (mData) { in ~LocHeapNode() 83 mData = NULL; in ~LocHeapNode() 89 LocRankable* tmpData = node.mData; in swap() 90 node.mData = mData; in swap() 91 mData = tmpData; in swap() 96 LocRankable* data = mData; in detachData() [all …]
|
/hardware/google/aemu/base/include/aemu/base/ |
D | Version.h | 60 return std::get<static_cast<size_t>(C)>(mData); in component() 70 mData; variable 81 : mData(major, minor, micro, build) {} in Version() 88 return mData < other.mData; 92 return mData > other.mData; 96 return mData == other.mData;
|
D | Uuid.h | 63 return memcmp(&a.mData, &b.mData, sizeof(Uuid::data_t)) < 0; 67 return memcmp(&a.mData, &b.mData, sizeof(Uuid::data_t)) == 0; 82 data_t mData; variable
|
/hardware/libhardware/modules/usbcamera/ |
D | Metadata.cpp | 34 mData(NULL) { in Metadata() 42 if (m == mData) { in replace() 45 if (mData) in replace() 46 free_camera_metadata(mData); in replace() 47 mData = m; in replace() 122 if (!add_camera_metadata_entry(mData, tag, tag_data, count)) { in add() 130 size_t entry_capacity = get_camera_metadata_entry_count(mData) + 1; in add() 131 size_t data_capacity = get_camera_metadata_data_count(mData) + size; in add() 141 res = append_camera_metadata(tmp, mData); in add() 144 __func__, mData, tmp); in add() [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | RingBuffer.cpp | 26 mData((sensors_event_t *)malloc(sizeof(sensors_event_t) * mSize)), in RingBuffer() 32 free(mData); in ~RingBuffer() 33 mData = NULL; in ~RingBuffer() 53 memcpy(&mData[writePos], ev, copy * sizeof(sensors_event_t)); in write() 56 memcpy(mData, &ev[copy], (size - copy) * sizeof(sensors_event_t)); in write() 92 memcpy(ev, &mData[readPos], copy * sizeof(sensors_event_t)); in read() 95 memcpy(&ev[copy], mData, (size - copy) * sizeof(sensors_event_t)); in read()
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_xtra.cpp | 60 char* mData; member 65 mData(new char[len]), mLen(len) in LocEngInjectXtraData() 67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData() 72 delete[] mData; in ~LocEngInjectXtraData() 75 mAdapter->setXtraData(mData, mLen); in proc() 78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_xtra.cpp | 60 char* mData; member 65 mData(new char[len]), mLen(len) in LocEngInjectXtraData() 67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData() 72 delete[] mData; in ~LocEngInjectXtraData() 75 mAdapter->setXtraData(mData, mLen); in proc() 78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Callbacks.cpp | 61 mData.put(prepareModelCallback(status, preparedModel)); in notify() 66 mData.put(NN_ERROR(nn::ErrorStatus::DEAD_OBJECT) << "Dead object"); in notifyAsDeadObject() 70 return mData.take(); in get() 76 mData.put(executionCallback(status)); in notify() 81 mData.put(NN_ERROR(nn::ErrorStatus::DEAD_OBJECT) << "Dead object"); in notifyAsDeadObject() 85 return mData.take(); in get()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Callbacks.cpp | 99 mData.put(prepareModelCallback(status, preparedModel)); in notify() 105 mData.put(prepareModelCallback(status, preparedModel)); in notify_1_2() 111 mData.put(prepareModelCallback(status, preparedModel)); in notify_1_3() 116 mData.put(NN_ERROR(nn::ErrorStatus::DEAD_OBJECT) << "Dead object"); in notifyAsDeadObject() 120 return mData.take(); in get() 126 mData.put(V1_0::utils::executionCallback(status)); in notify() 133 mData.put(V1_2::utils::executionCallback(status, outputShapes, timing)); in notify_1_2() 140 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_3() 145 mData.put(NN_ERROR(nn::ErrorStatus::DEAD_OBJECT) << "Dead object"); in notifyAsDeadObject() 149 return mData.take(); in get()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Callbacks.cpp | 83 mData.put(prepareModelCallback(status, preparedModel)); in notify() 89 mData.put(prepareModelCallback(status, preparedModel)); in notify_1_2() 94 mData.put(NN_ERROR(nn::ErrorStatus::DEAD_OBJECT) << "Dead object"); in notifyAsDeadObject() 98 return mData.take(); in get() 104 mData.put(V1_0::utils::executionCallback(status)); in notify() 111 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_2() 116 mData.put(NN_ERROR(nn::ErrorStatus::DEAD_OBJECT) << "Dead object"); in notifyAsDeadObject() 120 return mData.take(); in get()
|
/hardware/libhardware/modules/sensors/ |
D | SensorEventQueue.cpp | 31 mData = new sensors_event_t[mCapacity]; in SensorEventQueue() 36 delete[] mData; in ~SensorEventQueue() 37 mData = NULL; in ~SensorEventQueue() 59 *out = &mData[firstWritable]; in getWritableRegion() 73 return &mData[mStart]; in peek()
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_xtra.cpp | 60 char* mData; member 65 mData(new char[len]), mLen(len) in LocEngInjectXtraData() 67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData() 72 delete[] mData; in ~LocEngInjectXtraData() 75 mAdapter->setXtraData(mData, mLen); in proc() 78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_xtra.cpp | 60 char* mData; member 65 mData(new char[len]), mLen(len) in LocEngInjectXtraData() 67 memcpy((void*)mData, (void*)data, len); in LocEngInjectXtraData() 72 delete[] mData; in ~LocEngInjectXtraData() 75 mAdapter->setXtraData(mData, mLen); in proc() 78 LOC_LOGV("length: %d\n data: %p", mLen, mData); in locallog()
|