| /minix3/usr.bin/leave/ |
| H A D | leave.c | 74 int hours, minutes; in main() local 101 for (hours = 0; (c = *cp) && c != '\n'; ++cp) { in main() 104 hours = hours * 10 + (c - '0'); in main() 106 minutes = hours % 100; in main() 107 hours /= 100; in main() 112 secs = (hours * HOUR) + (minutes * MINUTE); in main() 114 if (hours > 23) in main() 118 if (hours >= 12) in main() 119 hours -= 12; in main() 120 if (t->tm_hour > hours || in main() [all …]
|
| /minix3/lib/libc/nameser/ |
| H A D | ns_ttl.c | 62 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local 67 hours = (int)(src % 24); src /= 24; in ns_format_ttl() 80 if (hours) { in ns_format_ttl() 81 T(fmt1(hours, 'H', &dst, &dstlen)); in ns_format_ttl() 88 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/time/time.duration/time.duration.literals/ |
| H A D | literals2.fail.cpp | 16 using std::chrono::hours; in main() 18 hours foo = 4h; // should fail w/conversion operator not found in main()
|
| H A D | literals.pass.cpp | 22 static_assert ( std::is_same<decltype( 3h ), std::chrono::hours>::value, "" ); in main() 29 std::chrono::hours h = 4h; in main() 30 assert ( h == std::chrono::hours(4)); in main()
|
| H A D | literals1.pass.cpp | 18 hours h = 4h; in main() 19 assert ( h == hours(4)); in main()
|
| H A D | literals2.pass.cpp | 21 std::chrono::hours h = 4h; in main() 22 assert ( h == std::chrono::hours(4)); in main()
|
| H A D | literals1.fail.cpp | 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
| H A D | literals2.fail.cpp | 16 using std::chrono::hours; in main() 18 hours foo = 4h; // should fail w/conversion operator not found in main()
|
| H A D | literals.pass.cpp | 22 static_assert ( std::is_same<decltype( 3h ), std::chrono::hours>::value, "" ); in main() 29 std::chrono::hours h = 4h; in main() 30 assert ( h == std::chrono::hours(4)); in main()
|
| H A D | literals1.pass.cpp | 18 hours h = 4h; in main() 19 assert ( h == hours(4)); in main()
|
| H A D | literals2.pass.cpp | 21 std::chrono::hours h = 4h; in main() 22 assert ( h == std::chrono::hours(4)); in main()
|
| H A D | literals1.fail.cpp | 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found in main()
|
| /minix3/external/bsd/bind/dist/lib/dns/ |
| H A D | ttl.c | 84 unsigned secs, mins, hours, days, weeks, x; in dns_ttl_totext() local 88 hours = src % 24; src /= 24; in dns_ttl_totext() 102 if (hours != 0) { in dns_ttl_totext() 103 RETERR(ttlfmt(hours, "hour", verbose, ISC_TF(x > 0), target)); in dns_ttl_totext() 111 (weeks == 0 && days == 0 && hours == 0 && mins == 0)) { in dns_ttl_totext()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
| H A D | op_--int.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours h2 = h--; in main()
|
| H A D | op_++int.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours h2 = h++; in main()
|
| H A D | op_--.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours& href = --h; in main()
|
| H A D | op_++.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours& href = ++h; in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
| H A D | op_++int.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours h2 = h++; in main()
|
| H A D | op_++.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours& href = ++h; in main()
|
| H A D | op_--int.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours h2 = h--; in main()
|
| H A D | op_--.pass.cpp | 21 std::chrono::hours h(3); in main() 22 std::chrono::hours& href = --h; in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
| H A D | duration_cast.pass.cpp | 36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main() 48 …constexpr std::chrono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milli… in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/time/time.duration/time.duration.cast/ |
| H A D | duration_cast.pass.cpp | 36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main() 48 …constexpr std::chrono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milli… in main()
|
| /minix3/external/public-domain/tz/dist/ |
| H A D | etcetera | 33 # the abbreviation "GMT+4" and corresponds to 4 hours behind UT 35 # mean 4 hours ahead of UT (i.e. east of Greenwich). 44 # Do not use a TZ setting like TZ='GMT+4', which is four hours behind 55 Zone Etc/GMT-14 14 - GMT-14 # 14 hours ahead of GMT
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/time/time.point/time.point.cast/ |
| H A D | time_point_cast.pass.cpp | 58 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); in main() 70 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::hours, 2> (); in main()
|