Home
last modified time | relevance | path

Searched refs:readx (Results 1 – 9 of 9) sorted by relevance

/system/core/adb/
Dadb_client.c145 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()
321 if(readx(fd, buf, 4)) goto oops; in adb_query()
330 if(readx(fd, tmp, n) == 0) { in adb_query()
Dframebuffer_service.c82 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()
168 if(readx(fd_screencap, buf, sizeof(buf))) goto done; in framebuffer_service()
171 if(readx(fd_screencap, buf, fbinfo.size % sizeof(buf))) goto done; in framebuffer_service()
Dfile_sync_service.c174 if(readx(s, &msg.data, sizeof(msg.data))) in handle_send_file()
190 if(readx(s, buffer, len)) in handle_send_file()
233 if(readx(s, &msg.data, sizeof(msg.data))) in handle_send_link()
246 if(readx(s, buffer, len)) in handle_send_link()
259 if(readx(s, &msg.data, sizeof(msg.data))) in handle_send_link()
371 if(readx(fd, &msg.req, sizeof(msg.req))) {
380 if(readx(fd, name, namelen)) {
Dtransport.h24 int readx(int fd, void *ptr, size_t len);
Dfile_sync_client.c95 if(readx(fd, &msg.dent, sizeof(msg.dent))) break; in sync_ls()
102 if(readx(fd, buf, len)) break; in sync_ls()
139 if(readx(fd, &msg.stat, sizeof(msg.stat))) { in sync_readtime()
172 if(readx(fd, &msg.stat, sizeof(msg.stat))) in sync_finish_readtime()
198 if(readx(fd, &msg.stat, sizeof(msg.stat))) { in sync_readmode()
396 if(readx(fd, &msg.status, sizeof(msg.status))) in sync_send()
403 if(readx(fd, sbuf->data, len)) { in sync_send()
459 if(readx(fd, &msg.data, sizeof(msg.data))) { in sync_recv()
478 if(readx(fd, &msg.data, sizeof(msg.data))) { in sync_recv()
493 if(readx(fd, buffer, len)) { in sync_recv()
[all …]
Dtransport_local.c60 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()
Dfdevent.c532 if(readx(fd, &subproc_fd, sizeof(subproc_fd))) { in fdevent_subproc_event_func()
Dtransport.c1140 int readx(int fd, void *ptr, size_t len) in readx() function
Dcommandline.c433 if(readx(fd, buf, 4)){ in adb_download_buffer()