Home
last modified time | relevance | path

Searched refs:time (Results 901 - 925 of 8881) sorted by relevance

1...<<31323334353637383940>>...356

/third_party/skia/third_party/externals/icu/source/i18n/
H A Dbasictz.cpp47 // Check the offsets at the start time in hasEquivalentTransitions()
69 UDate time = start; in hasEquivalentTransitions() local
72 UBool avail1 = getNextTransition(time, FALSE, tr1); in hasEquivalentTransitions()
73 UBool avail2 = tz.getNextTransition(time, FALSE, tr2); in hasEquivalentTransitions()
126 time = tr1.getTime(); in hasEquivalentTransitions()
166 // Get local wall time for the next transition time in getSimpleRulesNear()
175 // So we always use raw offset of the given time for the rule, in getSimpleRulesNear()
193 // Get local wall time for the next transition time in getSimpleRulesNear()
307 UDate time, t; getTimeZoneRulesAfter() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dtouch_event.cpp49 TouchEvent& TouchEvent::SetTime(TimeStamp time) in SetTime() argument
51 this->time = time; in SetTime()
57 return this->time; in GetTimeStamp()
189 event.time = time; in CloneWith()
219 int64_t timeValue = std::chrono::duration_cast<std::chrono::nanoseconds>(time.time_since_epoch()).count(); in ToJsonValue()
247 time = TimeStamp(std::chrono::nanoseconds(timeValue)); in FromJson()
325 .downTime = time, in UpdatePointers()
336 .SetTime(time) in UpdatePointers()
405 SetTimeStamp(const TimeStamp& time) SetTimeStamp() argument
[all...]
H A Dmouse_event.h106 TimeStamp time; member
164 .time = time, in CloneWith()
209 .downTime = time, in CreateTouchPoint()
220 .SetTime(time) in CreateTouchPoint()
252 .time = time, in operator -()
461 info.SetTimeStamp(event.time); in HandleMouseEvent()
/third_party/pulseaudio/src/pulse/
H A Dmainloop.c77 pa_usec_t time; member
336 e->time = t; in mainloop_time_new()
344 if (t < m->cached_next_time_event->time) in mainloop_time_new()
378 e->time = t; in mainloop_time_restart()
389 if (t < e->mainloop->cached_next_time_event->time) in mainloop_time_restart()
720 if (!n || t->time < n->time) { in find_next_time_event()
723 /* Shortcut for time == 0 */ in find_next_time_event()
724 if (n->time == 0) in find_next_time_event()
742 if (t->time < in calc_next_timeout()
[all...]
/third_party/python/Lib/logging/
H A Dhandlers.py26 import io, logging, socket, os, pickle, struct, time, re namespace
268 t = int(time.time())
273 Work out the rollover time based on the specified time.
281 # at the right time. After that, the regular interval will take care of
286 t = time.gmtime(currentTime)
288 t = time.localtime(currentTime)
303 # Rotate time is before the current time (fo
[all...]
/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.cpp248 hdfEffectVdi.timeEffect.time = compositeEffects.timeEffect.time; in EnableCompositeEffect()
321 hapticPaketVdi.time = pkg.time; in PlayHapticPattern()
330 hapticEventVdi.time = event.time; in PlayHapticPattern()
338 curvePointVdip.time = point.time; in PlayHapticPattern()
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dlong_press_recognizer.cpp91 void LongPressRecognizer::ThumbnailTimer(int32_t time) in ThumbnailTimer() argument
109 taskExecutor.PostDelayedTask(thumbnailTimer_, time, "ArkUIGestureLongPressThumbnailTimer"); in ThumbnailTimer()
117 firstInputTime_ = event.time; in HandleTouchDownEvent()
134 int64_t eventTimeStamp = static_cast<int64_t>(event.time.time_since_epoch().count()); in HandleTouchDownEvent()
219 time_ = event.time; in HandleTouchMoveEvent()
275 void LongPressRecognizer::DeadlineTimer(int32_t time, bool isCatchMode) in DeadlineTimer() argument
286 task_ = { WeakClaim(this), GetSysTimestamp(), time, callback }; in DeadlineTimer()
296 taskExecutor.PostDelayedTask(deadlineTimer_, time, "ArkUIGestureLongPressDeadlineTimer"); in DeadlineTimer()
/foundation/multimodalinput/input/service/touch_event_normalize/src/
H A Dtouch_transform_processor.cpp63 uint64_t time = libinput_event_touch_get_time_usec(touch); in OnEventTouchDown() local
65 pointerEvent_->SetActionStartTime(time); in OnEventTouchDown()
68 pointerEvent_->SetActionTime(time); in OnEventTouchDown()
86 item.SetDownTime(time); in OnEventTouchDown()
152 uint64_t time = libinput_event_touch_get_time_usec(touch); in OnEventTouchMotion() local
153 pointerEvent_->SetActionTime(time); in OnEventTouchMotion()
200 uint64_t time = libinput_event_touch_get_time_usec(touch); in OnEventTouchUp() local
201 pointerEvent_->SetActionTime(time); in OnEventTouchUp()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-pcf85063.c81 * while reading, the time/date registers are blocked and not updated in pcf85063_rtc_read_time()
84 * time/date registers in one turn. in pcf85063_rtc_read_time()
91 /* if the clock has lost its power it makes no sense to use its time */ in pcf85063_rtc_read_time()
93 dev_warn(&pcf85063->rtc->dev, "Power loss detected, invalid time\n"); in pcf85063_rtc_read_time()
116 * to accurately set the time, reset the divider chain and keep it in in pcf85063_rtc_set_time()
117 * reset state until all time/date registers are written in pcf85063_rtc_set_time()
170 alrm->time.tm_sec = bcd2bin(buf[0] & 0x7f); in pcf85063_rtc_read_alarm()
171 alrm->time.tm_min = bcd2bin(buf[1] & 0x7f); in pcf85063_rtc_read_alarm()
172 alrm->time.tm_hour = bcd2bin(buf[2] & 0x3f); in pcf85063_rtc_read_alarm()
173 alrm->time in pcf85063_rtc_read_alarm()
[all...]
H A Drtc-ds1511.c8 * Real time clock driver for the Dallas 1511 chip, which also
176 * set the rtc chip's idea of the time.
319 pdata->alrm_mday = alrm->time.tm_mday; in ds1511_rtc_set_alarm()
320 pdata->alrm_hour = alrm->time.tm_hour; in ds1511_rtc_set_alarm()
321 pdata->alrm_min = alrm->time.tm_min; in ds1511_rtc_set_alarm()
322 pdata->alrm_sec = alrm->time.tm_sec; in ds1511_rtc_set_alarm()
338 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in ds1511_rtc_read_alarm()
339 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1511_rtc_read_alarm()
340 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in ds1511_rtc_read_alarm()
341 alrm->time in ds1511_rtc_read_alarm()
[all...]
H A Drtc-ds1343.c261 alarm->time.tm_sec = bcd2bin(buf[0]) & 0x7f; in ds1343_read_alarm()
262 alarm->time.tm_min = bcd2bin(buf[1]) & 0x7f; in ds1343_read_alarm()
263 alarm->time.tm_hour = bcd2bin(buf[2]) & 0x3f; in ds1343_read_alarm()
264 alarm->time.tm_mday = bcd2bin(buf[3]) & 0x3f; in ds1343_read_alarm()
282 buf[0] = bin2bcd(alarm->time.tm_sec); in ds1343_set_alarm()
283 buf[1] = bin2bcd(alarm->time.tm_min); in ds1343_set_alarm()
284 buf[2] = bin2bcd(alarm->time.tm_hour); in ds1343_set_alarm()
285 buf[3] = bin2bcd(alarm->time.tm_mday); in ds1343_set_alarm()
H A Drtc-ds1553.c102 /* give enough time to update RTC in case of continuous read */ in ds1553_rtc_read_time()
157 pdata->alrm_mday = alrm->time.tm_mday; in ds1553_rtc_set_alarm()
158 pdata->alrm_hour = alrm->time.tm_hour; in ds1553_rtc_set_alarm()
159 pdata->alrm_min = alrm->time.tm_min; in ds1553_rtc_set_alarm()
160 pdata->alrm_sec = alrm->time.tm_sec; in ds1553_rtc_set_alarm()
173 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in ds1553_rtc_read_alarm()
174 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1553_rtc_read_alarm()
175 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in ds1553_rtc_read_alarm()
176 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in ds1553_rtc_read_alarm()
H A Drtc-stk17ta8.c102 /* give enough time to update RTC in case of continuous read */ in stk17ta8_rtc_read_time()
165 pdata->alrm_mday = alrm->time.tm_mday; in stk17ta8_rtc_set_alarm()
166 pdata->alrm_hour = alrm->time.tm_hour; in stk17ta8_rtc_set_alarm()
167 pdata->alrm_min = alrm->time.tm_min; in stk17ta8_rtc_set_alarm()
168 pdata->alrm_sec = alrm->time.tm_sec; in stk17ta8_rtc_set_alarm()
181 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in stk17ta8_rtc_read_alarm()
182 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in stk17ta8_rtc_read_alarm()
183 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in stk17ta8_rtc_read_alarm()
184 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in stk17ta8_rtc_read_alarm()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-ds1343.c261 alarm->time.tm_sec = bcd2bin(buf[0]) & 0x7f; in ds1343_read_alarm()
262 alarm->time.tm_min = bcd2bin(buf[1]) & 0x7f; in ds1343_read_alarm()
263 alarm->time.tm_hour = bcd2bin(buf[2]) & 0x3f; in ds1343_read_alarm()
264 alarm->time.tm_mday = bcd2bin(buf[3]) & 0x3f; in ds1343_read_alarm()
282 buf[0] = bin2bcd(alarm->time.tm_sec); in ds1343_set_alarm()
283 buf[1] = bin2bcd(alarm->time.tm_min); in ds1343_set_alarm()
284 buf[2] = bin2bcd(alarm->time.tm_hour); in ds1343_set_alarm()
285 buf[3] = bin2bcd(alarm->time.tm_mday); in ds1343_set_alarm()
H A Drtc-ds1511.c8 * Real time clock driver for the Dallas 1511 chip, which also
170 * set the rtc chip's idea of the time.
313 pdata->alrm_mday = alrm->time.tm_mday; in ds1511_rtc_set_alarm()
314 pdata->alrm_hour = alrm->time.tm_hour; in ds1511_rtc_set_alarm()
315 pdata->alrm_min = alrm->time.tm_min; in ds1511_rtc_set_alarm()
316 pdata->alrm_sec = alrm->time.tm_sec; in ds1511_rtc_set_alarm()
332 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in ds1511_rtc_read_alarm()
333 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1511_rtc_read_alarm()
334 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in ds1511_rtc_read_alarm()
335 alrm->time in ds1511_rtc_read_alarm()
[all...]
H A Drtc-ds1553.c102 /* give enough time to update RTC in case of continuous read */ in ds1553_rtc_read_time()
157 pdata->alrm_mday = alrm->time.tm_mday; in ds1553_rtc_set_alarm()
158 pdata->alrm_hour = alrm->time.tm_hour; in ds1553_rtc_set_alarm()
159 pdata->alrm_min = alrm->time.tm_min; in ds1553_rtc_set_alarm()
160 pdata->alrm_sec = alrm->time.tm_sec; in ds1553_rtc_set_alarm()
173 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in ds1553_rtc_read_alarm()
174 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1553_rtc_read_alarm()
175 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in ds1553_rtc_read_alarm()
176 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in ds1553_rtc_read_alarm()
H A Drtc-pcf85063.c82 * while reading, the time/date registers are blocked and not updated in pcf85063_rtc_read_time()
85 * time/date registers in one turn. in pcf85063_rtc_read_time()
92 /* if the clock has lost its power it makes no sense to use its time */ in pcf85063_rtc_read_time()
94 dev_warn(&pcf85063->rtc->dev, "Power loss detected, invalid time\n"); in pcf85063_rtc_read_time()
117 * to accurately set the time, reset the divider chain and keep it in in pcf85063_rtc_set_time()
118 * reset state until all time/date registers are written in pcf85063_rtc_set_time()
172 alrm->time.tm_sec = bcd2bin(buf[0] & 0x7f); in pcf85063_rtc_read_alarm()
173 alrm->time.tm_min = bcd2bin(buf[1] & 0x7f); in pcf85063_rtc_read_alarm()
174 alrm->time.tm_hour = bcd2bin(buf[2] & 0x3f); in pcf85063_rtc_read_alarm()
175 alrm->time in pcf85063_rtc_read_alarm()
[all...]
H A Drtc-pcf8523.c148 * If the time cannot be set, restart the RTC anyway. Note in pcf8523_rtc_set_time()
173 tm->time.tm_sec = 0; in pcf8523_rtc_read_alarm()
174 tm->time.tm_min = bcd2bin(regs[0] & 0x7F); in pcf8523_rtc_read_alarm()
175 tm->time.tm_hour = bcd2bin(regs[1] & 0x3F); in pcf8523_rtc_read_alarm()
176 tm->time.tm_mday = bcd2bin(regs[2] & 0x3F); in pcf8523_rtc_read_alarm()
177 tm->time.tm_wday = bcd2bin(regs[3] & 0x7); in pcf8523_rtc_read_alarm()
215 regs[0] = bin2bcd(tm->time.tm_min); in pcf8523_rtc_set_alarm()
216 regs[1] = bin2bcd(tm->time.tm_hour); in pcf8523_rtc_set_alarm()
217 regs[2] = bin2bcd(tm->time.tm_mday); in pcf8523_rtc_set_alarm()
H A Drtc-stk17ta8.c102 /* give enough time to update RTC in case of continuous read */ in stk17ta8_rtc_read_time()
165 pdata->alrm_mday = alrm->time.tm_mday; in stk17ta8_rtc_set_alarm()
166 pdata->alrm_hour = alrm->time.tm_hour; in stk17ta8_rtc_set_alarm()
167 pdata->alrm_min = alrm->time.tm_min; in stk17ta8_rtc_set_alarm()
168 pdata->alrm_sec = alrm->time.tm_sec; in stk17ta8_rtc_set_alarm()
181 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in stk17ta8_rtc_read_alarm()
182 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in stk17ta8_rtc_read_alarm()
183 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in stk17ta8_rtc_read_alarm()
184 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in stk17ta8_rtc_read_alarm()
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Druntime-wrappers.c47 efi_time_t *time; member
52 efi_time_t *time; member
58 efi_time_t *time; member
63 efi_time_t *time; member
128 * finished, hence _only_ one work is queued at a time and the caller
228 args->GET_TIME.time, in efi_call_rts()
233 args->SET_TIME.time); in efi_call_rts()
239 args->GET_WAKEUP_TIME.time); in efi_call_rts()
244 args->SET_WAKEUP_TIME.time); in efi_call_rts()
/third_party/EGL/api/
H A Dgenheaders.py6 import sys, time, pdb, string, cProfile namespace
15 # timeit - time length of registry loading & header generation
34 startTime = time.process_time()
37 endTime = time.process_time()
168 format('/* Generated on date %s */' % time.strftime('%Y%m%d')),
174 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')),
179 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
184 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')),
189 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
571 elif (arg == '-time')
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir_schedule.c54 /* Longest time + latency_between(parent, this) of any parent of this
63 uint32_t time; member
487 if (chosen->unblocked_time > state->time && in choose_instruction()
491 } else if (n->unblocked_time > state->time && in choose_instruction()
624 state->time = 0; in schedule_instructions()
638 state->time = MAX2(state->time, chosen->unblocked_time); in schedule_instructions()
645 * be scheduled. Update the children's unblocked time for this in schedule_instructions()
654 state->time + in schedule_instructions()
671 state->time in schedule_instructions()
[all...]
/third_party/ltp/testcases/realtime/func/rt-migrate/
H A Drt-migrate.c28 * - Creates N+1 threads with lower real time priorities.
32 * - The thread records the start time and the number of ticks in the run
59 #include <time.h>
64 #include <sys/time.h>
186 "-r time Run time (ms) to busy loop the threads (20)\n" in usage()
187 "-t time Sleep time (ms) between intervals (100)\n" in usage()
188 "-e time Max allowed error (microsecs)\n" in usage()
223 static void record_time(int id, unsigned long long time, unsigne argument
301 unsigned long long time; busy_loop() local
[all...]
/third_party/node/deps/openssl/openssl/apps/
H A Ds_time.c62 {"new", OPT_NEW, '-', "Just time new connections"},
63 {"reuse", OPT_REUSE, '-', "Just time connection reuse"},
85 {"time", OPT_TIME, 'p', "Seconds to collect data, default " SECONDSSTR},
271 /* Loop and time how long it takes to make connections */ in s_time_main()
274 finishtime = (long)time(NULL) + maxtime; in s_time_main()
277 if (finishtime < (long)time(NULL)) in s_time_main()
312 totalTime += tm_Time_F(STOP); /* Add the time for this iteration */ in s_time_main()
314 i = (int)((long)time(NULL) - finishtime + maxtime); in s_time_main()
320 nConn, (long)time(NULL) - finishtime + maxtime, in s_time_main()
324 * Now loop and time connection in s_time_main()
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_windows_events.py5 import time namespace
44 time.sleep(0.1)
167 start = self.loop.time()
169 elapsed = self.loop.time() - start
182 start = self.loop.time()
184 elapsed = self.loop.time() - start
202 start = self.loop.time()
205 elapsed = self.loop.time() - start
222 # seems to work every time.

Completed in 21 milliseconds

1...<<31323334353637383940>>...356