/system/vold/ |
D | Loop.cpp | 60 close(fd); in dumpState() 104 close(fd); in lookupActive() 160 close(fd); in create() 181 close(fd); in create() 187 close(file_fd); in create() 188 close(fd); in create() 200 close(file_fd); in create() 201 close(fd); in create() 205 close(fd); in create() 206 close(file_fd); in create() [all …]
|
D | Devmapper.cpp | 72 close(fd); in dumpState() 80 close(fd); in dumpState() 113 close(fd); in dumpState() 155 close(fd); in lookupActive() 158 close(fd); in lookupActive() 189 close(fd); in create() 204 close(fd); in create() 213 close(fd); in create() 244 close(fd); in create() 254 close(fd); in create() [all …]
|
D | logwrapper.c | 124 close(parent_ptty); in logwrap() 131 close(parent_ptty); in logwrap() 140 close(parent_ptty); in logwrap() 146 close(parent_ptty); in logwrap() 149 close(child_ptty); in logwrap() 165 close(parent_ptty); in logwrap()
|
/system/extras/tests/cpueater/ |
D | cpueater.c | 50 close(0); in main() 52 close(1); in main() 58 close(2); in main() 61 close(fd); in main()
|
D | daemonize.c | 43 close(0); open("/dev/null", 0); in main() 44 close(1); in main() 91 close(2); dup(1); /* join stdout and stderr */ in main() 97 close(fd); in main()
|
/system/netd/ |
D | NetlinkManager.cpp | 72 close(*sock); in setupSocket() 78 close(*sock); in setupSocket() 84 close(*sock); in setupSocket() 91 close(*sock); in setupSocket() 129 close(mUeventSock); in stop() 140 close(mRouteSock); in stop() 152 close(mQuotaSock); in stop()
|
D | TetherController.cpp | 74 close(fd); in setIpFwdEnabled() 77 close(fd); in setIpFwdEnabled() 92 close(fd); in getIpFwdEnabled() 96 close(fd); in getIpFwdEnabled() 123 close(pipefd[0]); in startTethering() 124 close(pipefd[1]); in startTethering() 129 close(pipefd[1]); in startTethering() 135 close(pipefd[0]); in startTethering() 164 close(pipefd[0]); in startTethering() 185 close(mDaemonFd); in stopTethering()
|
D | logwrapper.c | 123 close(parent_ptty); in logwrap() 130 close(parent_ptty); in logwrap() 139 close(parent_ptty); in logwrap() 145 close(parent_ptty); in logwrap() 148 close(child_ptty); in logwrap() 156 close(parent_ptty); in logwrap()
|
/system/core/libdiskconfig/ |
D | diskutils.c | 106 close(src_fd); in write_raw_image() 108 close(dst_fd); in write_raw_image() 113 close(dst_fd); in write_raw_image() 115 close(src_fd); in write_raw_image()
|
/system/security/keystore/ |
D | keystore_client.cpp | 34 close(sock); in keystore_cmd() 46 close(sock); in keystore_cmd() 55 close(sock); in keystore_cmd() 66 close(sock); in keystore_cmd() 95 close(sock); in keystore_cmd()
|
/system/bluetooth/bluedroid/ |
D | bluetooth.c | 63 close(fd); in init_rfkill() 107 if (fd >= 0) close(fd); in check_bluetooth_power() 136 if (fd >= 0) close(fd); in set_bluetooth_power() 194 close(hci_sock); in bt_enable() 221 if (hci_sock >= 0) close(hci_sock); in bt_enable() 262 if (hci_sock >= 0) close(hci_sock); in bt_disable() 299 if (hci_sock >= 0) close(hci_sock); in bt_is_enabled()
|
/system/extras/tests/sdcard/ |
D | testcase.cpp | 72 for (int i = 0; i < 4; ++i) close(mIpc[i]); in ~TestCase() 91 close(mIpc[READ_FROM_CHILD]); in runTest() 92 close(mIpc[WRITE_TO_CHILD]); in runTest() 113 close(mIpc[WRITE_TO_PARENT]); in runTest() 114 close(mIpc[READ_FROM_PARENT]); in runTest() 119 close(mIpc[WRITE_TO_PARENT]); in runTest() 120 close(mIpc[READ_FROM_PARENT]); in runTest()
|
/system/core/sh/ |
D | redir.c | 156 close(fd); in redirect() 160 close(fd); in redirect() 240 close(f); in openredirect() 273 close(pip[0]); in openhere() 288 close(pip[1]); in openhere() 308 close(i); in popredir() 311 close(rp->renamed[i]); in popredir() 360 close(rp->renamed[i]);
|
/system/core/init/ |
D | logo.c | 73 close(fb->fd); in fb_open() 80 close(fb->fd); in fb_close() 99 close(fd); in vt_set_mode() 151 close(fd); in load_565rle_image() 158 close(fd); in load_565rle_image()
|
D | builtins.c | 72 close(fd); in write_file() 104 close(fd); in _chown() 109 close(fd); in _chown() 127 close(fd); in _chmod() 132 close(fd); in _chmod() 164 close(fd); in setkey() 192 close(s); in __ifupdown() 429 close(fd); in do_mount() 433 close(loop); in do_mount() 437 close(loop); in do_mount() [all …]
|
/system/extras/sound/ |
D | playwav.c | 92 close(afd); in pcm_play() 225 close(fd); in wav_rec() 278 close(afd); in wav_rec() 285 close(fd); in wav_rec() 289 close(afd); in wav_rec() 290 close(fd); in wav_rec() 309 close(fd); in mp3_play() 324 close(fd); in mp3_play() 325 close(afd); in mp3_play()
|
/system/extras/tests/iptables/qtaguid/ |
D | socketTag.cpp | 70 close(ctrl); in doCtrlCommand() 92 close(param_fd); in writeModuleParam() 105 close(fd); in setup() 110 close(fd); in setup() 115 close(fd); in setup() 182 close(ctrl_fd); in checkTag() 211 close(ctrl_fd); in SetUp() 229 close(dev_fd); in TearDown() 232 close(ctrl_fd); in TearDown() 388 close(sock0.fd); in TEST_F() [all …]
|
/system/core/adb/ |
D | sockets.c | 156 s->close(s); in local_socket_enqueue() 235 if (s->peer->close == local_socket_close) { in local_socket_close_locked() 238 s->peer->close(s->peer); in local_socket_close_locked() 291 s->close(s); in local_socket_event_func() 307 s->close(s); in local_socket_event_func() 377 s->close(s); in local_socket_event_func() 400 s->close = local_socket_close; in create_local_socket() 499 s->peer->close(s->peer); in remote_socket_close() 516 peer->close(peer); in remote_socket_disconnect() 531 s->close = remote_socket_close; in create_remote_socket() [all …]
|
D | framebuffer_service.c | 71 close(fds[0]); in framebuffer_service() 72 close(fds[1]); in framebuffer_service() 177 close(fds[0]); in framebuffer_service() 178 close(fds[1]); in framebuffer_service() 179 close(fd); in framebuffer_service()
|
/system/core/libcutils/ |
D | fs.c | 93 close(fd); in fs_read_atomic_int() 97 close(fd); in fs_read_atomic_int() 125 if (close(fd) == -1) { in fs_write_atomic_int() 138 close(fd); in fs_write_atomic_int()
|
D | load_file.c | 41 close(fd); in load_file() 48 close(fd); in load_file()
|
D | socket_loopback_server.c | 54 close(s); in socket_loopback_server() 64 close(s); in socket_loopback_server()
|
D | socket_inaddr_any_server.c | 54 close(s); in socket_inaddr_any_server() 64 close(s); in socket_inaddr_any_server()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 57 close(mSock); in ~SocketListener() 60 close(mCtrlPipe[0]); in ~SocketListener() 61 close(mCtrlPipe[1]); in ~SocketListener() 120 close(mCtrlPipe[0]); in stopListener() 121 close(mCtrlPipe[1]); in stopListener() 126 close(mSock); in stopListener()
|
/system/core/toolbox/cp/ |
D | utils.c | 147 (void)close(from_fd); in copy_file() 156 (void)close(from_fd); in copy_file() 178 (void)close(from_fd); in copy_file() 186 (void)close(from_fd); in copy_file() 187 (void)close(to_fd); in copy_file() 283 (void)close(from_fd); in copy_file() 286 (void)close(to_fd); in copy_file() 309 if (close(to_fd)) { in copy_file()
|