/bootable/recovery/minadbd/ |
transport.h | 25 int writex(int fd, const void *ptr, size_t len);
|
services.c | 64 if(writex(fd, buf, xfer)) break; 69 writex(s, "OKAY", 4); 71 writex(s, "FAIL", 4);
|
sockets.c | 40 if(writex(fd, buf, 8)) return -1; 41 return writex(fd, reason, len);
|
transport.c | 764 int writex(int fd, const void *ptr, size_t len) function 770 D("writex: fd=%d len=%d: ", fd, (int)len); 780 D("writex: fd=%d error %d: %s\n", fd, errno, strerror(errno)); 784 D("writex: fd=%d disconnected\n", fd);
|
/system/core/adb/ |
transport.h | 25 int writex(int fd, const void *ptr, size_t len);
|
file_sync_service.c | 73 return writex(s, &msg.stat, sizeof(msg.stat)); 111 if(writex(s, &msg.dent, sizeof(msg.dent)) || 112 writex(s, de->d_name, len)) { 126 return writex(s, &msg.dent, sizeof(msg.dent)); 138 if(writex(s, &msg.data, sizeof(msg.data)) || 139 writex(s, reason, len)) { 195 if(writex(fd, buffer, len)) { 214 if(writex(s, &msg.status, sizeof(msg.status))) 265 if(writex(s, &msg.status, sizeof(msg.status))) 341 if(writex(s, &msg.data, sizeof(msg.data)) | [all...] |
services.c | 67 writex(fd, buf, strlen(buf)); 73 writex(fd, buf, strlen(buf)); 80 writex(fd, buf, strlen(buf)); 93 writex(fd, buf, strlen(buf)); 101 writex(fd, buf, strlen(buf)); 111 writex(fd, buf, strlen(buf)); 139 writex(fd, buf, strlen(buf)); 146 writex(fd, buf, strlen(buf)); 295 res = writex(SHELL_EXIT_NOTIFY_FD, &fd, sizeof(fd)); 427 writex(fd, "OKAY", 4) [all...] |
file_sync_client.c | 72 writex(fd, &msg.req, sizeof(msg.req)); 89 if(writex(fd, &msg.req, sizeof(msg.req)) || 90 writex(fd, path, len)) { 134 if(writex(fd, &msg.req, sizeof(msg.req)) || 135 writex(fd, path, len)) { 159 if(writex(fd, &msg.req, sizeof(msg.req)) || 160 writex(fd, path, len)) { 193 if(writex(fd, &msg.req, sizeof(msg.req)) || 194 writex(fd, path, len)) { 236 if(writex(fd, sbuf, sizeof(unsigned) * 2 + ret)) [all...] |
framebuffer_service.c | 164 if(writex(fd, &fbinfo, sizeof(fbinfo))) goto done; 169 if(writex(fd, buf, sizeof(buf))) goto done; 172 if(writex(fd, buf, fbinfo.size % sizeof(buf))) goto done;
|
adb_client.c | 124 if(writex(fd, tmp, 4) || writex(fd, service, len)) { 204 if(writex(fd, tmp, 4) || writex(fd, service, len)) {
|
log_service.c | 91 writex(fd, buf, size);
|
remount_service.c | 103 writex(fd, str, strlen(str));
|
adb.c | [all...] |
transport_local.c | 99 if(writex(t->sfd, &p->msg, sizeof(amessage) + length)) {
|
sockets.c | 40 if(writex(fd, buf, 8)) return -1; 41 return writex(fd, reason, len);
|
commandline.c | 417 if(writex(fd, ptr, xfer)) { [all...] |
transport.c | 1172 int writex(int fd, const void *ptr, size_t len) function 1178 D("writex: fd=%d len=%d: ", fd, (int)len); 1188 D("writex: fd=%d error %d: %s\n", fd, errno, strerror(errno)); 1192 D("writex: fd=%d disconnected\n", fd);
|
/frameworks/native/cmds/installd/ |
installd.c | 170 static int writex(int s, const void *_buf, int count) function 244 if (writex(s, &count, sizeof(count))) return -1; 245 if (writex(s, cmd, count)) return -1;
|