/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_007.cpp | 112 …ret = setsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_USER_AD… in TcpTest() 113 static_cast<socklen_t>(sizeof(struct timeval))); in TcpTest() 116 …ret = setsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_KERNEL_… in TcpTest() 117 static_cast<socklen_t>(sizeof(struct timeval))); in TcpTest() 120 …ret = getsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_USER_AD… in TcpTest() 121 reinterpret_cast<socklen_t *>(sizeof(struct timeval))); in TcpTest() 124 …ret = getsockopt(lsfd, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<struct timeval *>(INVALID_KERNEL_… in TcpTest() 125 reinterpret_cast<socklen_t *>(sizeof(struct timeval))); in TcpTest()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | elfcore.h | 46 struct timeval pr_utime; 47 struct timeval pr_stime; 48 struct timeval pr_cutime; 49 struct timeval pr_cstime;
|
D | time.h | 16 struct timeval { struct 32 struct timeval it_interval; argument 33 struct timeval it_value;
|
D | resource.h | 15 struct timeval ru_utime; 16 struct timeval ru_stime;
|
D | ppdev.h | 32 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 33 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | time.h | 17 struct timeval { struct 28 struct timeval it_interval;/* timer interval */ argument 29 struct timeval it_value; /* current value */
|
D | ppdev.h | 81 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 82 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | time.h | 30 struct timeval { struct 39 struct timeval it_interval; argument 40 struct timeval it_value;
|
D | resource.h | 28 struct timeval ru_utime; 29 struct timeval ru_stime;
|
D | ppdev.h | 47 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 48 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
D | posix_timers.c | 62 static int check_diff(struct timeval start, struct timeval end) in check_diff() 80 struct timeval start, end; in check_itimer() 142 struct timeval start, end; in check_timer_create()
|
D | set-tz.c | 41 struct timeval tv; in get_tz_min() 51 struct timeval tv; in get_tz_dst()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
D | test_vsyscall.c | 57 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); 161 static inline long sys_gtod(struct timeval *tv, struct timezone *tz) in sys_gtod() 193 static double tv_diff(const struct timeval *a, const struct timeval *b) in tv_diff() 199 static int check_gtod(const struct timeval *tv_sys1, in check_gtod() 200 const struct timeval *tv_sys2, in check_gtod() 203 const struct timeval *tv_other, in check_gtod() 230 struct timeval tv_sys1, tv_sys2, tv_vdso, tv_vsys; in test_gtod()
|
D | test_vdso.c | 39 typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz); 129 static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday() 194 static bool tv_leq(const struct timeval *a, const struct timeval *b) in tv_leq() 280 struct timeval start, vdso, end; in test_gettimeofday()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/ |
D | pthread_mutex_test_018.cpp | 47 struct timeval timeVal = { 0 }; in ThreadFuncTest2() 72 struct timeval timeVal = { 0 }; in ThreadFuncTest1() 108 struct timeval time = { 0 }; in Testcase() 109 struct timeval timeVal = { 0 }; in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | timestamping.c | 120 struct timeval now; in sendpacket() 141 struct timeval tv; in printpacket() 143 struct timeval now; in printpacket() 162 struct timeval *stamp = in printpacket() 163 (struct timeval *)CMSG_DATA(cmsg); in printpacket() 315 struct timeval next; in main() 465 struct timeval now; in main() 466 struct timeval delta; in main()
|
D | fin_ack_lat.c | 17 static unsigned long timediff(struct timeval s, struct timeval e) in timediff() 36 struct timeval start, end; in client()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/ |
D | vdso_test_gettimeofday.c | 46 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main() 54 struct timeval tv; in main()
|
D | vdso_standalone_test_x86.c | 88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main() 94 struct timeval tv; in c_main()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
D | pthread_mutex_test_008.cpp | 45 struct timeval timeVal = { 0 }; in ThreadFuncTest3() 71 struct timeval timeVal = { 0 }; in ThreadFuncTest2() 98 struct timeval timeVal = { 0 }; in ThreadFuncTest1()
|
D | pthread_mutex_test_019.cpp | 71 struct timeval timeVal = { 0 }; in ThreadFuncTest1() 111 struct timeval time = { 0 }; in Testcase() 112 struct timeval timeVal = { 0 }; in Testcase()
|
D | pthread_mutex_test_021.cpp | 95 struct timeval timeVal = { 0 }; in ThreadFuncTest0() 138 struct timeval time = { 0 }; in Testcase() 139 struct timeval timeVal = { 0 }; in Testcase()
|
D | pthread_mutex_test_022.cpp | 95 struct timeval timeVal = { 0 }; in ThreadFuncTest0() 138 struct timeval time = { 0 }; in Testcase() 139 struct timeval timeVal = { 0 }; in Testcase()
|
D | pthread_mutex_test_020.cpp | 95 struct timeval timeVal = { 0 }; in ThreadFuncTest0() 138 struct timeval time = { 0 }; in Testcase() 139 struct timeval timeVal = { 0 }; in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
D | mkinitrd.sh | 40 struct timeval tv; 41 struct timeval tvb;
|