Lines Matching refs:buf2
531 struct logger_entry_v2* buf2 = (struct logger_entry_v2*)buf; in android_log_processLogBuffer() local
532 if (buf2->hdr_size) { in android_log_processLogBuffer()
533 if ((buf2->hdr_size < sizeof(((struct log_msg*)NULL)->entry_v1)) || in android_log_processLogBuffer()
534 (buf2->hdr_size > sizeof(((struct log_msg*)NULL)->entry))) { in android_log_processLogBuffer()
538 msg = ((char*)buf2) + buf2->hdr_size; in android_log_processLogBuffer()
539 if (buf2->hdr_size >= sizeof(struct logger_entry_v4)) { in android_log_processLogBuffer()
1019 struct logger_entry_v2* buf2 = (struct logger_entry_v2*)buf; in android_log_processBinaryLogBuffer() local
1020 if (buf2->hdr_size) { in android_log_processBinaryLogBuffer()
1021 if ((buf2->hdr_size < sizeof(((struct log_msg*)NULL)->entry_v1)) || in android_log_processBinaryLogBuffer()
1022 (buf2->hdr_size > sizeof(((struct log_msg*)NULL)->entry))) { in android_log_processBinaryLogBuffer()
1026 eventData = ((unsigned char*)buf2) + buf2->hdr_size; in android_log_processBinaryLogBuffer()
1027 if ((buf2->hdr_size >= sizeof(struct logger_entry_v3)) && in android_log_processBinaryLogBuffer()
1031 if (buf2->hdr_size >= sizeof(struct logger_entry_v4)) { in android_log_processBinaryLogBuffer()
1089 if (buf2->hdr_size) { in android_log_processBinaryLogBuffer()
1090 eventData = ((unsigned char*)buf2) + buf2->hdr_size; in android_log_processBinaryLogBuffer()