Home
last modified time | relevance | path

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

/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.cpp548 unsigned hdr_size = log_entry.entry.hdr_size; in dump_log_file() local
549 if (!hdr_size) { in dump_log_file()
550 hdr_size = sizeof(log_entry.entry_v1); in dump_log_file()
552 char* msg = reinterpret_cast<char*>(log_entry.buf) + hdr_size; in dump_log_file()
/system/core/liblog/
Dlog_read_kern.c464 ret = firstentry->entry.entry.hdr_size; in android_logger_list_flush()
480 log_msg->entry.hdr_size = ret; in android_logger_list_flush()
606 unsigned int hdr_size; in android_logger_list_read() local
632 hdr_size = logger_list->entry.entry.hdr_size; in android_logger_list_read()
633 if (!hdr_size) { in android_logger_list_read()
634 hdr_size = sizeof(logger_list->entry.entry_v1); in android_logger_list_read()
637 if ((hdr_size > sizeof(struct log_msg)) in android_logger_list_read()
639 > sizeof(logger_list->entry.buf) - hdr_size) in android_logger_list_read()
640 || (logger_list->entry.entry.len != result - hdr_size)) { in android_logger_list_read()
646 diff = sizeof(logger_list->entry.entry_v3) - hdr_size; in android_logger_list_read()
[all …]
Dlogprint.c415 if (buf2->hdr_size) { in android_log_processLogBuffer()
416 msg = ((char *)buf2) + buf2->hdr_size; in android_log_processLogBuffer()
677 if (buf2->hdr_size) { in android_log_processBinaryLogBuffer()
678 eventData = ((unsigned char *)buf2) + buf2->hdr_size; in android_log_processBinaryLogBuffer()
Dlog_read.c708 log_msg->entry_v3.hdr_size = sizeof(log_msg->entry_v3); in android_logger_list_read_pstore()
/system/core/include/log/
Dlogger.h43 uint16_t hdr_size; /* sizeof(struct logger_entry_v2) */ member
54 uint16_t hdr_size; /* sizeof(struct logger_entry_v3) */ member
129 return entry.hdr_size ? (char *) buf + entry.hdr_size : entry_v1.msg; in msg()
133 return (entry.hdr_size ? entry.hdr_size : sizeof(entry_v1)) + entry.len; in len()
/system/core/logd/tests/
Dlogd_test.cpp191 switch(msg->entry.hdr_size) { in dump_log_msg()
205 fprintf(stderr, "hdr_size=%u ", msg->entry.hdr_size); in dump_log_msg()
/system/core/logd/
DLogBufferElement.cpp198 entry.hdr_size = sizeof(struct logger_entry_v3); in flushTo()