Searched refs:headerLength (Results 1 – 5 of 5) sorted by relevance
121 static const unsigned headerLength = 1; in LogdWrite() local122 struct iovec newVec[nr + headerLength]; in LogdWrite()161 newVec[headerLength].iov_base = &buffer; in LogdWrite()162 newVec[headerLength].iov_len = sizeof(buffer); in LogdWrite()172 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in LogdWrite()173 newVec[i].iov_base = vec[i - headerLength].iov_base; in LogdWrite()174 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in LogdWrite()
71 static const unsigned headerLength = 2; in PmsgWrite() local72 struct iovec newVec[nr + headerLength]; in PmsgWrite()135 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in PmsgWrite()136 newVec[i].iov_base = vec[i - headerLength].iov_base; in PmsgWrite()137 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in PmsgWrite()
159 static const unsigned headerLength = 1; in statsdWrite() local160 struct iovec newVec[nr + headerLength]; in statsdWrite()214 newVec[headerLength].iov_base = &buffer; in statsdWrite()215 newVec[headerLength].iov_len = sizeof(buffer); in statsdWrite()226 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()227 newVec[i].iov_base = vec[i - headerLength].iov_base; in statsdWrite()228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite()
30 uint32_t headerLength) in FrameScanner() argument34 , mHeaderLength(headerLength) in FrameScanner()39 , mFrameSizeBytes(headerLength) // minimum in FrameScanner()
38 uint32_t headerLength