/external/libcxx/test/std/experimental/string.view/string.view.find/ |
H A D | find_last_of_char_size.pass.cpp | 12 // constexpr size_type find_last_of(charT c, size_type pos = npos) const; 24 assert(s.find_last_of(c, pos) == x); 33 assert(s.find_last_of(c) == x); 75 static_assert (sv1.find_last_of( 'i', 0 ) == SV::npos, "" ); 76 static_assert (sv1.find_last_of( 'i', 1 ) == SV::npos, "" ); 77 static_assert (sv2.find_last_of( 'a', 0 ) == 0, "" ); 78 static_assert (sv2.find_last_of( 'a', 1 ) == 0, "" ); 79 static_assert (sv2.find_last_of( 'e', 5 ) == 4, "" );
|
H A D | find_last_of_pointer_size.pass.cpp | 12 // constexpr size_type find_last_of(const charT* s, size_type pos = npos) const; 24 assert(s.find_last_of(str, pos) == x); 33 assert(s.find_last_of(str) == x); 158 static_assert (sv1.find_last_of( "", 0) == SV::npos, "" ); 159 static_assert (sv1.find_last_of( "irkhs", 5) == SV::npos, "" ); 160 static_assert (sv2.find_last_of( "", 0) == SV::npos, "" ); 161 static_assert (sv2.find_last_of( "gfsrt", 5) == SV::npos, "" ); 162 static_assert (sv2.find_last_of( "lecar", 5) == 4, "" );
|
H A D | find_last_of_pointer_size_size.pass.cpp | 12 // constexpr size_type find_last_of(const charT* s, size_type pos, size_type n) const; 24 assert(s.find_last_of(str, pos, n) == x); 385 static_assert (sv1.find_last_of( "", 0, 0) == SV::npos, "" ); 386 static_assert (sv1.find_last_of( "irkhs", 0, 5) == SV::npos, "" ); 387 static_assert (sv2.find_last_of( "", 0, 0) == SV::npos, "" ); 388 static_assert (sv2.find_last_of( "gfsrt", 5, 5) == SV::npos, "" ); 389 static_assert (sv2.find_last_of( "lecar", 5, 5) == 4, "" );
|
H A D | find_last_of_string_view_size.pass.cpp | 12 // size_type find_last_of(const basic_string& str, size_type pos = npos) const; 21 assert(s.find_last_of(str, pos) == x); 30 assert(s.find_last_of(str) == x);
|
/external/libchrome/base/strings/ |
H A D | string_piece_unittest.cc | 391 ASSERT_EQ(h.find_last_of(a), Piece::npos); 392 ASSERT_EQ(g.find_last_of(a), g.size()-1); 393 ASSERT_EQ(a.find_last_of(b), 2U); 394 ASSERT_EQ(a.find_last_of(c), a.size()-1); 395 ASSERT_EQ(f.find_last_of(i), 6U); 396 ASSERT_EQ(a.find_last_of('a'), 0U); 397 ASSERT_EQ(a.find_last_of('b'), 1U); 398 ASSERT_EQ(a.find_last_of('z'), 25U); 399 ASSERT_EQ(a.find_last_of('a', 5), 0U); 400 ASSERT_EQ(a.find_last_of(' [all...] |
H A D | string_piece.h | 113 BASE_EXPORT size_t find_last_of(const StringPiece& self, 116 BASE_EXPORT size_t find_last_of(const StringPiece16& self, 119 BASE_EXPORT size_t find_last_of(const StringPiece& self, 122 BASE_EXPORT size_t find_last_of(const StringPiece16& self, 333 // find_last_of: Find the last occurence of one of a set of characters. 334 size_type find_last_of(const BasicStringPiece& s, function in class:base::BasicStringPiece 336 return internal::find_last_of(*this, s, pos); 338 size_type find_last_of(value_type c, function in class:base::BasicStringPiece
|
/external/libweave/third_party/chromium/base/strings/ |
H A D | string_piece_unittest.cc | 380 ASSERT_EQ(h.find_last_of(a), Piece::npos); 381 ASSERT_EQ(g.find_last_of(a), g.size()-1); 382 ASSERT_EQ(a.find_last_of(b), 2U); 383 ASSERT_EQ(a.find_last_of(c), a.size()-1); 384 ASSERT_EQ(f.find_last_of(i), 6U); 385 ASSERT_EQ(a.find_last_of('a'), 0U); 386 ASSERT_EQ(a.find_last_of('b'), 1U); 387 ASSERT_EQ(a.find_last_of('z'), 25U); 388 ASSERT_EQ(a.find_last_of('a', 5), 0U); 389 ASSERT_EQ(a.find_last_of(' [all...] |
H A D | string_piece.h | 68 size_t find_last_of(const StringPiece& self, const StringPiece& s, size_t pos); 69 size_t find_last_of(const StringPiece& self, char c, size_t pos); 252 // find_last_of: Find the last occurence of one of a set of characters. 253 size_type find_last_of(const BasicStringPiece& s, function in class:base::BasicStringPiece 255 return internal::find_last_of(*this, s, pos); 257 size_type find_last_of(value_type c, function in class:base::BasicStringPiece
|
/external/eigen/scripts/ |
H A D | eigen_gen_credits.cpp | 85 size_t last_space = line.find_last_of(' '); 112 size_t last_space = name.find_last_of(' '); 142 size_t last_bar = line.find_last_of('|'); 148 last_bar = line.find_last_of('|'); 154 last_bar = line.find_last_of('|');
|
/external/lldb/source/Core/ |
H A D | StreamString.cpp | 84 size_t last_line_begin_pos = m_packet.find_last_of("\r\n");
|
/external/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 205 size_t find_last_of(char C, size_t From = StringRef::npos) const { function in class:llvm::SmallString 206 return str().find_last_of(C, From); 213 size_t find_last_of( function in class:llvm::SmallString 215 return str().find_last_of(Chars, From);
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
H A D | char_size.pass.cpp | 12 // size_type find_last_of(charT c, size_type pos = npos) const; 24 assert(s.find_last_of(c, pos) == x); 33 assert(s.find_last_of(c) == x);
|
H A D | pointer_size.pass.cpp | 12 // size_type find_last_of(const charT* s, size_type pos = npos) const; 24 assert(s.find_last_of(str, pos) == x); 33 assert(s.find_last_of(str) == x);
|
H A D | string_size.pass.cpp | 12 // size_type find_last_of(const basic_string& str, size_type pos = npos) const; 23 assert(s.find_last_of(str, pos) == x); 32 assert(s.find_last_of(str) == x);
|
/external/google-breakpad/src/common/windows/ |
H A D | string_utils.cc | 40 size_t slash_pos = base_name.find_last_of(L"/\\");
|
/external/pdfium/testing/utils/ |
H A D | path_service.cpp | 58 std::size_t found = path->find_last_of(PATH_SEPARATOR, pos);
|
/external/webrtc/webrtc/base/ |
H A D | pathutils.cc | 117 std::string::size_type pos = pathname.find_last_of(FOLDER_DELIMS); 146 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2); 158 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2);
|
/external/webrtc/webrtc/test/testsupport/ |
H A D | fileutils.cc | 92 temp_path = temp_path.substr(0, temp_path.find_last_of(kPathDelimiter)); 127 size_t path_delimiter_index = path.find_last_of(kPathDelimiter); 135 path_delimiter_index = path.find_last_of(kPathDelimiter);
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
H A D | bwe_rtp.cc | 86 if (filename.substr(filename.find_last_of(".")) == ".pcap") {
|
/external/lldb/source/Target/ |
H A D | CPPLanguageRuntime.cpp | 259 pos = s.find_last_of(left_right_chars, pos); 266 pos = s.find_last_of(left_right_chars, pos);
|
/external/deqp/executor/tools/ |
H A D | xeBatchResultToJUnit.cpp | 113 size_t sepPos = result.casePath.find_last_of('.');
|
/external/libchrome/base/ |
H A D | vlog.cc | 91 module.find_last_of("\\/");
|
/external/marisa-trie/tools/ |
H A D | marisa-build.cc | 44 const std::string::size_type delim_pos = line.find_last_of('\t');
|
/external/marisa-trie/v0_1_5/tools/ |
H A D | marisa_alpha-build.cc | 44 const std::string::size_type delim_pos = line.find_last_of('\t');
|
/external/protobuf/src/google/protobuf/testing/ |
H A D | file.cc | 124 string::size_type slashpos = path.find_last_of('/');
|