Lines Matching refs:newVec
179 struct iovec newVec[nr + headerLength]; in statsdWrite() local
214 newVec[0].iov_base = (unsigned char*)&header; in statsdWrite()
215 newVec[0].iov_len = sizeof(header); in statsdWrite()
233 newVec[headerLength].iov_base = &buffer; in statsdWrite()
234 newVec[headerLength].iov_len = sizeof(buffer); in statsdWrite()
236 ret = TEMP_FAILURE_RETRY(writev(sock, newVec, 2)); in statsdWrite()
246 newVec[i].iov_base = vec[i - headerLength].iov_base; in statsdWrite()
247 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite()
250 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()
251 if (newVec[i].iov_len) { in statsdWrite()
269 ret = TEMP_FAILURE_RETRY(writev(sock, newVec, i)); in statsdWrite()
290 ret = TEMP_FAILURE_RETRY(writev(atomic_load(&statsdLoggerWrite.sock), newVec, i)); in statsdWrite()