Home
last modified time | relevance | path

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

/system/chre/util/include/chre/util/
Dpriority_queue_impl.h38 return mData.size(); in size()
43 return mData.capacity(); in capacity()
48 return mData.empty(); in empty()
54 bool success = mData.push_back(element); in push()
56 push_heap(mData, mCompare); in push()
64 bool success = mData.emplace_back(args...); in emplace()
66 push_heap(mData, mCompare); in emplace()
74 return mData[index];
80 return mData[index];
85 return mData[0]; in top()
[all …]
Ddynamic_vector_impl.h35 : mData(other.mData), in DynamicVector()
39 other.mData = nullptr; in DynamicVector()
49 memoryFree(mData); in ~DynamicVector()
55 destroy(mData, mSize); in clear()
61 return mData; in data()
66 return mData; in data()
88 new (&mData[mSize++]) ElementType(element); in push_back()
98 new (&mData[mSize++]) ElementType(std::move(element)); in push_back()
146 uninitializedMoveOrCopy(mData, mSize, newData); in reserve()
147 destroy(mData, mSize); in reserve()
[all …]
Dpriority_queue.h172 DynamicVector<ElementType> mData;
Dfixed_size_vector.h176 alignof(ElementType)>::type mData[kCapacity];
Dfixed_size_vector_impl.h29 return reinterpret_cast<ElementType *>(mData); in data()
34 return reinterpret_cast<const ElementType *>(mData); in data()
Ddynamic_vector.h331 ElementType *mData = nullptr;
Darray_queue_impl.h187 return reinterpret_cast<ElementType *>(mData); in data()
192 return reinterpret_cast<const ElementType *>(mData); in data()
Darray_queue.h221 alignof(ElementType)>::type mData[kCapacity];
/system/extras/tests/sdcard/
Dstopwatch.cpp55 : mName(strdup(name)), mNum(0), mData(NULL), mDataLen(0), mCapacity(capacity * 2), in StopWatch()
64 mData = (Measurement *) malloc(mCapacity * sizeof(Measurement)); in StopWatch()
73 free(mData); in ~StopWatch()
81 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); in start()
82 mData[mDataLen].mIsStart = true; in start()
85 mStart = mData[mDataLen].mTime; // mDataLen should be 0 in start()
95 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); in stop()
96 mData[mDataLen].mIsStart = false; in stop()
114 if (mDataLen > 0 && mData[mDataLen - 1].mIsStart) in sprint()
136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec; in sprint()
[all …]
Dstopwatch.h135 struct Measurement *mData; variable
/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.cpp380 return mData; in data()
539 memcpy(mData+mDataPos, data, len); in writeUnpadded()
582 uint8_t* const data = mData+mDataPos; in writeInplace()
737 *reinterpret_cast<T*>(mData+mDataPos) = val; in writeObject()
739 const binder_object_header* hdr = reinterpret_cast<binder_object_header*>(mData+mDataPos); in writeObject()
812 (mData + mObjects[child_buffer_handle]); in validateBufferChild()
828 (mData + mObjects[parent_buffer_handle]); in validateBufferParent()
983 reinterpret_cast<binder_buffer_object*>(mData+dataPos); in updateCache()
1109 memcpy(outData, mData+mDataPos, len); in read()
1127 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/slpi/
Dsystem_timer.cc52 mData = data; in set()
81 systemTimer->mCallback(systemTimer->mData); in systemTimerNotifyCallback()
/system/chre/platform/linux/
Dsystem_timer.cc41 sysTimer->mCallback(sysTimer->mData); in systemTimerNotifyCallback()
87 mData = data; in set()
/system/chre/platform/include/chre/platform/
Dsystem_timer.h104 void *mData; variable
/system/security/keystore/include/keystore/
DIKeystoreService.h39 const void* mData;
/system/libhwbinder/include/hwbinder/
DParcel.h295 uint8_t* mData; variable
/system/security/keystore/
DIKeystoreService.cpp42 KeystoreArg::KeystoreArg(const void* data, size_t len) : mData(data), mSize(len) {} in KeystoreArg()
47 return mData; in data()