Home
last modified time | relevance | path

Searched refs:size_read (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dipc_helper.cpp114 ssize_t size_read = RETRY_EINTR(receiver->ReceiveMessage( in RecvMsgAll() local
116 if (size_read < 0) { in RecvMsgAll()
121 } else if (size_read == 0) { in RecvMsgAll()
130 if (size_read < chunk_end_offset) { in RecvMsgAll()
131 size_t offset_within_chunk = size_read - chunk_start_offset; in RecvMsgAll()
138 size_read += data_size; in RecvMsgAll()
150 ssize_t size_read = RETRY_EINTR(receiver->Receive( in RecvAll() local
152 if (size_read < 0) { in RecvAll()
157 } else if (size_read == 0) { in RecvAll()
162 size -= size_read; in RecvAll()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp4534 ssize_t size_read; in dump() local
4536 while ((size_read = read(mMemFd, buf, (sizeof(buf) - 1))) > 0) { in dump()
4538 write(fd, buf, size_read); in dump()
4539 if (size_read == -1) { in dump()