Searched refs:ReadFdExactly (Results 1 – 10 of 10) sorted by relevance
/system/core/adb/ |
D | framebuffer_service.cpp | 86 if(!ReadFdExactly(fd_screencap, &w, 4)) goto done; in framebuffer_service() 87 if(!ReadFdExactly(fd_screencap, &h, 4)) goto done; in framebuffer_service() 88 if(!ReadFdExactly(fd_screencap, &f, 4)) goto done; in framebuffer_service() 175 if(!ReadFdExactly(fd_screencap, buf, bsize)) goto done; in framebuffer_service()
|
D | file_sync_service.cpp | 217 if(!ReadFdExactly(s, &msg.data, sizeof(msg.data))) in handle_send_file() 233 if(!ReadFdExactly(s, buffer, len)) in handle_send_file() 279 if(!ReadFdExactly(s, &msg.data, sizeof(msg.data))) in handle_send_link() 292 if(!ReadFdExactly(s, buffer, len)) in handle_send_link() 308 if(!ReadFdExactly(s, &msg.data, sizeof(msg.data))) in handle_send_link() 426 if(!ReadFdExactly(fd, &msg.req, sizeof(msg.req))) { in file_sync_service() 435 if(!ReadFdExactly(fd, name, namelen)) { in file_sync_service()
|
D | adb_io_test.cpp | 66 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)) << strerror(errno); in TEST() 80 ASSERT_FALSE(ReadFdExactly(tf.fd, buf, sizeof(buf))); in TEST() 94 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)); in TEST()
|
D | file_sync_client.cpp | 112 if(!ReadFdExactly(fd, &msg.dent, sizeof(msg.dent))) break; in sync_ls() 119 if(!ReadFdExactly(fd, buf, len)) break; in sync_ls() 155 if(!ReadFdExactly(fd, &msg.stat, sizeof(msg.stat))) { in sync_readtime() 189 if(!ReadFdExactly(fd, &msg.stat, sizeof(msg.stat))) in sync_finish_readtime() 215 if(!ReadFdExactly(fd, &msg.stat, sizeof(msg.stat))) { in sync_readmode() 377 if(!ReadFdExactly(fd, &msg.status, sizeof(msg.status))) in sync_send() 384 if(!ReadFdExactly(fd, sbuf->data, len)) { in sync_send() 445 if (!ReadFdExactly(fd, &stat_msg.stat, sizeof(stat_msg.stat))) { in sync_recv() 461 if(!ReadFdExactly(fd, &msg.data, sizeof(msg.data))) { in sync_recv() 480 if(!ReadFdExactly(fd, &msg.data, sizeof(msg.data))) { in sync_recv() [all …]
|
D | adb_client.cpp | 51 if (!ReadFdExactly(fd, buf, 4)) { in ReadProtocolString() 59 if (!ReadFdExactly(fd, &(*s)[0], len)) { in ReadProtocolString() 156 if (!ReadFdExactly(fd, buf, 4)) { in adb_status()
|
D | adb_io.h | 41 bool ReadFdExactly(int fd, void *buf, size_t len);
|
D | transport_local.cpp | 51 if(!ReadFdExactly(t->sfd, &p->msg, sizeof(amessage))){ in remote_read() 61 if(!ReadFdExactly(t->sfd, p->data, p->msg.data_length)){ in remote_read()
|
D | adb_io.cpp | 46 bool ReadFdExactly(int fd, void* buf, size_t len) { in ReadFdExactly() function
|
D | fdevent.cpp | 529 if(!ReadFdExactly(fd, &subproc_fd, sizeof(subproc_fd))) { in fdevent_subproc_event_func()
|
D | commandline.cpp | 551 if (!ReadFdExactly(fd, buf, 8)) { in adb_sideload_host()
|