Home
last modified time | relevance | path

Searched refs:size_remaining (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp114 size_t size_remaining = 0; in ReceiveResponse() local
120 size_remaining = transaction_state->response.recv_len; in ReceiveResponse()
121 for (size_t i = 0; i < receive_count && size_remaining > 0; i++) { in ReceiveResponse()
124 if (last_vec.iov_len > size_remaining) in ReceiveResponse()
125 last_vec.iov_len = size_remaining; in ReceiveResponse()
126 size_remaining -= last_vec.iov_len; in ReceiveResponse()
132 if (status && size_remaining > 0) in ReceiveResponse()
133 status = ReadAndDiscardData(socket_fd, size_remaining); in ReceiveResponse()
Dservice_endpoint.cpp107 size_t size_remaining = request_data.size() - request_data_read_pos; in ReadData() local
109 for (size_t i = 0; i < vector_length && size_remaining > 0; i++) { in ReadData()
110 size_t size_to_copy = std::min(size_remaining, vector[i].iov_len); in ReadData()
115 size_remaining -= size_to_copy; in ReadData()
/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp484 size_t size_remaining = size; in fillBuffer() local
485 while (size_remaining > 0) { in fillBuffer()
596 size_t copy = size_remaining; in fillBuffer()
609 size_remaining -= copy; in fillBuffer()