Searched refs:test_ce (Results 1 – 8 of 8) sorted by relevance
/external/libcxx/test/std/strings/string.view/string.view.modifiers/ |
D | remove_prefix.pass.cpp | 43 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function 72 static_assert ( test_ce ( 5, 0 ) == 5, "" ); in main() 73 static_assert ( test_ce ( 5, 1 ) == 4, "" ); in main() 74 static_assert ( test_ce ( 5, 5 ) == 0, "" ); in main() 75 static_assert ( test_ce ( 9, 3 ) == 6, "" ); in main()
|
D | remove_suffix.pass.cpp | 43 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function 72 static_assert ( test_ce ( 5, 0 ) == 5, "" ); in main() 73 static_assert ( test_ce ( 5, 1 ) == 4, "" ); in main() 74 static_assert ( test_ce ( 5, 5 ) == 0, "" ); in main() 75 static_assert ( test_ce ( 9, 3 ) == 6, "" ); in main()
|
D | swap.pass.cpp | 40 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function 71 static_assert ( test_ce (2, 3) == 3, "" ); in main() 72 static_assert ( test_ce (5, 3) == 3, "" ); in main() 73 static_assert ( test_ce (0, 1) == 1, "" ); in main()
|
D | clear.pass.cpp | 36 constexpr size_t test_ce ( size_t n ) { in test_ce() function 64 static_assert ( test_ce (5) == 0, "" ); in main()
|
/external/libcxx/test/std/experimental/string.view/string.view.modifiers/ |
D | remove_suffix.pass.cpp | 43 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function 72 static_assert ( test_ce ( 5, 0 ) == 5, "" ); in main() 73 static_assert ( test_ce ( 5, 1 ) == 4, "" ); in main() 74 static_assert ( test_ce ( 5, 5 ) == 0, "" ); in main() 75 static_assert ( test_ce ( 9, 3 ) == 6, "" ); in main()
|
D | remove_prefix.pass.cpp | 43 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function 72 static_assert ( test_ce ( 5, 0 ) == 5, "" ); in main() 73 static_assert ( test_ce ( 5, 1 ) == 4, "" ); in main() 74 static_assert ( test_ce ( 5, 5 ) == 0, "" ); in main() 75 static_assert ( test_ce ( 9, 3 ) == 6, "" ); in main()
|
D | swap.pass.cpp | 40 constexpr size_t test_ce ( size_t n, size_t k ) { in test_ce() function 71 static_assert ( test_ce (2, 3) == 3, "" ); in main() 72 static_assert ( test_ce (5, 3) == 3, "" ); in main() 73 static_assert ( test_ce (0, 1) == 1, "" ); in main()
|
D | clear.pass.cpp | 36 constexpr size_t test_ce ( size_t n ) { in test_ce() function 64 static_assert ( test_ce (5) == 0, "" ); in main()
|