/external/libcxx/test/std/experimental/string.view/string.view.find/ |
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, "" );
|
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, "" );
|
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, "" );
|
/frameworks/compile/mclinker/lib/Support/ |
Path.cpp | 159 size_t end_pos = m_PathName.find_last_of(separator); 166 size_t pos = m_PathName.find_last_of(separator); 175 size_t begin_pos = m_PathName.find_last_of(separator) + 1; 176 size_t end_pos = m_PathName.find_last_of(dot); 182 size_t pos = m_PathName.find_last_of('.');
|
/external/llvm/include/llvm/ADT/ |
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/opencv3/modules/viz/test/ |
test_precomp.cpp | 22 String::size_type pos = file.find_last_of('.');
|
/external/libchrome/base/strings/ |
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('b', 5), 1U) [all...] |
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/ |
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('b', 5), 1U) [all...] |
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/ |
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/opencv3/samples/cpp/tutorial_code/video/ |
bg_sub.cpp | 146 size_t index = fn.find_last_of("/"); 148 index = fn.find_last_of("\\"); 150 size_t index2 = fn.find_last_of(".");
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.of/ |
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);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/ |
algorithm.hpp | 132 find_last_of( BidirectionalIterator1 first1, BidirectionalIterator1 last1, function in namespace:boost::unit_test 156 find_last_of( BidirectionalIterator1 first1, BidirectionalIterator1 last1, function in namespace:boost::unit_test
|
/bootable/recovery/ |
recovery-refresh.cpp | 79 size_t dot = name.find_last_of(".");
|
/external/google-breakpad/src/common/windows/ |
string_utils.cc | 40 size_t slash_pos = base_name.find_last_of(L"/\\");
|
/external/opencv3/samples/cpp/tutorial_code/HighGUI/video-write/ |
video-write.cpp | 42 string::size_type pAt = source.find_last_of('.'); // Find extension point
|
/external/pdfium/testing/utils/ |
path_service.cpp | 58 std::size_t found = path->find_last_of(PATH_SEPARATOR, pos);
|
/external/webrtc/webrtc/base/ |
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/ |
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/opencv3/modules/core/include/opencv2/core/ |
cvstd.hpp | 544 size_t find_last_of(const char* s, size_t pos, size_t n) const; 545 size_t find_last_of(char c, size_t pos = npos) const; 546 size_t find_last_of(const String& str, size_t pos = npos) const; 547 size_t find_last_of(const char* s, size_t pos = npos) const; 911 size_t String::find_last_of(const char* s, size_t pos, size_t n) const function in class:cv::String 924 size_t String::find_last_of(char c, size_t pos) const function in class:cv::String 926 return find_last_of(&c, pos, 1); 930 size_t String::find_last_of(const String& str, size_t pos) const function in class:cv::String 932 return find_last_of(str.c_str(), pos, str.len_); 936 size_t String::find_last_of(const char* s, size_t pos) cons function in class:cv::String [all...] |
/prebuilts/misc/common/swig/include/2.0.11/std/ |
std_basic_string.i | 152 find_last_of(const basic_string& __str, size_type __pos = npos) const; 155 find_last_of(const _CharT* __s, size_type __pos, size_type __n) const; 158 find_last_of(_CharT __c, size_type __pos = npos) const;
|
/bionic/tools/relocation_packer/src/ |
main.cc | 32 const size_t last_slash = temporary.find_last_of("/");
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
bwe_rtp.cc | 86 if (filename.substr(filename.find_last_of(".")) == ".pcap") {
|