Home
last modified time | relevance | path

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

/system/core/liblog/
Dpmsg_writer.c104 android_pmsg_log_header_t pmsgHeader; in pmsgWrite() local
142 pmsgHeader.magic = LOGGER_MAGIC; in pmsgWrite()
143 pmsgHeader.len = sizeof(pmsgHeader) + sizeof(header); in pmsgWrite()
144 pmsgHeader.uid = __android_log_uid(); in pmsgWrite()
145 pmsgHeader.pid = __android_log_pid(); in pmsgWrite()
152 newVec[0].iov_base = (unsigned char *)&pmsgHeader; in pmsgWrite()
153 newVec[0].iov_len = sizeof(pmsgHeader); in pmsgWrite()
170 pmsgHeader.len += payloadSize; in pmsgWrite()
177 if (ret > (ssize_t)(sizeof(header) + sizeof(pmsgHeader))) { in pmsgWrite()
178 ret -= sizeof(header) - sizeof(pmsgHeader); in pmsgWrite()