/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/find/wchar_t/ |
H A D | 1.cc | 41 csz01 = str01.find(str01); in test01() 43 csz01 = str01.find(str01, 4); in test01() 63 csz01 = str01.find(str04, str01.size()); in test01() 65 csz01 = str01.find(str04, str01.size()+1); in test01() 81 csz01 = str01.find(L'z'); in test01() 82 csz02 = str01.size() - 1; in test01() 84 csz01 = str01.find(L'/'); in test01() 107 csz01 = str01.find(str01); in test02() 109 csz01 = str01.find(str01, 4); in test02() 129 csz01 = str01.find(str04, str01.size()); in test02() [all …]
|
H A D | 2.cc | 40 csz01 = str01.find_first_of(str01); in test02() 42 csz01 = str01.find_first_of(str01, 4); in test02() 44 csz01 = str01.find_first_of(str02, 0); in test02() 46 csz01 = str01.find_first_of(str02, 3); in test02() 48 csz01 = str01.find_first_of(str03, 0); in test02() 82 csz01 = str01.find_first_of(L'z'); in test02() 83 csz02 = str01.size() - 1; in test02() 105 csz01 = str01.find_first_of(str01); in test04() 107 csz01 = str01.find_first_of(str01, 4); in test04() 147 csz01 = str01.find_first_of(L'z'); in test04() [all …]
|
H A D | 3.cc | 39 csz01 = str01.find_first_not_of(str01); in test03() 41 csz01 = str01.find_first_not_of(str02, 0); in test03() 43 csz01 = str01.find_first_not_of(str02, 10); in test03() 45 csz01 = str01.find_first_not_of(str02, 12); in test03() 47 csz01 = str01.find_first_not_of(str03, 0); in test03() 53 csz01 = str01.find_first_not_of(str04, 0); in test03() 57 csz01 = str03.find_first_not_of(str01, 0); in test03() 77 csz01 = str01.find_first_not_of(L'B'); in test03() 79 csz01 = str01.find_first_not_of(L'o', 1); in test03() 104 csz01 = str01.find_first_not_of(str01); in test04() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/find/char/ |
H A D | 1.cc | 40 csz01 = str01.find(str01); in test01() 42 csz01 = str01.find(str01, 4); in test01() 62 csz01 = str01.find(str04, str01.size()); in test01() 64 csz01 = str01.find(str04, str01.size()+1); in test01() 80 csz01 = str01.find('z'); in test01() 81 csz02 = str01.size() - 1; in test01() 83 csz01 = str01.find('/'); in test01() 107 csz01 = str01.find(str01); in test02() 109 csz01 = str01.find(str01, 4); in test02() 129 csz01 = str01.find(str04, str01.size()); in test02() [all …]
|
H A D | 2.cc | 39 csz01 = str01.find_first_of(str01); in test02() 41 csz01 = str01.find_first_of(str01, 4); in test02() 43 csz01 = str01.find_first_of(str02, 0); in test02() 45 csz01 = str01.find_first_of(str02, 3); in test02() 47 csz01 = str01.find_first_of(str03, 0); in test02() 81 csz01 = str01.find_first_of('z'); in test02() 82 csz02 = str01.size() - 1; in test02() 105 csz01 = str01.find_first_of(str01); in test03() 107 csz01 = str01.find_first_of(str01, 4); in test03() 147 csz01 = str01.find_first_of('z'); in test03() [all …]
|
H A D | 3.cc | 38 csz01 = str01.find_first_not_of(str01); in test03() 40 csz01 = str01.find_first_not_of(str02, 0); in test03() 42 csz01 = str01.find_first_not_of(str02, 10); in test03() 46 csz01 = str01.find_first_not_of(str03, 0); in test03() 52 csz01 = str01.find_first_not_of(str04, 0); in test03() 56 csz01 = str03.find_first_not_of(str01, 0); in test03() 76 csz01 = str01.find_first_not_of('B'); in test03() 78 csz01 = str01.find_first_not_of('o', 1); in test03() 104 csz01 = str01.find_first_not_of(str01); in test04() 142 csz01 = str01.find_first_not_of('B'); in test04() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/find/char/ |
H A D | 1.cc | 40 csz01 = str01.find(str01); in test01() 42 csz01 = str01.find(str01, 4); in test01() 62 csz01 = str01.find(str04, str01.size()); in test01() 64 csz01 = str01.find(str04, str01.size()+1); in test01() 80 csz01 = str01.find('z'); in test01() 81 csz02 = str01.size() - 1; in test01() 83 csz01 = str01.find('/'); in test01() 107 csz01 = str01.find(str01); in test02() 109 csz01 = str01.find(str01, 4); in test02() 129 csz01 = str01.find(str04, str01.size()); in test02() [all …]
|
H A D | 2.cc | 39 csz01 = str01.find_first_of(str01); in test02() 41 csz01 = str01.find_first_of(str01, 4); in test02() 43 csz01 = str01.find_first_of(str02, 0); in test02() 45 csz01 = str01.find_first_of(str02, 3); in test02() 47 csz01 = str01.find_first_of(str03, 0); in test02() 81 csz01 = str01.find_first_of('z'); in test02() 82 csz02 = str01.size() - 1; in test02() 105 csz01 = str01.find_first_of(str01); in test03() 107 csz01 = str01.find_first_of(str01, 4); in test03() 147 csz01 = str01.find_first_of('z'); in test03() [all …]
|
H A D | 3.cc | 38 csz01 = str01.find_first_not_of(str01); in test03() 40 csz01 = str01.find_first_not_of(str02, 0); in test03() 42 csz01 = str01.find_first_not_of(str02, 10); in test03() 46 csz01 = str01.find_first_not_of(str03, 0); in test03() 52 csz01 = str01.find_first_not_of(str04, 0); in test03() 56 csz01 = str03.find_first_not_of(str01, 0); in test03() 76 csz01 = str01.find_first_not_of('B'); in test03() 78 csz01 = str01.find_first_not_of('o', 1); in test03() 104 csz01 = str01.find_first_not_of(str01); in test04() 142 csz01 = str01.find_first_not_of('B'); in test04() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/find/wchar_t/ |
H A D | 1.cc | 41 csz01 = str01.find(str01); in test01() 43 csz01 = str01.find(str01, 4); in test01() 63 csz01 = str01.find(str04, str01.size()); in test01() 65 csz01 = str01.find(str04, str01.size()+1); in test01() 81 csz01 = str01.find(L'z'); in test01() 82 csz02 = str01.size() - 1; in test01() 84 csz01 = str01.find(L'/'); in test01() 107 csz01 = str01.find(str01); in test02() 109 csz01 = str01.find(str01, 4); in test02() 129 csz01 = str01.find(str04, str01.size()); in test02() [all …]
|
H A D | 2.cc | 40 csz01 = str01.find_first_of(str01); in test02() 42 csz01 = str01.find_first_of(str01, 4); in test02() 44 csz01 = str01.find_first_of(str02, 0); in test02() 46 csz01 = str01.find_first_of(str02, 3); in test02() 48 csz01 = str01.find_first_of(str03, 0); in test02() 82 csz01 = str01.find_first_of(L'z'); in test02() 83 csz02 = str01.size() - 1; in test02() 105 csz01 = str01.find_first_of(str01); in test04() 107 csz01 = str01.find_first_of(str01, 4); in test04() 147 csz01 = str01.find_first_of(L'z'); in test04() [all …]
|
H A D | 3.cc | 39 csz01 = str01.find_first_not_of(str01); in test03() 41 csz01 = str01.find_first_not_of(str02, 0); in test03() 43 csz01 = str01.find_first_not_of(str02, 10); in test03() 45 csz01 = str01.find_first_not_of(str02, 12); in test03() 47 csz01 = str01.find_first_not_of(str03, 0); in test03() 53 csz01 = str01.find_first_not_of(str04, 0); in test03() 57 csz01 = str03.find_first_not_of(str01, 0); in test03() 77 csz01 = str01.find_first_not_of(L'B'); in test03() 79 csz01 = str01.find_first_not_of(L'o', 1); in test03() 104 csz01 = str01.find_first_not_of(str01); in test04() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/rfind/char/ |
H A D | 1.cc | 40 csz01 = str01.rfind(str01); in test01() 42 csz01 = str01.rfind(str01, 4); in test01() 44 csz01 = str01.rfind(str02,3); in test01() 46 csz01 = str01.rfind(str02); in test01() 48 csz01 = str01.rfind(str03); in test01() 50 csz01 = str01.rfind(str03, 3); in test01() 62 csz01 = str01.rfind(str04, str01.size()); in test01() 64 csz01 = str01.rfind(str04, str01.size()+1); in test01() 80 csz01 = str01.rfind('z'); in test01() 81 csz02 = str01.size() - 1; in test01() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/rfind/wchar_t/ |
H A D | 1.cc | 41 csz01 = str01.rfind(str01); in test01() 43 csz01 = str01.rfind(str01, 4); in test01() 45 csz01 = str01.rfind(str02,3); in test01() 47 csz01 = str01.rfind(str02); in test01() 49 csz01 = str01.rfind(str03); in test01() 51 csz01 = str01.rfind(str03, 3); in test01() 63 csz01 = str01.rfind(str04, str01.size()); in test01() 65 csz01 = str01.rfind(str04, str01.size()+1); in test01() 81 csz01 = str01.rfind(L'z'); in test01() 82 csz02 = str01.size() - 1; in test01() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/rfind/char/ |
H A D | 1.cc | 40 csz01 = str01.rfind(str01); in test01() 42 csz01 = str01.rfind(str01, 4); in test01() 44 csz01 = str01.rfind(str02,3); in test01() 46 csz01 = str01.rfind(str02); in test01() 48 csz01 = str01.rfind(str03); in test01() 50 csz01 = str01.rfind(str03, 3); in test01() 62 csz01 = str01.rfind(str04, str01.size()); in test01() 64 csz01 = str01.rfind(str04, str01.size()+1); in test01() 80 csz01 = str01.rfind('z'); in test01() 81 csz02 = str01.size() - 1; in test01() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/rfind/wchar_t/ |
H A D | 1.cc | 41 csz01 = str01.rfind(str01); in test01() 43 csz01 = str01.rfind(str01, 4); in test01() 45 csz01 = str01.rfind(str02,3); in test01() 47 csz01 = str01.rfind(str02); in test01() 49 csz01 = str01.rfind(str03); in test01() 51 csz01 = str01.rfind(str03, 3); in test01() 63 csz01 = str01.rfind(str04, str01.size()); in test01() 65 csz01 = str01.rfind(str04, str01.size()+1); in test01() 81 csz01 = str01.rfind(L'z'); in test01() 82 csz02 = str01.size() - 1; in test01() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/substr/char/ |
H A D | 1.cc | 33 const gdb::string_view str01(str_lit01); in test01() local 38 csz01 = str01.size(); in test01() 39 str02 = str01.substr(0, 1); in test01() 41 str02 = str01.substr(10); in test01() 46 str02 = str01.substr(csz01 + 1); in test01() 60 str02 = str01.substr(csz01); in test01() 62 VERIFY( str02.begin() == str01.end() ); in test01()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/substr/char/ |
H A D | 1.cc | 33 const gdb::string_view str01(str_lit01); in test01() local 38 csz01 = str01.size(); in test01() 39 str02 = str01.substr(0, 1); in test01() 41 str02 = str01.substr(10); in test01() 46 str02 = str01.substr(csz01 + 1); in test01() 60 str02 = str01.substr(csz01); in test01() 62 VERIFY( str02.begin() == str01.end() ); in test01()
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/substr/wchar_t/ |
H A D | 1.cc | 35 const std::wstring_view str01(str_lit01); in test01() local 40 csz01 = str01.size(); in test01() 41 str02 = str01.substr(0, 1); in test01() 43 str02 = str01.substr(10); in test01() 48 str02 = str01.substr(csz01 + 1); in test01() 62 str02 = str01.substr(csz01); in test01() 64 VERIFY( str02.begin() == str01.end() ); in test01()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/substr/wchar_t/ |
H A D | 1.cc | 35 const std::wstring_view str01(str_lit01); in test01() local 40 csz01 = str01.size(); in test01() 41 str02 = str01.substr(0, 1); in test01() 43 str02 = str01.substr(10); in test01() 48 str02 = str01.substr(csz01 + 1); in test01() 62 str02 = str01.substr(csz01); in test01() 64 VERIFY( str02.begin() == str01.end() ); in test01()
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/element_access/char/ |
H A D | 1.cc | 32 const gdb::string_view str01("tamarindo, costa rica"); in test01() local 37 csz01 = str01.size(); in test01() 38 cref cref1 = str01[csz01 - 1]; in test01() 45 csz01 = str01.size(); in test01() 46 cref cref3 = str01.at(csz01 - 1); in test01() 50 str01.at(csz01); in test01()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/element_access/char/ |
H A D | 1.cc | 32 const gdb::string_view str01("tamarindo, costa rica"); in test01() local 37 csz01 = str01.size(); in test01() 38 cref cref1 = str01[csz01 - 1]; in test01() 45 csz01 = str01.size(); in test01() 46 cref cref3 = str01.at(csz01 - 1); in test01() 50 str01.at(csz01); in test01()
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/element_access/wchar_t/ |
H A D | 1.cc | 34 const std::wstring_view str01(L"tamarindo, costa rica"); in test01() local 39 csz01 = str01.size(); in test01() 40 cref cref1 = str01[csz01 - 1]; in test01() 47 csz01 = str01.size(); in test01() 48 cref cref3 = str01.at(csz01 - 1); in test01() 52 str01.at(csz01); in test01()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/element_access/wchar_t/ |
H A D | 1.cc | 34 const std::wstring_view str01(L"tamarindo, costa rica"); in test01() local 39 csz01 = str01.size(); in test01() 40 cref cref1 = str01[csz01 - 1]; in test01() 47 csz01 = str01.size(); in test01() 48 cref cref3 = str01.at(csz01 - 1); in test01() 52 str01.at(csz01); in test01()
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/cons/char/ |
H A D | 1.cc | 36 const gdb::string_view str01{str_lit01}; in test01() local 37 VERIFY( str01.length() == 18 ); in test01() 38 VERIFY( str01.data() == str_lit01 ); in test01() 43 gdb::string_view str04{str01}; in test01() 44 VERIFY( str04.length() == str01.length() ); in test01() 45 VERIFY( str04.data() == str01.data() ); in test01()
|