Home
last modified time | relevance | path

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

/system/logging/liblog/
Dlogd_writer.cpp121 static const unsigned headerLength = 1; in LogdWrite() local
122 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()
Dpmsg_writer.cpp71 static const unsigned headerLength = 2; in PmsgWrite() local
72 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()
/system/core/libstats/push_compat/
Dstatsd_writer.c159 static const unsigned headerLength = 1; in statsdWrite() local
160 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()
/system/media/audio_utils/spdif/
DFrameScanner.cpp30 uint32_t headerLength) in FrameScanner() argument
34 , mHeaderLength(headerLength) in FrameScanner()
39 , mFrameSizeBytes(headerLength) // minimum in FrameScanner()
/system/media/audio_utils/include/audio_utils/spdif/
DFrameScanner.h38 uint32_t headerLength