Searched refs:done (Results 1 - 19 of 19) sorted by relevance

/system/core/adb/
H A Dframebuffer_service.c61 if (pipe(fds) < 0) goto done;
64 if (pid < 0) goto done;
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;
157 goto done;
161 if(writex(fd, &fbinfo, sizeof(fbinfo))) goto done;
165 if(readx(fd_screencap, buf, sizeof(buf))) goto done;
166 if(writex(fd, buf, sizeof(buf))) goto done;
168 if(readx(fd_screencap, buf, fbinfo.size % sizeof(buf))) goto done;
[all...]
H A Dlog_service.c41 goto done;
56 goto done;
60 goto done;
70 done:
H A Dservices.c216 if(r == 0) goto done;
219 else goto done;
232 goto done;
235 done:
531 D("wait_for_state is done\n");
H A Dfile_sync_service.c95 if(d == 0) goto done;
120 done:
412 D("sync: done\n");
/system/core/libdiskconfig/
H A Ddiskutils.c40 int done = 0; local
61 while (!done) {
71 /* we're done. */
72 done = 1;
96 if (!done) {
/system/core/libnl_2/
H A Dnetlink.c56 * by peeking before the actual read is done */
110 int rc, cb_rc = NL_OK, done = 0; local
119 done = 0;
152 done = 1;
188 if (done)
194 if (done)
/system/core/debuggerd/
H A Ddebuggerd.c462 /* non-blocking EOF; we're done */
738 goto done;
751 goto done;
754 goto done;
784 goto done;
789 goto done;
802 goto done;
816 goto done;
829 goto done;
842 goto done;
[all...]
/system/core/libusbhost/
H A Dusbhost.c80 /* returns true if one of the callbacks indicates we are done */
88 int done = 0; local
93 while ((de = readdir(busdir)) != 0 && !done) {
100 while ((de = readdir(devdir)) && !done) {
104 done = added_cb(devname, client_data);
110 return done;
144 int i, ret, done = 0; local
170 done = find_existing_devices(added_cb, removed_cb, client_data);
172 done |= discovery_done_cb(client_data);
174 while (!done) {
[all...]
/system/core/netcfg/
H A Dnetcfg.c177 goto done;
182 done:
/system/core/sh/
H A Doptions.c404 int done = 0; local
410 /* Current word is done, advance */
419 done = 1;
486 return done;
H A Dtrap.c394 goto done;
401 done:
H A Djobs.c1049 int done; local
1064 done = 1;
1077 done = 0;
1079 if (stopped) { /* stopped or done */
1080 int state = done ? JOBDONE : JOBSTOPPED;
1085 if (done)
1306 cmdputs("; done");
1315 cmdputs("; done");
H A Dexpand.c273 goto done;
276 goto done;
280 done:
H A Dparser.c1414 goto done;
1451 done:
/system/extras/sound/
H A Dplaywav.c91 done:
264 if ((tmp == 13) || (tmp == 10)) goto done;
277 done:
/system/core/toolbox/
H A DAndroid.mk81 $(TOOLS_H): PRIVATE_CUSTOM_TOOL = echo "/* file generated automatically */" > $@ ; for t in $(PRIVATE_TOOLS) ; do echo "TOOL($$t)" >> $@ ; done
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp223 goto done;
257 goto done;
266 goto done;
471 done:
685 done:
/system/core/liblog/
H A Dlogprint.c916 goto done;
922 goto done;
925 done:
/system/core/init/
H A Dbuiltins.c116 goto done;
126 done:

Completed in 161 milliseconds