Searched refs:close (Results 1 - 25 of 164) sorted by relevance

1234567

/system/extras/tests/cpueater/
H A Dcpueater.c50 close(0);
52 close(1);
58 close(2);
61 close(fd);
H A Ddaemonize.c43 close(0); open("/dev/null", 0);
44 close(1);
91 close(2); dup(1); /* join stdout and stderr */
97 close(fd);
/system/core/libcutils/
H A Dload_file.c41 close(fd);
48 close(fd);
H A Dsocket_inaddr_any_server.c54 close(s);
64 close(s);
H A Dsocket_loopback_server.c54 close(s);
64 close(s);
H A Dfs.c100 close(fd);
104 close(fd);
132 if (close(fd) == -1) {
133 ALOGE("Failed to close %s: %s", temp, strerror(errno));
145 close(fd);
221 close(fd);
231 close(fd);
H A Ddebugger.c52 TEMP_FAILURE_RETRY(close(s));
85 TEMP_FAILURE_RETRY(close(s));
H A Dsocket_local_server.c106 close(s);
116 close(s);
/system/vold/
H A DLoop.cpp60 close(fd);
104 close(fd);
160 close(fd);
181 close(fd);
187 close(file_fd);
188 close(fd);
200 close(file_fd);
201 close(fd);
205 close(fd);
206 close(file_f
[all...]
H A DDevmapper.cpp72 close(fd);
80 close(fd);
113 close(fd);
155 close(fd);
158 close(fd);
189 close(fd);
204 close(fd);
213 close(fd);
244 close(fd);
254 close(f
[all...]
H A DNetlinkManager.cpp90 close(mSock);
104 close(mSock);
H A DXwarp.cpp77 close(fd);
81 close(fd);
/system/core/libdiskconfig/
H A Ddiskutils.c106 close(src_fd);
108 close(dst_fd);
113 close(dst_fd);
115 close(src_fd);
/system/netd/
H A DNetlinkManager.cpp72 close(*sock);
78 close(*sock);
84 close(*sock);
91 close(*sock);
132 close(mUeventSock);
143 close(mRouteSock);
155 close(mQuotaSock);
H A DTetherController.cpp73 close(fd);
76 close(fd);
91 close(fd);
95 close(fd);
122 close(pipefd[0]);
123 close(pipefd[1]);
128 close(pipefd[1]);
134 close(pipefd[0]);
162 close(pipefd[0]);
184 close(mDaemonF
[all...]
H A DNetdConstants.cpp119 close(fd);
122 close(fd);
139 close(fd);
143 close(fd);
/system/core/libutils/tests/
H A DTestHelpers.h39 ::close(sendFd);
43 ::close(receiveFd);
/system/media/audio_utils/
H A Dtinysndfile.c82 goto close;
86 goto close;
91 goto close;
95 goto close;
105 goto close;
111 goto close;
116 goto close;
120 goto close;
126 goto close;
140 goto close;
[all...]
/system/extras/tests/sdcard/
H A Dtestcase.cpp72 for (int i = 0; i < 4; ++i) close(mIpc[i]);
91 close(mIpc[READ_FROM_CHILD]);
92 close(mIpc[WRITE_TO_CHILD]);
113 close(mIpc[WRITE_TO_PARENT]);
114 close(mIpc[READ_FROM_PARENT]);
119 close(mIpc[WRITE_TO_PARENT]);
120 close(mIpc[READ_FROM_PARENT]);
/system/core/fastbootd/
H A Dtransport.h30 void (*close)(struct transport_handle *thandle); member in struct:transport
/system/core/libsparse/
H A Dsimg2img.c82 close(in);
85 close(out);
/system/core/sh/
H A Dredir.c156 close(fd);
160 close(fd);
240 close(f);
273 close(pip[0]);
288 close(pip[1]);
308 close(i);
311 close(rp->renamed[i]);
360 close(rp->renamed[i]);
/system/core/toolbox/
H A Dmd5.c43 (void)close(fd);
49 if (close(fd)) {
50 fprintf(stderr,"could not close %s, %s\n", path, strerror(errno));
/system/core/adb/
H A Dframebuffer_service.c71 close(fds[0]);
72 close(fds[1]);
177 close(fds[0]);
178 close(fds[1]);
179 close(fd);
/system/core/init/
H A Dlogo.c73 close(fb->fd);
80 close(fb->fd);
99 close(fd);
151 close(fd);
158 close(fd);

Completed in 448 milliseconds

1234567