Searched refs:fd4 (Results 1 - 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/pwritev/
H A Dpwritev02.c49 static int fd4[2]; variable
78 {&fd4[1], wr_iovec2, 1, 0, ESPIPE}
105 SAFE_PIPE(fd4);
116 if (fd4[0] > 0)
117 SAFE_CLOSE(fd4[0]);
119 if (fd4[1] > 0)
120 SAFE_CLOSE(fd4[1]);
/external/ltp/testcases/kernel/syscalls/read/
H A Dread02.c52 static int fd2, fd3, fd4 = -1; variable
71 {&fd4, &addr4, 1, EINVAL},
72 {&fd4, &addr5, 4096, EINVAL},
79 if (tc->fd == &fd4 && *tc->fd == -1) {
87 if (*tc->fd == fd4 && TEST_RETURN >= 0) {
124 fd4 = SAFE_OPEN("test_file", O_RDWR | O_DIRECT);
131 if (fd4 > 0)
132 SAFE_CLOSE(fd4);
/external/android-clat/
H A Dtun.h28 int read_fd6, write_fd6, fd4; member in struct:tun_data
H A Dclatd.c311 error = tun_alloc(tunnel->device4, tunnel->fd4);
317 error = set_nonblocking(tunnel->fd4);
378 { tunnel->fd4, POLLIN, 0 },
392 ring_read(&tunnel->ring, tunnel->fd4, 0 /* to_ipv6 */);
408 read_packet(tunnel->fd4, tunnel->write_fd6, 1 /* to_ipv6 */);
509 tunnel.fd4 = tun_open();
510 if(tunnel.fd4 < 0) {
/external/ltp/testcases/kernel/syscalls/preadv/
H A Dpreadv02.c51 static int fd4; variable
81 {&fd4, rd_iovec2, 1, 0, EISDIR},
110 fd4 = SAFE_OPEN(".", O_RDONLY);
122 if (fd4 > 0)
123 SAFE_CLOSE(fd4);
/external/valgrind/memcheck/tests/linux/
H A Dsys-openat.c17 __attribute__((unused)) int fd4 = openat (0x12345678, "abc", O_RDONLY); local
/external/webrtc/webrtc/base/
H A Dlinuxfdwalk_unittest.cc64 int fd4 = dup2(fd3, kArbitraryLargeFdNumber); local
65 EXPECT_LE(0, fd4);
69 EXPECT_TRUE(fds.insert(fd4).second);
74 EXPECT_EQ(0, close(fd4));
/external/libpcap/
H A Dfad-glifc.c82 register int fd4, fd6, fd; local
99 fd4 = socket(AF_INET, SOCK_DGRAM, 0);
100 if (fd4 < 0) {
113 (void)close(fd4);
123 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) {
127 (void)close(fd4);
140 (void)close(fd4);
152 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) {
156 (void)close(fd4);
192 fd = fd4;
[all...]
/external/clang/test/CodeGen/
H A Datomic-ops.c237 _Bool fd4(struct S *a, struct S *b, struct S *c) { function
238 // CHECK-LABEL: @fd4

Completed in 712 milliseconds