Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 2482) sorted by relevance

12345678910>>...100

/external/ltp/testcases/kernel/fs/dmapi/
Devent_sd.c120 int fd; in main() local
159 int fd; in main() local
221 int fd; in main() local
301 int fd; in main() local
382 int fd; in main() local
447 int fd; in main() local
512 int fd; in main() local
599 int fd; in main() local
687 int fd; in main() local
755 int fd; in main() local
[all …]
Dhandle.c180 int fd; in main() local
221 int fd; in main() local
342 int fd; in main() local
391 int fd; in main() local
511 int fd; in main() local
567 int fd; in main() local
606 int fd; in main() local
640 int fd; in main() local
820 int fd; in main() local
915 int fd; in main() local
[all …]
Dhole.c86 int fd; in main() local
122 int fd; in main() local
169 int fd; in main() local
261 int fd; in main() local
308 int fd; in main() local
355 int fd; in main() local
401 int fd; in main() local
448 int fd; in main() local
495 int fd; in main() local
541 int fd; in main() local
[all …]
Dconfig.c62 int fd; in main() local
106 int fd; in main() local
150 int fd; in main() local
193 int fd; in main() local
254 int fd; in main() local
298 int fd; in main() local
339 int fd; in main() local
383 int fd; in main() local
426 int fd; in main() local
Dpmr_pre.c108 int fd; local
151 int fd; local
202 int fd; local
253 int fd; local
303 int fd; local
353 int fd; local
411 int fd; local
462 int fd; local
652 int fd; local
705 int fd; local
[all …]
/external/mesa3d/src/gallium/auxiliary/target-helpers/
Ddrm_helper.h13 pipe_i915_create_screen(int fd) in pipe_i915_create_screen()
29 pipe_i915_create_screen(int fd) in pipe_i915_create_screen()
42 pipe_ilo_create_screen(int fd) in pipe_ilo_create_screen()
58 pipe_ilo_create_screen(int fd) in pipe_ilo_create_screen()
70 pipe_nouveau_create_screen(int fd) in pipe_nouveau_create_screen()
81 pipe_nouveau_create_screen(int fd) in pipe_nouveau_create_screen()
95 pipe_r300_create_screen(int fd) in pipe_r300_create_screen()
106 pipe_r300_create_screen(int fd) in pipe_r300_create_screen()
120 pipe_r600_create_screen(int fd) in pipe_r600_create_screen()
131 pipe_r600_create_screen(int fd) in pipe_r600_create_screen()
[all …]
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.h34 #define CHECK_MMAP(addr, length, prot, flags, fd, offset) \ argument
38 #define CHECK_MMAP_FAIL(addr, length, prot, flags, fd, offset) \ argument
45 #define CHECK_MFD_HAS_SEALS(fd, seals) \ argument
48 #define CHECK_MFD_ADD_SEALS(fd, seals) \ argument
53 #define CHECK_MFD_FAIL_ADD_SEALS(fd, seals) \ argument
56 #define CHECK_MFD_SIZE(fd, size) \ argument
59 #define CHECK_MFD_OPEN(fd, flags, mode) \ argument
62 #define CHECK_MFD_FAIL_OPEN(fd, flags, mode) \ argument
65 #define CHECK_MFD_READABLE(fd) \ argument
68 #define CHECK_MFD_WRITEABLE(fd) \ argument
[all …]
Dmemfd_create01.c31 static void test_basic(int fd) in test_basic()
56 static void test_no_sealing_without_flag(int fd) in test_no_sealing_without_flag()
68 static void test_seal_write(int fd) in test_seal_write()
85 static void test_seal_shrink(int fd) in test_seal_shrink()
102 static void test_seal_grow(int fd) in test_seal_grow()
119 static void test_seal_resize(int fd) in test_seal_resize()
136 static void test_share_dup(int fd) in test_share_dup()
171 static void test_share_mmap(int fd) in test_share_mmap()
200 static void test_share_open(int fd) in test_share_open()
246 int fd; in verify_memfd_create() local
Dmemfd_create_common.c42 int check_fallocate(const char *filename, const int lineno, int fd, in check_fallocate()
61 int check_fallocate_fail(const char *filename, const int lineno, int fd, in check_fallocate_fail()
82 void check_ftruncate(const char *filename, const int lineno, int fd, in check_ftruncate()
92 int fd, off_t length) in check_ftruncate_fail()
125 int fd; in check_mfd_new() local
144 int fd; in check_mfd_fail_new() local
159 int prot, int flags, int fd, off_t offset) in check_mmap()
173 size_t length, int prot, int flags, int fd, off_t offset) in check_mmap_fail()
196 void check_mfd_has_seals(const char *file, const int lineno, int fd, int seals) in check_mfd_has_seals()
222 int fd, int seals) in check_mfd_fail_add_seals()
[all …]
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c32 int r, fd; in mfd_assert_new() local
63 static unsigned int mfd_assert_get_seals(int fd) in mfd_assert_get_seals()
76 static void mfd_assert_has_seals(int fd, unsigned int seals) in mfd_assert_has_seals()
87 static void mfd_assert_add_seals(int fd, unsigned int seals) in mfd_assert_add_seals()
100 static void mfd_fail_add_seals(int fd, unsigned int seals) in mfd_fail_add_seals()
119 static void mfd_assert_size(int fd, size_t size) in mfd_assert_size()
135 static int mfd_assert_dup(int fd) in mfd_assert_dup()
148 static void *mfd_assert_mmap_shared(int fd) in mfd_assert_mmap_shared()
166 static void *mfd_assert_mmap_private(int fd) in mfd_assert_mmap_private()
184 static int mfd_assert_open(int fd, int flags, mode_t mode) in mfd_assert_open()
[all …]
/external/clang/test/Analysis/
Dunix-api.c15 int fd; in open_1() local
22 int fd; in open_2() local
30 int fd; in open_3() local
37 int fd; in open_4() local
44 int fd; in open_5() local
54 int fd; in open_6() local
64 int fd; in open_7() local
71 int fd; in open_8() local
/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c86 static int clear_counter(int fd) in clear_counter()
112 static int set_counter(int fd, uint64_t val) in set_counter()
132 static void read_test(int fd, uint64_t required) in read_test()
153 static void read_eagain_test(int fd) in read_eagain_test()
177 static void write_test(int fd) in write_test()
197 static void write_eagain_test(int fd) in write_eagain_test()
223 static void read_einval_test(int fd) in read_einval_test()
242 static void write_einval_test(int fd) in write_einval_test()
262 static void write_einval2_test(int fd) in write_einval2_test()
290 static void readfd_set_test(int fd) in readfd_set_test()
[all …]
/external/ltp/testcases/kernel/input/
Dinput_helper.c40 int ret, fd = -1; in try_open_device() local
74 int fd; in open_device() local
124 int fd; in try_open_uinput() local
146 int fd; in open_uinput() local
170 void send_event(int fd, int event, int code, int value) in send_event()
181 void send_rel_move(int fd, int x, int y) in send_rel_move()
188 void create_device(int fd) in create_device()
214 void setup_mouse_events(int fd) in setup_mouse_events()
223 void destroy_device(int fd) in destroy_device()
232 int no_events_queued(int fd) in no_events_queued()
/external/strace/tests-m32/
Dnetlink_sock_diag.c52 test_nlmsg_type(const int fd) in test_nlmsg_type()
69 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
86 test_odd_family_req(const int fd) in test_odd_family_req()
183 test_odd_family_msg(const int fd) in test_odd_family_msg()
280 test_unix_diag_req(const int fd) in test_unix_diag_req()
381 test_unix_diag_msg(const int fd) in test_unix_diag_msg()
481 test_netlink_diag_req(const int fd) in test_netlink_diag_req()
597 test_netlink_diag_msg(const int fd) in test_netlink_diag_msg()
703 test_packet_diag_req(const int fd) in test_packet_diag_req()
801 test_packet_diag_msg(const int fd) in test_packet_diag_msg()
[all …]
/external/strace/tests/
Dnetlink_sock_diag.c52 test_nlmsg_type(const int fd) in test_nlmsg_type()
69 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
86 test_odd_family_req(const int fd) in test_odd_family_req()
183 test_odd_family_msg(const int fd) in test_odd_family_msg()
280 test_unix_diag_req(const int fd) in test_unix_diag_req()
381 test_unix_diag_msg(const int fd) in test_unix_diag_msg()
481 test_netlink_diag_req(const int fd) in test_netlink_diag_req()
597 test_netlink_diag_msg(const int fd) in test_netlink_diag_msg()
703 test_packet_diag_req(const int fd) in test_packet_diag_req()
801 test_packet_diag_msg(const int fd) in test_packet_diag_msg()
[all …]
/external/strace/tests-mx32/
Dnetlink_sock_diag.c52 test_nlmsg_type(const int fd) in test_nlmsg_type()
69 test_nlmsg_flags(const int fd) in test_nlmsg_flags()
86 test_odd_family_req(const int fd) in test_odd_family_req()
183 test_odd_family_msg(const int fd) in test_odd_family_msg()
280 test_unix_diag_req(const int fd) in test_unix_diag_req()
381 test_unix_diag_msg(const int fd) in test_unix_diag_msg()
481 test_netlink_diag_req(const int fd) in test_netlink_diag_req()
597 test_netlink_diag_msg(const int fd) in test_netlink_diag_msg()
703 test_packet_diag_req(const int fd) in test_packet_diag_req()
801 test_packet_diag_msg(const int fd) in test_packet_diag_msg()
[all …]
/external/linux-kselftest/tools/testing/selftests/sync/
Dsync.c58 int sync_wait(int fd, int timeout) in sync_wait()
84 static struct sync_file_info *sync_file_info(int fd) in sync_file_info()
131 int sync_fence_size(int fd) in sync_fence_size()
146 int sync_fence_count_with_status(int fd, int status) in sync_fence_count_with_status()
171 int sw_sync_timeline_inc(int fd, unsigned int count) in sw_sync_timeline_inc()
178 int sw_sync_timeline_is_valid(int fd) in sw_sync_timeline_is_valid()
189 void sw_sync_timeline_destroy(int fd) in sw_sync_timeline_destroy()
195 int sw_sync_fence_create(int fd, const char *name, unsigned int value) in sw_sync_fence_create()
211 int sw_sync_fence_is_valid(int fd) in sw_sync_fence_is_valid()
217 void sw_sync_fence_destroy(int fd) in sw_sync_fence_destroy()
/external/syslinux/efi/
Dfio.c145 EFI_FILE_HANDLE fd = NULL; in efi_open() local
171 size_t efi_xpread(EFI_FILE_HANDLE fd, void *buf, size_t count, off_t offset) in efi_xpread()
189 size_t efi_xpwrite(EFI_FILE_HANDLE fd, void *buf, size_t count, off_t offset) in efi_xpwrite()
209 int efi_fstat(EFI_FILE_HANDLE fd, EFI_FILE_INFO *st) in efi_fstat()
231 void efi_set_attributes(EFI_FILE_HANDLE fd) in efi_set_attributes()
250 void efi_clear_attributes(EFI_FILE_HANDLE fd) in efi_clear_attributes()
269 void efi_sync(EFI_FILE_HANDLE fd) in efi_sync()
277 void efi_close(EFI_FILE_HANDLE fd) in efi_close()
/external/ltp/testcases/open_posix_testsuite/include/
Dmq_send.h14 int sync_pipe_create(int fd[]) in sync_pipe_create()
19 int sync_pipe_close(int fd[]) in sync_pipe_close()
30 int sync_pipe_wait(int fd[]) in sync_pipe_wait()
47 int sync_pipe_wait_select(int fd[], long tv_sec) in sync_pipe_wait_select()
76 int sync_pipe_notify(int fd[]) in sync_pipe_notify()
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock.h10 #define read_lock(fd, offset, whence, len) \ argument
12 #define write_lock(fd, offset, whence, len) \ argument
14 #define un_lock(fd, offset, whence, len) \ argument
16 #define readb_lock(fd, offset, whence, len) \ argument
18 #define writeb_lock(fd, offset, whence, len) \ argument
20 #define unb_lock(fd, offset, whence, len) \ argument
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dllseek.c32 static off_t my_lseek(int fd, off_t off, int whence) in my_lseek()
37 static off_t my_lseek(int fd, off_t off, int whence) in my_lseek()
53 static int _llseek(unsigned int fd, unsigned long oh, in _llseek()
60 static int _llseek(unsigned int fd, unsigned long oh, in _llseek()
67 static llse_loff_t my_llseek(unsigned int fd, llse_loff_t offset, in my_llseek()
81 llse_loff_t llse_llseek(unsigned int fd, llse_loff_t offset, in llse_llseek()
112 llse_loff_t llse_llseek(unsigned int fd, llse_loff_t offset, in llse_llseek()
/external/xmlrpcpp/src/
DXmlRpcSocket.cpp75 XmlRpcSocket::close(int fd) in close()
89 XmlRpcSocket::setNonBlocking(int fd) in setNonBlocking()
101 XmlRpcSocket::setReuseAddr(int fd) in setReuseAddr()
111 XmlRpcSocket::bind(int fd, int port) in bind()
124 XmlRpcSocket::listen(int fd, int backlog) in listen()
131 XmlRpcSocket::accept(int fd) in accept()
148 XmlRpcSocket::connect(int fd, std::string& host, int port) in connect()
171 XmlRpcSocket::nbRead(int fd, std::string& s, bool *eof) in nbRead()
204 XmlRpcSocket::nbWrite(int fd, std::string& s, int *bytesSoFar) in nbWrite()
/external/android-clat/
Dtun.c33 int fd; in tun_open() local
47 int tun_alloc(char *dev, int fd) { in tun_alloc()
72 int set_nonblocking(int fd) { in set_nonblocking()
87 int send_tun(int fd, clat_packet out, int iov_len) { in send_tun()
/external/e2fsprogs/tests/progs/
Drandom_exercise.c51 int fd; in get_random_fd() local
60 unsigned int get_inode_num(int fd) in get_inode_num()
75 int fd; in create_random_file() local
102 void truncate_file(int fd) in truncate_file()
117 void unlink_file(int fd) in unlink_file()
131 void close_file(int fd) in close_file()
145 int i, fd; in main() local
/external/libtextclassifier/tests/
Dtext-classification-model_test.cc36 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
47 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
70 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
88 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
105 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
140 explicit TestingTextClassificationModel(int fd) in TestingTextClassificationModel()
153 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
176 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
234 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
284 int fd = open(model_path.c_str(), O_RDONLY); in TEST() local
[all …]

12345678910>>...100