Lines Matching refs:tv
26 * @tc.desc : Test that the function returns a value when tv points to a null pointer
39 * @tc.desc : Test the return value of the function when usec in the parameter tv is 1000000ULL
44 struct timeval tv;
45 tv.tv_sec = 0;
46 tv.tv_usec = 1000000ULL;
48 int result = settimeofday(&tv, NULL);
61 struct timeval tv;
62 tv.tv_sec = 864000 + 36000 + 60;
63 tv.tv_usec = 0;
65 int result = settimeofday(&tv, NULL);
73 * @tc.desc : Test the return value of the function when usec in the parameter tv is 1000000ULL
78 struct timeval tv;
79 tv.tv_sec = 0;
80 tv.tv_usec = 1000000ULL;
82 int result = __settimeofday_time64(&tv, NULL);