Home
last modified time | relevance | path

Searched refs:time (Results 501 - 525 of 9218) sorted by relevance

1...<<21222324252627282930>>...369

/foundation/systemabilitymgr/samgr/test/autotest/testcases/level0/
H A Dcase12_delay_time001.py17 import time namespace
51 time.sleep(1)
57 time.sleep(5)
63 time.sleep(1)
H A Dcase13_param001.py17 import time namespace
51 time.sleep(1)
57 time.sleep(20)
63 time.sleep(1)
/foundation/communication/netstack/utils/profiler_utils/include/
H A Di_network_message.h36 #define CURL_GET_TIME_INFO(curl, options, time, timeInfo) \
38 CURL_GET_INFO((curl), (options), &(time)); \
39 (timeInfo).time = static_cast<uint64_t>(time); \
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/
H A Dsecret_key_meta_data.cpp31 SetValue(node[GET_NAME(time)], time); in Marshal()
39 GetValue(node, GET_NAME(time), time); in Unmarshal()
/kernel/linux/linux-5.10/drivers/firmware/efi/test/
H A Defi_test.h48 efi_time_t *time; member
54 efi_time_t *time; member
61 efi_time_t *time; member
67 efi_time_t *time; member
/kernel/linux/linux-5.10/tools/testing/selftests/rtc/
H A Dsetdate.c12 #include <sys/time.h>
26 const char *time = default_time; in main() local
30 time = argv[3]; in main()
50 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main()
52 fprintf(stderr, "Test will set RTC date/time to %d-%d-%d, %02d:%02d:%02d.\n", in main()
71 fprintf(stderr, "\n\nCurrent RTC date/time is %d-%d-%d, %02d:%02d:%02d.\n", in main()
/kernel/linux/linux-6.6/drivers/firmware/efi/test/
H A Defi_test.h48 efi_time_t *time; member
54 efi_time_t *time; member
61 efi_time_t *time; member
67 efi_time_t *time; member
/kernel/linux/linux-6.6/tools/testing/selftests/rtc/
H A Dsetdate.c12 #include <sys/time.h>
26 const char *time = default_time; in main() local
30 time = argv[3]; in main()
50 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main()
52 fprintf(stderr, "Test will set RTC date/time to %d-%d-%d, %02d:%02d:%02d.\n", in main()
71 fprintf(stderr, "\n\nCurrent RTC date/time is %d-%d-%d, %02d:%02d:%02d.\n", in main()
/third_party/lame/frontend/
H A Dlametime.c2 * Lame time routines source file
27 * description: returns CPU time used by the process
29 * output: time in seconds
43 #include <time.h>
74 * description: returns real (human) time elapsed relative to a fixed time (mostly 1970-01-01 00:00:00)
76 * output: time in seconds
77 * known bugs: bad precision with time()
82 # include <sys/time.h>
107 return t.time in GetRealTime()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dztrans.cpp29 ztrans_open(UDate time, const void* from, const void* to){ in ztrans_open() argument
30 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to); in ztrans_open()
59 ztrans_setTime(ZTrans* trans, UDate time) { in ztrans_setTime() argument
60 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTime(time); in ztrans_setTime()
/third_party/icu/icu4c/source/i18n/
H A Dztrans.cpp29 ztrans_open(UDate time, const void* from, const void* to){ in ztrans_open() argument
30 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to); in ztrans_open()
59 ztrans_setTime(ZTrans* trans, UDate time) { in ztrans_setTime() argument
60 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTime(time); in ztrans_setTime()
/third_party/libinput/src/
H A Dutil-time.h29 #include <time.h>
91 us2tv(uint64_t time) in us2tv() argument
95 tv.tv_sec = time / ms2us(1000); in us2tv()
96 tv.tv_usec = time % ms2us(1000); in us2tv()
107 * Converts a time delta in µs to a human-readable time like "2h" or "4d"
/third_party/ltp/testcases/kernel/sched/sched_stress/
H A Dsched_tc0.c29 | for a specified time duration |
46 #include <sys/time.h>
57 * DEFAULT_EXECUTION_TIME: default execution time (in seconds)
63 " -t sec execution time (default 1800 sec) \n" \
85 * execution_time: testcase execution time (hours)
104 long start_time; /* time at start of testcase */ in main()
125 * Adjust the priority of this process if the real time flag is set in main()
138 * Continuously read through file as time permits... in main()
141 start_time = time(NULL); in main()
145 while ((time(NUL in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
H A D5-2.c25 #include <time.h>
75 ts.tv_sec = time(NULL) + TIMEOUT; in main()
77 oldtime = time(NULL); in main()
79 newtime = time(NULL); in main()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dutime_sup.c19 #include <time.h>
43 time(&ubuf.actime); in utime_0100()
49 t_error("%s modify file time failed", __func__); in utime_0100()
58 * @tc.desc : When times is a NULL pointer, the access and modification times are set to the current time
77 t_now = time(NULL); in utime_0200()
107 time(&ubuf.actime); in utime64_0100()
113 t_error("%s modify file time failed", __func__); in utime64_0100()
/third_party/python/Tools/demo/
H A Dmcast.py19 import time namespace
46 data = repr(time.time()).encode('utf-8') + b'\0'
48 time.sleep(1)
/third_party/python/Tools/peg_generator/scripts/
H A Dbenchmark.py7 from time import time namespace
43 start = time()
45 end = time()
/third_party/pulseaudio/src/tests/
H A Dcpulimit-test.c23 #include <time.h>
46 time(&now); in func()
66 time(&start); in START_TEST()
77 time(&now); in START_TEST()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dztrans.cpp29 ztrans_open(UDate time, const void* from, const void* to){ in ztrans_open() argument
30 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to); in ztrans_open()
59 ztrans_setTime(ZTrans* trans, UDate time) { in ztrans_setTime() argument
60 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTime(time); in ztrans_setTime()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
H A DOboeStreamCallbackProxy.cpp46 struct timespec time; in getNanoseconds() local
47 int result = clock_gettime(clockId, &time); in getNanoseconds()
51 return (time.tv_sec * 1e9) + time.tv_nsec; in getNanoseconds()
/third_party/vk-gl-cts/framework/delibs/deutil/
H A DdeClock.c26 #include <time.h>
32 # include <time.h>
34 # include <sys/time.h>
82 return (deUint64)time(DE_NULL); in deGetTime()
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dswipe_recognizer.cpp88 firstInputTime_ = event.time; in HandleTouchDownEvent()
116 time_ = event.time; in HandleTouchDownEvent()
120 touchDownTime_ = event.time; in HandleTouchDownEvent()
128 firstInputTime_ = event.time; in HandleTouchDownEvent()
142 touchDownTime_ = event.time; in HandleTouchDownEvent()
143 time_ = event.time; in HandleTouchDownEvent()
156 time_ = event.time; in HandleTouchUpEvent()
167 std::chrono::duration<double> duration = event.time - touchDownTime_; in HandleTouchUpEvent()
199 time_ = event.time; in HandleTouchUpEvent()
216 auto duration = event.time in HandleTouchUpEvent()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dmpic_timer.c86 const u64 ticks, time64_t *time) in convert_ticks_to_time()
88 *time = (u64)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time()
91 /* the time set by the user is converted to "ticks" */
93 time64_t time, u64 *ticks) in convert_time_to_ticks()
99 if (time > max_value) in convert_time_to_ticks()
102 *ticks = (u64)time * (u64)priv->timerfreq; in convert_time_to_ticks()
171 /* Two cascade timers: Support the maximum time */ in get_cascade_timer()
191 static struct mpic_timer *get_timer(time64_t time) in get_timer() argument
203 ret = convert_time_to_ticks(priv, time, &ticks); in get_timer()
281 * mpic_get_remain_time - get timer time
85 convert_ticks_to_time(struct timer_group_priv *priv, const u64 ticks, time64_t *time) convert_ticks_to_time() argument
92 convert_time_to_ticks(struct timer_group_priv *priv, time64_t time, u64 *ticks) convert_time_to_ticks() argument
287 mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) mpic_get_remain_time() argument
358 mpic_request_timer(irq_handler_t fn, void *dev, time64_t time) mpic_request_timer() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dmpic_timer.c85 const u64 ticks, time64_t *time) in convert_ticks_to_time()
87 *time = (u64)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time()
90 /* the time set by the user is converted to "ticks" */
92 time64_t time, u64 *ticks) in convert_time_to_ticks()
98 if (time > max_value) in convert_time_to_ticks()
101 *ticks = (u64)time * (u64)priv->timerfreq; in convert_time_to_ticks()
170 /* Two cascade timers: Support the maximum time */ in get_cascade_timer()
190 static struct mpic_timer *get_timer(time64_t time) in get_timer() argument
202 ret = convert_time_to_ticks(priv, time, &ticks); in get_timer()
280 * mpic_get_remain_time - get timer time
84 convert_ticks_to_time(struct timer_group_priv *priv, const u64 ticks, time64_t *time) convert_ticks_to_time() argument
91 convert_time_to_ticks(struct timer_group_priv *priv, time64_t time, u64 *ticks) convert_time_to_ticks() argument
286 mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) mpic_get_remain_time() argument
357 mpic_request_timer(irq_handler_t fn, void *dev, time64_t time) mpic_request_timer() argument
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-twl.c250 * Gets current TWL RTC time and date parameters.
252 * The RTC's time/alarm representation is not what gmtime(3) requires
350 /* update all the time registers in one shot */ in twl_rtc_set_time()
367 * Gets current TWL RTC alarm time.
383 alm->time.tm_sec = bcd2bin(rtc_data[0]); in twl_rtc_read_alarm()
384 alm->time.tm_min = bcd2bin(rtc_data[1]); in twl_rtc_read_alarm()
385 alm->time.tm_hour = bcd2bin(rtc_data[2]); in twl_rtc_read_alarm()
386 alm->time.tm_mday = bcd2bin(rtc_data[3]); in twl_rtc_read_alarm()
387 alm->time.tm_mon = bcd2bin(rtc_data[4]) - 1; in twl_rtc_read_alarm()
388 alm->time in twl_rtc_read_alarm()
[all...]

Completed in 9 milliseconds

1...<<21222324252627282930>>...369