• Home
  • Raw
  • Download

Lines Matching refs:outBuf

641   char* outBuf = *pOutBuf;  in android_log_printBinaryEvent()  local
642 char* outBufSave = outBuf; in android_log_printBinaryEvent()
699 outBufLastSpace = isspace(*cp) ? outBuf : NULL; in android_log_printBinaryEvent()
700 *outBuf = *cp; in android_log_printBinaryEvent()
701 ++outBuf; in android_log_printBinaryEvent()
707 outBufLen += outBuf - outBufLastSpace; in android_log_printBinaryEvent()
708 outBuf = outBufLastSpace; in android_log_printBinaryEvent()
714 if (outBufSave != outBuf) { in android_log_printBinaryEvent()
715 *outBuf = '='; in android_log_printBinaryEvent()
716 ++outBuf; in android_log_printBinaryEvent()
733 outBuf = outBufSave; in android_log_printBinaryEvent()
761 outCount = snprintf(outBuf, outBufLen, "%" PRId64, lval); in android_log_printBinaryEvent()
763 outBuf += outCount; in android_log_printBinaryEvent()
782 outCount = snprintf(outBuf, outBufLen, "%f", fval); in android_log_printBinaryEvent()
784 outBuf += outCount; in android_log_printBinaryEvent()
809 outBuf = outBufSave; in android_log_printBinaryEvent()
813 memcpy(outBuf, eventData, strLen); in android_log_printBinaryEvent()
814 outBuf += strLen; in android_log_printBinaryEvent()
819 memcpy(outBuf, eventData, outBufLen); in android_log_printBinaryEvent()
820 outBuf += outBufLen; in android_log_printBinaryEvent()
843 *outBuf++ = '['; in android_log_printBinaryEvent()
847 result = android_log_printBinaryEvent(&eventData, &eventDataLen, &outBuf, &outBufLen, in android_log_printBinaryEvent()
853 *outBuf++ = ','; in android_log_printBinaryEvent()
860 *outBuf++ = ']'; in android_log_printBinaryEvent()
880 outBuf -= outCount; in android_log_printBinaryEvent()
886 outCount = snprintf(outBuf, outBufLen, "%" PRId64 "%cB", lval, suffixTable[idx]); in android_log_printBinaryEvent()
888 outCount = snprintf(outBuf, outBufLen, "B"); in android_log_printBinaryEvent()
892 if (((lval <= -1000) || (1000 <= lval)) && (outBufLen || (outBuf[-1] == '0'))) { in android_log_printBinaryEvent()
894 if (outBufLen) outBuf[0] = outBuf[-1]; in android_log_printBinaryEvent()
895 outBuf[-1] = outBuf[-2]; in android_log_printBinaryEvent()
896 outBuf[-2] = outBuf[-3]; in android_log_printBinaryEvent()
897 outBuf[-3] = '.'; in android_log_printBinaryEvent()
898 while ((outBufLen == 0) || (*outBuf == '0')) { in android_log_printBinaryEvent()
899 --outBuf; in android_log_printBinaryEvent()
902 if (*outBuf != '.') { in android_log_printBinaryEvent()
903 ++outBuf; in android_log_printBinaryEvent()
906 outCount = snprintf(outBuf, outBufLen, "s"); in android_log_printBinaryEvent()
908 outCount = snprintf(outBuf, outBufLen, "ms"); in android_log_printBinaryEvent()
917 outBuf -= outCount; in android_log_printBinaryEvent()
921 outCount = snprintf(outBuf, outBufLen, "%" PRIu64 "d ", val / day); in android_log_printBinaryEvent()
923 outBuf += outCount; in android_log_printBinaryEvent()
929 outCount = snprintf(outBuf, outBufLen, "%" PRIu64 ":", (val / hour) % (day / hour)); in android_log_printBinaryEvent()
931 outBuf += outCount; in android_log_printBinaryEvent()
935 snprintf(outBuf, outBufLen, (val >= hour) ? "%02" PRIu64 ":" : "%" PRIu64 ":", in android_log_printBinaryEvent()
938 outBuf += outCount; in android_log_printBinaryEvent()
941 outCount = snprintf(outBuf, outBufLen, (val >= minute) ? "%02" PRIu64 : "%" PRIu64 "s", in android_log_printBinaryEvent()
952 outCount = snprintf(outBuf, outBufLen, "%%"); in android_log_printBinaryEvent()
961 outBuf += outCount; in android_log_printBinaryEvent()
975 *pOutBuf = outBuf; in android_log_printBinaryEvent()
1078 char* outBuf = messageBuf; in android_log_processBinaryLogBuffer() local
1083 result = android_log_printBinaryEvent(&eventData, &inCount, &outBuf, &outRemaining, &fmtStr, in android_log_processBinaryLogBuffer()
1093 outBuf = messageBuf; in android_log_processBinaryLogBuffer()
1095 result = android_log_printBinaryEvent(&eventData, &inCount, &outBuf, &outRemaining, NULL, NULL); in android_log_processBinaryLogBuffer()
1103 --outBuf; in android_log_processBinaryLogBuffer()
1106 *outBuf++ = (result < 0) ? '!' : '^'; /* Error or Truncation? */ in android_log_processBinaryLogBuffer()
1127 *outBuf = '\0'; in android_log_processBinaryLogBuffer()
1128 entry->messageLen = outBuf - messageBuf; in android_log_processBinaryLogBuffer()