Home
last modified time | relevance | path

Searched refs:find_last_of (Results 1 – 25 of 117) sorted by relevance

12345

/external/chromium_org/base/strings/
Dstring_piece_unittest.cc389 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 …]
Dstring_piece.h119 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/
Deigen_gen_credits.cpp85 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/
Dstring.pxd82 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/
DSmallString.h205 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/
Dvideo_source.cc174 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/
Dfileutils.cc88 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/
Dpathutils.cc117 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/
Dvideo_source.cc68 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/
Dfileutils.cc53 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/
Dchar_size.pass.cpp24 assert(s.find_last_of(c, pos) == x); in test()
33 assert(s.find_last_of(c) == x); in test()
Dpointer_size.pass.cpp24 assert(s.find_last_of(str, pos) == x); in test()
33 assert(s.find_last_of(str) == x); in test()
Dstring_size.pass.cpp23 assert(s.find_last_of(str, pos) == x); in test()
32 assert(s.find_last_of(str) == x); in test()
/external/stlport/test/unit/
Dstring_test.cpp65 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/
Dsym_resolver.h80 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.h208 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/
DWin32_path_utils.cpp21 size_t lastPathSepLoc = executablePath.find_last_of("\\/"); in GetExecutableDirectory()
/external/chromium_org/components/cdm/renderer/
Dwidevine_key_systems.cc23 size_t last_period = name.find_last_of('.'); in GetDirectParentName()
/external/chromium_org/third_party/brotli/src/woff2/
Dwoff2_decompress.cc33 string outfilename = filename.substr(0, filename.find_last_of(".")) + ".ttf"; in main()
Dwoff2_compress.cc32 string outfilename = filename.substr(0, filename.find_last_of(".")) + ".woff2"; in main()
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
Dstring_piece.h149 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 {
Dstring_piece.cc156 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/
DStreamString.cpp84 size_t last_line_begin_pos = m_packet.find_last_of("\r\n"); in FillLastLineToColumn()
/external/chromium_org/tools/relocation_packer/src/
Dmain.cc34 const size_t last_slash = temporary.find_last_of("/"); in PrintUsage()
/external/stlport/stlport/stl/debug/
D_string.h743 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

12345