/kernel/linux/linux-5.10/drivers/firmware/efi/test/ |
H A D | efi_test.h | 48 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 D | setdate.c | 12 #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 D | efi_test.h | 48 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 D | setdate.c | 12 #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 D | lametime.c | 2 * 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 D | ztrans.cpp | 29 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 D | ztrans.cpp | 29 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 D | util-time.h | 29 #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 D | sched_tc0.c | 29 | 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 D | 5-2.c | 25 #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 D | utime_sup.c | 19 #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 D | mcast.py | 19 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 D | benchmark.py | 7 from time import time namespace 43 start = time() 45 end = time()
|
/third_party/pulseaudio/src/tests/ |
H A D | cpulimit-test.c | 23 #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 D | ztrans.cpp | 29 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 D | OboeStreamCallbackProxy.cpp | 46 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 D | deClock.c | 26 #include <time.h> 32 # include <time.h> 34 # include <sys/time.h> 82 return (deUint64)time(DE_NULL); in deGetTime()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-rv8803.c | 369 alrm->time.tm_sec = 0; in rv8803_get_alarm() 370 alrm->time.tm_min = bcd2bin(alarmvals[0]); in rv8803_get_alarm() 371 alrm->time.tm_hour = bcd2bin(alarmvals[1]); in rv8803_get_alarm() 372 alrm->time.tm_mday = bcd2bin(alarmvals[2]); in rv8803_get_alarm() 377 if ((unsigned int)alrm->time.tm_mday > 31 || in rv8803_get_alarm() 378 (unsigned int)alrm->time.tm_hour >= 24 || in rv8803_get_alarm() 379 (unsigned int)alrm->time.tm_min >= 60) in rv8803_get_alarm() 398 if (alrm->time.tm_sec) { in rv8803_set_alarm() 399 time64_t alarm_time = rtc_tm_to_time64(&alrm->time); in rv8803_set_alarm() 401 alarm_time += 60 - alrm->time in rv8803_set_alarm() [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | smu.c | 12 * - blocking version of time functions 365 struct rtc_time *time) in smu_fill_set_rtc_cmd() 370 cmd_buf->data[1] = hex2bcd(time->tm_sec); in smu_fill_set_rtc_cmd() 371 cmd_buf->data[2] = hex2bcd(time->tm_min); in smu_fill_set_rtc_cmd() 372 cmd_buf->data[3] = hex2bcd(time->tm_hour); in smu_fill_set_rtc_cmd() 373 cmd_buf->data[4] = time->tm_wday; in smu_fill_set_rtc_cmd() 374 cmd_buf->data[5] = hex2bcd(time->tm_mday); in smu_fill_set_rtc_cmd() 375 cmd_buf->data[6] = hex2bcd(time->tm_mon) + 1; in smu_fill_set_rtc_cmd() 376 cmd_buf->data[7] = hex2bcd(time->tm_year - 100); in smu_fill_set_rtc_cmd() 380 int smu_get_rtc_time(struct rtc_time *time, in argument 364 smu_fill_set_rtc_cmd(struct smu_cmd_buf *cmd_buf, struct rtc_time *time) smu_fill_set_rtc_cmd() argument 407 smu_set_rtc_time(struct rtc_time *time, int spinwait) smu_set_rtc_time() argument [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | smu.c | 12 * - blocking version of time functions 366 struct rtc_time *time) in smu_fill_set_rtc_cmd() 371 cmd_buf->data[1] = hex2bcd(time->tm_sec); in smu_fill_set_rtc_cmd() 372 cmd_buf->data[2] = hex2bcd(time->tm_min); in smu_fill_set_rtc_cmd() 373 cmd_buf->data[3] = hex2bcd(time->tm_hour); in smu_fill_set_rtc_cmd() 374 cmd_buf->data[4] = time->tm_wday; in smu_fill_set_rtc_cmd() 375 cmd_buf->data[5] = hex2bcd(time->tm_mday); in smu_fill_set_rtc_cmd() 376 cmd_buf->data[6] = hex2bcd(time->tm_mon) + 1; in smu_fill_set_rtc_cmd() 377 cmd_buf->data[7] = hex2bcd(time->tm_year - 100); in smu_fill_set_rtc_cmd() 381 int smu_get_rtc_time(struct rtc_time *time, in argument 365 smu_fill_set_rtc_cmd(struct smu_cmd_buf *cmd_buf, struct rtc_time *time) smu_fill_set_rtc_cmd() argument 408 smu_set_rtc_time(struct rtc_time *time, int spinwait) smu_set_rtc_time() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | task-analyzer.py | 93 "--time-limit", 96 "print tasks only in time[s] window e.g" 97 " --time-limit 123.111:789.222(print all between 123.111 and 789.222)" 98 " --time-limit 123: (print all from 123)" 99 " --time-limit :456 (print all until incl. 456)", 233 The elapsed time between two occurrences of the same task is being tracked with the 236 The first half of the name signals the first time point of the 543 def schedule_in_at(self, time): 544 """set the time where the task was scheduled in""" 545 self._time_in = time [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | priv.h | 14 void (*time)(struct nvkm_timer *, u64 time); member 15 void (*alarm_init)(struct nvkm_timer *, u32 time);
|
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | time.h | 3 * time.h - NTFS time conversion functions. Part of the Linux-NTFS project. 11 #include <linux/time.h> /* For current_kernel_time(). */ 19 * utc2ntfs - convert Linux UTC time to NTFS time 20 * @ts: Linux UTC time to convert to NTFS time 22 * Convert the Linux UTC time @ts to its corresponding NTFS time and return 25 * Linux stores time i 74 ntfs2utc(const sle64 time) ntfs2utc() argument [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | time.h | 3 * time.h - NTFS time conversion functions. Part of the Linux-NTFS project. 11 #include <linux/time.h> /* For current_kernel_time(). */ 19 * utc2ntfs - convert Linux UTC time to NTFS time 20 * @ts: Linux UTC time to convert to NTFS time 22 * Convert the Linux UTC time @ts to its corresponding NTFS time and return 25 * Linux stores time i 74 ntfs2utc(const sle64 time) ntfs2utc() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | priv.h | 14 void (*time)(struct nvkm_timer *, u64 time); member 15 void (*alarm_init)(struct nvkm_timer *, u32 time);
|