/system/core/base/ |
D | cmsg_test.cpp | 51 fd2.reset(dup2); in SetUp() 64 unique_fd fd2; member 83 ASSERT_EQ(2, SendFileDescriptors(send.get(), "ab", 2, fd1.get(), fd2.get())); in TEST_P() 105 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get(), fd2.get())); in TEST_P() 134 ASSERT_EQ(1, SendFileDescriptors(send.get(), "d", 1, fd2.get())); in TEST_P() 153 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get(), fd2.get())); in TEST_P() 168 ASSERT_EQ(1, SendFileDescriptors(send.get(), "b", 1, fd2.get())); in TEST_P() 187 ASSERT_EQ(1, SendFileDescriptors(send.get(), "", 1, fd2.get())); in TEST_P()
|
/system/core/libsync/ |
D | sync.c | 59 int32_t fd2; member 154 static int legacy_sync_merge(const char *name, int fd1, int fd2) in legacy_sync_merge() argument 159 data.fd2 = fd2; in legacy_sync_merge() 167 static int modern_sync_merge(const char *name, int fd1, int fd2) in modern_sync_merge() argument 172 data.fd2 = fd2; in modern_sync_merge() 183 int sync_merge(const char *name, int fd1, int fd2) in sync_merge() argument 191 ret = modern_sync_merge(name, fd1, fd2); in sync_merge() 201 ret = legacy_sync_merge(name, fd1, fd2); in sync_merge()
|
/system/ashmemd/tests/ |
D | ashmemd_test.cpp | 62 ParcelFileDescriptor fd2; in TEST_F() local 64 openFd(&fd2); in TEST_F() 65 ASSERT_NE(fd1.get(), fd2.get()); in TEST_F()
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 185 int fd, fd2; in main() local 247 fd2 = open("/dev/urandom", O_RDONLY); in main() 248 if (fd2 < 0) { in main() 251 if (read(fd2, &seed, sizeof(seed)) != sizeof(seed)) { in main() 254 close(fd2); in main()
|
/system/core/libsync/include/ndk/ |
D | sync.h | 69 int32_t sync_merge(const char* name, int32_t fd1, int32_t fd2) __INTRODUCED_IN(26);
|
/system/netd/libnetdutils/ |
D | FdTest.cpp | 43 Fd fd2(fd1); in TEST() local 44 Fd fd3 = fd2; in TEST()
|
/system/netd/resolv/ |
D | resolver_test.cpp | 1842 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F() local 1844 EXPECT_TRUE(fd2 != -1); in TEST_F() 1848 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 1860 fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F() 1863 EXPECT_TRUE(fd2 != -1); in TEST_F() 1865 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 1946 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F() local 1947 EXPECT_TRUE(fd2 != -1); in TEST_F() 1961 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 2062 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F() local [all …]
|
/system/core/adb/daemon/ |
D | shell_service.cpp | 133 bool CreateSocketpair(unique_fd* fd1, unique_fd* fd2) { in CreateSocketpair() argument 140 fd2->reset(sockets[1]); in CreateSocketpair()
|