/third_party/pulseaudio/src/pulsecore/ |
H A D | fdsem.c | 51 int efd; member 63 if ((f->efd = eventfd(0, EFD_CLOEXEC)) >= 0) in pa_fdsem_new() 92 f->efd = event_fd; in pa_fdsem_open_shm() 93 pa_make_fd_cloexec(f->efd); in pa_fdsem_open_shm() 110 if ((f->efd = eventfd(0, EFD_CLOEXEC)) < 0) { in pa_fdsem_new_shm() 131 if (f->efd >= 0) in pa_fdsem_free() 132 pa_close(f->efd); in pa_fdsem_free() 150 if (f->efd >= 0) { in flush() 153 if ((r = pa_read(f->efd, &u, sizeof(u), NULL)) != sizeof(u)) { in flush() 183 if (f->efd > in pa_fdsem_post() [all...] |
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/ |
H A D | epoll_pwait04.c | 19 static int efd, sfd[2]; variable 25 TST_EXP_FAIL(do_epoll_pwait(efd, &e, 1, -1, bad_addr), in run() 35 efd = epoll_create(1); in setup() 36 if (efd == -1) in setup() 40 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 49 if (efd > 0) in cleanup() 50 SAFE_CLOSE(efd); in cleanup()
|
H A D | epoll_pwait05.c | 20 static int efd, sfd[2]; variable 35 TST_EXP_FAIL(epoll_pwait2(efd, &e, 1, &tc[n].ts, NULL), in run_all() 45 efd = epoll_create(1); in setup() 46 if (efd == -1) in setup() 50 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 57 if (efd > 0) in cleanup() 58 SAFE_CLOSE(efd); in cleanup()
|
H A D | epoll_pwait03.c | 20 static int efd, sfd[2]; variable 28 TEST(do_epoll_pwait(efd, &e, 1, ms, NULL)); in sample_fn() 47 efd = epoll_create(1); in setup() 48 if (efd == -1) in setup() 52 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 58 if (efd > 0) in cleanup() 59 SAFE_CLOSE(efd); in cleanup()
|
H A D | epoll_pwait02.c | 19 static int efd, sfd[2]; variable 24 TEST(do_epoll_pwait(efd, &e, 1, -1, NULL)); in run() 39 efd = epoll_create(1); in setup() 40 if (efd == -1) in setup() 44 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 51 if (efd > 0) in cleanup() 52 SAFE_CLOSE(efd); in cleanup()
|
H A D | epoll_pwait01.c | 26 static int efd, sfd[2]; variable 35 TEST(do_epoll_pwait(efd, &e, 1, -1, &signalset)); in verify_sigmask() 48 TST_EXP_FAIL(do_epoll_pwait(efd, &e, 1, -1, NULL), EINTR, in verify_nonsigmask() 90 efd = epoll_create(1); in setup() 91 if (efd == -1) in setup() 95 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 101 if (efd > 0) in cleanup() 102 SAFE_CLOSE(efd); in cleanup()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_epoll.rs | 7 let efd = epoll_create1(EpollCreateFlags::empty()).unwrap(); in test_epoll_errno() 8 let result = epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None); in test_epoll_errno() 12 let result = epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, None); in test_epoll_errno() 19 let efd = epoll_create1(EpollCreateFlags::empty()).unwrap(); in test_epoll_ctl() 22 epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, &mut event).unwrap(); in test_epoll_ctl() 23 epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None).unwrap(); in test_epoll_ctl()
|
/third_party/rust/crates/rustix/tests/io/ |
H A D | eventfd.rs | 8 let efd = eventfd(0, EventfdFlags::CLOEXEC).unwrap(); in test_eventfd() 12 assert_eq!(write(&efd, &u.to_ne_bytes()).unwrap(), size_of::<u64>()); in test_eventfd() 14 efd in test_eventfd() 17 let efd = child.join().unwrap(); in test_eventfd() 20 let s = read(&efd, &mut bytes).unwrap(); in test_eventfd()
|
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_afalg.c | 201 &aio->efd, &custom); in afalg_setup_async_event_notification() 205 * and set it. efd will be signaled when AIO operation completes in afalg_setup_async_event_notification() 207 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 208 if (aio->efd == -1) { in afalg_setup_async_event_notification() 216 aio->efd, custom, in afalg_setup_async_event_notification() 220 close(aio->efd); in afalg_setup_async_event_notification() 224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { in afalg_setup_async_event_notification() 232 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 233 if (aio->efd == -1) { in afalg_setup_async_event_notification() 258 aio->efd in afalg_init_aio() [all...] |
H A D | e_afalg.h | 70 int efd; member
|
/third_party/openssl/engines/ |
H A D | e_afalg.c | 201 &aio->efd, &custom); in afalg_setup_async_event_notification() 205 * and set it. efd will be signaled when AIO operation completes in afalg_setup_async_event_notification() 207 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 208 if (aio->efd == -1) { in afalg_setup_async_event_notification() 216 aio->efd, custom, in afalg_setup_async_event_notification() 220 close(aio->efd); in afalg_setup_async_event_notification() 224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { in afalg_setup_async_event_notification() 232 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 233 if (aio->efd == -1) { in afalg_setup_async_event_notification() 258 aio->efd in afalg_init_aio() [all...] |
H A D | e_afalg.h | 70 int efd; member
|
/third_party/rust/crates/regex/regex-syntax/src/unicode_tables/ |
H A D | script_extension.rs | 201 ('\u{10efd}', '\u{10eff}'),
|
H A D | script.rs | 207 ('\u{10efd}', '\u{10eff}'),
|
H A D | perl_word.rs | 514 ('\u{10efd}', '?'),
|
H A D | general_category.rs | 2001 ('\u{10efd}', '\u{10eff}'), 2511 ('\u{10efd}', '\u{10eff}'),
|
H A D | word_break.rs | 819 ('\u{10efd}', '\u{10eff}'),
|
H A D | property_bool.rs | 1237 ('\u{10efd}', '\u{10eff}'), 4361 ('\u{10efd}', '\u{10eff}'), 5942 ('\u{10efd}', '\u{10eff}'), 6667 ('\u{10efd}', '?'), 10434 ('\u{10efd}', '?'),
|
/third_party/elfutils/debuginfod/ |
H A D | debuginfod-client.c | 1656 int efd = open (target_cache_path, O_CREAT|O_EXCL, DEFFILEMODE); in debuginfod_query_server() local 1657 if (efd >= 0) in debuginfod_query_server() 1658 close(efd); in debuginfod_query_server()
|