Home
last modified time | relevance | path

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

1234567

/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/u-boot/drivers/i2c/
Dmvtwsi.c94 uint tick; member
266 uint tick) in twsi_wait() argument
282 ndelay(tick); /* One clock cycle */ in twsi_wait()
303 uint tick) in twsi_start() argument
309 return twsi_wait(twsi, expected_status, tick); in twsi_start()
326 int expected_status, uint tick) in twsi_send() argument
334 return twsi_wait(twsi, expected_status, tick); in twsi_send()
351 uint tick) in twsi_recv() argument
363 status = twsi_wait(twsi, expected_status, tick); in twsi_recv()
381 static int twsi_stop(struct mvtwsi_registers *twsi, uint tick) in twsi_stop() argument
[all …]
/external/u-boot/lib/
Dtime.c117 static uint64_t notrace tick_to_time(uint64_t tick) in tick_to_time() argument
121 tick *= CONFIG_SYS_HZ; in tick_to_time()
122 do_div(tick, div); in tick_to_time()
123 return tick; in tick_to_time()
144 uint64_t tick = usec; in usec_to_tick() local
145 tick *= get_tbclk(); in usec_to_tick()
146 do_div(tick, 1000000); in usec_to_tick()
147 return tick; in usec_to_tick()
/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/jemalloc/include/jemalloc/internal/
Dticker.h11 int32_t tick; member
36 ticker->tick = nticks; in ticker_init()
51 return (ticker->tick); in ticker_read()
58 if (unlikely(ticker->tick < nticks)) { in ticker_ticks()
59 ticker->tick = ticker->nticks; in ticker_ticks()
62 ticker->tick -= nticks; in ticker_ticks()
/external/u-boot/arch/arm/cpu/arm926ejs/mx27/
Dtimer.c40 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
42 tick *= CONFIG_SYS_HZ; in tick_to_time()
43 do_div(tick, CONFIG_MX27_CLK32); in tick_to_time()
44 return tick; in tick_to_time()
66 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
68 do_div(tick, TICK_PER_TIME); in tick_to_time()
69 return tick; in tick_to_time()
/external/linux-kselftest/tools/testing/selftests/timers/
Dadjtick.c128 tx1.tick = tickval; in check_tick_adj()
143 if (tx1.offset || tx1.freq || tx1.tick != tickval) { in check_tick_adj()
170 long tick, max, interval, err; in main() local
188 for (tick = (systick - max); tick < (systick + max); tick += interval) { in main()
189 if (check_tick_adj(tick)) { in main()
202 tx1.tick = systick; in main()
/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/curl/src/
Dtool_cb_prg.c78 pos = sinus[bar->tick%200] / (10000 / check); in fly()
80 pos = sinus[(bar->tick + 5)%200] / (10000 / check); in fly()
82 pos = sinus[(bar->tick + 10)%200] / (10000 / check); in fly()
84 pos = sinus[(bar->tick + 15)%200] / (10000 / check); in fly()
88 bar->tick += 2; in fly()
89 if(bar->tick >= 200) in fly()
90 bar->tick -= 200; in fly()
249 bar->tick = 150; in progressbarinit()
/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/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/v8/tools/profviz/
Dcomposer.js92 function Tick(tick) { argument
93 this.tick = tick;
171 var tick = ticks[i].tick;
173 new Range(tick - kTickHalfDuration, tick + kTickHalfDuration));
298 var tick = new Tick(timer);
301 if (entry) FindCodeKind(entry.kind).in_execution.push(tick);
306 if (entry) FindCodeKind(entry.kind).stack_frames[i].push(tick);
372 if (ticks[i].tick < range_start && !start_found) {
373 range_start = ticks[i].tick;
375 if (ticks[i].tick > range_end && !end_found) {
[all …]
/external/u-boot/arch/arm/cpu/armv7/vf610/
Dtimer.c18 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
20 tick *= CONFIG_SYS_HZ; in tick_to_time()
21 do_div(tick, mxc_get_clock(MXC_IPG_CLK)); in tick_to_time()
23 return tick; in tick_to_time()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dtimer.c31 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
37 tick *= CONFIG_SYS_HZ; in tick_to_time()
38 do_div(tick, freq); in tick_to_time()
40 return tick; in tick_to_time()
/external/u-boot/arch/arm/mach-imx/
Dsyscounter.c34 static inline unsigned long long tick_to_time(unsigned long long tick) in tick_to_time() argument
40 tick *= CONFIG_SYS_HZ; in tick_to_time()
41 do_div(tick, freq); in tick_to_time()
43 return tick; in tick_to_time()
/external/u-boot/arch/arm/mach-rockchip/
Drk_timer.c25 uint64_t tick = usec; in usec_to_tick() local
26 tick *= CONFIG_SYS_TIMER_RATE / (1000 * 1000); in usec_to_tick()
27 return tick; in usec_to_tick()
/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/u-boot/drivers/spi/
Dath79_spi.c66 u64 tick; in ath79_spi_xfer() local
99 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
100 while (get_ticks() < tick) in ath79_spi_xfer()
109 tick = get_ticks() + priv->rrw_delay; in ath79_spi_xfer()
110 while (get_ticks() < tick) in ath79_spi_xfer()
/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/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/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/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/skia/modules/sksg/src/
DSkSGScene.cpp21 void Animator::tick(float t) { in tick() function in sksg::Animator
30 a->tick(t); in onTick()
68 anim->tick(t); in animate()
/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()
/external/google-benchmark/src/
Dcycleclock.h95 int64_t tick; in Now()
97 asm("mov %%g1, %0" : "=r"(tick)); in Now()
98 return tick; in Now()

1234567