Searched refs:logSize (Results 1 – 3 of 3) sorted by relevance
60 size_t logSize; in handleLogVa() local61 mBufferDataHeadIndex = getNextLogIndex(mBufferDataHeadIndex, &logSize); in handleLogVa()62 mBufferDataSize -= logSize; in handleLogVa()98 bool LogBuffer::logWouldCauseOverflow(size_t logSize) { in logWouldCauseOverflow() argument100 return (mBufferDataSize + logSize + kLogDataOffset + 1 /* nullptr */ > in logWouldCauseOverflow()195 size_t logSize; in copyLogsLocked() local198 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 …]
119 size_t logSize = vsnprintf(nullptr, 0, formatStr, getSizeArgs); in logVa() local121 if (mPrimaryLogBuffer.logWouldCauseOverflow(logSize)) { in logVa()
138 bool logWouldCauseOverflow(size_t logSize);246 size_t getNextLogIndex(size_t startingIndex, size_t *logSize);