Home
last modified time | relevance | path

Searched refs:test_ce (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/test/std/strings/string.view/string.view.modifiers/
Dremove_prefix.pass.cpp43 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()
Dremove_suffix.pass.cpp43 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()
Dswap.pass.cpp40 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()
Dclear.pass.cpp36 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/
Dremove_suffix.pass.cpp43 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()
Dremove_prefix.pass.cpp43 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()
Dswap.pass.cpp40 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()
Dclear.pass.cpp36 constexpr size_t test_ce ( size_t n ) { in test_ce() function
64 static_assert ( test_ce (5) == 0, "" ); in main()