Home
last modified time | relevance | path

Searched refs:logSize (Results 1 – 3 of 3) sorted by relevance

/system/chre/platform/shared/
Dlog_buffer.cc60 size_t logSize; in handleLogVa() local
61 mBufferDataHeadIndex = getNextLogIndex(mBufferDataHeadIndex, &logSize); in handleLogVa()
62 mBufferDataSize -= logSize; in handleLogVa()
98 bool LogBuffer::logWouldCauseOverflow(size_t logSize) { in logWouldCauseOverflow() argument
100 return (mBufferDataSize + logSize + kLogDataOffset + 1 /* nullptr */ > in logWouldCauseOverflow()
195 size_t logSize; in copyLogsLocked() local
198 size_t logStartIndex = getNextLogIndex(mBufferDataHeadIndex, &logSize); in copyLogsLocked()
199 while (copySize + logSize <= size && in copyLogsLocked()
200 copySize + logSize <= mBufferDataSize) { in copyLogsLocked()
201 copySize += logSize; in copyLogsLocked()
[all …]
Dlog_buffer_manager.cc119 size_t logSize = vsnprintf(nullptr, 0, formatStr, getSizeArgs); in logVa() local
121 if (mPrimaryLogBuffer.logWouldCauseOverflow(logSize)) { in logVa()
/system/chre/platform/shared/include/chre/platform/shared/
Dlog_buffer.h138 bool logWouldCauseOverflow(size_t logSize);
246 size_t getNextLogIndex(size_t startingIndex, size_t *logSize);