Home
last modified time | relevance | path

Searched refs:tick (Results 1 – 25 of 194) sorted by relevance

12345678

/external/ipsec-tools/src/racoon/
Dschedule.c127 sched_new(tick, func, param) in sched_new() argument
128 time_t tick; in sched_new()
145 new->tick = tick;
147 new->xtime = current_time() + tick;
260 dst->tick = p->tick;
295 test(tick) in test() argument
296 int *tick; in test()
298 printf("execute %d\n", *tick);
299 racoon_free(tick);
305 int *tick; in getstdin() local
[all …]
/external/rust/crates/crossbeam-channel/tests/
Dtick.rs8 use crossbeam_channel::{after, select, tick, Select, TryRecvError};
18 let r = tick(ms(50)); in fire()
40 recv(tick(ms(200))) -> _ => panic!(), in fire()
47 let r = tick(ms(50)); in intervals()
71 let r = tick(ms(i as u64)); in capacity()
78 let r = tick(ms(50)); in len_empty_full()
99 let r = tick(ms(200)); in try_recv()
117 let r = tick(ms(50)); in recv()
133 let r = tick(ms(200)); in recv_timeout()
156 let r1 = tick(ms(50)); in recv_two()
[all …]
Dsame_channel.rs3 use crossbeam_channel::{after, bounded, never, tick, unbounded};
74 let r = tick(ms(50)); in tick_same_channel()
79 let r3 = tick(ms(50)); in tick_same_channel()
83 let r4 = tick(ms(100)); in tick_same_channel()
/external/jemalloc_new/include/jemalloc/internal/
Dticker.h15 int32_t tick; member
21 ticker->tick = nticks; in ticker_init()
32 return ticker->tick; in ticker_read()
60 ticker->tick = ticker->nticks; in ticker_fixup()
66 ticker->tick -= nticks; in ticker_ticks()
67 if (unlikely(ticker->tick < 0)) { in ticker_ticks()
/external/llvm-project/openmp/runtime/test/api/
Domp_get_wtick.c7 double tick; in test_omp_get_wtick() local
8 tick = -1.; in test_omp_get_wtick()
9 tick = omp_get_wtick (); in test_omp_get_wtick()
10 return ((tick > 0.0) && (tick <= 0.01)); in test_omp_get_wtick()
/external/linux-kselftest/tools/testing/selftests/timers/
Dadjtick.c128 tx1.tick = tickval; in check_tick_adj()
144 if (tx1.offset || tx1.freq || tx1.tick != tickval) { in check_tick_adj()
171 long tick, max, interval, err; in main() local
189 for (tick = (systick - max); tick < (systick + max); tick += interval) { in main()
190 if (check_tick_adj(tick)) { in main()
203 tx1.tick = systick; in main()
/external/curl/src/
Dtool_cb_prg.c86 pos = sinus[bar->tick%200] / (1000000 / check); in fly()
88 pos = sinus[(bar->tick + 5)%200] / (1000000 / check); in fly()
90 pos = sinus[(bar->tick + 10)%200] / (1000000 / check); in fly()
92 pos = sinus[(bar->tick + 15)%200] / (1000000 / check); in fly()
96 bar->tick += 2; in fly()
97 if(bar->tick >= 200) in fly()
98 bar->tick -= 200; in fly()
271 bar->tick = 150; in progressbarinit()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc26 clk.tick(); in TEST()
58 vector1.tick(); in TEST()
74 thr1.tick(); in TEST()
76 thr2.tick(); in TEST()
91 vector.tick(); in TEST()
114 vector1.tick(); in TEST()
116 vector2.tick(); in TEST()
153 vector.tick(); in TEST()
167 vector1.tick(); in TEST()
169 vector2.tick(); in TEST()
[all …]
/external/rust/crates/tokio/src/io/driver/
Dscheduled_io.rs154 tick: Tick, in set_readiness()
175 let packed = match tick { in set_readiness()
285 tick: TICK.unpack(curr) as u8, in ready_event()
331 tick: TICK.unpack(curr) as u8, in poll_readiness()
338 tick: TICK.unpack(curr) as u8, in poll_readiness()
344 tick: TICK.unpack(curr) as u8, in poll_readiness()
356 let _ = self.set_readiness(None, Tick::Clear(event.tick), |curr| curr - mask_no_closed); in clear_readiness()
444 let tick = TICK.unpack(curr) as u8; localVariable
446 return Poll::Ready(ReadyEvent { tick, ready });
463 let tick = TICK.unpack(curr) as u8; localVariable
[all …]
Dmod.rs30 tick: u8, field
55 tick: u8, field
123 tick: 0, in new()
152 self.tick = self.tick.wrapping_add(1); in turn()
154 if self.tick == COMPACT_INTERVAL { in turn()
192 let res = io.set_readiness(Some(token.0), Tick::Set(self.tick), |curr| curr | ready); in dispatch()
/external/rust/crates/syn/tests/repo/
Dprogress.rs6 tick: Instant, field
14 tick: Instant::now() + Duration::from_millis(2000), in new()
25 if now > self.tick { in read()
26 self.tick = now + Duration::from_millis(500); in read()
/external/blktrace/btt/
Dbtt_plot.py407 for tick in ax.xaxis.get_major_ticks():
408 tick.tick1On = tick.tick2On = False
409 for tick in ax.yaxis.get_major_ticks():
410 tick.tick1On = tick.tick2On = False
411 for tick in ax.xaxis.get_minor_ticks():
412 tick.tick1On = tick.tick2On = False
413 for tick in ax.yaxis.get_minor_ticks():
414 tick.tick1On = tick.tick2On = False
/external/rust/crates/tokio/src/task/
Dlocal.rs215 tick: Cell<u8>,
327 tick: Cell::new(0), in new()
503 fn tick(&self) -> bool { in tick() method
526 let tick = self.tick.get(); in next_task() localVariable
527 self.tick.set(tick.wrapping_add(1)); in next_task()
529 if tick % REMOTE_FIRST_INTERVAL == 0 { in next_task()
565 if self.with(|| self.tick()) { in poll()
638 if me.local_set.tick() { in poll()
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cpp25 clk.tick(); in TEST()
82 vector1.tick(); in TEST()
98 thr1.tick(); in TEST()
100 thr2.tick(); in TEST()
113 thr0.tick(); in TEST()
115 thr1.tick(); in TEST()
140 vector.tick(); in TEST()
165 vector1.tick(); in TEST()
167 vector2.tick(); in TEST()
204 vector.tick(); in TEST()
[all …]
/external/python/cpython2/Lib/plat-sunos5/
DTYPES.py275 def TICK_TO_SEC(tick): return ((tick) / hz) argument
279 def TICK_TO_MSEC(tick): return \ argument
285 def TICK_TO_USEC(tick): return ((tick) * usec_per_tick) argument
291 def TICK_TO_NSEC(tick): return ((tick) * nsec_per_tick) argument
/external/rust/crates/tokio/src/time/driver/
Dentry.rs531 let tick = self.driver.time_source().deadline_to_tick(new_time); in reset() localVariable
533 if self.inner().extend_expiration(tick).is_ok() { in reset()
538 self.driver.reregister(tick, self.inner().into()); in reset()
577 pub(super) unsafe fn set_expiration(&self, tick: u64) { in set_expiration()
578 self.inner.as_ref().set_expiration(tick); in set_expiration()
597 Err(tick) => { in mark_pending()
598 self.inner.as_ref().set_cached_when(tick); in mark_pending()
599 Err(tick) in mark_pending()
/external/toybox/toys/example/
Ddemo_scankey.c24 unsigned width, height, tick; in demo_scankey_main() local
28 t[0] = t[1] = x = tick = 0; in demo_scankey_main()
41 t[1&++tick] = time(0); in demo_scankey_main()
/external/libevent/
Dbufferevent_ratelim.c118 unsigned tick; in bufferevent_update_buckets() local
120 tick = ev_token_bucket_get_tick_(&now, bev->rate_limiting->cfg); in bufferevent_update_buckets()
121 if (tick != bev->rate_limiting->limit.last_updated) in bufferevent_update_buckets()
123 bev->rate_limiting->cfg, tick); in bufferevent_update_buckets()
396 unsigned tick; in bev_refill_callback_() local
408 tick = ev_token_bucket_get_tick_(&now, in bev_refill_callback_()
412 tick); in bev_refill_callback_()
532 unsigned tick; in bev_group_refill_callback_() local
539 tick = ev_token_bucket_get_tick_(&now, &g->rate_limit_cfg); in bev_group_refill_callback_()
540 ev_token_bucket_update_(&g->rate_limit, &g->rate_limit_cfg, tick); in bev_group_refill_callback_()
[all …]
/external/skqp/modules/sksg/src/
DSkSGScene.cpp21 void Animator::tick(float t) { in tick() function in sksg::Animator
30 a->tick(t); in onTick()
66 anim->tick(t); in animate()
/external/lzma/CPP/7zip/UI/Console/
DPercentPrinter.cpp90 DWORD tick = 0; in Print() local
92 tick = GetTickCount(); in Print()
98 if (_tickStep != 0 && (UInt32)(tick - _prevTick) < _tickStep) in Print()
182 _prevTick = tick; in Print()
/external/llvm-project/openmp/runtime/src/
Dkmp_stats.cpp238 void explicitTimer::start(tsc_tick_count tick) { in start() argument
239 startTime = tick; in start()
247 void explicitTimer::stop(tsc_tick_count tick, in stop() argument
252 stat->addSample(((tick - startTime) - totalPauseTime).ticks()); in stop()
259 tick.getValue() - __kmp_stats_start_time.getValue(), in stop()
296 tsc_tick_count tick = tsc_tick_count::now(); in push() local
297 current_timer->pause(tick); in push()
298 new_timer->start(tick); in push()
312 tsc_tick_count tick = tsc_tick_count::now(); in pop() local
313 old_timer->stop(tick); in pop()
[all …]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java49 private long tick = 1000; field in ICUZDump
64 public void setTick(int tick) { in setTick() argument
65 if (tick <= 0) { in setTick()
68 this.tick = tick; in setTick()
107 if (diff <= tick) { in dump()
110 long medt = lot + ((diff / 2) / tick) * tick; in dump()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dtick.js43 timeline._animations = tick(t, true, timeline._animations)[0];
107 var inactiveAnimations = tick(scope.timeline.currentTime, false, animations.slice())[1];
126 function tick(t, isAnimationFrame, updatingAnimations) { function
173 testing.tick = function(t) { timeline.currentTime = t; processRafCallbacks(t); }; function
Deffect-callback.js66 requestAnimationFrame(tick);
70 function tick(t) { function
87 requestAnimationFrame(tick);
/external/libcxx/utils/google-benchmark/src/
Dcycleclock.h95 int64_t tick; in Now()
97 asm("mov %%g1, %0" : "=r"(tick)); in Now()
98 return tick; in Now()

12345678