/external/dbus/bus/ |
dir-watch-kqueue.c | 45 static int kq = -1; variable 60 res = kevent (kq, NULL, 0, &ev, 1, &nullts); 74 kq = -1; 95 if (kq < 0) 98 kq = kqueue (); 99 if (kq < 0) 107 watch = _dbus_watch_new (kq, DBUS_WATCH_READABLE, TRUE, 113 close (kq); 114 kq = -1; 124 close (kq); [all...] |
/external/libevent/ |
kqueue.c | 75 int kq; member in struct:kqop 114 int kq = -1; local 122 if ((kq = kqueue()) == -1) { 127 kqueueop->kq = kq; 150 if (kevent(kq, 303 res = kevent(kqop->kq, changes, n_changes, 405 if (kqop->kq >= 0 && kqop->pid == getpid()) 406 close(kqop->kq); 438 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1 [all...] |
/external/boringssl/src/crypto/dsa/ |
dsa.c | 767 BIGNUM k, kq, *K, *kinv = NULL, *r = NULL; local 776 BN_init(&kq); 807 if (!BN_copy(&kq, &k)) { 817 if (!BN_add(&kq, &kq, dsa->q)) { 820 if (BN_num_bits(&kq) <= BN_num_bits(dsa->q) && !BN_add(&kq, &kq, dsa->q)) { 824 K = &kq; 858 BN_clear_free(&kq); [all...] |
/external/avahi/avahi-daemon/ |
main.c | 946 static int kq = -1; variable 970 if (kq < 0) 982 if (kevent(kq, &ev, 1, NULL, 0, NULL) == -1) { 1059 assert(fd == kq); [all...] |