Home | History | Annotate | Download | only in tests-mx32

Lines Matching refs:tv

48 print_tv(const TEST_STRUCT *const tv)
51 (long long) tv->tv_sec,
52 zero_extend_signed_to_ull(tv->tv_usec));
53 print_time_t_usec(tv->tv_sec,
54 zero_extend_signed_to_ull(tv->tv_usec), 1);
75 TEST_STRUCT *const tv = tail_alloc(sizeof(*tv) * 2);
99 k_utimes(kfname, (uintptr_t) (tv + 1));
101 qname, tv + 1, errstr);
103 k_utimes(kfname, (uintptr_t) (tv + 2));
105 qname, tv + 2, errstr);
107 tv[0].tv_sec = 0xdeadbeefU;
108 tv[0].tv_usec = 0xfacefeedU;
109 tv[1].tv_sec = (time_t) 0xcafef00ddeadbeefLL;
110 tv[1].tv_usec = (suseconds_t) 0xbadc0dedfacefeedLL;
112 k_utimes(kfname, (uintptr_t) tv);
114 print_tv(&tv[0]);
116 print_tv(&tv[1]);
119 tv[0].tv_sec = 1492358607;
120 tv[0].tv_usec = 1000000;
121 tv[1].tv_sec = 1492356078;
122 tv[1].tv_usec = 1000001;
124 k_utimes(kfname, (uintptr_t) tv);
126 print_tv(&tv[0]);
128 print_tv(&tv[1]);
131 tv[0].tv_usec = 345678;
132 tv[1].tv_usec = 456789;
134 k_utimes(kfname, (uintptr_t) tv);
136 print_tv(&tv[0]);
138 print_tv(&tv[1]);
142 k_utimes(kfname, f8ill_ptr_to_kulong(tv));
144 qname, (uintmax_t) f8ill_ptr_to_kulong(tv), errstr);