Home
last modified time | relevance | path

Searched refs:strLen (Results 1 – 4 of 4) sorted by relevance

/system/chre/platform/slpi/
Dplatform_log.cc62 int strLen = vsnprintf(logBuffer, messageLen, formatStr, argList); in log() local
65 if (strLen < 0) { in log()
70 if (static_cast<size_t>(strLen) >= messageLen) { in log()
72 strLen--; in log()
77 mLogBufferSize += 1 + sizeof(uint64_t) + strLen + 1; in log()
/system/chre/util/system/
Ddebug_dump.cc28 int strLen = vsnprintf(&buffer[*bufferPos], bufferSize - *bufferPos, in debugDumpPrint() local
32 if (strLen >= 0) { in debugDumpPrint()
33 size_t strLenBytes = static_cast<size_t>(strLen); in debugDumpPrint()
/system/core/liblog/
Dlogprint.c808 unsigned int strLen; in android_log_printBinaryEvent() local
811 strLen = get4LE(eventData); in android_log_printBinaryEvent()
815 if (eventDataLen < strLen) { in android_log_printBinaryEvent()
817 strLen = eventDataLen; in android_log_printBinaryEvent()
820 if (cp && (strLen == 0)) { in android_log_printBinaryEvent()
825 if (strLen < outBufLen) { in android_log_printBinaryEvent()
826 memcpy(outBuf, eventData, strLen); in android_log_printBinaryEvent()
827 outBuf += strLen; in android_log_printBinaryEvent()
828 outBufLen -= strLen; in android_log_printBinaryEvent()
838 eventData += strLen; in android_log_printBinaryEvent()
[all …]
/system/chre/host/msm/daemon/
Dchre_daemon.cc177 size_t strLen = strlen(log); in parseAndEmitLogMessages() local
178 i += kLogMessageHeaderSize + strLen; in parseAndEmitLogMessages()