Lines Matching refs:newVec
122 struct iovec newVec[nr + headerLength]; in LogdWrite() local
148 newVec[0].iov_base = (unsigned char*)&header; in LogdWrite()
149 newVec[0].iov_len = sizeof(header); in LogdWrite()
161 newVec[headerLength].iov_base = &buffer; in LogdWrite()
162 newVec[headerLength].iov_len = sizeof(buffer); in LogdWrite()
164 ret = TEMP_FAILURE_RETRY(writev(logd_socket.sock(), newVec, 2)); 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()
177 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in LogdWrite()
178 if (newVec[i].iov_len) { in LogdWrite()
187 ret = TEMP_FAILURE_RETRY(writev(logd_socket.sock(), newVec, i)); in LogdWrite()
191 ret = TEMP_FAILURE_RETRY(writev(logd_socket.sock(), newVec, i)); in LogdWrite()