/system/core/adb/ |
shell_service_protocol.cpp | 35 if (!ReadFdExactly(fd_, buffer_, kHeaderSize)) { 46 if (read_length && !ReadFdExactly(fd_, data(), read_length)) {
|
adb_io.h | 42 bool ReadFdExactly(int fd, void* buf, size_t len);
|
adb_io.cpp | 44 if (!ReadFdExactly(fd, buf, 4)) { 52 if (!ReadFdExactly(fd, &(*s)[0], len)) { 68 bool ReadFdExactly(int fd, void* buf, size_t len) {
|
framebuffer_service.cpp | 86 if(!ReadFdExactly(fd_screencap, &w, 4)) goto done; 87 if(!ReadFdExactly(fd_screencap, &h, 4)) goto done; 88 if(!ReadFdExactly(fd_screencap, &f, 4)) goto done; 175 if(!ReadFdExactly(fd_screencap, buf, bsize)) goto done;
|
file_sync_service.cpp | 186 if (!ReadFdExactly(s, &msg.data, sizeof(msg.data))) goto fail; 202 if (!ReadFdExactly(s, &buffer[0], msg.data.size)) goto abort; 229 if (!ReadFdExactly(s, &msg.data, sizeof(msg.data))) goto fail; 247 if (!ReadFdExactly(s, &buffer[0], msg.data.size)) goto abort; 264 if (!ReadFdExactly(s, &msg.data, sizeof(msg.data))) return false; 276 if (!ReadFdExactly(s, &buffer[0], len)) return false; 291 if (!ReadFdExactly(s, &msg.data, sizeof(msg.data))) return false; 387 if (!ReadFdExactly(fd, &request, sizeof(request))) { 397 if (!ReadFdExactly(fd, name, path_length)) {
|
adb_io_test.cpp | 50 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)) << strerror(errno); 64 ASSERT_FALSE(ReadFdExactly(tf.fd, buf, sizeof(buf))); 78 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1));
|
transport_local.cpp | 58 if(!ReadFdExactly(t->sfd, &p->msg, sizeof(amessage))){ 68 if(!ReadFdExactly(t->sfd, p->data, p->msg.data_length)){ 263 if (!ReadFdExactly(fd, tmp, 2) || memcmp(tmp, _ok_resp, 2)) {
|
file_sync_client.cpp | 267 if (!ReadFdExactly(fd, &msg.status, sizeof(msg.status))) { 289 if (!ReadFdExactly(fd, &buf[0], msg.status.msglen)) { 411 if (!ReadFdExactly(fd, &msg.status, sizeof(msg.status))) { 441 if (!ReadFdExactly(sc.fd, &msg.dent, sizeof(msg.dent))) return false; 450 if (!ReadFdExactly(sc.fd, buf, len)) return false; 460 if (!ReadFdExactly(sc.fd, &msg.stat, sizeof(msg.stat)) || msg.stat.id != ID_STAT) { 538 if (!ReadFdExactly(sc.fd, &msg.data, sizeof(msg.data))) { 561 if (!ReadFdExactly(sc.fd, buffer, msg.data.size)) { [all...] |
socket_test.cpp | 94 ASSERT_TRUE(ReadFdExactly(last[1], &write_buffer[0], write_buffer.size())); 186 ASSERT_EQ(true, ReadFdExactly(socket_fd[0], buf.data(), buf.size()));
|
sysdeps_test.cpp | 79 ASSERT_TRUE(ReadFdExactly(fds[1], buf, 4)); 81 ASSERT_TRUE(ReadFdExactly(fds[0], buf, 4));
|
adb_client.cpp | 115 if (!ReadFdExactly(fd, buf, 4)) {
|
fdevent_test.cpp | 131 ASSERT_TRUE(ReadFdExactly(reader, &write_buffer[0], write_buffer.size()));
|
shell_service_test.cpp | 80 ASSERT_TRUE(ReadFdExactly(shell_exit_receiver_fd_, ¬ified_fd,
|
fdevent.cpp | 306 if(!ReadFdExactly(fd, &subproc_fd, sizeof(subproc_fd))) {
|
commandline.cpp | [all...] |
/bootable/recovery/minadbd/ |
fuse_adb_provider.cpp | 37 if (!ReadFdExactly(ad->sfd, buffer, fetch_size)) {
|
fuse_adb_provider_test.cpp | 55 ASSERT_TRUE(ReadFdExactly(host_socket, block_req, 8));
|