Home
last modified time | relevance | path

Searched refs:mBufferDataHeadIndex (Results 1 – 2 of 2) sorted by relevance

/system/chre/platform/shared/
Dlog_buffer.cc61 mBufferDataHeadIndex = getNextLogIndex(mBufferDataHeadIndex, &logSize); in handleLogVa()
174 if (mBufferDataHeadIndex + size > mBufferMaxSize) { in copyFromBuffer()
175 size_t firstSize = mBufferMaxSize - mBufferDataHeadIndex; in copyFromBuffer()
177 memcpy(destinationBytes, &mBufferData[mBufferDataHeadIndex], firstSize); in copyFromBuffer()
180 memcpy(destinationBytes, &mBufferData[mBufferDataHeadIndex], size); in copyFromBuffer()
183 mBufferDataHeadIndex = in copyFromBuffer()
184 incrementAndModByBufferMaxSize(mBufferDataHeadIndex, size); in copyFromBuffer()
198 size_t logStartIndex = getNextLogIndex(mBufferDataHeadIndex, &logSize); in copyLogsLocked()
214 mBufferDataHeadIndex = 0; in resetLocked()
/system/chre/platform/shared/include/chre/platform/shared/
Dlog_buffer.h277 size_t mBufferDataHeadIndex = 0; variable