Searched refs:csz01 (Results 1 - 10 of 10) sorted by relevance

/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/21_strings/
H A Drfind.cc33 csize_type csz01, csz02; local
42 csz01 = str01.rfind(str01);
43 VERIFY( csz01 == 0 );
44 csz01 = str01.rfind(str01, 4);
45 VERIFY( csz01 == 0 );
46 csz01 = str01.rfind(str02,3);
47 VERIFY( csz01 == 0 );
48 csz01 = str01.rfind(str02);
49 VERIFY( csz01 == 0 );
50 csz01
[all...]
H A Dfind.cc34 csize_type csz01, csz02; local
43 csz01 = str01.find(str01);
44 VERIFY( csz01 == 0 );
45 csz01 = str01.find(str01, 4);
46 VERIFY( csz01 == npos );
47 csz01 = str01.find(str02, 0);
48 VERIFY( csz01 == 0 );
49 csz01 = str01.find(str02, 3);
50 VERIFY( csz01 == npos );
51 csz01
[all...]
H A Delement_access.cc34 csize_type csz01, csz02; local
41 csz01 = str01.size();
42 cref cref1 = str01[csz01 - 1];
44 cref cref2 = str01[csz01];
55 csz01 = str01.size();
56 cref cref3 = str01.at(csz01 - 1);
59 cref cref4 = str01.at(csz01);
70 csz01 = str02.size();
H A Dsubstr.cc34 csize_type csz01, csz02; local
42 csz01 = str01.size();
49 str02 = str01.substr(csz01 + 1);
60 str02 = str01.substr(csz01);
H A Dinvariants.cc37 csize_type csz01, csz02; local
65 csz01 = str01.size();
68 VERIFY( str01[csz01 - 1] == 'z' );
69 VERIFY( str03[csz01 - 1] == 'y' );
72 csz01 = str01.size();
73 std::string::reference r1 = str01.at(csz01 - 2);
76 VERIFY( str01[csz01 - 2] == 'd' );
77 VERIFY( str03[csz01 - 2] == 'a' );
80 csz01 = str01.size();
81 std::string::reference r2 = str01[csz01
120 csize_type csz01, csz02; local
[all...]
H A Dinsert.cc33 csize_type csz01, csz02; local
53 csz01 = str03.size();
56 str03.insert(csz01 + 1, str02, 0, 5);
67 csz01 = str03.size();
80 csz01 = str01.max_size();
82 std::string str04(csz01, 'b');
104 csz01 = str03.size();
110 csz01 = str03.size();
116 csz01 = str03.size();
118 str03.insert(csz01, str0
[all...]
H A Dctor_copy_dtor.cc35 csize_type csz01, csz02; local
42 csz01 = str01.size();
44 std::string str03(str01, csz01 + 1);
55 std::string str03(str01, csz01);
64 csz01 = str01.max_size();
65 // NB: As strlen(str_lit01) != csz01, this test is undefined. It
68 std::string str03(str_lit01, csz01 + 1);
78 // NB: As strlen(str_lit01) != csz01, this test is undefined. It
94 std::string str03(csz01 - 1, 'A');
95 VERIFY( str03.size() == csz01
[all...]
H A Dappend.cc34 csize_type csz01, csz02; local
59 csz01 = str03.size();
61 str06.append(str03, csz01 + 1, 0);
71 csz01 = str01.size();
73 str06.append(str01, csz01 + 1, 0);
H A Dreplace.cc34 csize_type csz01, csz02; local
H A Dinserters_extractors.cc42 csize_type csz01, csz02; local

Completed in 81 milliseconds