/kernel/linux/linux-5.10/tools/laptop/dslm/ |
D | dslm.c | 58 static char *myctime(time_t time) in myctime() 68 time_t start_time; in measure() 70 time_t last_time; in measure() 72 time_t curr_time = 0; in measure() 73 time_t time_diff; in measure() 74 time_t active_time = 0; in measure() 75 time_t sleep_time = 0; in measure() 76 time_t unknown_time = 0; in measure() 77 time_t total_time = 0; in measure()
|
/kernel/liteos_m/kal/posix/src/ |
D | time.c | 497 time_t time(time_t *timer) in time() 500 time_t sec; in time() 519 return (time_t)-1; in time() 535 static INT32 ConvertSecs2Utc(time_t t, INT32 offset, struct tm *tp) in ConvertSecs2Utc() 537 time_t days; in ConvertSecs2Utc() 538 time_t rem; in ConvertSecs2Utc() 539 time_t year; in ConvertSecs2Utc() 540 time_t month; in ConvertSecs2Utc() 541 time_t yearGuess; in ConvertSecs2Utc() 595 struct tm *gmtime_r(const time_t *timep, struct tm *result) in gmtime_r() [all …]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | socket.h | 105 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 106 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 107 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 108 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 109 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
D | socket.h | 133 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 134 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 135 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 137 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 138 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | socket.h | 148 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 149 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 150 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 152 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 153 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | socket.h | 137 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 138 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 139 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 141 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 142 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
D | socket.h | 131 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 132 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 133 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 135 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 136 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | socket.h | 128 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 129 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 130 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 132 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 133 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | socket.h | 133 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 134 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 135 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 137 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 138 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | socket.h | 104 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N… 105 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA… 106 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… 107 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) 108 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
|
/kernel/liteos_m/testsuites/unittest/posix/src/time/ |
D | time_func_test_01.c | 200 time_t time1 = 18880; 202 LOG("\nsizeof(time_t) = %d, sizeof(struct tm) = %d", sizeof(time_t), sizeof(struct tm)); 237 time_t tStart; 238 time_t tEnd; 270 time_t tStart = LONG_MAX; 304 time_t tStart; 305 time_t tEnd; 340 time_t tStart; 341 time_t tEnd; 379 time_t tStart = LONG_MAX; [all …]
|
/kernel/liteos_m/testsuites/unittest/xts/time/ |
D | time_utils_test.c | 33 time_t g_time = 18880; /* 18880, common data for test, no special meaning */ 65 time_t timeRet = mktime(&timeptr); 70 time_t timep = mktime(localTime);
|
/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
D | timens.c | 35 time_t offset; 90 static int test_gettime(clockid_t clock_index, bool raw_syscall, time_t offset) in test_gettime() 153 time_t offset; in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
D | set-2038.c | 53 now.tv_sec = (time_t)time; in settime() 78 time_t start; in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 444 time_t prog_start = time(NULL); in test_pidfd_poll_exec() 466 time_t prog_time = time(NULL) - prog_start; in test_pidfd_poll_exec() 487 static time_t *child_exit_secs; 545 time_t since_child_exit = time(NULL) - *child_exit_secs; in test_pidfd_poll_leader_exit()
|
/kernel/linux/linux-5.10/tools/testing/selftests/rtc/ |
D | rtctest.c | 117 time_t secs, new; in TEST_F() 171 time_t secs, new; in TEST_F() 219 time_t secs, new; 273 time_t secs, new;
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | sched.h | 46 time_t __reserved1;
|
/kernel/liteos_m/testsuites/unittest/fuzz/src/time/ |
D | time_fuzz.c | 45 time_t tloc; in TimeFuzzTest()
|
D | gmtime_fuzz.c | 46 time_t timep; in GmtimeFuzzTest()
|
D | localtime_fuzz.c | 46 time_t timep; in LocaltimeFuzzTest()
|
D | localtime_r_fuzz.c | 46 time_t timep; in LocaltimerFuzzTest()
|
/kernel/liteos_a/fs/jffs2/include/ |
D | vfs_jffs2.h | 75 time_t Jffs2CurSec(void);
|
/kernel/liteos_a/syscall/ |
D | time_syscall.c | 90 time_t SysTime(time_t *tloc) in SysTime() 93 time_t stloc; in SysTime() 100 if (tloc && LOS_ArchCopyToUser(tloc, &stloc, sizeof(time_t))) { in SysTime()
|
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/ |
D | timer_test_tzset_002.cpp | 41 time_t td; in testcase()
|
D | timer_test_tzset_001.cpp | 41 time_t td; in testcase()
|