Lines Matching refs:tv_sec
28 if (sscanf(argv[1], "%ld", &now.tv_sec) != 1)
33 if (abs(tst.tv_sec - now.tv_sec) > 5)
34 return pr_fail("%ld %ld\n", now.tv_sec, tst.tv_sec);
53 if (abs(tst.tv_sec - now.tv_sec) > 5)
55 now.tv_sec, tst.tv_sec);
73 if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5)
75 now.tv_sec + OFFSET, tst.tv_sec);
79 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec + OFFSET);