/dports/dns/unbound/unbound-1.14.0/util/ |
H A D | mini_event.c | 59 if(e->ev_timeout.tv_sec < f->ev_timeout.tv_sec) in mini_ev_cmp() 61 if(e->ev_timeout.tv_sec > f->ev_timeout.tv_sec) in mini_ev_cmp() 63 if(e->ev_timeout.tv_usec < f->ev_timeout.tv_usec) in mini_ev_cmp() 65 if(e->ev_timeout.tv_usec > f->ev_timeout.tv_usec) in mini_ev_cmp() 153 if(p->ev_timeout.tv_sec > now->tv_sec || in handle_timeouts() 154 (p->ev_timeout.tv_sec==now->tv_sec && in handle_timeouts() 155 p->ev_timeout.tv_usec > now->tv_usec)) { in handle_timeouts() 161 p->ev_timeout.tv_usec); in handle_timeouts() 163 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 317 ev->ev_timeout.tv_usec -= 1000000; in event_add() [all …]
|
H A D | winsock_event.c | 55 if(e->ev_timeout.tv_sec < f->ev_timeout.tv_sec) in mini_ev_cmp() 57 if(e->ev_timeout.tv_sec > f->ev_timeout.tv_sec) in mini_ev_cmp() 59 if(e->ev_timeout.tv_usec < f->ev_timeout.tv_usec) in mini_ev_cmp() 61 if(e->ev_timeout.tv_usec > f->ev_timeout.tv_usec) in mini_ev_cmp() 175 if(p->ev_timeout.tv_sec > now->tv_sec || in handle_timeouts() 176 (p->ev_timeout.tv_sec==now->tv_sec && in handle_timeouts() 183 p->ev_timeout.tv_usec); in handle_timeouts() 561 while(ev->ev_timeout.tv_usec >= 1000000) { in event_add() 562 ev->ev_timeout.tv_usec -= 1000000; in event_add() 563 ev->ev_timeout.tv_sec++; in event_add() [all …]
|
/dports/dns/nsd/nsd-4.3.9/ |
H A D | mini_event.c | 68 if(e->ev_timeout.tv_sec < f->ev_timeout.tv_sec) in mini_ev_cmp() 70 if(e->ev_timeout.tv_sec > f->ev_timeout.tv_sec) in mini_ev_cmp() 72 if(e->ev_timeout.tv_usec < f->ev_timeout.tv_usec) in mini_ev_cmp() 74 if(e->ev_timeout.tv_usec > f->ev_timeout.tv_usec) in mini_ev_cmp() 172 if(p->ev_timeout.tv_sec > now->tv_sec || in handle_timeouts() 173 (p->ev_timeout.tv_sec==now->tv_sec && in handle_timeouts() 174 p->ev_timeout.tv_usec > now->tv_usec)) { in handle_timeouts() 180 p->ev_timeout.tv_usec); in handle_timeouts() 182 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts() 365 ev->ev_timeout.tv_usec -= 1000000; in event_add() [all …]
|
/dports/net-mgmt/lldpd/lldpd-1.0.8/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 86 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/net/netatalk3/netatalk-3.1.12/libevent/test/ |
H A D | regress_minheap.c | 37 ev->ev_timeout.tv_sec = rand(); in set_random_timeout() 38 ev->ev_timeout.tv_usec = rand() & 0xfffff; in set_random_timeout() 48 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 49 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 84 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 85 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/third_party/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 86 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/third_party/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 86 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/www/firefox/firefox-99.0/ipc/chromium/src/third_party/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 86 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/chromium/src/third_party/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 86 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/third_party/libevent/test/ |
H A D | regress_minheap.c | 37 ev->ev_timeout.tv_sec = rand(); in set_random_timeout() 38 ev->ev_timeout.tv_usec = rand() & 0xfffff; in set_random_timeout() 48 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 49 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 84 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 85 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/third_party/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 86 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/monkey/mk_core/deps/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in MSet() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in MSet() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in MSet() 50 &heap->p[parent_idx]->ev_timeout, >=)); in MSet() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in ConvertToPercent() 86 &e->ev_timeout, <=)); in ConvertToPercent()
|
/dports/devel/libevent/libevent-2.1.12-stable/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 86 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/net/ntp/ntp-4.2.8p15/sntp/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout() 39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout() 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap() 50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap() 86 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized() 87 &e->ev_timeout, <=)); in test_heap_randomized()
|
/dports/net/netatalk3/netatalk-3.1.12/libevent/ |
H A D | event.c | 1144 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1271 relative_to = ev->ev_timeout; in event_persist_closure() 1281 relative_to = ev->ev_timeout; in event_persist_closure() 1849 struct timeval tmp = ev->ev_timeout; in event_pending() 2110 ev->ev_timeout = *tv; in event_add_internal() 2115 ev->ev_timeout.tv_usec |= in event_add_internal() 2434 struct timeval *ev_tv = &ev->ev_timeout; in timeout_correct() 2533 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 2534 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 2878 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok() [all …]
|
/dports/net/openmpi/openmpi-4.1.1/opal/mca/event/libevent2022/libevent/ |
H A D | event.c | 1150 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1285 relative_to = ev->ev_timeout; in event_persist_closure() 1293 relative_to = ev->ev_timeout; in event_persist_closure() 1895 struct timeval tmp = ev->ev_timeout; in event_pending() 2158 ev->ev_timeout = *tv; in event_add_internal() 2163 ev->ev_timeout.tv_usec |= in event_add_internal() 2485 struct timeval *ev_tv = &ev->ev_timeout; in timeout_correct() 2584 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 2585 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 2929 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok() [all …]
|
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/event/libevent2022/libevent/ |
H A D | event.c | 1150 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1285 relative_to = ev->ev_timeout; in event_persist_closure() 1293 relative_to = ev->ev_timeout; in event_persist_closure() 1895 struct timeval tmp = ev->ev_timeout; in event_pending() 2158 ev->ev_timeout = *tv; in event_add_internal() 2163 ev->ev_timeout.tv_usec |= in event_add_internal() 2485 struct timeval *ev_tv = &ev->ev_timeout; in timeout_correct() 2584 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 2585 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 2929 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/third_party/libevent/ |
H A D | event.c | 1148 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1275 relative_to = ev->ev_timeout; in event_persist_closure() 1283 relative_to = ev->ev_timeout; in event_persist_closure() 1872 struct timeval tmp = ev->ev_timeout; in event_pending() 2135 ev->ev_timeout = *tv; in event_add_internal() 2140 ev->ev_timeout.tv_usec |= in event_add_internal() 2462 struct timeval *ev_tv = &ev->ev_timeout; in timeout_correct() 2561 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 2562 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 2906 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok() [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/extra/libevent/ |
H A D | event.c | 1410 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1544 relative_to = ev->ev_timeout; in event_persist_closure() 1552 relative_to = ev->ev_timeout; in event_persist_closure() 2348 struct timeval tmp = ev->ev_timeout; in event_pending() 2666 ev->ev_timeout = *tv; in event_add_nolock_() 2671 ev->ev_timeout.tv_usec |= in event_add_nolock_() 3298 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 3299 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 3710 tv.tv_sec = e->ev_timeout.tv_sec; in dump_inserted_event_fn() 3899 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_() [all …]
|
/dports/net-mgmt/lldpd/lldpd-1.0.8/libevent/ |
H A D | event.c | 1453 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1587 relative_to = ev->ev_timeout; in event_persist_closure() 1595 relative_to = ev->ev_timeout; in event_persist_closure() 2398 struct timeval tmp = ev->ev_timeout; in event_pending() 2716 ev->ev_timeout = *tv; in event_add_nolock_() 2721 ev->ev_timeout.tv_usec |= in event_add_nolock_() 3349 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 3350 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 3762 tv.tv_sec = e->ev_timeout.tv_sec; in dump_inserted_event_fn() 3979 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_() [all …]
|
/dports/net/ntp/ntp-4.2.8p15/sntp/libevent/ |
H A D | event.c | 1363 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1497 relative_to = ev->ev_timeout; in event_persist_closure() 1505 relative_to = ev->ev_timeout; in event_persist_closure() 2301 struct timeval tmp = ev->ev_timeout; in event_pending() 2619 ev->ev_timeout = *tv; in event_add_nolock_() 2624 ev->ev_timeout.tv_usec |= in event_add_nolock_() 3248 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 3249 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 3660 tv.tv_sec = e->ev_timeout.tv_sec; in dump_inserted_event_fn() 3849 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_() [all …]
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/extra/libevent/ |
H A D | event.c | 1410 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1544 relative_to = ev->ev_timeout; in event_persist_closure() 1552 relative_to = ev->ev_timeout; in event_persist_closure() 2348 struct timeval tmp = ev->ev_timeout; in event_pending() 2666 ev->ev_timeout = *tv; in event_add_nolock_() 2671 ev->ev_timeout.tv_usec |= in event_add_nolock_() 3298 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 3299 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 3710 tv.tv_sec = e->ev_timeout.tv_sec; in dump_inserted_event_fn() 3899 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/ |
H A D | event.c | 1459 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1593 relative_to = ev->ev_timeout; in event_persist_closure() 1601 relative_to = ev->ev_timeout; in event_persist_closure() 2401 struct timeval tmp = ev->ev_timeout; in event_pending() 2719 ev->ev_timeout = *tv; in event_add_nolock_() 2724 ev->ev_timeout.tv_usec |= in event_add_nolock_() 3352 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 3353 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 3765 tv.tv_sec = e->ev_timeout.tv_sec; in dump_inserted_event_fn() 3982 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/extra/libevent/ |
H A D | event.c | 1410 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1544 relative_to = ev->ev_timeout; in event_persist_closure() 1552 relative_to = ev->ev_timeout; in event_persist_closure() 2348 struct timeval tmp = ev->ev_timeout; in event_pending() 2666 ev->ev_timeout = *tv; in event_add_nolock_() 2671 ev->ev_timeout.tv_usec |= in event_add_nolock_() 3298 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 3299 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 3710 tv.tv_sec = e->ev_timeout.tv_sec; in dump_inserted_event_fn() 3899 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/ |
H A D | event.c | 1459 struct timeval timeout = head->ev_timeout; in common_timeout_schedule() 1593 relative_to = ev->ev_timeout; in event_persist_closure() 1601 relative_to = ev->ev_timeout; in event_persist_closure() 2401 struct timeval tmp = ev->ev_timeout; in event_pending() 2719 ev->ev_timeout = *tv; in event_add_nolock_() 2724 ev->ev_timeout.tv_usec |= in event_add_nolock_() 3352 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder() 3353 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder() 3765 tv.tv_sec = e->ev_timeout.tv_sec; in dump_inserted_event_fn() 3982 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_() [all …]
|