/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 …]
|
/system/core/libcutils/ |
D | socket_network_client.c | 70 close(s); in socket_network_client_timeout() 75 close(s); in socket_network_client_timeout() 81 close(s); in socket_network_client_timeout() 94 close(s); in socket_network_client_timeout() 99 close(s); in socket_network_client_timeout() 105 close(s); in socket_network_client_timeout() 109 close(s); in socket_network_client_timeout() 115 close(s); in socket_network_client_timeout() 121 close(s); in socket_network_client_timeout()
|
D | fs.c | 100 close(fd); in fs_read_atomic_int() 104 close(fd); in fs_read_atomic_int() 132 if (close(fd) == -1) { in fs_write_atomic_int() 145 close(fd); in fs_write_atomic_int() 221 close(fd); in fs_mkdirs() 231 close(fd); in fs_mkdirs()
|
D | load_file.c | 41 close(fd); in load_file() 48 close(fd); in load_file()
|
D | socket_loopback_server.c | 52 close(s); in socket_loopback_server() 62 close(s); in socket_loopback_server()
|
D | socket_inaddr_any_server.c | 52 close(s); in socket_inaddr_any_server() 62 close(s); in socket_inaddr_any_server()
|
/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/server/ |
D | NetlinkManager.cpp | 72 close(*sock); in setupSocket() 78 close(*sock); in setupSocket() 84 close(*sock); in setupSocket() 91 close(*sock); in setupSocket() 134 close(mUeventSock); in stop() 145 close(mRouteSock); in stop() 157 close(mQuotaSock); in stop()
|
D | TetherController.cpp | 77 close(fd); in setIpFwdEnabled() 80 close(fd); in setIpFwdEnabled() 95 close(fd); in getIpFwdEnabled() 99 close(fd); in getIpFwdEnabled() 128 close(pipefd[0]); in startTethering() 129 close(pipefd[1]); in startTethering() 134 close(pipefd[1]); in startTethering() 140 close(pipefd[0]); in startTethering() 169 close(pipefd[0]); in startTethering() 191 close(mDaemonFd); in stopTethering()
|
/system/core/libdiskconfig/ |
D | diskutils.c | 107 close(src_fd); in write_raw_image() 109 close(dst_fd); in write_raw_image() 114 close(dst_fd); in write_raw_image() 116 close(src_fd); in write_raw_image()
|
/system/media/audio_utils/ |
D | tinysndfile.c | 82 goto close; in sf_open_read() 86 goto close; in sf_open_read() 91 goto close; in sf_open_read() 95 goto close; in sf_open_read() 105 goto close; in sf_open_read() 111 goto close; in sf_open_read() 116 goto close; in sf_open_read() 120 goto close; in sf_open_read() 126 goto close; in sf_open_read() 140 goto close; in sf_open_read() [all …]
|
/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/init/ |
D | property_service.c | 173 close(fd); in write_persistent_property() 280 close(s); in handle_property_set_fd() 291 close(s); in handle_property_set_fd() 295 close(s); in handle_property_set_fd() 303 close(s); in handle_property_set_fd() 314 close(s); in handle_property_set_fd() 323 close(s); in handle_property_set_fd() 341 close(s); in handle_property_set_fd() 347 close(s); in handle_property_set_fd() 464 close(fd); in load_persistent_properties() [all …]
|
D | builtins.c | 70 close(fd); in write_file() 102 close(fd); in _chown() 107 close(fd); in _chown() 125 close(fd); in _chmod() 130 close(fd); in _chmod() 162 close(fd); in setkey() 190 close(s); in __ifupdown() 443 close(fd); in do_mount() 447 close(loop); in do_mount() 451 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 | 74 close(ctrl); in doCtrlCommand() 96 close(param_fd); in writeModuleParam() 109 close(fd); in setup() 114 close(fd); in setup() 119 close(fd); in setup() 186 close(ctrl_fd); in checkTag() 217 close(ctrl_fd); in SetUp() 235 close(dev_fd); in TearDown() 238 close(ctrl_fd); in TearDown() 394 close(sock0.fd); in TEST_F() [all …]
|
/system/core/adb/ |
D | sockets.c | 170 s->close(s); in local_socket_enqueue() 255 if (s->peer->close == local_socket_close) { in local_socket_close_locked() 258 s->peer->close(s->peer); in local_socket_close_locked() 311 s->close(s); in local_socket_event_func() 327 s->close(s); in local_socket_event_func() 397 s->close(s); in local_socket_event_func() 421 s->close = local_socket_close; in create_local_socket() 535 s->peer->close(s->peer); in remote_socket_close() 552 peer->close(peer); in remote_socket_disconnect() 576 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() 178 close(fds[0]); in framebuffer_service() 179 close(fds[1]); in framebuffer_service() 181 close(fd); in framebuffer_service()
|
/system/core/toolbox/upstream-netbsd/bin/mv/ |
D | mv.c | 270 (void)close(from_fd); in fastcopy() 276 (void)close(from_fd); in fastcopy() 277 (void)close(to_fd); in fastcopy() 289 (void)close(from_fd); in fastcopy() 290 (void)close(to_fd); in fastcopy() 299 (void)close(from_fd); in fastcopy() 327 if (close(to_fd)) { in fastcopy()
|
/system/core/libion/tests/ |
D | map_test.cpp | 46 ASSERT_EQ(0, close(map_fd)); in TEST_F() 73 ASSERT_EQ(0, close(map_fd)); in TEST_F() 108 ASSERT_EQ(0, close(map_fd)); in TEST_F() 129 ASSERT_EQ(0, close(map_fd)); in TEST_F() 155 ASSERT_EQ(0, close(map_fd)); in TEST_F()
|
D | device_test.cpp | 54 ASSERT_EQ(0, close(m_deviceFd)); in TearDown() 162 ASSERT_EQ(0, close(map_fd)); in TEST_F() 196 ASSERT_EQ(0, close(map_fd)); in TEST_F() 228 ASSERT_EQ(0, close(map_fd)); in TEST_F() 262 ASSERT_EQ(0, close(map_fd)); in TEST_F() 296 ASSERT_EQ(0, close(map_fd)); in TEST_F() 330 ASSERT_EQ(0, close(map_fd)); in TEST_F() 364 ASSERT_EQ(0, close(map_fd)); in TEST_F() 400 ASSERT_EQ(0, close(map_fd)); in TEST_F() 433 ASSERT_EQ(0, close(map_fd)); in TEST_F() [all …]
|
/system/core/toolbox/upstream-netbsd/bin/cp/ |
D | utils.c | 141 (void)close(from_fd); in copy_file() 150 (void)close(from_fd); in copy_file() 172 (void)close(from_fd); in copy_file() 180 (void)close(from_fd); in copy_file() 181 (void)close(to_fd); in copy_file() 280 (void)close(from_fd); in copy_file() 283 (void)close(to_fd); in copy_file() 306 if (close(to_fd)) { in copy_file()
|
/system/core/fastbootd/ |
D | usb_linux_client.c | 200 close(usb_transport->bulk_in); in init_functionfs() 204 close(usb_transport->bulk_out); in init_functionfs() 208 close(usb_transport->control); in init_functionfs() 261 close(usb_transport->control); in usb_close() 262 close(usb_transport->bulk_out); in usb_close() 263 close(usb_transport->bulk_in); in usb_close() 296 usb_transport->transport.close = usb_close; in usb_init()
|