/external/wayland/src/ |
D | event-loop.c | 78 struct wl_timer_heap timers; member 282 wl_timer_heap_init(struct wl_timer_heap *timers, struct wl_event_loop *loop) in wl_timer_heap_init() argument 284 timers->base.fd = -1; in wl_timer_heap_init() 285 timers->base.data = NULL; in wl_timer_heap_init() 286 wl_list_init(&timers->base.link); in wl_timer_heap_init() 287 timers->base.interface = &timer_heap_source_interface; in wl_timer_heap_init() 288 timers->base.loop = loop; in wl_timer_heap_init() 290 loop->timers.data = NULL; in wl_timer_heap_init() 291 loop->timers.active = 0; in wl_timer_heap_init() 292 loop->timers.space = 0; in wl_timer_heap_init() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | timer_heap.cc | 77 heap->timers = static_cast<grpc_timer**>( in maybe_shrink() 78 gpr_realloc(heap->timers, heap->timer_capacity * sizeof(grpc_timer*))); in maybe_shrink() 85 if (heap->timers[parent]->deadline > timer->deadline) { in note_changed_priority() 86 adjust_upwards(heap->timers, i, timer); in note_changed_priority() 88 adjust_downwards(heap->timers, i, heap->timer_count, timer); in note_changed_priority() 96 void grpc_timer_heap_destroy(grpc_timer_heap* heap) { gpr_free(heap->timers); } in grpc_timer_heap_destroy() 102 heap->timers = static_cast<grpc_timer**>( in grpc_timer_heap_add() 103 gpr_realloc(heap->timers, heap->timer_capacity * sizeof(grpc_timer*))); in grpc_timer_heap_add() 106 adjust_upwards(heap->timers, heap->timer_count, timer); in grpc_timer_heap_add() 118 heap->timers[i] = heap->timers[heap->timer_count - 1]; in grpc_timer_heap_remove() [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | timer_heap.cc | 77 heap->timers = static_cast<grpc_timer**>( in maybe_shrink() 78 gpr_realloc(heap->timers, heap->timer_capacity * sizeof(grpc_timer*))); in maybe_shrink() 85 if (heap->timers[parent]->deadline > timer->deadline) { in note_changed_priority() 86 adjust_upwards(heap->timers, i, timer); in note_changed_priority() 88 adjust_downwards(heap->timers, i, heap->timer_count, timer); in note_changed_priority() 96 void grpc_timer_heap_destroy(grpc_timer_heap* heap) { gpr_free(heap->timers); } in grpc_timer_heap_destroy() 102 heap->timers = static_cast<grpc_timer**>( in grpc_timer_heap_add() 103 gpr_realloc(heap->timers, heap->timer_capacity * sizeof(grpc_timer*))); in grpc_timer_heap_add() 106 adjust_upwards(heap->timers, heap->timer_count, timer); in grpc_timer_heap_add() 118 heap->timers[i] = heap->timers[heap->timer_count - 1]; in grpc_timer_heap_remove() [all …]
|
/external/iperf3/src/ |
D | timer.c | 36 static Timer* timers = NULL; variable 66 if ( timers == NULL ) { in list_add() 68 timers = t; in list_add() 71 if (iperf_time_compare(&t->time, &timers->time) < 0) { in list_add() 74 t->next = timers; in list_add() 75 timers->prev = t; in list_add() 76 timers = t; in list_add() 79 for ( t2prev = timers, t2 = timers->next; t2 != NULL; in list_add() 103 timers = t->next; in list_remove() 163 if ( timers == NULL ) in tmr_timeout() [all …]
|
/external/grpc-grpc/test/core/iomgr/ |
D | timer_list_test.cc | 50 grpc_timer timers[20]; in add_test() local 65 &timers[i], start + 10, in add_test() 72 &timers[i], start + 1010, in add_test() 114 grpc_timer timers[5]; in destruction_test() local 126 &timers[0], 100, in destruction_test() 129 &timers[1], 3, in destruction_test() 132 &timers[2], 100, in destruction_test() 135 &timers[3], 3, in destruction_test() 138 &timers[4], 1, in destruction_test() 144 grpc_timer_cancel(&timers[0]); in destruction_test() [all …]
|
D | timer_heap_test.cc | 47 if (pq->timers[i] == el) return 1; in contains() 58 GPR_ASSERT(pq->timers[i]->deadline <= pq->timers[left_child]->deadline); in check_valid() 61 GPR_ASSERT(pq->timers[i]->deadline <= pq->timers[right_child]->deadline); in check_valid() 249 grpc_timer* const te = pq.timers[pq.timer_count - 1]; in shrink_test() 266 grpc_timer* te = pq.timers[which]; in shrink_test()
|
/external/libchrome/libchrome_tools/patches/ |
D | components-timers-fix-fd-leak-in-AlarmTimer.patch | 4 Subject: [PATCH] components/timers: fix fd leak in AlarmTimer 15 components/timers/alarm_timer_chromeos.cc | 8 ++++---- 16 components/timers/alarm_timer_chromeos.h | 15 ++++++++------- 19 diff --git a/components/timers/alarm_timer_chromeos.cc b/components/timers/alarm_timer_chromeos.cc 21 --- a/components/timers/alarm_timer_chromeos.cc 22 +++ b/components/timers/alarm_timer_chromeos.cc 58 } // namespace timers 59 diff --git a/components/timers/alarm_timer_chromeos.h b/components/timers/alarm_timer_chromeos.h 61 --- a/components/timers/alarm_timer_chromeos.h 62 +++ b/components/timers/alarm_timer_chromeos.h
|
D | Refactor-AlarmTimer-to-report-error-to-the-caller.patch | 7 …oglesource.com/c/aosp/platform/external/libchrome/+/1387893/2/components/timers/alarm_timer_chrome… 41 components/timers/alarm_timer_chromeos.cc | 51 ++++++++++++++--------- 42 components/timers/alarm_timer_chromeos.h | 27 +++++++----- 45 diff --git a/components/timers/alarm_timer_chromeos.cc b/components/timers/alarm_timer_chromeos.cc 47 --- a/components/timers/alarm_timer_chromeos.cc 48 +++ b/components/timers/alarm_timer_chromeos.cc 57 namespace timers { 120 diff --git a/components/timers/alarm_timer_chromeos.h b/components/timers/alarm_timer_chromeos.h 122 --- a/components/timers/alarm_timer_chromeos.h 123 +++ b/components/timers/alarm_timer_chromeos.h [all …]
|
/external/libchrome/components/timers/ |
D | alarm_timer_unittest.cc | 26 namespace timers { namespace 38 timer_(new timers::SimpleAlarmTimer()) {} in AlarmTimerTester() 55 std::unique_ptr<timers::SimpleAlarmTimer> timer_; 68 timer_(new timers::SimpleAlarmTimer()) {} in SelfDeletingAlarmTimerTester() 87 std::unique_ptr<timers::SimpleAlarmTimer> timer_; 231 timers::SimpleAlarmTimer timer; in TEST() 252 timers::SimpleAlarmTimer timer; in TEST() 297 timers::SimpleAlarmTimer timer; in TEST() 319 timers::SimpleAlarmTimer timer; in TEST() 337 timers::SimpleAlarmTimer* timer = new timers::SimpleAlarmTimer; in TEST() [all …]
|
/external/ltp/testcases/open_posix_testsuite/stress/timers/ |
D | plan.txt | 13 - Repetition of key clocks/timers functions. 16 - Behavior of normal functions under heavy timers usage. 20 API testing of the clocks/timers functions is considered to be done by 42 - Set memory to 95% and run through key timers functions. 47 - Set CPU to 95% and run through key timers functions. 51 - Set up >10,000 timers and run through key clocks functions. 52 - Set up >10,000 timers and run through key timers functions.
|
/external/linux-kselftest/android/patches/ |
D | 0001-Removes-unsupported-testcases-for-ftrace-compiles-me.patch | 5 membarrier, net/psock_tpacket, timers/valid-adjtimex. Added a list of 11 tools/testing/selftests/timers/valid-adjtimex.c | 5 +++-- 28 diff --git a/tools/testing/selftests/timers/valid-adjtimex.c b/tools/testing/selftests/timers/valid… 30 --- a/tools/testing/selftests/timers/valid-adjtimex.c 31 +++ b/tools/testing/selftests/timers/valid-adjtimex.c
|
/external/libkmsxx/py/tests/ |
D | sync.py | 15 timers = [] variable in Timer 23 self.timers.append(self) 24 self.timers.sort(key=lambda timer: timer.timeout) 29 while len(_class.timers) > 0: 30 timer = _class.timers[0] 34 del _class.timers[0] 41 if len(_class.timers) == 0 or _class.timers[0].timeout < clk: 44 return _class.timers[0].timeout - clk
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTimerTree.cpp | 36 if (!BuildDefs::timers()) in TimerStack() 53 if (!BuildDefs::timers()) in getTimerID() 80 if (!BuildDefs::timers()) in mergeFrom() 150 if (!BuildDefs::timers()) in push() 161 if (!BuildDefs::timers()) in pop() 178 if (!BuildDefs::timers()) in update() 214 if (!BuildDefs::timers()) in reset() 236 if (!BuildDefs::timers()) in dumpHelper() 265 if (!BuildDefs::timers()) in dump()
|
D | IceGlobalContext.h | 130 if (!BuildDefs::timers()) in initInto() 138 if (!BuildDefs::timers()) in mergeFrom() 580 if (BuildDefs::timers()) in ID() 587 if (BuildDefs::timers()) in ID() 593 if (BuildDefs::timers()) in TimerMarker() 598 if (BuildDefs::timers() && Active) in ~TimerMarker()
|
/external/ltp/testcases/open_posix_testsuite/functional/timers/ |
D | plan.txt | 15 timers - The following types of timers will be tested. 24 API testing of the clocks/timers functions is considered to be done by 40 generated test scenarios setting clocks or timers to these critical 68 - Mimic the non-repeating timers tests as they apply to sleep. 76 are absolute timers only. 79 - [Relative only] Set up multiple timers to expire after the same duration 85 - Set two timers to expire at the same time, different events, in the 87 - Set up two timers to expire for the same time in two different processes. 92 - Perform all non-repeating timer tests on repeating timers. 96 - Have multiple timers in a process blocked and ensure overrun count
|
/external/wayland/tests/ |
D | event-loop-test.c | 408 struct wl_event_source *timers[4]; member 427 wl_event_source_remove(context->timers[(i + 1) % 4]); in timer_cancel_callback() 431 assert(wl_event_source_timer_update(context->timers[(i + 2) % 4], in timer_cancel_callback() 433 assert(wl_event_source_timer_update(context->timers[(i + 3) % 4], in timer_cancel_callback() 456 context.timers[i] = in TEST() 459 assert(context.timers[i]); in TEST() 461 assert(wl_event_source_timer_update(context.timers[i], 1) == 0); in TEST() 474 wl_event_source_remove(context.timers[context.first]); in TEST() 475 wl_event_source_remove(context.timers[(context.first + 2) % 4]); in TEST() 476 wl_event_source_remove(context.timers[(context.first + 3) % 4]); in TEST()
|
/external/autotest/client/site_tests/platform_HighResTimers/ |
D | control | 7 PURPOSE = "Ensure the high resolution timers are working." 8 CRITERIA = "Fails if no timers have nanosecond resolution." 18 Reads from /proc/timer_list to see if any reported timers have nanosecond
|
/external/ltp/testcases/open_posix_testsuite/Documentation/ |
D | COVERAGE.timers | 8 This document lists the items that will be tested for POSIX timers. 49 /usr/src/linux/Documentation/high-res-timers/lib/posix_time.h 57 - Absolute timers and clock changes: 73 High Res Timers - http://high-res-timers.sourceforge.net 74 Alternate High Res Timers - http://high-res-timers.sourceforge.net (look
|
/external/linux-kselftest/ |
D | Android.bp | 564 relative_install_path: "linux-kselftest/timers", 566 "tools/testing/selftests/timers/adjtick.c", 567 "tools/testing/selftests/timers/alarmtimer-suspend.c", 568 "tools/testing/selftests/timers/change_skew.c", 569 "tools/testing/selftests/timers/clocksource-switch.c", 570 "tools/testing/selftests/timers/freq-step.c", 571 "tools/testing/selftests/timers/inconsistency-check.c", 572 "tools/testing/selftests/timers/leap-a-day.c", 573 "tools/testing/selftests/timers/leapcrash.c", 574 "tools/testing/selftests/timers/nanosleep.c", [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_helper_restricted.c | 19 } timers SEC(".maps"); 38 timer = bpf_map_lookup_elem(&timers, &key); in timer_work() 40 bpf_timer_init(&timer->t, &timers, CLOCK_MONOTONIC); in timer_work()
|
/external/libwebsockets/lib/drivers/ |
D | README.md | 16 like OS timers, again if you follow those you are locked into freertos, the 40 - display dimming timers, blanking timers, generic interaction detection to unblank
|
/external/perfetto/src/base/ |
D | watchdog_unittest.cc | 70 std::map<int, Watchdog::Timer> timers; in TEST() local 75 timers.emplace(0, watchdog.CreateFatalTimer(20, kCrashReasonIgnored)); in TEST()
|
/external/pigweed/third_party/freertos/ |
D | BUILD.bazel | 57 "timers.c", 84 "include/timers.h", 148 "include/timers.h",
|
/external/openthread/tests/unit/ |
D | test_timer.cpp | 507 TestTimer<TimerType> *timers[kNumTimers] = {&timer0, &timer1, &timer2, &timer3, &timer4, in TenTimers() local 521 timers[i]->Start(kTimerInterval[i]); in TenTimers() 535 VerifyOrQuit(timers[i]->IsRunning(), "TestTenTimer: Timer running Failed."); in TenTimers() 565 VerifyOrQuit(timers[i]->IsRunning() == kTimerStateAfterTrigger[trigger][i], in TenTimers() 572 … VerifyOrQuit(timers[i]->GetFiredCounter() == 1, "TestTenTimer: Timer fired counter Failed."); in TenTimers()
|
/external/ltp/testcases/open_posix_testsuite/ |
D | ChangeLog | 130 - More timers bug fixes 138 - timers bug fixes 145 - timers tests for TMR and CS tags (for timers)
|