Searched refs:size_remaining (Results 1 – 3 of 3) sorted by relevance
109 size_t size_remaining = 0; in ReceiveResponse() local115 size_remaining = transaction_state->response.recv_len; in ReceiveResponse()116 for (size_t i = 0; i < receive_count && size_remaining > 0; i++) { in ReceiveResponse()119 if (last_vec.iov_len > size_remaining) in ReceiveResponse()120 last_vec.iov_len = size_remaining; in ReceiveResponse()121 size_remaining -= last_vec.iov_len; in ReceiveResponse()127 if (status && size_remaining > 0) in ReceiveResponse()128 status = ReadAndDiscardData(socket_fd, size_remaining); in ReceiveResponse()
104 size_t size_remaining = request_data.size() - request_data_read_pos; in ReadData() local106 for (size_t i = 0; i < vector_length && size_remaining > 0; i++) { in ReadData()107 size_t size_to_copy = std::min(size_remaining, vector[i].iov_len); in ReadData()112 size_remaining -= size_to_copy; in ReadData()
473 size_t size_remaining = size; in fillBuffer() local474 while (size_remaining > 0) { in fillBuffer()585 size_t copy = size_remaining; in fillBuffer()598 size_remaining -= copy; in fillBuffer()