Searched refs:hdr_size (Results 1 – 8 of 8) sorted by relevance
55 size_t hdr_size = phdr.p_filesz; in get_build_id() local57 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()
548 unsigned hdr_size = log_entry.entry.hdr_size; in dump_log_file() local549 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()
464 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() local632 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 …]
415 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()
708 log_msg->entry_v3.hdr_size = sizeof(log_msg->entry_v3); in android_logger_list_read_pstore()
43 uint16_t hdr_size; /* sizeof(struct logger_entry_v2) */ member54 uint16_t hdr_size; /* sizeof(struct logger_entry_v3) */ member129 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()
191 switch(msg->entry.hdr_size) { in dump_log_msg()205 fprintf(stderr, "hdr_size=%u ", msg->entry.hdr_size); in dump_log_msg()
198 entry.hdr_size = sizeof(struct logger_entry_v3); in flushTo()