Home
last modified time | relevance | path

Searched refs:time_t (Results 1 – 25 of 94) sorted by relevance

1234

/kernel/linux/linux-5.10/tools/laptop/dslm/
Ddslm.c58 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/
Dtime.c497 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/
Dsocket.h105 #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/
Dsocket.h133 #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/
Dsocket.h148 #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/
Dsocket.h137 #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/
Dsocket.h131 #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/
Dsocket.h128 #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/
Dsocket.h133 #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/
Dsocket.h104 #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/
Dtime_func_test_01.c200 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/
Dtime_utils_test.c33 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/
Dtimens.c35 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/
Dset-2038.c53 now.tv_sec = (time_t)time; in settime()
78 time_t start; in main()
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
Dpidfd_test.c444 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/
Drtctest.c117 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/
Dsched.h46 time_t __reserved1;
/kernel/liteos_m/testsuites/unittest/fuzz/src/time/
Dtime_fuzz.c45 time_t tloc; in TimeFuzzTest()
Dgmtime_fuzz.c46 time_t timep; in GmtimeFuzzTest()
Dlocaltime_fuzz.c46 time_t timep; in LocaltimeFuzzTest()
Dlocaltime_r_fuzz.c46 time_t timep; in LocaltimerFuzzTest()
/kernel/liteos_a/fs/jffs2/include/
Dvfs_jffs2.h75 time_t Jffs2CurSec(void);
/kernel/liteos_a/syscall/
Dtime_syscall.c90 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/
Dtimer_test_tzset_002.cpp41 time_t td; in testcase()
Dtimer_test_tzset_001.cpp41 time_t td; in testcase()

1234