/third_party/ffmpeg/libavfilter/ |
H A D | af_adelay.c | 31 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 D | af_anlms.c | 51 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 D | lws-bb-i2c.c | 47 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 D | bb-i2c.c | 19 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/libcoap/src/ |
H A D | coap_async.c | 40 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 D | ir3_delay.c | 34 * 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 D | tst_fuzzy_sync.h | 125 * 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...] |
/third_party/node/deps/undici/src/lib/ |
H A D | timers.js | 17 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 D | sched_latency.c | 27 * - 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 D | task_queue.h | 80 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 D | gifdec.c | 40 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 D | apngenc.c | 98 "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...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/ |
H A D | stack_transition_test.cpp | 93 int32_t delay = 500; in TestStackTransition006() local 99 {.i32 = delay}, {.i32 = iterations}, {.i32 = playMode}, in TestStackTransition006() 109 ASSERT_NE(nodeAPI->getAttribute(stack, NODE_OPACITY_TRANSITION)->value[PARAM_3].i32, delay); in TestStackTransition006() 123 int32_t delay = 0; in TestStackTransition007() local 129 {.i32 = delay}, {.i32 = iterations}, {.i32 = playMode}, in TestStackTransition007() 138 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_OPACITY_TRANSITION)->value[PARAM_3].i32, delay); in TestStackTransition007() 151 int32_t delay = 0; in TestStackTransition008() local 157 {.i32 = delay}, {.i32 = iterations}, {.i32 = playMode}, in TestStackTransition008() 166 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_OPACITY_TRANSITION)->value[PARAM_3].i32, delay); in TestStackTransition008() 179 int32_t delay in TestStackTransition009() local 207 int32_t delay = 0; TestStackTransition010() local 235 int32_t delay = 0; TestStackTransition011() local 263 int32_t delay = 0; TestStackTransition012() local 291 int32_t delay = 0; TestStackTransition013() local 319 int32_t delay = 0; TestStackTransition014() local 347 int32_t delay = 0; TestStackTransition015() local 375 int32_t delay = 300; TestStackTransition016() local 403 int32_t delay = -300; TestStackTransition017() local 431 int32_t delay = -1300; TestStackTransition018() local 459 int32_t delay = 0; TestStackTransition019() local 489 int32_t delay = 0; TestStackTransition020() local 523 int32_t delay = 500; TestStackTransition021() local 561 int32_t delay = 0; TestStackTransition022() local 597 int32_t delay = 0; TestStackTransition023() local 633 int32_t delay = 0; TestStackTransition024() local 669 int32_t delay = 0; TestStackTransition025() local 705 int32_t delay = 0; TestStackTransition026() local 741 int32_t delay = 0; TestStackTransition027() local 777 int32_t delay = 0; TestStackTransition028() local 813 int32_t delay = 0; TestStackTransition029() local 849 int32_t delay = 0; TestStackTransition030() local 885 int32_t delay = 300; TestStackTransition031() local 921 int32_t delay = -300; TestStackTransition032() local 957 int32_t delay = -1300; TestStackTransition033() local 993 int32_t delay = 0; TestStackTransition034() local 1031 int32_t delay = 0; TestStackTransition035() local 1067 int32_t delay = 500; TestStackTransition036() local 1101 int32_t delay = 0; TestStackTransition037() local 1133 int32_t delay = 0; TestStackTransition038() local 1165 int32_t delay = 0; TestStackTransition039() local 1197 int32_t delay = 0; TestStackTransition040() local 1229 int32_t delay = 0; TestStackTransition041() local 1261 int32_t delay = 0; TestStackTransition042() local 1293 int32_t delay = 0; TestStackTransition043() local 1325 int32_t delay = 0; TestStackTransition044() local 1357 int32_t delay = 0; TestStackTransition045() local 1389 int32_t delay = 300; TestStackTransition046() local 1421 int32_t delay = -300; TestStackTransition047() local 1453 int32_t delay = -1300; TestStackTransition048() local 1485 int32_t delay = 0; TestStackTransition049() local 1519 int32_t delay = 0; TestStackTransition050() local 1553 int32_t delay = 500; TestStackTransition051() local 1587 int32_t delay = 0; TestStackTransition052() local 1619 int32_t delay = 0; TestStackTransition053() local 1651 int32_t delay = 0; TestStackTransition054() local 1683 int32_t delay = 0; TestStackTransition055() local 1715 int32_t delay = 0; TestStackTransition056() local 1747 int32_t delay = 0; TestStackTransition057() local 1779 int32_t delay = 0; TestStackTransition058() local 1811 int32_t delay = 0; TestStackTransition059() local 1843 int32_t delay = 0; TestStackTransition060() local 1875 int32_t delay = 300; TestStackTransition061() local 1907 int32_t delay = -300; TestStackTransition062() local 1939 int32_t delay = -1300; TestStackTransition063() local 1971 int32_t delay = 0; TestStackTransition064() local 2005 int32_t delay = 0; TestStackTransition065() local [all...] |
/foundation/multimodalinput/input/service/event_handler/test/ |
H A D | key_auto_repeat_test.cpp | 179 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 D | timer_thread.cpp | 31 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 D | task_manager.cpp | 30 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 D | priority_queue_test.cpp | 168 * @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 D | ICUServiceThreadTest.java | 123 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 D | ICUServiceThreadTest.java | 120 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 D | snapshot_param.h | 38 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 D | task_executor_adapter.cpp | 23 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 D | tst_fuzzy_sync01.c | 49 * 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 D | softbus_adapter_xcollie_virtual.cpp | 32 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()
|
/third_party/backends/backend/ |
H A D | gt68xx_mid.c | 51 gt68xx_delay_buffer_init (GT68xx_Delay_Buffer * delay, in gt68xx_delay_buffer_init() argument 72 delay->line_count = line_count = delay_count + 1; in gt68xx_delay_buffer_init() 73 delay->read_index = 0; in gt68xx_delay_buffer_init() 74 delay->write_index = delay_count; in gt68xx_delay_buffer_init() 76 delay->mem_block = (SANE_Byte *) malloc (bytes_per_line * line_count); in gt68xx_delay_buffer_init() 77 if (!delay->mem_block) in gt68xx_delay_buffer_init() 79 DBG (3, "gt68xx_delay_buffer_init: no memory for delay block\n"); in gt68xx_delay_buffer_init() 84 delay->mem_block[i] = i % 256; in gt68xx_delay_buffer_init() 86 delay->lines = in gt68xx_delay_buffer_init() 88 if (!delay in gt68xx_delay_buffer_init() 104 gt68xx_delay_buffer_done(GT68xx_Delay_Buffer * delay) gt68xx_delay_buffer_done() argument [all...] |
/third_party/backends/lib/ |
H A D | usleep.c | 50 struct timeval delay; in usleep() 52 delay.tv_sec = 0; in usleep() 53 delay.tv_usec = useconds; in usleep() 54 select (0, 0, 0, 0, &delay); in usleep()
|