Searched refs:logMsg (Results 1 – 3 of 3) sorted by relevance
399 if ((retval > 0) && !transp->logMsg.entry.len) { in android_logger_list_read()405 &transp->logMsg); in android_logger_list_read()421 &transp->logMsg); in android_logger_list_read()428 if ((transp->ret > 0) && transp->logMsg.entry.len && in android_logger_list_read()429 (!oldest || (oldest->logMsg.entry.sec > transp->logMsg.entry.sec) || in android_logger_list_read()430 ((oldest->logMsg.entry.sec == transp->logMsg.entry.sec) && in android_logger_list_read()431 (oldest->logMsg.entry.nsec > transp->logMsg.entry.nsec)))) { in android_logger_list_read()450 if (ret < oldest->logMsg.entry.hdr_size) { in android_logger_list_read()453 (oldest->logMsg.entry.hdr_size > sizeof(oldest->logMsg) in android_logger_list_read()454 ? sizeof(oldest->logMsg) in android_logger_list_read()[all …]
340 while (pmsgRead(&logger_list, &transp, &transp.logMsg) > 0) { in __android_log_pmsg_file_read()342 size_t hdr_size = transp.logMsg.entry.hdr_size in __android_log_pmsg_file_read()343 ? transp.logMsg.entry.hdr_size in __android_log_pmsg_file_read()344 : sizeof(transp.logMsg.entry_v1); in __android_log_pmsg_file_read()345 char* msg = (char*)&transp.logMsg + hdr_size; in __android_log_pmsg_file_read()348 if ((hdr_size < sizeof(transp.logMsg.entry_v1)) || in __android_log_pmsg_file_read()349 (hdr_size > sizeof(transp.logMsg.entry))) { in __android_log_pmsg_file_read()353 if ((transp.logMsg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE) || in __android_log_pmsg_file_read()354 ((transp.logMsg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= in __android_log_pmsg_file_read()360 len = transp.logMsg.entry.len - sizeof(prio); in __android_log_pmsg_file_read()[all …]
125 struct log_msg logMsg; /* peek at upcoming data, valid if logMsg.len != 0 */ member