Searched refs:readx (Results 1 – 9 of 9) sorted by relevance
/system/core/adb/ |
D | adb_client.c | 145 if(readx(fd, buf, 4)) { in adb_status() 161 if(readx(fd, buf, 4)) { in adb_status() 168 if(readx(fd, __adb_error, len)) { in adb_status() 249 if(readx(fd, buf, 4)) goto error; in adb_connect() 254 if(readx(fd, buf, n)) goto error; in adb_connect() 324 if(readx(fd, buf, 4)) goto oops; in adb_query() 336 if(readx(fd, tmp, n) == 0) { in adb_query()
|
D | framebuffer_service.c | 82 if(readx(fd_screencap, &w, 4)) goto done; in framebuffer_service() 83 if(readx(fd_screencap, &h, 4)) goto done; in framebuffer_service() 84 if(readx(fd_screencap, &f, 4)) goto done; in framebuffer_service() 171 if(readx(fd_screencap, buf, bsize)) goto done; in framebuffer_service()
|
D | file_sync_service.c | 220 if(readx(s, &msg.data, sizeof(msg.data))) in handle_send_file() 236 if(readx(s, buffer, len)) in handle_send_file() 280 if(readx(s, &msg.data, sizeof(msg.data))) in handle_send_link() 293 if(readx(s, buffer, len)) in handle_send_link() 309 if(readx(s, &msg.data, sizeof(msg.data))) in handle_send_link() 438 if(readx(fd, &msg.req, sizeof(msg.req))) { 447 if(readx(fd, name, namelen)) {
|
D | transport.h | 24 int readx(int fd, void *ptr, size_t len);
|
D | file_sync_client.c | 112 if(readx(fd, &msg.dent, sizeof(msg.dent))) break; in sync_ls() 119 if(readx(fd, buf, len)) break; in sync_ls() 157 if(readx(fd, &msg.stat, sizeof(msg.stat))) { in sync_readtime() 191 if(readx(fd, &msg.stat, sizeof(msg.stat))) in sync_finish_readtime() 217 if(readx(fd, &msg.stat, sizeof(msg.stat))) { in sync_readmode() 379 if(readx(fd, &msg.status, sizeof(msg.status))) in sync_send() 386 if(readx(fd, sbuf->data, len)) { in sync_send() 447 if (readx(fd, &stat_msg.stat, sizeof(stat_msg.stat))) { in sync_recv() 463 if(readx(fd, &msg.data, sizeof(msg.data))) { in sync_recv() 482 if(readx(fd, &msg.data, sizeof(msg.data))) { in sync_recv() [all …]
|
D | transport_local.c | 60 if(readx(t->sfd, &p->msg, sizeof(amessage))){ in remote_read() 76 if(readx(t->sfd, p->data, p->msg.data_length)){ in remote_read()
|
D | fdevent.c | 523 if(readx(fd, &subproc_fd, sizeof(subproc_fd))) { in fdevent_subproc_event_func()
|
D | commandline.c | 497 if(readx(fd, buf, 4)){ in adb_download_buffer() 582 if (readx(fd, buf, 8)) { in adb_sideload_host()
|
D | transport.c | 1140 int readx(int fd, void *ptr, size_t len) in readx() function
|