/system/extras/simpleperf/ |
D | workload.cpp | 74 close(start_signal_fd_); in ~Workload() 77 close(exec_child_fd_); in ~Workload() 93 close(start_signal_pipe[0]); in CreateNewProcess() 94 close(start_signal_pipe[1]); in CreateNewProcess() 101 close(start_signal_pipe[0]); in CreateNewProcess() 102 close(start_signal_pipe[1]); in CreateNewProcess() 103 close(exec_child_pipe[0]); in CreateNewProcess() 104 close(exec_child_pipe[1]); in CreateNewProcess() 108 close(start_signal_pipe[1]); in CreateNewProcess() 109 close(exec_child_pipe[0]); in CreateNewProcess() [all …]
|
D | IOEventLoop_test.cpp | 62 close(fd[0]); in TEST() 63 close(fd[1]); in TEST() 96 close(fd[1]); in TEST() 98 close(fd[0]); in TEST() 180 close(fd[0]); in TEST() 181 close(fd[1]); in TEST() 217 close(fd[0]); in TEST() 218 close(fd[1]); in TEST()
|
/system/vold/ |
D | BenchmarkGen.h | 62 close(t3433f18); in BenchmarkRun() 72 close(t3433f18); in BenchmarkRun() 80 close(t3433f18); in BenchmarkRun() 90 close(t3433f18); in BenchmarkRun() 100 close(t3433f18); in BenchmarkRun() 110 close(t3433f18); in BenchmarkRun() 120 close(t3433f18); in BenchmarkRun() 130 close(t3433f18); in BenchmarkRun() 140 close(t3433f18); in BenchmarkRun() 150 close(t3433f18); in BenchmarkRun() [all …]
|
/system/bt/gd/cert/ |
D | closable.py | 26 self.close() 30 self.close() 33 def close(self): member in Closable 39 closable.close()
|
/system/core/libcutils/ |
D | socket_network_client_unix.cpp | 35 close(s); in toggle_O_NONBLOCK() 73 close(s); in socket_network_client_timeout() 86 close(s); in socket_network_client_timeout() 91 close(s); in socket_network_client_timeout() 99 close(s); in socket_network_client_timeout() 103 close(s); in socket_network_client_timeout() 110 close(s); in socket_network_client_timeout()
|
/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/security/identity/ |
D | Util.cpp | 60 close(fd); in fileGetContents() 72 close(fd); in fileGetContents() 78 close(fd); in fileGetContents() 106 close(fd); in fileSetContents() 115 close(fd); in fileSetContents() 118 close(fd); in fileSetContents() 122 close(fd); in fileSetContents()
|
/system/extras/tests/kernel.config/ |
D | aslr_test.cpp | 52 bo_file.close(); in set_mmap_rnd_bits() 60 bi_file.close(); in set_mmap_rnd_bits() 78 close(fd[0]); in scrape_addr() 79 close(fd[1]); in scrape_addr() 83 close(fd[1]); in scrape_addr() 87 close(fd[0]); in scrape_addr() 93 close(fd[0]); in scrape_addr() 97 close(fd[0]); in scrape_addr() 100 close(fd[0]); in scrape_addr() 103 close(fd[1]); in scrape_addr() [all …]
|
/system/netd/tests/benchmarks/ |
D | connect_benchmark.cpp | 123 close(sock); in ipv4_loopback() 139 close(sock); in ipv4_loopback() 143 close(accepted); in ipv4_loopback() 144 close(sock); in ipv4_loopback() 146 close(listensocket); in ipv4_loopback() 180 close(sock); in ipv6_loopback() 196 close(sock); in ipv6_loopback() 200 close(accepted); in ipv6_loopback() 201 close(sock); in ipv6_loopback() 203 close(listensocket); in ipv6_loopback()
|
/system/netd/server/ |
D | OffloadUtilsTest.cpp | 107 close(fd); in TEST_F() 116 close(fd); in TEST_F() 125 close(fd); in TEST_F() 134 close(fd); in TEST_F() 143 close(fd); in TEST_F() 152 close(fd); in TEST_F() 161 close(fd); in TEST_F() 172 close(fd); in TEST_F() 183 close(fd); in TEST_F() 192 close(fd); in TEST_F() [all …]
|
D | NetlinkManager.cpp | 91 close(*sock); in setupSocket() 97 close(*sock); in setupSocket() 103 close(*sock); in setupSocket() 125 close(*sock); in setupSocket() 174 close(mUeventSock); in stop() 185 close(mRouteSock); in stop() 197 close(mQuotaSock); in stop() 210 close(mStrictSock); in stop()
|
/system/libbase/include/android-base/ |
D | unique_fd.h | 73 close(fd); in Close() 82 ::close(fd); 139 close(fd_, this); in reset() 168 static auto close(int fd, void* tag_value) -> decltype(T::Close(fd, tag_value), void()) { 173 static auto close(int fd, void*) -> decltype(T::Close(fd), void()) { 202 close(pipefd[0]); 203 close(pipefd[1]); 209 close(pipefd[0]); 210 close(pipefd[1]); 244 close(fd); in Fdopen() [all …]
|
/system/media/audio_utils/tests/ |
D | fifo_multiprocess.cpp | 114 (void) close(frontFd); in main() 115 (void) close(rearFd); in main() 116 (void) close(dataFd); in main() 190 (void) close(frontFd); in main() 191 (void) close(rearFd); in main() 192 (void) close(dataFd); in main() 222 (void) close(frontFd); in main() 223 (void) close(rearFd); in main() 224 (void) close(dataFd); in main()
|
/system/extras/tests/memeater/ |
D | memeater.c | 56 close(0); in main() 59 close(fd); in main() 82 close(1); in main() 87 close(2); in main()
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.cpp | 54 close(fd); in get_dev_t_for_partition() 57 close(fd); in get_dev_t_for_partition() 177 close(src_fd); in module_setActiveBootSlot() 186 close(src_fd); in module_setActiveBootSlot() 187 close(dst_fd); in module_setActiveBootSlot() 192 close(src_fd); in module_setActiveBootSlot() 193 close(dst_fd); in module_setActiveBootSlot() 203 close(src_fd); in module_setActiveBootSlot() 204 close(dst_fd); in module_setActiveBootSlot()
|
D | bootinfo.cpp | 99 close(fd); in boot_info_open_partition() 133 close(fd); in boot_info_load() 140 close(fd); in boot_info_load() 154 close(fd); in boot_info_save() 161 close(fd); in boot_info_save()
|
/system/netd/libnetdutils/ |
D | FdTest.cpp | 75 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 85 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 93 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 108 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F() 127 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F() 136 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 142 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(statusFromErrno(EINTR, "test"))); in TEST_F()
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_test.cpp | 47 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 59 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 71 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 84 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 121 ASSERT_EQ(0, close(fds[i])); in TEST_F() 140 ASSERT_EQ(0, close(map_fd)); in TEST_F() 161 ASSERT_EQ(0, close(map_fd)); in TEST_F() 184 ASSERT_EQ(0, close(map_fd1)); in TEST_F() 185 ASSERT_EQ(0, close(map_fd2)); in TEST_F() 216 ASSERT_EQ(0, close(map_fd)); in TEST_F() [all …]
|
/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 | 89 goto close; in sf_open_read() 95 goto close; in sf_open_read() 102 goto close; in sf_open_read() 108 goto close; in sf_open_read() 121 goto close; in sf_open_read() 129 goto close; in sf_open_read() 136 goto close; in sf_open_read() 142 goto close; in sf_open_read() 150 goto close; in sf_open_read() 166 goto close; in sf_open_read() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | simple_stack.py | 118 def close(self): member in Connection 119 self._socket.close() 138 def close(self): member in RawPort 139 self._connection.close() 193 self._raw_port.close()
|
D | simple_link_layer_socket.py | 85 def close(self): member in Connection 86 self._socket.close() 106 def close(self): member in RawPort 107 self._connection.close() 164 self._raw_port.close()
|
/system/memory/libion/tests/ |
D | allocate_test.cpp | 37 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 52 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 68 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 86 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F() 127 ASSERT_EQ(0, close(fds[i])); in TEST_F() 143 ASSERT_EQ(0, close(map_fd)); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | fec_file_descriptor.cc | 31 fh_.close(); in Open() 38 fh_.close(); in Open() 75 return fh_.close(); in Close()
|