/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/21_strings/ |
H A D | replace.cc | 38 std::string str02("del mar, california"); 108 std::string str02 = title02; local 110 str01.replace(0, 4, str02); 113 str01.replace(15, 9, str02, 2, 2); 117 str02.replace(0, 0, str01, 0, std::string::npos); 118 VERIFY(str02 == "nine types of ambiguityultra"); 120 str02.replace(11, 2, title02, 5); 121 VERIFY(str02 == "nine types ultra ambiguityultra"); 123 str02.replace(11, 5, title01, 2); 124 VERIFY(str02 152 std::string str02; local 188 std::string str02 = "cydonia"; local [all...] |
H A D | substr.cc | 38 std::string str02; local 43 str02 = str01.substr(0, 1); 44 VERIFY( str02 == "r" ); 45 str02 = str01.substr(10); 46 VERIFY( str02 == "pacifica" ); 49 str02 = str01.substr(csz01 + 1); 60 str02 = str01.substr(csz01); 61 VERIFY( str02.size() == 0 );
|
H A D | element_access.cc | 37 std::string str02("41st street beach, capitola, california"); 48 csz02 = str02.size(); 49 ref ref1 = str02[csz02 - 1]; 51 ref ref2 = str02[1]; 70 csz01 = str02.size(); 71 ref ref3 = str02.at(csz02 - 1); 74 ref ref4 = str02.at(csz02);
|
H A D | insert.cc | 36 const std::string str02("baker beach, san francisco"); 54 csz02 = str02.size(); 56 str03.insert(csz01 + 1, str02, 0, 5); 68 csz02 = str02.size(); 70 str03.insert(0, str02, csz02 + 1, 5); 84 csz02 = str02.size(); 86 str03.insert(0, str02, 0, 5); 105 csz02 = str02.size(); 106 str03.insert(13, str02, 0, 12); 111 csz02 = str02 [all...] |
H A D | capacity.cc | 159 std::basic_string< A<B> > str02; local 164 sz03 = str02.capacity(); 165 str02.reserve(100); 166 sz04 = str02.capacity(); 169 str02.reserve(); 170 sz03 = str02.capacity(); 173 sz03 = str02.size() + 5; 174 str02.resize(sz03); 175 sz04 = str02.size(); 178 sz03 = str02 260 std::string str02 = str01; local [all...] |
H A D | append.cc | 38 const std::string str02("corpus, "); 44 str05 = str02; 83 str05 = str02; 86 VERIFY( str05 != str02 ); 88 str06 = str02; 91 VERIFY( str02 != str06 ); 103 str06 = str02; 118 str06 = str02; 122 str06 = str02; 143 str06 = str02; [all...] |
H A D | invariants.cc | 42 const std::string str02("ocean beach, san francisco"); 126 std::string str02 = str01; local 127 std::string str05 = str02; // optional, so that begin below causes a mutate 128 std::string::iterator p = str02.insert(str02.begin(), ' '); 129 std::string str03 = str02; 130 VERIFY( str03 == str02 ); 134 VERIFY( str02[0] == '!' ); 136 VERIFY( str02 != str05 ); 137 VERIFY( str02 ! [all...] |
H A D | rfind.cc | 37 std::string str02(str_lit01); 46 csz01 = str01.rfind(str02,3); 48 csz01 = str01.rfind(str02);
|
H A D | inserters_extractors.cc | 46 const std::string str02("sailing"); 55 VERIFY( str10 == str02 ); 273 std::string str02; local 274 is >> str02 >> std::ws; 275 size_type i05 = str02.size(); 276 size_type i06 = str02.capacity();
|
H A D | find.cc | 38 std::string str02(str_lit01); 47 csz01 = str01.find(str02, 0); 49 csz01 = str01.find(str02, 3); 95 csz01 = str01.find_first_of(str02, 0); 97 csz01 = str01.find_first_of(str02, 3);
|
H A D | ctor_copy_dtor.cc | 39 const std::string str02("baker beach, san francisco"); 214 std::string str02(i1, i2); 215 VERIFY( str02 == "onifotrop" );
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/27_io/ |
H A D | ios_base_callbacks.cc | 28 std::string str02; variable 32 { str02 += "the nubians"; } 36 { str02 += " of "; } 40 { str02 += "plutonia"; } 53 VERIFY( str01 == str02 );
|
H A D | ostringstream_members.cc | 32 std::string str02; local 41 str02 = os01.str(); 42 VERIFY( str00 == str02 ); 46 str02 = os01.str(); 47 VERIFY( str01 == str02 ); 70 std::string str02; local 93 str02 = psbuf->str(); 94 VERIFY( str02 == str01 ); 115 std::string str02("these golden days, i spend waiting for you:\n" 117 __i_start = str02 [all...] |
H A D | istringstream_members.cc | 32 std::string str02; local 41 str02 = is01.str(); 42 VERIFY( str00 == str02 ); 46 str02 = is01.str(); 47 VERIFY( str01 == str02 ); 93 std::string str02; local 116 str02 = psbuf->str(); 117 VERIFY( str02 == str01 );
|
H A D | stringstream_members.cc | 32 std::string str02; local 41 str02 = is01.str(); 42 VERIFY( str00 == str02 ); 46 str02 = is01.str(); 47 VERIFY( str01 == str02 ); 93 std::string str02; local 116 str02 = psbuf->str(); 117 VERIFY( str02 == str01 );
|
H A D | ios_manip_fmtflags.cc | 94 std::string str02; local 102 str02 = ostr01.str(); 103 VERIFY( str02 == strue ); 107 str02 = ostr01.str(); 108 VERIFY( str02 == sfalse );
|
H A D | fstream_members.cc | 42 std::string str02; local
|
H A D | istream_manip.cc | 34 std::string str02(str_lit01);
|
H A D | ifstream_members.cc | 92 std::string str02; local
|
H A D | ofstream_members.cc | 93 std::string str02; local
|
H A D | ostream_inserter_char.cc | 75 std::string str02 = "1"; local 80 oss02 << str02; local 111 std::string str02 = "1"; local 116 oss02 << str02; local
|
H A D | ostream_manip.cc | 34 std::string str02(str_lit01);
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/23_containers/ |
H A D | bitset_ctor.cc | 60 std::string str02("010101000011"); 61 int sz = str02.size(); 63 std::bitset<n3> bit03(str02, 0); 68 VERIFY( str03 == str02 );
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/24_iterators/ |
H A D | ostreambuf_iterator.cc | 59 std::string str02(slit02); 92 int j = str02.size(); 94 ostrb_it27 = str02[i]; 98 VERIFY ( tmp == str02 ); 108 VERIFY ( tmp != str02 );
|