/system/core/adb/ |
transport.h | 24 int readx(int fd, void *ptr, size_t len);
|
framebuffer_service.c | 79 if(readx(fd_screencap, &w, 4)) goto done; 80 if(readx(fd_screencap, &h, 4)) goto done; 81 if(readx(fd_screencap, &f, 4)) goto done; 165 if(readx(fd_screencap, buf, sizeof(buf))) goto done; 168 if(readx(fd_screencap, buf, fbinfo.size % sizeof(buf))) goto done;
|
adb_client.c | 139 if(readx(fd, buf, 4)) { 155 if(readx(fd, buf, 4)) { 162 if(readx(fd, __adb_error, len)) { 236 if(readx(fd, buf, 4)) goto error; 241 if(readx(fd, buf, n)) goto error; 308 if(readx(fd, buf, 4)) goto oops; 317 if(readx(fd, tmp, n) == 0) {
|
file_sync_service.c | 174 if(readx(s, &msg.data, sizeof(msg.data))) 190 if(readx(s, buffer, len)) 233 if(readx(s, &msg.data, sizeof(msg.data))) 246 if(readx(s, buffer, len)) 259 if(readx(s, &msg.data, sizeof(msg.data))) 371 if(readx(fd, &msg.req, sizeof(msg.req))) { 380 if(readx(fd, name, namelen)) {
|
file_sync_client.c | 95 if(readx(fd, &msg.dent, sizeof(msg.dent))) break; 102 if(readx(fd, buf, len)) break; 139 if(readx(fd, &msg.stat, sizeof(msg.stat))) { 172 if(readx(fd, &msg.stat, sizeof(msg.stat))) 198 if(readx(fd, &msg.stat, sizeof(msg.stat))) { 396 if(readx(fd, &msg.status, sizeof(msg.status))) 403 if(readx(fd, sbuf->data, len)) { 459 if(readx(fd, &msg.data, sizeof(msg.data))) { 478 if(readx(fd, &msg.data, sizeof(msg.data))) { 493 if(readx(fd, buffer, len)) [all...] |
transport_local.c | 57 if(readx(t->sfd, &p->msg, sizeof(amessage))){ 73 if(readx(t->sfd, p->data, p->msg.data_length)){
|
services.c | 93 if(readx(s, buf, xfer)) break;
|
fdevent.c | 532 if(readx(fd, &subproc_fd, sizeof(subproc_fd))) {
|
transport.c | 988 int readx(int fd, void *ptr, size_t len) function 995 D("readx: fd=%d wanted=%d\n", fd, (int)len); 1003 D("readx: fd=%d error %d: %s\n", fd, errno, strerror(errno)); 1007 D("readx: fd=%d disconnected\n", fd); 1014 D("readx: fd=%d wanted=%d got=%d\n", fd, len0, len0 - len);
|
/frameworks/base/cmds/installd/ |
installd.c | 151 static int readx(int s, void *_buf, int count) function 386 if (readx(s, &count, sizeof(count))) { 394 if (readx(s, buf, count)) {
|