Searched refs:hdr_size (Results 1 – 8 of 8) sorted by relevance
47 uint16_t hdr_size; /* sizeof(struct logger_entry_v2) */ member58 uint16_t hdr_size; /* sizeof(struct logger_entry_v3) */ member69 uint16_t hdr_size; /* sizeof(struct logger_entry_v4) */ member146 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()
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()
543 unsigned hdr_size = log_entry.entry.hdr_size; in dump_log_file() local544 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()
218 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() local334 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()
497 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()
438 (oldest->logMsg.entry.hdr_size ? in android_logger_list_read()439 oldest->logMsg.entry.hdr_size : in android_logger_list_read()
208 entry.hdr_size = privileged ? in flushTo()220 iovec[0].iov_len = entry.hdr_size; in flushTo()
211 switch(msg->entry.hdr_size) { in dump_log_msg()225 fprintf(stderr, "hdr_size=%u ", msg->entry.hdr_size); in dump_log_msg()