Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp78 size_t size_to_read = std::min(sizeof(buffer), size); in ReadAndDiscardData() local
79 auto status = ReceiveData(socket_fd, buffer, size_to_read); in ReadAndDiscardData()
82 size -= size_to_read; in ReadAndDiscardData()
Dservice_framework_tests.cpp217 size_t size_to_read = data_array.size() * sizeof(int); in HandleMessage() local
218 if (!message.ReadAll(data_array.data(), size_to_read)) { in HandleMessage()
/frameworks/native/libs/vr/libpdx/
Dservice.cpp94 size_t size_to_read = 0; in ReadVectorAll() local
96 size_to_read += vector[i].iov_len; in ReadVectorAll()
97 if (status.get() < size_to_read) in ReadVectorAll()