Home
last modified time | relevance | path

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

/system/core/liblog/
Dpmsg_writer.cpp67 size_t i, payloadSize; in PmsgWrite() local
127 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in PmsgWrite()
129 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in PmsgWrite()
131 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in PmsgWrite()
132 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite()
136 payloadSize = LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite()
140 pmsgHeader.len += payloadSize; in PmsgWrite()
Dlogd_writer.cpp93 size_t i, payloadSize; in LogdWrite() local
158 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in LogdWrite()
160 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in LogdWrite()
162 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in LogdWrite()
163 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in LogdWrite()
/system/core/libstats/socket/
Dstatsd_writer.c162 size_t i, payloadSize; in statsdWrite() local
226 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()
228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite()
230 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in statsdWrite()
231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()
/system/core/libstats/push_compat/
Dstatsd_writer.c162 size_t i, payloadSize; in statsdWrite() local
226 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()
228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite()
230 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in statsdWrite()
231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()