Home
last modified time | relevance | path

Searched refs:delay (Results 1 - 25 of 897) sorted by relevance

12345678910>>...36

/third_party/ffmpeg/libavfilter/
H A Daf_adelay.c31 int64_t delay; member
60 { "all", "use last available delay for remained channels", OFFSET(all), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, A },
75 if (d->delay_index < d->delay) { \
76 const int len = FFMIN(nb_samples, d->delay - d->delay_index); \
90 d->index = d->index >= d->delay ? 0 : d->index; \
106 if (new_delay == d->delay) { \
113 d->delay = 0; \
124 if (new_delay < d->delay) { \
130 memmove(&samples[d->index], &samples[d->index+(d->delay-new_delay)], \
132 d->delay_index -= d->delay
158 float delay, div; parse_delays() local
272 int64_t delay; process_command() local
[all...]
H A Daf_anlms.c51 AVFrame *delay; member
98 static float fir_sample(AudioNLMSContext *s, float sample, float *delay, in fir_sample() argument
104 delay[*offset] = sample; in fir_sample()
108 output = s->fdsp->scalarproduct_float(delay, tmp, s->kernel_size); in fir_sample()
117 float *delay, float *coeffs, float *tmp, int *offsetp) in process_sample()
126 delay[offset + order] = input; in process_sample()
128 output = fir_sample(s, input, delay, coeffs, tmp, offsetp); in process_sample()
131 sum = s->fdsp->scalarproduct_float(delay, delay, s->kernel_size); in process_sample()
138 memcpy(tmp, delay in process_sample()
116 process_sample(AudioNLMSContext *s, float input, float desired, float *delay, float *coeffs, float *tmp, int *offsetp) process_sample() argument
165 float *delay = (float *)s->delay->extended_data[c]; process_channels() local
[all...]
/third_party/libwebsockets/lib/drivers/i2c/bitbang/
H A 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/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/
H A 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...]
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/boot/
H A Dinit_regs.c40 unsigned int delay; member
44 static inline void delay(void) in delay() function
74 delay_2 = reg->delay; in reg_write()
88 delay(); in reg_write()
98 delay_1 = reg->delay; in read_write()
106 delay(); in read_write()
110 delay(); in read_write()
114 delay(); in read_write()
123 delay(); in read_write()
127 delay(); in read_write()
[all...]
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/boot/
H A Dinit_regs.c41 unsigned int delay; member
45 static inline void delay(void) in delay() function
75 delay_2 = reg->delay; in reg_write()
89 delay(); in reg_write()
99 delay_1 = reg->delay; in read_write()
107 delay(); in read_write()
111 delay(); in read_write()
115 delay(); in read_write()
124 delay(); in read_write()
128 delay(); in read_write()
[all...]
/third_party/libcoap/src/
H A Dcoap_async.c40 const coap_pdu_t *request, coap_tick_t delay) { in coap_register_async()
94 coap_async_set_delay(s, delay); in coap_register_async()
102 coap_ticks(&async->delay); in coap_async_trigger()
113 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) { in coap_async_set_delay() argument
119 if (delay) { in coap_async_set_delay()
120 async->delay = now + delay; in coap_async_set_delay()
122 coap_update_epoll_timer(async->session->context, delay); in coap_async_set_delay()
126 (unsigned int)(delay / COAP_TICKS_PER_SECOND), in coap_async_set_delay()
127 (unsigned int)((delay in coap_async_set_delay()
39 coap_register_async(coap_session_t *session, const coap_pdu_t *request, coap_tick_t delay) coap_register_async() argument
195 coap_register_async(coap_session_t *session, const coap_pdu_t *request, coap_tick_t delay) coap_register_async() argument
205 coap_async_set_delay(coap_async_t *async, coap_tick_t delay) coap_async_set_delay() argument
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_delay.c34 * Helpers to figure out the necessary delay slots between instructions. Used
42 /* calculate required # of delay slots between the instruction that
73 /* As far as we know, shader outputs don't need any delay. */ in ir3_delayslots()
134 unsigned delay = ir3_delayslots(assigner, consumer, consumer_n, false); in ir3_delayslots_with_repeat() local
140 return delay; in ir3_delayslots_with_repeat()
150 return delay; in ir3_delayslots_with_repeat()
156 return delay; in ir3_delayslots_with_repeat()
166 return delay; in ir3_delayslots_with_repeat()
193 /* The delay we return is relative to the *end* of assigner and the in ir3_delayslots_with_repeat()
196 * subtract from the delay, an in ir3_delayslots_with_repeat()
249 unsigned delay = 0; delay_calc() local
[all...]
/third_party/ltp/include/
H A Dtst_fuzzy_sync.h125 * Internal; Number of spins to use in the delay.
129 int delay; member
142 * random delay can be calculated. Defaults to 1024.
272 pair->delay = 0; in tst_fzsync_pair_reset()
371 * Calculate various statistics and the delay
399 * scenario (and others) a randomised delay is introduced before the syscalls
411 * | delay | Syscall B | Thread B
417 * The delay is not introduced immediately and the delay range is only
421 * The delay rang
701 volatile int delay; tst_fzsync_start_race_a() local
742 volatile int delay; tst_fzsync_start_race_b() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_workqueue.h75 hi_u32 oal_workqueue_delay_schedule(oal_delayed_work *pst_work, unsigned long delay);
119 * queue_delayed_work - queue work on a workqueue after delay
122 * @delay: number of jiffies to wait before queueing
127 unsigned long delay) in oal_queue_delayed_work()
129 return queue_delayed_work(pst_workqueue, pst_work, delay); in oal_queue_delayed_work()
134 * queue_delayed_work_on - queue work on specific CPU after delay
138 * @delay: number of jiffies to wait before queueing
141 * @delay is zero and @dwork is idle, it will be scheduled for immediate
144 oal_delayed_work *pst_work, unsigned long delay) in oal_queue_delayed_work_on()
146 return queue_delayed_work_on(cpu, pst_workqueue, pst_work, delay); in oal_queue_delayed_work_on()
126 oal_queue_delayed_work(oal_workqueue_stru *pst_workqueue, oal_delayed_work *pst_work, unsigned long delay) oal_queue_delayed_work() argument
143 oal_queue_delayed_work_on(hi_u32 cpu, oal_workqueue_stru *pst_workqueue, oal_delayed_work *pst_work, unsigned long delay) oal_queue_delayed_work_on() argument
157 oal_queue_delayed_system_work(oal_delayed_work *pst_work, unsigned long delay) oal_queue_delayed_system_work() argument
[all...]
/third_party/node/deps/undici/src/lib/
H A Dtimers.js17 timer.state = fastNow + timer.delay
54 constructor (callback, delay, opaque) {
56 this.delay = delay
85 setTimeout (callback, delay, opaque) {
86 return delay < 1e3
87 ? setTimeout(callback, delay, opaque)
88 : new Timeout(callback, delay, opaque)
/third_party/ltp/testcases/realtime/func/sched_latency/
H A Dsched_latency.c27 * - The delay is measured as
29 * delay = (now - start - i*period) converted to microseconds
120 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_criteri in periodic_thread()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dtask_queue.h80 Token AddTaskImpl(ITaskQueueTask::Ptr p, const TimeSpan& delay, const TimeSpan& excTime) in AddTaskImpl() argument
90 tasks_.emplace_back(delay, excTime, BASE_NS::move(p)); in AddTaskImpl()
93 tasks_.emplace_back(delay, excTime, BASE_NS::move(p)); in AddTaskImpl()
95 tasks_.insert(tasks_.begin(), { delay, excTime, BASE_NS::move(p) }); in AddTaskImpl()
102 tasks_.insert(it + 1, { delay, excTime, BASE_NS::move(p) }); in AddTaskImpl()
109 tasks_.insert(tasks_.begin(), { delay, excTime, BASE_NS::move(p) }); in AddTaskImpl()
115 Token AddTask(ITaskQueueTask::Ptr p, const TimeSpan& delay, const TimeSpan& excTime) in AddTask() argument
119 return AddTaskImpl(BASE_NS::move(p), delay, excTime); in AddTask()
154 if (task.delay > TimeSpan()) { in ProcessTasks()
156 uint64_t dt = task.delay in ProcessTasks()
188 TimeSpan delay; global() member
[all...]
/third_party/ffmpeg/libavformat/
H A Dgifdec.c40 int delay; member
42 * Minimum allowed delay between frames in hundredths of
64 * Default delay = 100hundredths of second / 10fps = 10hos per frame.
68 * By default delay values less than this threshold considered to be invalid.
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 in gif_read_header()
[all...]
H A Dapngenc.c98 "Last frame delay is too precise. Reducing to %d/%d (%f).\n", in apng_write_header()
187 AVRational delay; in flush_packet() local
193 delay.num = AV_RB16(existing_fcTL_chunk + 20); in flush_packet()
194 delay.den = AV_RB16(existing_fcTL_chunk + 22); in flush_packet()
196 if (delay.num == 0 && delay.den == 0) { in flush_packet()
202 if (!av_reduce(&delay.num, &delay.den, delay_num_raw, delay_den_raw, UINT16_MAX) && in flush_packet()
209 delay = apng->last_delay; in flush_packet()
211 delay in flush_packet()
[all...]
/foundation/multimodalinput/input/service/event_handler/test/
H A Dkey_auto_repeat_test.cpp179 int32_t delay = 500; in HWTEST_F() local
181 int32_t result = keyAutoRepeat.SetKeyboardRepeatDelay(delay); in HWTEST_F()
183 delay = 100; in HWTEST_F()
184 result = keyAutoRepeat.SetKeyboardRepeatDelay(delay); in HWTEST_F()
186 delay = 2000; in HWTEST_F()
187 result = keyAutoRepeat.SetKeyboardRepeatDelay(delay); in HWTEST_F()
226 int32_t delay = 0; in HWTEST_F() local
228 EXPECT_EQ(keyAutoRepeat.GetKeyboardRepeatDelay(delay), RET_OK); in HWTEST_F()
229 EXPECT_EQ(delay, expectedDelay); in HWTEST_F()
230 delay in HWTEST_F()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/timerthread/
H A Dtimer_thread.cpp31 const unsigned int delay, in StartTimerTask()
40 return g_timerInstance->StartTimerTaskInner(isPeriodic, delay, userCallback, userData, timerHandle); in StartTimerTask()
84 info->remain = info->delay; in Traverse()
95 const unsigned int delay, in StartTimerTaskInner()
104 info->delay = delay; in StartTimerTaskInner()
105 info->remain = delay; in StartTimerTaskInner()
30 StartTimerTask(bool isPeriodic, const unsigned int delay, void *userCallback, void *userData, timerHandle_t *timerHandle) StartTimerTask() argument
94 StartTimerTaskInner(bool isPeriodic, const unsigned int delay, void *userCallback, void *userData, timerHandle_t *timerHandle) StartTimerTaskInner() argument
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dtask_manager.cpp30 TaskManager::TaskId TaskManager::Execute(const Task &task, Duration delay) in Execute() argument
32 return executors_->Schedule(delay, task); in Execute()
38 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval) in Schedule() argument
40 return executors_->Schedule(task, delay, interval); in Schedule()
42 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval, uint64_t times) in Schedule() argument
44 return executors_->Schedule(task, delay, interval, times); in Schedule()
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dpriority_queue_test.cpp168 * @tc.desc: Test the delay task.
178 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); in HWTEST_F() local
180 auto ret = priorityqueue_.Push(testTask, id, std::chrono::steady_clock::now() + delay); in HWTEST_F()
205 * @tc.desc: Test the delay task.
214 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); in HWTEST_F() local
216 auto ret = priorityqueue_.Push(testTask, id, std::chrono::steady_clock::now() + delay); in HWTEST_F()
225 auto delayms = std::chrono::duration_cast<std::chrono::milliseconds>(delay).count(); in HWTEST_F()
283 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); in HWTEST_F() local
287 auto ret = priorityqueue_.Push(testTask, id, std::chrono::steady_clock::now() + delay); in HWTEST_F()
303 auto delay in HWTEST_F() local
323 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
344 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
365 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
387 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
410 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
430 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
452 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
519 auto delay = std::chrono::milliseconds(SHORT_INTERVAL); HWTEST_F() local
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A 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) UnregisterFactoryListThread() argument
256 GetVisibleThread(String name, ICUService service, long delay) GetVisibleThread() argument
276 GetDisplayThread(String name, ICUService service, long delay, ULocale locale) GetDisplayThread() argument
309 GetThread(String name, ICUService service, long delay) GetThread() argument
329 GetListThread(String name, ICUService service, long delay, String[] list) GetListThread() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A 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) UnregisterFactoryListThread() argument
253 GetVisibleThread(String name, ICUService service, long delay) GetVisibleThread() argument
273 GetDisplayThread(String name, ICUService service, long delay, ULocale locale) GetDisplayThread() argument
306 GetThread(String name, ICUService service, long delay) GetThread() argument
326 GetListThread(String name, ICUService service, long delay, String[] list) GetListThread() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dsnapshot_param.h38 int32_t delay; member
41 explicit SnapshotParam(int32_t delay = DEFAULT_DELAY_TIME, bool checkImageStatus = false, in SnapshotParam()
42 SnapshotOptions options = SnapshotOptions()) : delay(delay), checkImageStatus(checkImageStatus), in SnapshotParam()
46 return "{" + std::to_string(delay) + ", " + (checkImageStatus ? "true" : "false") + ", " + in ToString()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dtask_executor_adapter.cpp23 TaskExecutorAdapter::Duration delay) in Execute()
25 return TaskExecutor::GetInstance().Schedule(delay, task); in Execute()
33 TaskExecutorAdapter::Duration delay, TaskExecutorAdapter::Duration interval) in Schedule()
35 return TaskExecutor::GetInstance().Schedule(delay, task, interval); in Schedule()
38 TaskExecutorAdapter::Duration delay, TaskExecutorAdapter::Duration interval, uint64_t times) in Schedule()
40 return TaskExecutor::GetInstance().Schedule(delay, task, interval, times); in Schedule()
22 Execute(const TaskExecutorAdapter::Task &task, TaskExecutorAdapter::Duration delay) Execute() argument
32 Schedule(const TaskExecutorAdapter::Task &task, TaskExecutorAdapter::Duration delay, TaskExecutorAdapter::Duration interval) Schedule() argument
37 Schedule(const TaskExecutorAdapter::Task &task, TaskExecutorAdapter::Duration delay, TaskExecutorAdapter::Duration interval, uint64_t times) Schedule() argument
/third_party/ltp/lib/newlib_tests/
H A Dtst_fuzzy_sync01.c49 * the start or end. The delay times are cubed to ensure that a delay
70 /* Scale all the delay times by this function. The races become harder
79 /* The delay until the start of the critical section */
83 /* The remaining delay until the method returns */
151 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()
193 delay( in run()
[all...]
/foundation/communication/dsoftbus/adapter/common/dfx/
H A Dsoftbus_adapter_xcollie_virtual.cpp32 void SoftBusRunOneShotTask(const char *name, void(*task)(void), uint64_t delay) in SoftBusRunOneShotTask() argument
36 (void)delay; in SoftBusRunOneShotTask()
39 void SoftBusRunPeriodicalTask(const char *name, void(*task)(void), uint64_t interval, uint64_t delay) in SoftBusRunPeriodicalTask() argument
44 (void)delay; in SoftBusRunPeriodicalTask()

Completed in 11 milliseconds

12345678910>>...36