Lines Matching full:1
23 year -= 1; in mktime()
26 /* compute epoch: substract DAYS(since_March(1-1-1970)) */ in mktime()
28 epoch = DAYS(year, month, day) - DAYS(1969, 11, 1); in mktime()
37 #define DELAY 1
58 report(now[2] >= 1 && now[2] <= 31, "day"); in check_get_time_of_day()
59 report(now[1] >= 1 && now[1] <= 12, "month"); in check_get_time_of_day()
61 report(mktime(now[0], now[1], now[2], now[3], now[4], now[5]) - start < 3, in check_get_time_of_day()
65 t1 = mktime(now[0], now[1], now[2], now[3], now[4], now[5]); in check_get_time_of_day()
69 t2 = mktime(now[0], now[1], now[2], now[3], now[4], now[5]); in check_get_time_of_day()
89 ret = rtas_call(stod_token, 7, 1, NULL, 2000, 2, 28, 23, 59, 59); in check_set_time_of_day()
98 t2 = mktime(date[0], date[1], date[2], in check_set_time_of_day()
106 t2 = mktime(date[0], date[1], date[2], in check_set_time_of_day()
123 report_prefix_push(argv[1]); in main()
125 if (strcmp(argv[1], "get-time-of-day") == 0) { in main()
128 if (len == -1) { in main()
136 } else if (strcmp(argv[1], "set-time-of-day") == 0) { in main()