Home
last modified time | relevance | path

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

/external/wayland/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.c149 int nr_fds = count_open_fds(); in FAIL_TEST() local
155 exec_fd_leak_check(nr_fds); in FAIL_TEST()
161 int nr_fds = count_open_fds(); in TEST() local
166 exec_fd_leak_check(nr_fds + 2); in TEST()
/external/libdrm/
Dxf86drm.c2667 static int nr_fds = 0; variable
2681 for (i = 0; i < nr_fds; i++) in drmOpenOnceWithType()
2690 if (fd < 0 || nr_fds == DRM_MAX_FDS) in drmOpenOnceWithType()
2693 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnceWithType()
2694 connection[nr_fds].fd = fd; in drmOpenOnceWithType()
2695 connection[nr_fds].refcount = 1; in drmOpenOnceWithType()
2696 connection[nr_fds].type = type; in drmOpenOnceWithType()
2701 nr_fds, connection[nr_fds].BusID, in drmOpenOnceWithType()
2702 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnceWithType()
2704 nr_fds++; in drmOpenOnceWithType()
[all …]