Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 903) sorted by relevance

12345678910>>...37

/third_party/boost/libs/thread/test/
Dtest_condition_timed_wait_times_out.cpp33 boost::posix_time::seconds const delay(timeout_seconds); in do_test_timed_wait_times_out() local
36 boost::system_time const timeout=start+delay; in do_test_timed_wait_times_out()
41 BOOST_CHECK((delay-timeout_resolution)<=(end-start)); in do_test_timed_wait_times_out()
49 boost::posix_time::seconds const delay(timeout_seconds); in do_test_timed_wait_with_predicate_times_out() local
52 boost::system_time const timeout=start+delay; in do_test_timed_wait_with_predicate_times_out()
58 BOOST_CHECK((delay-timeout_resolution)<=(end-start)); in do_test_timed_wait_with_predicate_times_out()
66 boost::posix_time::seconds const delay(timeout_seconds); in do_test_relative_timed_wait_with_predicate_times_out() local
70 bool const res=cond.timed_wait(lock,delay,fake_predicate); in do_test_relative_timed_wait_with_predicate_times_out()
74 BOOST_CHECK((delay-timeout_resolution)<=(end-start)); in do_test_relative_timed_wait_with_predicate_times_out()
82 boost::posix_time::seconds const delay(timeout_seconds); in do_test_timed_wait_relative_times_out() local
[all …]
/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/
DconvertToAsyncFunction_noArgs2.ts3 function delay(millis: number): Promise<void> { function
9 return delay(500)
10 .then(() => delay(500))
11 .then(() => delay(500))
12 .then(() => delay(500))
17 function delay(millis: number): Promise<void> { function
23 await delay(500);
24 await delay(500);
25 await delay(500);
26 return await delay(500);
DconvertToAsyncFunction_noArgs1.ts3 function delay(millis: number): Promise<void> { function
9 return delay(500)
10 .then(() => { console.log("."); return delay(500); })
11 .then(() => { console.log("."); return delay(500); })
12 .then(() => { console.log("."); return delay(500); })
17 function delay(millis: number): Promise<void> { function
23 await delay(500);
25 await delay(500);
27 await delay(500);
29 return await delay(500);
/third_party/mesa3d/src/freedreno/ir3/
Dir3_delay.c145 unsigned delay = 0; in delay_calc_srcn_prera() local
158 delay = MAX2(delay, d); in delay_calc_srcn_prera()
161 delay = ir3_delayslots(assigner, consumer, srcn, false); in delay_calc_srcn_prera()
162 delay -= distance(block, assigner, delay); in delay_calc_srcn_prera()
165 return delay; in delay_calc_srcn_prera()
175 unsigned delay = 0; in ir3_delay_calc_prera() local
184 delay = MAX2(delay, d); in ir3_delay_calc_prera()
187 return delay; in ir3_delay_calc_prera()
235 unsigned delay = ir3_delayslots(assigner, consumer, consumer_n, soft); in delay_calc_srcn_postra() local
238 return delay; in delay_calc_srcn_postra()
[all …]
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/
Dbb-i2c.c19 ctx->delay(); in lws_bb_i2c_start()
25 ctx->delay(); in lws_bb_i2c_start()
38 ctx->delay(); in lws_bb_i2c_stop()
44 ctx->delay(); in lws_bb_i2c_stop()
55 ctx->delay(); in lws_bb_i2c_write()
57 ctx->delay(); in lws_bb_i2c_write()
63 ctx->delay(); in lws_bb_i2c_write()
65 ctx->delay(); in lws_bb_i2c_write()
68 ctx->delay(); in lws_bb_i2c_write()
83 ctx->delay(); in lws_bb_i2c_read()
[all …]
/third_party/libwebsockets/lib/drivers/i2c/bitbang/
Dlws-bb-i2c.c47 ctx->delay(); in lws_bb_i2c_start()
53 ctx->delay(); in lws_bb_i2c_start()
66 ctx->delay(); in lws_bb_i2c_stop()
72 ctx->delay(); in lws_bb_i2c_stop()
83 ctx->delay(); in lws_bb_i2c_write()
85 ctx->delay(); in lws_bb_i2c_write()
91 ctx->delay(); in lws_bb_i2c_write()
93 ctx->delay(); in lws_bb_i2c_write()
96 ctx->delay(); in lws_bb_i2c_write()
111 ctx->delay(); in lws_bb_i2c_read()
[all …]
/third_party/libcoap/src/
Dasync.c39 const coap_pdu_t *request, coap_tick_t delay) { in coap_register_async() argument
83 coap_async_set_delay(s, delay); in coap_register_async()
91 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) { in coap_async_set_delay() argument
94 if (delay) { in coap_async_set_delay()
95 coap_ticks(&async->delay); in coap_async_set_delay()
96 async->delay += delay; in coap_async_set_delay()
99 async->delay = 0; in coap_async_set_delay()
102 (unsigned int)(delay / COAP_TICKS_PER_SECOND), in coap_async_set_delay()
103 (unsigned int)((delay % COAP_TICKS_PER_SECOND) * in coap_async_set_delay()
168 coap_tick_t delay) { in coap_register_async() argument
[all …]
/third_party/boost/libs/chrono/example/
Dcycle_count.cpp80 clock::duration delay = duration_cast<clock::duration>(delayns); in cycle_count_delay() local
81 …std::cout << "delay = " << delayns.count() << " nanoseconds which is " << delay.count() << " cycle… in cycle_count_delay()
83 clock::time_point stop = start + delay; in cycle_count_delay()
94 clock::duration delay = nanoseconds(500); in cycle_count_delay() local
95 std::cout << "delay = " << delay.count() << " nanoseconds\n"; in cycle_count_delay()
97 clock::time_point stop = start + delay; in cycle_count_delay()
109 clock::duration delay = duration_cast<clock::duration>(delayns); in cycle_count_delay() local
110 …std::cout << "delay = " << delayns.count() << " nanoseconds which is " << delay.count() << " cycle… in cycle_count_delay()
112 clock::time_point stop = start + delay; in cycle_count_delay()
123 clock::duration delay = nanoseconds(500); in cycle_count_delay() local
[all …]
Dtest_clock.cpp45 typename Clock::duration delay = milliseconds(5); in test_clock() local
47 while (Clock::now() - start <= delay) in test_clock()
81 system_clock::duration delay = milliseconds(5); in test_system_clock() local
83 while (system_clock::now() - start <= delay) in test_system_clock()
97 steady_clock::duration delay = milliseconds(5); in test_steady_clock() local
99 while (steady_clock::now() - start <= delay) in test_steady_clock()
112 high_resolution_clock::duration delay = milliseconds(5); in test_hi_resolution_clock() local
114 while (high_resolution_clock::now() - start <= delay) in test_hi_resolution_clock()
Dtest_clock2.cpp80 typename Clock::duration delay = milliseconds(5); in test_clock() local
82 while (Clock::now() - start <= delay) in test_clock()
117 chrono::system_clock::duration delay = milliseconds(5); in test_system_clock() local
119 while (chrono::system_clock::now() - start <= delay) in test_system_clock()
133 steady_clock::duration delay = milliseconds(5); in test_steady_clock() local
135 while (steady_clock::now() - start <= delay) in test_steady_clock()
148 high_resolution_clock::duration delay = milliseconds(5); in test_hi_resolution_clock() local
150 while (high_resolution_clock::now() - start <= delay) in test_hi_resolution_clock()
/third_party/node/test/sequential/
Dtest-perf-hooks.js59 const delay = 250; constant
68 Math.abs(delta) < (props[prop].delay || delay),
69 `${prop}: ${Math.abs(delta)} >= ${props[prop].delay || delay}`
86 bootstrapComplete: { around: inited, delay: 2500 }, property
100 bootstrapComplete: { around: inited, delay: 2500 }, property
102 loopStart: { around: inited, delay: 2500 }, property
115 bootstrapComplete: { around: inited, delay: 2500 }, property
117 loopStart: { around: inited, delay: 2500 }, property
/third_party/ltp/include/
Dtst_fuzzy_sync.h130 int delay; member
305 pair->delay = 0; in tst_fzsync_pair_reset()
503 pair->delay = pair->delay_bias; in tst_fzsync_pair_update()
529 pair->delay += (int)(1.1 * time_delay / per_spin_time); in tst_fzsync_pair_update()
732 volatile int delay; in tst_fzsync_start_race_a() local
738 delay = pair->delay; in tst_fzsync_start_race_a()
740 while (delay < 0) { in tst_fzsync_start_race_a()
742 delay++; in tst_fzsync_start_race_a()
745 while (delay < 0) in tst_fzsync_start_race_a()
746 delay++; in tst_fzsync_start_race_a()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_adelay.c31 int delay; member
104 if (d->delay_index < d->delay) { \
105 const int len = FFMIN(nb_samples, d->delay - d->delay_index); \
119 d->index = d->index >= d->delay ? 0 : d->index; \
146 float delay, div; in config_input() local
155 ret = av_sscanf(arg, "%d%c", &d->delay, &type); in config_input()
158 if (av_sscanf(arg, "%f", &delay) != 1) { in config_input()
162 d->delay = delay * inlink->sample_rate / div; in config_input()
165 if (d->delay < 0) { in config_input()
173 s->chandelay[j].delay = s->chandelay[i-1].delay; in config_input()
[all …]
Daf_anlms.c52 AVFrame *delay; member
110 static float fir_sample(AudioNLMSContext *s, float sample, float *delay, in fir_sample() argument
116 delay[*offset] = sample; in fir_sample()
120 output = s->fdsp->scalarproduct_float(delay, tmp, s->kernel_size); in fir_sample()
129 float *delay, float *coeffs, float *tmp, int *offsetp) in process_sample() argument
138 delay[offset + order] = input; in process_sample()
140 output = fir_sample(s, input, delay, coeffs, tmp, offsetp); in process_sample()
143 sum = s->fdsp->scalarproduct_float(delay, delay, s->kernel_size); in process_sample()
148 memcpy(tmp, delay + offset, order * sizeof(float)); in process_sample()
175 float *delay = (float *)s->delay->extended_data[c]; in process_channels() local
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceThreadTest.java120 private final long delay; field in ICUServiceThreadTest.TestThread
122 public TestThread(String name, ICUService service, long delay) { in TestThread() argument
125 this.delay = delay; in TestThread()
138 if (delay > 0) { in run()
139 Thread.sleep(delay); in run()
194 RegisterFactoryThread(String name, ICUService service, long delay) { in RegisterFactoryThread() argument
195 super("REG " + name, service, delay); in RegisterFactoryThread()
210 UnregisterFactoryThread(String name, ICUService service, long delay) { in UnregisterFactoryThread() argument
211 super("UNREG " + name, service, delay); in UnregisterFactoryThread()
235 … UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) { in UnregisterFactoryListThread() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DICUServiceThreadTest.java123 private final long delay; field in ICUServiceThreadTest.TestThread
125 public TestThread(String name, ICUService service, long delay) { in TestThread() argument
128 this.delay = delay; in TestThread()
141 if (delay > 0) { in run()
142 Thread.sleep(delay); in run()
197 RegisterFactoryThread(String name, ICUService service, long delay) { in RegisterFactoryThread() argument
198 super("REG " + name, service, delay); in RegisterFactoryThread()
213 UnregisterFactoryThread(String name, ICUService service, long delay) { in UnregisterFactoryThread() argument
214 super("UNREG " + name, service, delay); in UnregisterFactoryThread()
238 … UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) { in UnregisterFactoryListThread() argument
[all …]
/third_party/ffmpeg/libavformat/
Dgifdec.c40 int delay; member
121 gdc->delay = gdc->default_delay; in gif_read_header()
157 int delay; in gif_read_header() local
160 delay = avio_rl16(pb); in gif_read_header()
161 if (delay < gdc->min_delay) in gif_read_header()
162 delay = gdc->default_delay; in gif_read_header()
163 delay = FFMIN(delay, gdc->max_delay); in gif_read_header()
164 duration += delay; in gif_read_header()
225 gdc->delay = avio_rl16(pb); in gif_read_ext()
227 if (gdc->delay < gdc->min_delay) in gif_read_ext()
[all …]
/third_party/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c120 nsec_t delay, avg_delay = 0, start_delay, min_delay = -1ULL, max_delay = in periodic_thread() local
178 delay = in periodic_thread()
181 rec.y = delay; in periodic_thread()
184 if (delay < min_delay) in periodic_thread()
185 min_delay = delay; in periodic_thread()
186 if (delay > max_delay) in periodic_thread()
187 max_delay = delay; in periodic_thread()
188 if (delay > pass_criteria) { in periodic_thread()
192 avg_delay += delay; in periodic_thread()
193 if (latency_threshold && delay > latency_threshold) in periodic_thread()
[all …]
/third_party/flutter/flutter/packages/flutter/test/gestures/
Dmultidrag_test.dart15 testGesture('MultiDrag: moving before delay rejects', (GestureTester tester) {
31 …tester.route(pointer.move(const Offset(20.0, 60.0))); // move more than touch slop before delay ex…
33 tester.async.elapse(kLongPressTimeout * 2); // expire delay
35 tester.route(pointer.move(const Offset(30.0, 120.0))); // move some more after delay expires
40 testGesture('MultiDrag: delay triggers', (GestureTester tester) {
56 …tester.route(pointer.move(const Offset(20.0, 20.0))); // move less than touch slop before delay ex…
58 tester.async.elapse(kLongPressTimeout * 2); // expire delay
60 …tester.route(pointer.move(const Offset(30.0, 70.0))); // move more than touch slop after delay exp…
82 …ute(mousePointer.move(const Offset(20.0, 20.0))); // move less than touch slop before delay expires
84 tester.async.elapse(kLongPressTimeout * 2); // expire delay
[all …]
/third_party/iptables/extensions/
Dlibxt_LED.c60 led->delay = -1; in LED_parse()
61 else if (!xtables_strtoui(cb->arg, NULL, &led->delay, 0, UINT32_MAX)) in LED_parse()
87 if (led->delay == -1) in LED_print()
90 printf(" led-delay:%dms", led->delay); in LED_print()
111 if (led->delay > 0) in LED_save()
112 printf(" --led-delay %d", led->delay); in LED_save()
113 else if (led->delay == -1) in LED_save()
/third_party/typescript/tests/baselines/reference/
DstaticInstanceResolution3.types8 >WinJS.Promise.timeout : (delay: number) => WinJS.Promise
12 >timeout : (delay: number) => WinJS.Promise
19 static timeout(delay: number): Promise {
20 >timeout : (delay: number) => Promise
21 >delay : number
DmemberAccessMustUseModuleInstances.types8 >WinJS.Promise.timeout : (delay: number) => WinJS.Promise
12 >timeout : (delay: number) => WinJS.Promise
19 static timeout(delay: number): Promise {
20 >timeout : (delay: number) => Promise
21 >delay : number
/third_party/ltp/lib/newlib_tests/
Dtst_fuzzy_sync01.c151 static void delay(const int t) in delay() function
169 delay(b.critical_s); in worker()
172 delay(b.critical_t); in worker()
175 delay(b.return_t); in worker()
198 delay(a.critical_s); in run()
201 delay(a.critical_t); in run()
204 delay(a.return_t); in run()
/third_party/node/test/parallel/
Dtest-timers-nested.js15 scenarios.forEach(function(delay) { argument
24 }, delay);
28 sleep(delay);
40 }, delay);
/third_party/ffmpeg/tests/ref/fate/
Dmovenc46 08f4b3ad3a3ea224b2ee731476b9056b 2891 delay-moov
51 314cc3b6296f4ee583b328a34be50b2f 3203 delay-moov-elst
55 95d6f59a7354b0cfe7ce49927baada4e 2098 delay-moov-empty-track
60 8805d72a27b340ea229c16edde78f974 2001 delay-moov-empty-track-flush
69 351ae2c8b6d35d98b4848c309cce6704 1159 delay-moov-header
72 289ee982188d66988a374a462b0b5376 1584 delay-moov-content
87 c0307f99a2a362205b7e3d65b1066f86 876 delay-moov-second-frag-discont
90 b3811928793ed0749927eb2f7958421c 1223 delay-moov-elst-init
93 0df125407c7e81978ce722e0ae4f6f84 996 delay-moov-elst-second-frag
96 b3811928793ed0749927eb2f7958421c 1223 delay-moov-elst-init-discont
[all …]

12345678910>>...37