Home
last modified time | relevance | path

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

/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/core/libutils/
DBlobCache.cpp218 memcpy(eheader->mData, keyBlob->getData(), keySize); in flatten()
219 memcpy(eheader->mData + keySize, valueBlob->getData(), valueSize); in flatten()
224 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten()
281 const uint8_t* data = eheader->mData; in unflatten()
314 mData(copyData ? malloc(size) : data), in Blob()
318 memcpy(const_cast<void*>(mData), data, size); in Blob()
324 free(const_cast<void*>(mData)); in ~Blob()
330 return memcmp(mData, rhs.mData, mSize) < 0; in operator <()
337 return mData; in getData()
/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/core/include/utils/
DBlobCache.h137 const void* mData; variable
214 uint8_t mData[]; member
/system/security/keystore/include/keystore/
DIKeystoreService.h37 const void* mData;
/system/security/keystore/
DIKeystoreService.cpp37 : mData(data), mSize(len) { in KeystoreArg()
44 return mData; in data()