Home
last modified time | relevance | path

Searched refs:fd3 (Results 1 – 25 of 35) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod06.c23 static int fd3; variable
32 {&fd3, 0644, EROFS},
61 fd3 = SAFE_OPEN(MNT_POINT"/file", O_RDONLY); in setup()
74 if (fd3 > 0) in cleanup()
75 SAFE_CLOSE(fd3); in cleanup()
/external/ltp/testcases/kernel/syscalls/kcmp/
Dkcmp01.c25 static int fd3; variable
41 {&pid1, &pid2, KCMP_FILE, &fd1, &fd3, 1},
59 fd3 = SAFE_OPEN(TEST_FILE2, O_CREAT | O_RDWR, 0666); in do_child()
64 SAFE_CLOSE(fd3); in do_child()
72 SAFE_CLOSE(fd3); in do_child()
/external/ltp/testcases/kernel/syscalls/read/
Dread02.c39 static int fd2, fd3, fd4 = -1; variable
56 {&fd3, &outside_buf, 1, EFAULT},
99 fd3 = SAFE_OPEN("test_file", O_RDWR); in setup()
121 if (fd3 > 0) in cleanup()
122 SAFE_CLOSE(fd3); in cleanup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c54 static int fd3; variable
64 {&fd3, EROFS},
123 fd3 = SAFE_OPEN(cleanup, "mntpoint/tfile_3", O_RDONLY); in setup()
158 if (fd3 > 0 && close(fd3)) in cleanup()
/external/libevent/test/
Dregress_listener.c83 evutil_socket_t fd1, fd2, fd3; in regress_pick_a_port() local
85 fd1 = fd2 = fd3 = EVUTIL_INVALID_SOCKET; in regress_pick_a_port()
121 fd1 = fd2 = fd3 = EVUTIL_INVALID_SOCKET; in regress_pick_a_port()
124 evutil_socket_connect_(&fd3, (struct sockaddr*)&ss2, slen2); in regress_pick_a_port()
139 if (fd3>=0) in regress_pick_a_port()
140 EVUTIL_CLOSESOCKET(fd3); in regress_pick_a_port()
Dregress_http.c955 evutil_socket_t fd1=-1, fd2=-1, fd3=-1; in http_allowed_methods_test() local
1004 fd3 = http_connect("127.0.0.1", port); in http_allowed_methods_test()
1005 tt_assert(fd3 != EVUTIL_INVALID_SOCKET); in http_allowed_methods_test()
1007 bev3 = bufferevent_socket_new(data->base, fd3, 0); in http_allowed_methods_test()
1051 if (fd3 >= 0) in http_allowed_methods_test()
1052 evutil_closesocket(fd3); in http_allowed_methods_test()
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c27 static mqd_t fd3 = -1; variable
198 fd3 = SAFE_MQ_OPEN(QUEUE_INIT, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in setup()
209 if (fd3 > 0 && mq_close(fd3)) in cleanup()
/external/wayland/tests/
Dos-wrappers-test.c266 struct wl_object *object, int fd1, int fd2, int fd3) in validate_recvmsg_h() argument
272 assert(fd3 >= 0); in validate_recvmsg_h()
276 assert(fd3 != data->value.h[2]); in validate_recvmsg_h()
278 assert(fstat(fd3, &buf1) == 0); in validate_recvmsg_h()
/external/ltp/testcases/kernel/syscalls/execveat/
Dexecveat01.c35 static int fd2 = AT_FDCWD, fd3 = -1; variable
45 {&fd3, app_abs_path, 0},
/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev02.c40 static int fd3 = -1; variable
68 {&fd3, wr_iovec2, 1, 0, EBADF},
/external/ltp/testcases/kernel/syscalls/pwritev2/
Dpwritev202.c32 static int fd3 = -1; variable
61 {&fd3, wr_iovec2, 1, 0, 0, EBADF},
/external/ltp/testcases/kernel/syscalls/preadv/
Dpreadv02.c42 static int fd3 = -1; variable
71 {&fd3, rd_iovec2, 1, 0, EBADF},
/external/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv202.c34 static int fd3 = -1; variable
64 {&fd3, rd_iovec2, 1, 0, 0, EBADF},
/external/clang/test/SemaCXX/
Dborland-extensions.cpp40 int _stdcall fd3();
/external/llvm-project/clang/test/SemaCXX/
Dborland-extensions.cpp40 int _stdcall fd3();
/external/clang/test/CXX/special/class.inhctor/
Dp3.cpp33 D3 fd3() { return 1; } // expected-error {{no viable conversion}} in fd3() function
/external/llvm-project/clang/test/CXX/special/class.inhctor/
Dp3.cpp33 D3 fd3() { return 1; } // expected-error {{no viable conversion}} in fd3() function
/external/clang/test/CodeGen/
Datomic-ops.c215 void fd3(struct S *a, struct S *b, struct S *c) { in fd3() function
/external/llvm-project/clang/test/CodeGen/
Datomic-ops.c229 void fd3(struct S *a, struct S *b, struct S *c) { in fd3() function
/external/llvm-project/clang/test/Sema/
Dzvector.c53 __vector double fd3; variable
/external/python/cpython3/Lib/test/
Dtest_os.py3709 fd3 = os.open(__file__, os.O_RDONLY)
3710 self.addCleanup(os.close, fd3)
3711 self.assertEqual(os.dup2(fd, fd3, inheritable=False), fd3)
3712 self.assertFalse(os.get_inheritable(fd3))
/external/google-breakpad/src/tools/windows/dump_syms/testdata/
Domap_reorder_funcs.sym633 3fd3 7 334 2369
2624 FUNC 1fd3 61 0 __ascii_strnicmp
2625 1fd3 6 69 2798
Ddump_syms_regtest.sym1734 3fd3 a 853 3326
/external/python/cpython2/Modules/
Dposixmodule.c5546 int fd1, fd2, fd3; in _PyPopen() local
5700 fd3 = _open_osfhandle((Py_intptr_t)hChildStderrRdDup, mode); in _PyPopen()
5701 f3 = _fdopen(fd3, m1); in _PyPopen()
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py4215 fd3 = self.os.open(file_path, os.O_CREAT | os.O_WRONLY | os.O_TRUNC)
4221 self.os.close(fd3)

12