/external/chromium_org/base/strings/ |
D | string_piece_unittest.cc | 389 ASSERT_EQ(h.find_last_of(a), Piece::npos); in TYPED_TEST() 390 ASSERT_EQ(g.find_last_of(a), g.size()-1); in TYPED_TEST() 391 ASSERT_EQ(a.find_last_of(b), 2U); in TYPED_TEST() 392 ASSERT_EQ(a.find_last_of(c), a.size()-1); in TYPED_TEST() 393 ASSERT_EQ(f.find_last_of(i), 6U); in TYPED_TEST() 394 ASSERT_EQ(a.find_last_of('a'), 0U); in TYPED_TEST() 395 ASSERT_EQ(a.find_last_of('b'), 1U); in TYPED_TEST() 396 ASSERT_EQ(a.find_last_of('z'), 25U); in TYPED_TEST() 397 ASSERT_EQ(a.find_last_of('a', 5), 0U); in TYPED_TEST() 398 ASSERT_EQ(a.find_last_of('b', 5), 1U); in TYPED_TEST() [all …]
|
D | string_piece.h | 119 BASE_EXPORT size_t find_last_of(const StringPiece& self, 122 BASE_EXPORT size_t find_last_of(const StringPiece16& self, 125 BASE_EXPORT size_t find_last_of(const StringPiece& self, 128 BASE_EXPORT size_t find_last_of(const StringPiece16& self, 323 size_type find_last_of(const BasicStringPiece& s, 325 return internal::find_last_of(*this, s, pos); 327 size_type find_last_of(value_type c,
|
/external/eigen/scripts/ |
D | eigen_gen_credits.cpp | 85 size_t last_space = line.find_last_of(' '); in contributors_map_from_churn_output() 112 size_t last_space = name.find_last_of(' '); in lastname() 142 size_t last_bar = line.find_last_of('|'); in add_online_info_into_contributors_list() 148 last_bar = line.find_last_of('|'); in add_online_info_into_contributors_list() 154 last_bar = line.find_last_of('|'); in add_online_info_into_contributors_list()
|
/external/chromium_org/third_party/cython/src/Cython/Includes/libcpp/ |
D | string.pxd | 82 size_t find_last_of(string&, size_t) nogil 83 size_t find_last_of(char* s, size_t, size_t) nogil 84 size_t find_last_of(char*, size_t pos) nogil 85 size_t find_last_of(char c, size_t) nogil 86 size_t find_last_of(char c) nogil
|
/external/llvm/include/llvm/ADT/ |
D | SmallString.h | 205 size_t find_last_of(char C, size_t From = StringRef::npos) const { 206 return str().find_last_of(C, From); 213 size_t find_last_of( 215 return str().find_last_of(Chars, From);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
D | video_source.cc | 174 size_t slashPos = _fileName.find_last_of("/\\"); in GetFilePath() 187 size_t slashPos = _fileName.find_last_of("/\\"); in GetName() 198 return _fileName.substr(slashPos, std::min(_fileName.find_last_of("_"), in GetName() 199 _fileName.find_last_of(".")) - slashPos); in GetName()
|
/external/chromium_org/third_party/webrtc/test/testsupport/ |
D | fileutils.cc | 88 temp_path = temp_path.substr(0, temp_path.find_last_of(kPathDelimiter)); in SetExecutablePath() 135 size_t path_delimiter_index = path.find_last_of(kPathDelimiter); in ProjectRootPath() 143 path_delimiter_index = path.find_last_of(kPathDelimiter); in ProjectRootPath()
|
/external/chromium_org/third_party/webrtc/base/ |
D | pathutils.cc | 117 std::string::size_type pos = pathname.find_last_of(FOLDER_DELIMS); in SetPathname() 146 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2); in folder_name() 158 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2); in parent_folder()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
D | video_source.cc | 68 size_t slashPos = _fileName.find_last_of("/\\"); in GetName() 82 return _fileName.substr(slashPos, _fileName.find_last_of(".") - slashPos); in GetName()
|
/external/webrtc/test/testsupport/ |
D | fileutils.cc | 53 int path_delimiter_index = current_path.find_last_of(kPathDelimiter); in ProjectRootPath() 64 path_delimiter_index = current_path.find_last_of(kPathDelimiter); in ProjectRootPath()
|
/external/libcxx/test/strings/basic.string/string.ops/string_find.last.of/ |
D | char_size.pass.cpp | 24 assert(s.find_last_of(c, pos) == x); in test() 33 assert(s.find_last_of(c) == x); in test()
|
D | pointer_size.pass.cpp | 24 assert(s.find_last_of(str, pos) == x); in test() 33 assert(s.find_last_of(str) == x); in test()
|
D | string_size.pass.cpp | 23 assert(s.find_last_of(str, pos) == x); in test() 32 assert(s.find_last_of(str) == x); in test()
|
/external/stlport/test/unit/ |
D | string_test.cpp | 65 CPPUNIT_TEST(find_last_of); 124 void find_last_of(); 781 void StringTest::find_last_of() in find_last_of() function in StringTest 786 CPPUNIT_ASSERT( s.find_last_of("abcde") == 26 ); in find_last_of() 790 CPPUNIT_CHECK( test.find_last_of( "a", 2, 1 ) == 2 ); in find_last_of() 791 CPPUNIT_CHECK( test.find_last_of( "a", 1, 1 ) == 0 ); in find_last_of() 792 CPPUNIT_CHECK( test.find_last_of( "a", 0, 1 ) == 0 ); in find_last_of() 794 CPPUNIT_CHECK( test.find_last_of( 'a', 2 ) == 2 ); in find_last_of() 795 CPPUNIT_CHECK( test.find_last_of( 'a', 1 ) == 0 ); in find_last_of() 796 CPPUNIT_CHECK( test.find_last_of( 'a', 0 ) == 0 ); in find_last_of()
|
/external/chromium_org/tools/traceline/traceline/ |
D | sym_resolver.h | 80 size_t last_slash = filename.find_last_of('\\'); in proc_() 82 filename = filename.substr(filename.find_last_of('\\') + 1); in proc_()
|
/external/stlport/stlport/stl/ |
D | _string_sum.h | 208 size_type find_last_of(const _BString& __s, size_type __pos = _BString::npos) const 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 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 in find_last_of() function 213 { return _M_get_storage().find_last_of(__s, __pos, __n); } in find_last_of() 214 size_type find_last_of(_CharT __c, size_type __pos = _BString::npos) const
|
/external/chromium_org/third_party/angle/util/win32/ |
D | Win32_path_utils.cpp | 21 size_t lastPathSepLoc = executablePath.find_last_of("\\/"); in GetExecutableDirectory()
|
/external/chromium_org/components/cdm/renderer/ |
D | widevine_key_systems.cc | 23 size_t last_period = name.find_last_of('.'); in GetDirectParentName()
|
/external/chromium_org/third_party/brotli/src/woff2/ |
D | woff2_decompress.cc | 33 string outfilename = filename.substr(0, filename.find_last_of(".")) + ".ttf"; in main()
|
D | woff2_compress.cc | 32 string outfilename = filename.substr(0, filename.find_last_of(".")) + ".woff2"; in main()
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/ |
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 {
|
D | string_piece.cc | 156 size_type StringPiece::find_last_of(const StringPiece& s, size_type pos) const { in find_last_of() function in i18n::phonenumbers::StringPiece 162 return find_last_of(s.ptr_[0], pos); in find_last_of()
|
/external/lldb/source/Core/ |
D | StreamString.cpp | 84 size_t last_line_begin_pos = m_packet.find_last_of("\r\n"); in FillLastLineToColumn()
|
/external/chromium_org/tools/relocation_packer/src/ |
D | main.cc | 34 const size_t last_slash = temporary.find_last_of("/"); in PrintUsage()
|
/external/stlport/stlport/stl/debug/ |
D | _string.h | 743 size_type find_last_of(const _Self& __s, size_type __pos = npos) const 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 { 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 { in find_last_of() function 753 return _M_non_dbg_impl.find_last_of(__s, __pos, __n); in find_last_of() 755 size_type find_last_of(_CharT __c, size_type __pos = npos) const
|