Lines Matching refs:newVec
186 struct iovec newVec[nr + headerLength]; in statsdWrite() local
221 newVec[0].iov_base = (unsigned char*)&header; in statsdWrite()
222 newVec[0].iov_len = sizeof(header); in statsdWrite()
240 newVec[headerLength].iov_base = &buffer; in statsdWrite()
241 newVec[headerLength].iov_len = sizeof(buffer); in statsdWrite()
243 ret = TEMP_FAILURE_RETRY(writev(sock, newVec, 2)); in statsdWrite()
257 newVec[i].iov_base = vec[i - headerLength].iov_base; in statsdWrite()
258 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite()
261 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()
262 if (newVec[i].iov_len) { in statsdWrite()
280 ret = TEMP_FAILURE_RETRY(writev(sock, newVec, i)); in statsdWrite()
301 ret = TEMP_FAILURE_RETRY(writev(atomic_load(&statsdLoggerWrite.sock), newVec, i)); in statsdWrite()