Home
last modified time | relevance | path

Searched refs:hdr_size (Results 1 – 8 of 8) sorted by relevance

/system/core/include/log/
Dlogger.h47 uint16_t hdr_size; /* sizeof(struct logger_entry_v2) */ member
58 uint16_t hdr_size; /* sizeof(struct logger_entry_v3) */ member
69 uint16_t hdr_size; /* sizeof(struct logger_entry_v4) */ member
146 return entry.hdr_size ? (char *) buf + entry.hdr_size : entry_v1.msg; in msg()
150 return (entry.hdr_size ? entry.hdr_size : sizeof(entry_v1)) + entry.len; in len()
/system/core/debuggerd/
Delf_utils.cpp55 size_t hdr_size = phdr.p_filesz; in get_build_id() local
57 while (hdr_size >= sizeof(NhdrType)) { in get_build_id()
84 hdr_size -= sizeof(nhdr); in get_build_id()
87 if (hdr_size < skip_bytes) { in get_build_id()
90 hdr_size -= skip_bytes; in get_build_id()
Dtombstone.cpp543 unsigned hdr_size = log_entry.entry.hdr_size; in dump_log_file() local
544 if (!hdr_size) { in dump_log_file()
545 hdr_size = sizeof(log_entry.entry_v1); in dump_log_file()
547 char* msg = reinterpret_cast<char*>(log_entry.buf) + hdr_size; in dump_log_file()
/system/core/liblog/
Dpmsg_reader.c218 log_msg->entry_v4.hdr_size = is_system ? in pmsgRead()
230 return ret + log_msg->entry_v4.hdr_size; in pmsgRead()
333 size_t hdr_size = transp.logMsg.entry.hdr_size ? in __android_log_pmsg_file_read() local
334 transp.logMsg.entry.hdr_size : sizeof(transp.logMsg.entry_v1); in __android_log_pmsg_file_read()
335 char *msg = (char *)&transp.logMsg + hdr_size; in __android_log_pmsg_file_read()
475 hdr_size + transp.logMsg.entry.len); in __android_log_pmsg_file_read()
481 hdr_size + transp.logMsg.entry.len); in __android_log_pmsg_file_read()
555 (char *)&content->entry + content->entry.hdr_size + in __android_log_pmsg_file_read()
Dlogprint.c497 if (buf2->hdr_size) { in android_log_processLogBuffer()
498 msg = ((char *)buf2) + buf2->hdr_size; in android_log_processLogBuffer()
499 if (buf2->hdr_size >= sizeof(struct logger_entry_v4)) { in android_log_processLogBuffer()
776 if (buf2->hdr_size) { in android_log_processBinaryLogBuffer()
777 eventData = ((unsigned char *)buf2) + buf2->hdr_size; in android_log_processBinaryLogBuffer()
778 if ((buf2->hdr_size >= sizeof(struct logger_entry_v3)) && in android_log_processBinaryLogBuffer()
782 if (buf2->hdr_size >= sizeof(struct logger_entry_v4)) { in android_log_processBinaryLogBuffer()
Dlogger_read.c438 (oldest->logMsg.entry.hdr_size ? in android_logger_list_read()
439 oldest->logMsg.entry.hdr_size : in android_logger_list_read()
/system/core/logd/
DLogBufferElement.cpp208 entry.hdr_size = privileged ? in flushTo()
220 iovec[0].iov_len = entry.hdr_size; in flushTo()
/system/core/logd/tests/
Dlogd_test.cpp211 switch(msg->entry.hdr_size) { in dump_log_msg()
225 fprintf(stderr, "hdr_size=%u ", msg->entry.hdr_size); in dump_log_msg()