/external/libcxx/test/std/strings/basic.string/string.capacity/ |
empty.pass.cpp | 21 test(const S& s) function 30 test(S()); 31 test(S("123")); 32 test(S("12345678901234567890123456789012345678901234567890")); 37 test(S()); 38 test(S("123")); 39 test(S("12345678901234567890123456789012345678901234567890"));
|
length.pass.cpp | 21 test(const S& s) function 30 test(S()); 31 test(S("123")); 32 test(S("12345678901234567890123456789012345678901234567890")); 37 test(S()); 38 test(S("123")); 39 test(S("12345678901234567890123456789012345678901234567890"));
|
over_max_size.pass.cpp | 21 test(const S& s) function 35 test(S()); 36 test(S("123")); 37 test(S("12345678901234567890123456789012345678901234567890")); 42 test(S()); 43 test(S("123")); 44 test(S("12345678901234567890123456789012345678901234567890"));
|
resize_size.pass.cpp | 22 test(S s, typename S::size_type n, S expected) function 41 test(S(), 0, S()); 42 test(S(), 1, S(1, '\0')); 43 test(S(), 10, S(10, '\0')); 44 test(S(), 100, S(100, '\0')); 45 test(S("12345"), 0, S()); 46 test(S("12345"), 2, S("12")); 47 test(S("12345"), 5, S("12345")); 48 test(S("12345"), 15, S("12345\0\0\0\0\0\0\0\0\0\0", 15)); 49 test(S("12345678901234567890123456789012345678901234567890"), 0, S()) [all...] |
resize_size_char.pass.cpp | 22 test(S s, typename S::size_type n, typename S::value_type c, S expected) function 41 test(S(), 0, 'a', S()); 42 test(S(), 1, 'a', S("a")); 43 test(S(), 10, 'a', S(10, 'a')); 44 test(S(), 100, 'a', S(100, 'a')); 45 test(S("12345"), 0, 'a', S()); 46 test(S("12345"), 2, 'a', S("12")); 47 test(S("12345"), 5, 'a', S("12345")); 48 test(S("12345"), 15, 'a', S("12345aaaaaaaaaa")); 49 test(S("12345678901234567890123456789012345678901234567890"), 0, 'a', S()) [all...] |
size.pass.cpp | 21 test(const S& s, typename S::size_type c) function 30 test(S(), 0); 31 test(S("123"), 3); 32 test(S("12345678901234567890123456789012345678901234567890"), 50); 37 test(S(), 0); 38 test(S("123"), 3); 39 test(S("12345678901234567890123456789012345678901234567890"), 50);
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
alloc.pass.cpp | 22 test() function 70 test<std::basic_string<char, std::char_traits<char>, test_allocator<char> > >();
|
char_assignment.pass.cpp | 21 test(S s1, typename S::value_type s2) function 35 test(S(), 'a'); 36 test(S("1"), 'a'); 37 test(S("123456789"), 'a'); 38 test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), 'a'); 43 test(S(), 'a'); 44 test(S("1"), 'a'); 45 test(S("123456789"), 'a'); 46 test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), 'a');
|
copy_alloc.pass.cpp | 22 test(S s1, const typename S::allocator_type& a) function 36 test(S(), A(3)); 37 test(S("1"), A(5)); 38 test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), A(7)); 44 test(S(), A()); 45 test(S("1"), A()); 46 test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), A());
|
copy_assignment.pass.cpp | 22 test(S s1, const S& s2) function 34 test(S(), S()); 35 test(S("1"), S()); 36 test(S(), S("1")); 37 test(S("1"), S("2")); 38 test(S("1"), S("2")); 40 test(S(), 42 test(S("123456789"), 44 test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), 46 test(S("1234567890123456789012345678901234567890123456789012345678901234567890 [all...] |
move_assignment.pass.cpp | 25 test(S s1, S s2) function 42 test(S(), S()); 43 test(S("1"), S()); 44 test(S(), S("1")); 45 test(S("1"), S("2")); 46 test(S("1"), S("2")); 48 test(S(), 50 test(S("123456789"), 52 test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), 54 test(S("1234567890123456789012345678901234567890123456789012345678901234567890 [all...] |
pointer_assignment.pass.cpp | 22 test(S s1, const typename S::value_type* s2) function 36 test(S(), ""); 37 test(S("1"), ""); 38 test(S(), "1"); 39 test(S("1"), "2"); 40 test(S("1"), "2"); 42 test(S(), 44 test(S("123456789"), 46 test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), 48 test(S("1234567890123456789012345678901234567890123456789012345678901234567890 [all...] |
/external/libcxx/test/std/strings/basic.string/string.iterators/ |
cbegin.pass.cpp | 21 test(const S& s) function 35 test(S()); 36 test(S("123")); 41 test(S()); 42 test(S("123"));
|
cend.pass.cpp | 21 test(const S& s) function 31 test(S()); 32 test(S("123")); 37 test(S()); 38 test(S("123"));
|
crbegin.pass.cpp | 21 test(const S& s) function 35 test(S()); 36 test(S("123")); 41 test(S()); 42 test(S("123"));
|
crend.pass.cpp | 21 test(const S& s) function 31 test(S()); 32 test(S("123")); 37 test(S()); 38 test(S("123"));
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/ |
iterator.pass.cpp | 23 test(S s, It first, It last, S expected) function 35 test(S(), s, s, S()); 36 test(S(), s, s+1, S("A")); 37 test(S(), s, s+10, S("ABCDEFGHIJ")); 38 test(S(), s, s+52, S("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")); 40 test(S("12345"), s, s, S("12345")); 41 test(S("12345"), s, s+1, S("12345A")); 42 test(S("12345"), s, s+10, S("12345ABCDEFGHIJ")); 43 test(S("12345"), s, s+52, S("12345ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")); 45 test(S("1234567890"), s, s, S("1234567890")) [all...] |
pointer.pass.cpp | 22 test(S s, const typename S::value_type* str, S expected) function 33 test(S(), "", S()); 34 test(S(), "12345", S("12345")); 35 test(S(), "12345678901234567890", S("12345678901234567890")); 37 test(S("12345"), "", S("12345")); 38 test(S("12345"), "12345", S("1234512345")); 39 test(S("12345"), "1234567890", S("123451234567890")); 41 test(S("12345678901234567890"), "", S("12345678901234567890")); 42 test(S("12345678901234567890"), "12345", S("1234567890123456789012345")); 43 test(S("12345678901234567890"), "12345678901234567890" [all...] |
pointer_size.pass.cpp | 23 test(S s, const typename S::value_type* str, typename S::size_type n, S expected) function 34 test(S(), "", 0, S()); 35 test(S(), "12345", 3, S("123")); 36 test(S(), "12345", 4, S("1234")); 37 test(S(), "12345678901234567890", 0, S()); 38 test(S(), "12345678901234567890", 1, S("1")); 39 test(S(), "12345678901234567890", 3, S("123")); 40 test(S(), "12345678901234567890", 20, S("12345678901234567890")); 42 test(S("12345"), "", 0, S("12345")); 43 test(S("12345"), "12345", 5, S("1234512345")) [all...] |
push_back.pass.cpp | 21 test(S s, typename S::value_type c, S expected) function 32 test(S(), 'a', S(1, 'a')); 33 test(S("12345"), 'a', S("12345a")); 34 test(S("12345678901234567890"), 'a', S("12345678901234567890a")); 39 test(S(), 'a', S(1, 'a')); 40 test(S("12345"), 'a', S("12345a")); 41 test(S("12345678901234567890"), 'a', S("12345678901234567890a"));
|
size_char.pass.cpp | 22 test(S s, typename S::size_type n, typename S::value_type c, S expected) function 33 test(S(), 0, 'a', S()); 34 test(S(), 1, 'a', S(1, 'a')); 35 test(S(), 10, 'a', S(10, 'a')); 36 test(S(), 100, 'a', S(100, 'a')); 38 test(S("12345"), 0, 'a', S("12345")); 39 test(S("12345"), 1, 'a', S("12345a")); 40 test(S("12345"), 10, 'a', S("12345aaaaaaaaaa")); 42 test(S("12345678901234567890"), 0, 'a', S("12345678901234567890")); 43 test(S("12345678901234567890"), 1, 'a', S("12345678901234567890a")) [all...] |
string.pass.cpp | 22 test(S s, S str, S expected) function 33 test(S(), S(), S()); 34 test(S(), S("12345"), S("12345")); 35 test(S(), S("1234567890"), S("1234567890")); 36 test(S(), S("12345678901234567890"), S("12345678901234567890")); 38 test(S("12345"), S(), S("12345")); 39 test(S("12345"), S("12345"), S("1234512345")); 40 test(S("12345"), S("1234567890"), S("123451234567890")); 41 test(S("12345"), S("12345678901234567890"), S("1234512345678901234567890")); 43 test(S("1234567890"), S(), S("1234567890")) [all...] |
string_size_size.pass.cpp | 24 test(S s, S str, typename S::size_type pos, typename S::size_type n, S expected) function 60 test(S(), S(), 0, 0, S()); 61 test(S(), S(), 1, 0, S()); 62 test(S(), S("12345"), 0, 3, S("123")); 63 test(S(), S("12345"), 1, 4, S("2345")); 64 test(S(), S("12345"), 3, 15, S("45")); 65 test(S(), S("12345"), 5, 15, S("")); 66 test(S(), S("12345"), 6, 15, S("not happening")); 67 test(S(), S("12345678901234567890"), 0, 0, S()); 68 test(S(), S("12345678901234567890"), 1, 1, S("2")) [all...] |
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/ |
iterator.pass.cpp | 23 test(S s, It first, It last, S expected) function 35 test(S(), s, s, S()); 36 test(S(), s, s+1, S("A")); 37 test(S(), s, s+10, S("ABCDEFGHIJ")); 38 test(S(), s, s+52, S("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")); 40 test(S("12345"), s, s, S()); 41 test(S("12345"), s, s+1, S("A")); 42 test(S("12345"), s, s+10, S("ABCDEFGHIJ")); 43 test(S("12345"), s, s+52, S("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")); 45 test(S("1234567890"), s, s, S()) [all...] |
pointer.pass.cpp | 22 test(S s, const typename S::value_type* str, S expected) function 33 test(S(), "", S()); 34 test(S(), "12345", S("12345")); 35 test(S(), "12345678901234567890", S("12345678901234567890")); 37 test(S("12345"), "", S()); 38 test(S("12345"), "12345", S("12345")); 39 test(S("12345"), "1234567890", S("1234567890")); 41 test(S("12345678901234567890"), "", S()); 42 test(S("12345678901234567890"), "12345", S("12345")); 43 test(S("12345678901234567890"), "12345678901234567890" [all...] |