Home
last modified time | relevance | path

Searched refs:nr_fds (Results 1 – 3 of 3) sorted by relevance

/third_party/wayland_standard/tests/
Dos-wrappers-test.c135 int nr_fds; in do_os_wrappers_socket_cloexec() local
137 nr_fds = count_open_fds(); in do_os_wrappers_socket_cloexec()
149 exec_fd_leak_check(nr_fds); in do_os_wrappers_socket_cloexec()
171 int nr_fds; in do_os_wrappers_dupfd_cloexec() local
173 nr_fds = count_open_fds(); in do_os_wrappers_dupfd_cloexec()
189 exec_fd_leak_check(nr_fds); in do_os_wrappers_dupfd_cloexec()
341 int nr_fds; in do_os_wrappers_epoll_create_cloexec() local
343 nr_fds = count_open_fds(); in do_os_wrappers_epoll_create_cloexec()
354 exec_fd_leak_check(nr_fds); in do_os_wrappers_epoll_create_cloexec()
Dsanity-test.c102 int nr_fds = count_open_fds(); in FAIL_TEST() local
109 exec_fd_leak_check(nr_fds); in FAIL_TEST()
115 int nr_fds = count_open_fds(); in TEST() local
120 exec_fd_leak_check(nr_fds + 2); in TEST()
/third_party/libdrm/
Dxf86drm.c2688 static int nr_fds = 0; variable
2701 for (i = 0; i < nr_fds; i++) in drmOpenOnceWithType()
2710 if (fd < 0 || nr_fds == DRM_MAX_FDS) in drmOpenOnceWithType()
2713 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnceWithType()
2714 connection[nr_fds].fd = fd; in drmOpenOnceWithType()
2715 connection[nr_fds].refcount = 1; in drmOpenOnceWithType()
2716 connection[nr_fds].type = type; in drmOpenOnceWithType()
2721 nr_fds, connection[nr_fds].BusID, in drmOpenOnceWithType()
2722 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnceWithType()
2724 nr_fds++; in drmOpenOnceWithType()
[all …]