/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_bufmgr.c | 95 fprintf(stderr, " oldest cache time: %ld\n", in vc4_bo_dump_stats() 97 fprintf(stderr, " newest cache time: %ld\n", in vc4_bo_dump_stats() 100 struct timespec time; in vc4_bo_dump_stats() local 101 clock_gettime(CLOCK_MONOTONIC, &time); in vc4_bo_dump_stats() 103 (intmax_t)time.tv_sec); in vc4_bo_dump_stats() 286 struct timespec time; in vc4_bo_last_unreference() local 287 clock_gettime(CLOCK_MONOTONIC, &time); in vc4_bo_last_unreference() 289 vc4_bo_last_unreference_locked_timed(bo, time.tv_sec); in vc4_bo_last_unreference() 294 free_stale_bos(struct vc4_screen *screen, time_t time) in free_stale_bos() argument 308 if (time in free_stale_bos() 335 vc4_bo_last_unreference_locked_timed(struct vc4_bo *bo, time_t time) vc4_bo_last_unreference_locked_timed() argument [all...] |
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | paravirt.h | 15 struct pv_time_ops time; member 22 return pv_ops.time.steal_clock(cpu); in paravirt_steal_clock()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | paravirt.h | 15 struct pv_time_ops time; member 22 return pv_ops.time.steal_clock(cpu); in paravirt_steal_clock()
|
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/ |
H A D | time.c | 9 #include <asm/mc146818-time.h> 10 #include <asm/time.h>
|
/kernel/linux/linux-6.6/arch/mips/loongson2ef/common/ |
H A D | time.c | 9 #include <asm/mc146818-time.h> 10 #include <asm/time.h>
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | rtc.h | 36 #include "time.h" 50 int linux_rtc_tm_to_time(struct tm *tm, unsigned long *time); 51 void linux_rtc_time_to_tm(unsigned long time, struct tm *tm);
|
/third_party/libwebsockets/win32port/win32helpers/ |
H A D | gettimeofday.h | 4 #include <time.h> 13 #include <sys/time.h>
|
/third_party/musl/src/time/ |
H A D | ftime.c | 2 #include <time.h> 8 tp->time = ts.tv_sec; in ftime()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/ctime/ |
H A D | 1-1.c | 10 * not NULL after converting the time value to a date and time string. 14 #include <time.h> 22 time(¤t_time); in main() 29 printf("converted date and time is: %s\n", in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/ |
H A D | 2-1.c | 14 #include <time.h> 22 (void)time(&the_time); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/ |
H A D | 1-1.c | 10 * a time value to a broken down local time. 14 #include <time.h> 22 current_time = time(NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
H A D | 3-1.c | 13 #include <time.h> 24 (void)time(&the_time); in main()
|
/third_party/musl/compat/time32/ |
H A D | time32.c | 2 #include <time.h> 8 time_t t = time(0); in __time32()
|
H A D | utimes_time32.c | 2 #include <time.h> 3 #include <sys/time.h>
|
/third_party/musl/libc-test/src/functionalext/supplement/prng/ |
H A D | rand.c | 17 #include <time.h> 30 srand((unsigned int)time(0)); in rand_0100()
|
/third_party/python/Lib/test/subprocessdata/ |
H A D | sigchild_ignore.py | 1 import signal, subprocess, sys, time namespace 12 time.sleep(0.01) # Avoid being a CPU busy loop.
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzrulets.cpp | 168 "RBTZ_Initial", // Initial time Name in TestSimpleRuleBasedTimeZone() 175 1*HOUR, DateTimeRule::WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone() 184 1*HOUR, DateTimeRule::WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone() 200 1*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in September at 1AM wall time in TestSimpleRuleBasedTimeZone() 207 1*HOUR, DateTimeRule::WALL_TIME); // SUN>=8 in February, at 1AM wall time in TestSimpleRuleBasedTimeZone() 218 // Equivalent, but different time rule type in TestSimpleRuleBasedTimeZone() 244 errln("FAIL: rbtz1 must be equivalent to the SimpleTimeZone in the time range."); in TestSimpleRuleBasedTimeZone() 250 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); in TestSimpleRuleBasedTimeZone() 256 errln("FAIL: rbtz3 must be equivalent to the SimpleTimeZone in the time range."); in TestSimpleRuleBasedTimeZone() 276 UDate time; in TestSimpleRuleBasedTimeZone() local 994 UDate time = getUTCMillis(TESTDATES[i][0], TESTDATES[i][1], TESTDATES[i][2]); TestVTimeZoneSimpleWrite() local 2331 UDate time; verifyTransitions() local 2419 UDate time = start; compareTransitionsAscending() local 2476 UDate time = end; compareTransitionsDescending() local 2554 UDate time = start; hasEquivalentTransitions() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/ |
H A D | rsanimationbase_fuzzer.cpp | 90 int64_t time = GetData<int64_t>(); in RSAnimationFractionFuzzerTest() local 106 animationFraction->GetAnimationFraction(time); in RSAnimationFractionFuzzerTest() 127 int64_t time = GetData<int64_t>(); in RSAnimationManagerFuzzerTest() local 146 animationManager->Animate(time, nodeIsOnTheTree, abilityState); in RSAnimationManagerFuzzerTest() 217 const int64_t time = GetData<int64_t>(); in RSAnimationTraceUtilsFuzzerTest() local 226 nodeId, nodeName, animationId, propertyId, fraction, value, time, animationDur, repeat); in RSAnimationTraceUtilsFuzzerTest() 512 float time = GetData<float>(); in RSSpringValueEstimatorFuzzerTest() local 523 springBaseValueEstimator->UpdateAnimationValue(time, isAdditive); in RSSpringValueEstimatorFuzzerTest() 524 springBaseValueEstimator->GetPropertyVelocity(time); in RSSpringValueEstimatorFuzzerTest() 537 springValueEstimator->UpdateAnimationValue(time, isAdditiv in RSSpringValueEstimatorFuzzerTest() 553 double time = GetData<double>(); RSSpringModelFuzzerTest() local [all...] |
/foundation/distributedhardware/distributed_audio/common/src/ |
H A D | daudio_util.cpp | 26 #include <sys/time.h> 207 struct timespec time; in GetCurrentTime() local 208 if (clock_gettime(CLOCK_MONOTONIC, &time) < 0) { in GetCurrentTime() 209 DHLOGE("Get current time failed"); in GetCurrentTime() 211 tvSec = time.tv_sec; in GetCurrentTime() 212 tvNSec = time.tv_nsec; in GetCurrentTime() 361 struct timespec time; in GetCurNano() local 363 int ret = clock_gettime(clockId, &time); in GetCurNano() 368 result = (time.tv_sec * AUDIO_NS_PER_SECOND) + time in GetCurNano() 379 struct timespec time; AbsoluteSleep() local [all...] |
/kernel/linux/linux-5.10/fs/pstore/ |
H A D | ram.c | 155 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, in ramoops_read_kmsg_hdr() argument 162 (time64_t *)&time->tv_sec, &time->tv_nsec, &data_type, in ramoops_read_kmsg_hdr() 164 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr() 170 (time64_t *)&time->tv_sec, &time->tv_nsec, in ramoops_read_kmsg_hdr() 172 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr() 175 time->tv_sec = 0; in ramoops_read_kmsg_hdr() 176 time->tv_nsec = 0; in ramoops_read_kmsg_hdr() 197 * Ramoops headers provide time stamp in ramoops_pstore_read() [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-omap.c | 348 alm->time.tm_sec = rtc_read(rtc, OMAP_RTC_ALARM_SECONDS_REG); in omap_rtc_read_alarm() 349 alm->time.tm_min = rtc_read(rtc, OMAP_RTC_ALARM_MINUTES_REG); in omap_rtc_read_alarm() 350 alm->time.tm_hour = rtc_read(rtc, OMAP_RTC_ALARM_HOURS_REG); in omap_rtc_read_alarm() 351 alm->time.tm_mday = rtc_read(rtc, OMAP_RTC_ALARM_DAYS_REG); in omap_rtc_read_alarm() 352 alm->time.tm_mon = rtc_read(rtc, OMAP_RTC_ALARM_MONTHS_REG); in omap_rtc_read_alarm() 353 alm->time.tm_year = rtc_read(rtc, OMAP_RTC_ALARM_YEARS_REG); in omap_rtc_read_alarm() 357 bcd2tm(&alm->time); in omap_rtc_read_alarm() 370 tm2bcd(&alm->time); in omap_rtc_set_alarm() 376 rtc_write(rtc, OMAP_RTC_ALARM_YEARS_REG, alm->time.tm_year); in omap_rtc_set_alarm() 377 rtc_write(rtc, OMAP_RTC_ALARM_MONTHS_REG, alm->time in omap_rtc_set_alarm() [all...] |
/kernel/linux/linux-6.6/fs/pstore/ |
H A D | ram.c | 145 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, in ramoops_read_kmsg_hdr() argument 152 (time64_t *)&time->tv_sec, &time->tv_nsec, &data_type, in ramoops_read_kmsg_hdr() 154 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr() 160 (time64_t *)&time->tv_sec, &time->tv_nsec, in ramoops_read_kmsg_hdr() 162 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr() 165 time->tv_sec = 0; in ramoops_read_kmsg_hdr() 166 time->tv_nsec = 0; in ramoops_read_kmsg_hdr() 187 * Ramoops headers provide time stamp in ramoops_pstore_read() [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-omap.c | 348 alm->time.tm_sec = rtc_read(rtc, OMAP_RTC_ALARM_SECONDS_REG); in omap_rtc_read_alarm() 349 alm->time.tm_min = rtc_read(rtc, OMAP_RTC_ALARM_MINUTES_REG); in omap_rtc_read_alarm() 350 alm->time.tm_hour = rtc_read(rtc, OMAP_RTC_ALARM_HOURS_REG); in omap_rtc_read_alarm() 351 alm->time.tm_mday = rtc_read(rtc, OMAP_RTC_ALARM_DAYS_REG); in omap_rtc_read_alarm() 352 alm->time.tm_mon = rtc_read(rtc, OMAP_RTC_ALARM_MONTHS_REG); in omap_rtc_read_alarm() 353 alm->time.tm_year = rtc_read(rtc, OMAP_RTC_ALARM_YEARS_REG); in omap_rtc_read_alarm() 357 bcd2tm(&alm->time); in omap_rtc_read_alarm() 370 tm2bcd(&alm->time); in omap_rtc_set_alarm() 376 rtc_write(rtc, OMAP_RTC_ALARM_YEARS_REG, alm->time.tm_year); in omap_rtc_set_alarm() 377 rtc_write(rtc, OMAP_RTC_ALARM_MONTHS_REG, alm->time in omap_rtc_set_alarm() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/ |
H A D | rtsp_sdp.h | 46 // r=<repeat interval> <active duration> <offsets from start-time> 48 // t=<start-time> <stop-time> 49 std::pair<uint64_t, uint64_t> time{UINT64_MAX, UINT64_MAX}; 50 // z=<adjustment time> <offset> <adjustment time> <offset> ... 63 SessionTime time; // time descriptions member 173 return session_.time.time; in GetTime() [all...] |
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/ |
H A D | mock_accessible_ability_manager_config_observer_stub.cpp | 159 uint32_t time = data.ReadUint32(); in HandleOnClickResponseTimeChanged() local 160 OnClickResponseTimeChanged(time); in HandleOnClickResponseTimeChanged() 169 uint32_t time = data.ReadUint32(); in HandleOnIgnoreRepeatClickTimeChanged() local 170 OnIgnoreRepeatClickTimeChanged(time); in HandleOnIgnoreRepeatClickTimeChanged()
|