Lines Matching refs:tv
41 print_tv(const struct timeval *tv) in print_tv() argument
44 (long long) tv->tv_sec, in print_tv()
45 zero_extend_signed_to_ull(tv->tv_usec)); in print_tv()
46 print_time_t_usec(tv->tv_sec, in print_tv()
47 zero_extend_signed_to_ull(tv->tv_usec), 1); in print_tv()
74 struct timeval *const tv = tail_alloc(sizeof(*tv) * 2); in main() local
110 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 1)); in main()
112 qname, tv + 1, errstr); in main()
114 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 2)); in main()
116 qname, tv + 2, errstr); in main()
118 tv[0].tv_sec = 0xdeadbeefU; in main()
119 tv[0].tv_usec = 0xfacefeedU; in main()
120 tv[1].tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
121 tv[1].tv_usec = (suseconds_t) 0xbadc0dedfacefeedLL; in main()
123 k_futimesat(kfdcwd, kfname, (uintptr_t) tv); in main()
125 print_tv(&tv[0]); in main()
127 print_tv(&tv[1]); in main()
130 tv[0].tv_sec = 1492356708; in main()
131 tv[0].tv_usec = 567891234; in main()
132 tv[1].tv_sec = 1492357086; in main()
133 tv[1].tv_usec = 678902345; in main()
135 k_futimesat(kfdcwd, kfname, (uintptr_t) tv); in main()
137 print_tv(&tv[0]); in main()
139 print_tv(&tv[1]); in main()
142 tv[0].tv_usec = 567891; in main()
143 tv[1].tv_usec = 678902; in main()
145 k_futimesat(kfdcwd, kfname, (uintptr_t) tv); in main()
147 print_tv(&tv[0]); in main()
149 print_tv(&tv[1]); in main()
153 k_futimesat(kfdcwd, kfname, f8ill_ptr_to_kulong(tv)); in main()
155 qname, (uintmax_t) f8ill_ptr_to_kulong(tv), errstr); in main()