/external/chromium/base/ |
H A D | string_piece_unittest.cc | 317 ASSERT_EQ(h.find_last_of(a), StringPiece::npos); 318 ASSERT_EQ(g.find_last_of(a), g.size()-1); 319 ASSERT_EQ(a.find_last_of(b), 2U); 320 ASSERT_EQ(a.find_last_of(c), a.size()-1); 321 ASSERT_EQ(f.find_last_of(i), 6U); 322 ASSERT_EQ(a.find_last_of('a'), 0U); 323 ASSERT_EQ(a.find_last_of('b'), 1U); 324 ASSERT_EQ(a.find_last_of('z'), 25U); 325 ASSERT_EQ(a.find_last_of('a', 5), 0U); 326 ASSERT_EQ(a.find_last_of(' [all...] |
H A D | string_piece.cc | 150 size_type StringPiece::find_last_of(const StringPiece& s, size_type pos) const { function in class:base::StringPiece 156 return find_last_of(s.ptr_[0], pos);
|
H A D | string_piece.h | 149 size_type find_last_of(const StringPiece& s, size_type pos = npos) const; 150 size_type find_last_of(char c, size_type pos = npos) const { function in class:base::StringPiece
|
H A D | vlog.cc | 87 module.find_last_of("\\/");
|
/external/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 206 /// find_last_of - Find the last character in the string that is \arg C, or 208 size_t find_last_of(char C, size_t From = StringRef::npos) const { function in class:llvm::SmallString 209 return str().find_last_of(C, From); 212 /// find_last_of - Find the last character in the string that is in \arg C, 216 size_t find_last_of( function in class:llvm::SmallString 218 return str().find_last_of(Chars, From);
|
H A D | StringRef.h | 284 /// find_last_of - Find the last character in the string that is \arg C, or 286 size_type find_last_of(char C, size_t From = npos) const { 290 /// find_last_of - Find the last character in the string that is in \arg C, 294 size_type find_last_of(StringRef Chars, size_t From = npos) const;
|
/external/webrtc/test/testsupport/ |
H A D | fileutils.cc | 53 int path_delimiter_index = current_path.find_last_of(kPathDelimiter); 64 path_delimiter_index = current_path.find_last_of(kPathDelimiter);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | pathutils.cc | 134 std::string::size_type pos = pathname.find_last_of(FOLDER_DELIMS); 163 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2); 175 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2);
|
/external/oprofile/libutil++/ |
H A D | string_manip.cpp | 26 string::size_type pos = result.find_last_of(ch);
|
H A D | file_manip.cpp | 159 size_t pos = result.find_last_of('/');
|
/external/stlport/test/unit/ |
H A D | string_test.cpp | 65 CPPUNIT_TEST(find_last_of); 124 void find_last_of(); 781 void StringTest::find_last_of() function in class:StringTest 786 CPPUNIT_ASSERT( s.find_last_of("abcde") == 26 ); 790 CPPUNIT_CHECK( test.find_last_of( "a", 2, 1 ) == 2 ); 791 CPPUNIT_CHECK( test.find_last_of( "a", 1, 1 ) == 0 ); 792 CPPUNIT_CHECK( test.find_last_of( "a", 0, 1 ) == 0 ); 794 CPPUNIT_CHECK( test.find_last_of( 'a', 2 ) == 2 ); 795 CPPUNIT_CHECK( test.find_last_of( 'a', 1 ) == 0 ); 796 CPPUNIT_CHECK( test.find_last_of( ' [all...] |
/external/astl/tests/ |
H A D | test_string.cpp | 1027 EXPECT_TRUE(s.find_last_of('a') == string::npos); 1028 EXPECT_TRUE(s.find_last_of('a', 0) == string::npos); 1029 EXPECT_TRUE(s.find_last_of('a', 10) == string::npos); 1031 EXPECT_TRUE(s.find_last_of('a', 10) == 10); 1032 EXPECT_TRUE(s.find_last_of('a', 9) == 7); 1033 EXPECT_TRUE(s.find_last_of('a', 0) == 0); 1035 EXPECT_TRUE(s.find_last_of('a') == 0); 1037 // For char (set of size 1) find_last_of is equiv to rfind(char, pos).
|
/external/stlport/stlport/stl/ |
H A D | _string_sum.h | 208 size_type find_last_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum 209 { return _M_get_storage().find_last_of(__s, __pos); } 210 size_type find_last_of(const _CharT* __s, size_type __pos = _BString::npos) const function in class:__bstr_sum 211 { return _M_get_storage().find_last_of(__s, __pos); } 212 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const function in class:__bstr_sum 213 { return _M_get_storage().find_last_of(__s, __pos, __n); } 214 size_type find_last_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum
|
H A D | _string.h | 987 public: // find_last_of 988 size_type find_last_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 989 { return find_last_of(__s._M_Start(), __pos, __s.size()); } 991 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const function in class:basic_string 992 { _STLP_FIX_LITERAL_BUG(__s) return find_last_of(__s, __pos, _Traits::length(__s)); } 994 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const; 996 size_type find_last_of(_CharT __c, size_type __pos = npos) const function in class:basic_string
|
/external/astl/include/ |
H A D | string | 284 return find_last_of(c, pos); 299 size_type find_last_of(value_type c, size_type pos = npos) const;
|
/external/protobuf/src/google/protobuf/testing/ |
H A D | file.cc | 106 string::size_type slashpos = path.find_last_of('/');
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
H A D | javamicro_helpers.cc | 136 string::size_type last_slash = file->name().find_last_of('/'); 211 string base_name = full_name.substr(0, full_name.find_last_of('.'));
|
/external/stlport/stlport/stl/debug/ |
H A D | _string.h | 742 // find_last_of 743 size_type find_last_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 744 { return _M_non_dbg_impl.find_last_of(__s._M_non_dbg_impl, __pos); } 745 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const { function in class:basic_string 748 return _M_non_dbg_impl.find_last_of(__s, __pos); 750 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const { function in class:basic_string 753 return _M_non_dbg_impl.find_last_of(__s, __pos, __n); 755 size_type find_last_of(_CharT __c, size_type __pos = npos) const function in class:basic_string
|
/external/llvm/lib/Support/ |
H A D | PathV2.cpp | 85 size_t pos = str.find_last_of(separators, str.size() - 1); 89 pos = str.find_last_of(':', str.size() - 2); 419 size_t pos = p.find_last_of('.'); 458 size_t pos = fname.find_last_of('.'); 471 size_t pos = fname.find_last_of('.');
|
/external/chromium/net/tools/dump_cache/ |
H A D | url_to_filename_encoder.cc | 100 size_t start_of_segment = filename_prefix.find_last_of(dir_separator);
|
/external/chromium/net/tools/tld_cleanup/ |
H A D | tld_cleanup.cc | 210 size_t tld_start = domain.find_last_of('.');
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
H A D | xmlnsstack.cc | 155 size_t i = ns.find_last_of('.');
|
/external/oprofile/libpp/ |
H A D | parse_filename.cpp | 125 string::size_type pos = filename.find_last_of('/');
|
/external/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_helpers.cc | 126 string::size_type last_slash = file->name().find_last_of('/');
|
/external/chromium/chrome/browser/net/ |
H A D | predictor.cc | 340 size_t left_start = left_host.find_last_of('.', left_already_matched - 1); 349 size_t right_start = right_host.find_last_of('.',
|