Searched refs:newVec (Results 1 – 1 of 1) sorted by relevance
186 struct iovec newVec[nr + headerLength]; in statsdWrite() local221 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()[all …]