Searched refs:microfortnights (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/libcxx/test/std/utilities/time/time.hms/time.hms.members/ |
D | to_duration.pass.cpp | 35 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 54 assert( check_duration(microfortnights( 1000)) == 12096000); in main() 55 assert( check_duration(microfortnights( -1000)) == -12096000); in main() 56 assert( check_duration(microfortnights( 10000)) == 120960000); in main() 57 assert( check_duration(microfortnights(-10000)) == -120960000); in main()
|
D | subseconds.pass.cpp | 34 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 53 assert( check_subseconds(microfortnights( 1000)) == 6000); in main() 54 assert( check_subseconds(microfortnights( -1000)) == 6000); in main() 55 assert( check_subseconds(microfortnights( 10000)) == 0); in main() 56 assert( check_subseconds(microfortnights(-10000)) == 0); in main()
|
D | hours.pass.cpp | 43 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 62 assert( check_hours(microfortnights( 1000)) == 0); in main() 63 assert( check_hours(microfortnights( -1000)) == 0); in main() 64 assert( check_hours(microfortnights( 10000)) == 3); in main() 65 assert( check_hours(microfortnights(-10000)) == 3); in main()
|
D | seconds.pass.cpp | 34 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 53 assert( check_seconds(microfortnights( 1000)) == 9); in main() 54 assert( check_seconds(microfortnights( -1000)) == 9); in main() 55 assert( check_seconds(microfortnights( 10000)) == 36); in main() 56 assert( check_seconds(microfortnights(-10000)) == 36); in main()
|
D | minutes.pass.cpp | 34 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 53 assert( check_minutes(microfortnights( 1000)) == 20); in main() 54 assert( check_minutes(microfortnights( -1000)) == 20); in main() 55 assert( check_minutes(microfortnights( 10000)) == 21); in main() 56 assert( check_minutes(microfortnights(-10000)) == 21); in main()
|
D | is_negative.pass.cpp | 31 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 50 assert(!check_neg(microfortnights( 10000))); in main() 51 assert( check_neg(microfortnights(-10000))); in main()
|
D | width.pass.cpp | 38 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 55 static_assert( check_width<microfortnights, 4>(), ""); in main()
|
D | precision_type.pass.cpp | 60 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 77 static_assert( check_precision<microfortnights, 4>(), ""); in main()
|
D | precision.pass.cpp | 60 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef 77 static_assert( check_precision<microfortnights, 4>(), ""); in main()
|
/external/llvm-project/llvm/unittests/Support/ |
D | Chrono.cpp | 106 microfortnights; in TEST() typedef 107 EXPECT_EQ("1.00", formatv("{0:-}", microfortnights(1)).str()); in TEST() 108 EXPECT_EQ("1209.60 ms", formatv("{0:ms}", microfortnights(1)).str()); in TEST()
|