Home
last modified time | relevance | path

Searched refs:str_lit01 (Results 1 – 25 of 29) sorted by relevance

12

/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/find/char/
H A D3.cc32 const char str_lit01[] = "Bob Rock"; in test03() local
34 gdb::string_view str03(str_lit01); in test03()
62 csz01 = str01.find_first_not_of(str_lit01, 0, 0); in test03()
64 csz01 = str01.find_first_not_of(str_lit01, 0, 8); in test03()
66 csz01 = str01.find_first_not_of(str_lit01, 10, 0); in test03()
70 csz01 = str01.find_first_not_of(str_lit01); in test03()
72 csz01 = str02.find_first_not_of(str_lit01, 2); in test03()
95 const char str_lit01[] = "Bob Rock"; in test04() local
97 std::string_view str03(str_lit01); in test04()
136 csz01 = str01.find_first_not_of(str_lit01); in test04()
[all …]
H A D2.cc31 const char str_lit01[] = "mave"; in test02() local
33 gdb::string_view str02(str_lit01); in test02()
69 csz01 = str01.find_first_of(str_lit01, 0, 3); in test02()
71 csz01 = str01.find_first_of(str_lit01, 3, 0); in test02()
75 csz01 = str01.find_first_of(str_lit01); in test02()
77 csz01 = str01.find_first_of(str_lit01, 3); in test02()
94 const char str_lit01[] = "mave"; in test03() local
96 std::string_view str02(str_lit01); in test03()
135 csz01 = str01.find_first_of(str_lit01, 0, 3); in test03()
141 csz01 = str01.find_first_of(str_lit01); in test03()
[all …]
H A D1.cc33 const char str_lit01[] = "mave"; in test01() local
35 gdb::string_view str02(str_lit01); in test01()
68 csz01 = str01.find(str_lit01, 0, 3); in test01()
70 csz01 = str01.find(str_lit01, 3, 0); in test01()
74 csz01 = str01.find(str_lit01); in test01()
76 csz01 = str01.find(str_lit01, 3); in test01()
97 const char str_lit01[] = "mave"; in test02() local
99 std::string_view str02(str_lit01); in test02()
135 csz01 = str01.find(str_lit01, 0, 3); in test02()
141 csz01 = str01.find(str_lit01); in test02()
[all …]
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/find/char/
H A D3.cc32 const char str_lit01[] = "Bob Rock"; in test03() local
34 gdb::string_view str03(str_lit01); in test03()
62 csz01 = str01.find_first_not_of(str_lit01, 0, 0); in test03()
64 csz01 = str01.find_first_not_of(str_lit01, 0, 8); in test03()
66 csz01 = str01.find_first_not_of(str_lit01, 10, 0); in test03()
70 csz01 = str01.find_first_not_of(str_lit01); in test03()
72 csz01 = str02.find_first_not_of(str_lit01, 2); in test03()
95 const char str_lit01[] = "Bob Rock"; in test04() local
97 std::string_view str03(str_lit01); in test04()
136 csz01 = str01.find_first_not_of(str_lit01); in test04()
[all …]
H A D2.cc31 const char str_lit01[] = "mave"; in test02() local
33 gdb::string_view str02(str_lit01); in test02()
69 csz01 = str01.find_first_of(str_lit01, 0, 3); in test02()
71 csz01 = str01.find_first_of(str_lit01, 3, 0); in test02()
75 csz01 = str01.find_first_of(str_lit01); in test02()
77 csz01 = str01.find_first_of(str_lit01, 3); in test02()
94 const char str_lit01[] = "mave"; in test03() local
96 std::string_view str02(str_lit01); in test03()
135 csz01 = str01.find_first_of(str_lit01, 0, 3); in test03()
141 csz01 = str01.find_first_of(str_lit01); in test03()
[all …]
H A D1.cc33 const char str_lit01[] = "mave"; in test01() local
35 gdb::string_view str02(str_lit01); in test01()
68 csz01 = str01.find(str_lit01, 0, 3); in test01()
70 csz01 = str01.find(str_lit01, 3, 0); in test01()
74 csz01 = str01.find(str_lit01); in test01()
76 csz01 = str01.find(str_lit01, 3); in test01()
97 const char str_lit01[] = "mave"; in test02() local
99 std::string_view str02(str_lit01); in test02()
135 csz01 = str01.find(str_lit01, 0, 3); in test02()
141 csz01 = str01.find(str_lit01); in test02()
[all …]
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/find/wchar_t/
H A D3.cc33 const wchar_t str_lit01[] = L"Bob Rock"; in test03() local
35 std::wstring_view str03(str_lit01); in test03()
63 csz01 = str01.find_first_not_of(str_lit01, 0, 0); in test03()
65 csz01 = str01.find_first_not_of(str_lit01, 0, 8); in test03()
67 csz01 = str01.find_first_not_of(str_lit01, 10, 0); in test03()
71 csz01 = str01.find_first_not_of(str_lit01); in test03()
73 csz01 = str02.find_first_not_of(str_lit01, 2); in test03()
95 const wchar_t str_lit01[] = L"Bob Rock"; in test04() local
97 std::wstring_view str03(str_lit01); in test04()
136 csz01 = str01.find_first_not_of(str_lit01); in test04()
[all …]
H A D2.cc32 const wchar_t str_lit01[] = L"mave"; in test02() local
34 std::wstring_view str02(str_lit01); in test02()
70 csz01 = str01.find_first_of(str_lit01, 0, 3); in test02()
72 csz01 = str01.find_first_of(str_lit01, 3, 0); in test02()
76 csz01 = str01.find_first_of(str_lit01); in test02()
78 csz01 = str01.find_first_of(str_lit01, 3); in test02()
94 const wchar_t str_lit01[] = L"mave"; in test04() local
96 std::wstring_view str02(str_lit01); in test04()
135 csz01 = str01.find_first_of(str_lit01, 0, 3); in test04()
141 csz01 = str01.find_first_of(str_lit01); in test04()
[all …]
H A D1.cc34 const wchar_t str_lit01[] = L"mave"; in test01() local
36 std::wstring_view str02(str_lit01); in test01()
69 csz01 = str01.find(str_lit01, 0, 3); in test01()
71 csz01 = str01.find(str_lit01, 3, 0); in test01()
75 csz01 = str01.find(str_lit01); in test01()
77 csz01 = str01.find(str_lit01, 3); in test01()
97 const wchar_t str_lit01[] = L"mave"; in test02() local
99 std::wstring_view str02(str_lit01); in test02()
135 csz01 = str01.find(str_lit01, 0, 3); in test02()
141 csz01 = str01.find(str_lit01); in test02()
[all …]
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/find/wchar_t/
H A D3.cc33 const wchar_t str_lit01[] = L"Bob Rock"; in test03() local
35 std::wstring_view str03(str_lit01); in test03()
63 csz01 = str01.find_first_not_of(str_lit01, 0, 0); in test03()
65 csz01 = str01.find_first_not_of(str_lit01, 0, 8); in test03()
67 csz01 = str01.find_first_not_of(str_lit01, 10, 0); in test03()
71 csz01 = str01.find_first_not_of(str_lit01); in test03()
73 csz01 = str02.find_first_not_of(str_lit01, 2); in test03()
95 const wchar_t str_lit01[] = L"Bob Rock"; in test04() local
97 std::wstring_view str03(str_lit01); in test04()
136 csz01 = str01.find_first_not_of(str_lit01); in test04()
[all …]
H A D2.cc32 const wchar_t str_lit01[] = L"mave"; in test02() local
34 std::wstring_view str02(str_lit01); in test02()
70 csz01 = str01.find_first_of(str_lit01, 0, 3); in test02()
72 csz01 = str01.find_first_of(str_lit01, 3, 0); in test02()
76 csz01 = str01.find_first_of(str_lit01); in test02()
78 csz01 = str01.find_first_of(str_lit01, 3); in test02()
94 const wchar_t str_lit01[] = L"mave"; in test04() local
96 std::wstring_view str02(str_lit01); in test04()
135 csz01 = str01.find_first_of(str_lit01, 0, 3); in test04()
141 csz01 = str01.find_first_of(str_lit01); in test04()
[all …]
H A D1.cc34 const wchar_t str_lit01[] = L"mave"; in test01() local
36 std::wstring_view str02(str_lit01); in test01()
69 csz01 = str01.find(str_lit01, 0, 3); in test01()
71 csz01 = str01.find(str_lit01, 3, 0); in test01()
75 csz01 = str01.find(str_lit01); in test01()
77 csz01 = str01.find(str_lit01, 3); in test01()
97 const wchar_t str_lit01[] = L"mave"; in test02() local
99 std::wstring_view str02(str_lit01); in test02()
135 csz01 = str01.find(str_lit01, 0, 3); in test02()
141 csz01 = str01.find(str_lit01); in test02()
[all …]
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/cons/char/
H A D1.cc35 const char str_lit01[] = "rodeo beach, marin"; in test01() local
36 const gdb::string_view str01{str_lit01}; in test01()
38 VERIFY( str01.data() == str_lit01 ); in test01()
48 csize_type len_lit01 = strlen(str_lit01); in test01()
49 gdb::string_view str05{str_lit01, len_lit01}; in test01()
51 VERIFY( str05.data() == str_lit01 ); in test01()
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/cons/wchar_t/
H A D1.cc38 const wchar_t str_lit01[] = L"rodeo beach, marin"; in test01() local
39 const std::wstring_view str01{str_lit01}; in test01()
41 VERIFY( str01.data() == str_lit01 ); in test01()
51 csize_type len_lit01 = wcslen(str_lit01); in test01()
52 std::wstring_view str05{str_lit01, len_lit01}; in test01()
54 VERIFY( str05.data() == str_lit01 ); in test01()
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/cons/char/
H A D1.cc35 const char str_lit01[] = "rodeo beach, marin"; in test01() local
36 const gdb::string_view str01{str_lit01}; in test01()
38 VERIFY( str01.data() == str_lit01 ); in test01()
48 csize_type len_lit01 = strlen(str_lit01); in test01()
49 gdb::string_view str05{str_lit01, len_lit01}; in test01()
51 VERIFY( str05.data() == str_lit01 ); in test01()
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/cons/wchar_t/
H A D1.cc38 const wchar_t str_lit01[] = L"rodeo beach, marin"; in test01() local
39 const std::wstring_view str01{str_lit01}; in test01()
41 VERIFY( str01.data() == str_lit01 ); in test01()
51 csize_type len_lit01 = wcslen(str_lit01); in test01()
52 std::wstring_view str05{str_lit01, len_lit01}; in test01()
54 VERIFY( str05.data() == str_lit01 ); in test01()
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/rfind/char/
H A D1.cc33 const char str_lit01[] = "mave"; in test01() local
35 gdb::string_view str02(str_lit01); in test01()
68 csz01 = str01.rfind(str_lit01, 0, 3); in test01()
70 csz01 = str01.rfind(str_lit01, 3, 0); in test01()
74 csz01 = str01.rfind(str_lit01); in test01()
76 csz01 = str01.rfind(str_lit01, 3); in test01()
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/rfind/wchar_t/
H A D1.cc34 const wchar_t str_lit01[] = L"mave"; in test01() local
36 std::wstring_view str02(str_lit01); in test01()
69 csz01 = str01.rfind(str_lit01, 0, 3); in test01()
71 csz01 = str01.rfind(str_lit01, 3, 0); in test01()
75 csz01 = str01.rfind(str_lit01); in test01()
77 csz01 = str01.rfind(str_lit01, 3); in test01()
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/rfind/char/
H A D1.cc33 const char str_lit01[] = "mave"; in test01() local
35 gdb::string_view str02(str_lit01); in test01()
68 csz01 = str01.rfind(str_lit01, 0, 3); in test01()
70 csz01 = str01.rfind(str_lit01, 3, 0); in test01()
74 csz01 = str01.rfind(str_lit01); in test01()
76 csz01 = str01.rfind(str_lit01, 3); in test01()
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/rfind/wchar_t/
H A D1.cc34 const wchar_t str_lit01[] = L"mave"; in test01() local
36 std::wstring_view str02(str_lit01); in test01()
69 csz01 = str01.rfind(str_lit01, 0, 3); in test01()
71 csz01 = str01.rfind(str_lit01, 3, 0); in test01()
75 csz01 = str01.rfind(str_lit01); in test01()
77 csz01 = str01.rfind(str_lit01, 3); in test01()
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/copy/char/
H A D1.cc29 const char str_lit01[] = "123456789A"; in test01() local
30 const gdb::string_view str01(str_lit01); in test01()
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/copy/char/
H A D1.cc29 const char str_lit01[] = "123456789A"; in test01() local
30 const gdb::string_view str01(str_lit01); in test01()
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/copy/wchar_t/
H A D1.cc31 const wchar_t str_lit01[] = L"123456789A"; in test01() local
32 const std::wstring_view str01(str_lit01); in test01()
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/basic_string_view/operations/copy/wchar_t/
H A D1.cc31 const wchar_t str_lit01[] = L"123456789A"; in test01() local
32 const std::wstring_view str01(str_lit01); in test01()
/netbsd/external/gpl3/gdb/dist/gdb/unittests/basic_string_view/operations/substr/char/
H A D1.cc32 const char str_lit01[] = "rockaway, pacifica"; in test01() local
33 const gdb::string_view str01(str_lit01); in test01()

12