Home
last modified time | relevance | path

Searched refs:rfind (Results 1 – 15 of 15) sorted by relevance

/ndk/tests/device/test-gnustl-full/unit/
Dstring_test.cpp64 CPPUNIT_TEST(rfind);
123 void rfind();
729 string::size_type p = s.rfind( "", 0, 0 ); in bogus_edge_find()
736 string::size_type p = s.rfind( "", 0, 0 ); in bogus_edge_find()
742 string::size_type p = s.rfind( "", 1, 0 ); in bogus_edge_find()
748 string::size_type p = s.rfind( "", 1, 0 ); in bogus_edge_find()
754 string::size_type p = s.rfind( "", 3, 0 ); in bogus_edge_find()
760 void StringTest::rfind() in rfind() function in StringTest
765 CPPUNIT_ASSERT( s.rfind("two") == 18 ); in rfind()
766 CPPUNIT_ASSERT( s.rfind("two", 0) == string::npos ); in rfind()
[all …]
Dfstream_test.cpp794 size_t lastStarPos = line.rfind('*'); in big_file()
/ndk/tests/device/test-stlport/unit/
Dstring_test.cpp64 CPPUNIT_TEST(rfind);
123 void rfind();
729 string::size_type p = s.rfind( "", 0, 0 ); in bogus_edge_find()
736 string::size_type p = s.rfind( "", 0, 0 ); in bogus_edge_find()
742 string::size_type p = s.rfind( "", 1, 0 ); in bogus_edge_find()
748 string::size_type p = s.rfind( "", 1, 0 ); in bogus_edge_find()
754 string::size_type p = s.rfind( "", 3, 0 ); in bogus_edge_find()
760 void StringTest::rfind() in rfind() function in StringTest
765 CPPUNIT_ASSERT( s.rfind("two") == 18 ); in rfind()
766 CPPUNIT_ASSERT( s.rfind("two", 0) == string::npos ); in rfind()
[all …]
Dfstream_test.cpp794 size_t lastStarPos = line.rfind('*'); in big_file()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_rfind/
Dchar_size.pass.cpp24 assert(s.rfind(c, pos) == x); in test()
33 assert(s.rfind(c) == x); in test()
Dpointer_size.pass.cpp24 assert(s.rfind(str, pos) == x); in test()
36 assert(s.rfind(str) == x); in test()
Dstring_size.pass.cpp23 assert(s.rfind(str, pos) == x); in test()
32 assert(s.rfind(str) == x); in test()
Dpointer_size_size.pass.cpp24 assert(s.rfind(str, pos, n) == x); in test()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_string_sum.h194 …size_type rfind(const _BString& __s, size_type __pos = _BString::npos) const { return _M_get_stora…
195 …size_type rfind(const _CharT* __s, size_type __pos = _BString::npos) const { return _M_get_storage…
196 …size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const { return _M_get_storage()… in rfind() function
197 …size_type rfind(_CharT __c, size_type __pos = _BString::npos) const { return _M_get_storage().rfin…
215 { return _M_get_storage().rfind(__c, __pos); }
D_string.h966 size_type rfind(const _Self& __s, size_type __pos = npos) const
967 { return rfind(__s._M_Start(), __pos, __s.size()); }
969 size_type rfind(const _CharT* __s, size_type __pos = npos) const
970 { _STLP_FIX_LITERAL_BUG(__s) return rfind(__s, __pos, _Traits::length(__s)); }
972 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const;
973 size_type rfind(_CharT __c, size_type __pos = npos) const;
997 { return rfind(__c, __pos); }
D_string.c451 __size_type__ basic_string<_CharT,_Traits,_Alloc>::rfind(const _CharT* __s, size_type __pos, in rfind() function
468 __size_type__ basic_string<_CharT,_Traits,_Alloc>::rfind(_CharT __c, size_type __pos) const in rfind() function
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_string.h711 size_type rfind(const _Self& __s, size_type __pos = npos) const
712 { return _M_non_dbg_impl.rfind(__s._M_non_dbg_impl, __pos); }
713 size_type rfind(const _CharT* __s, size_type __pos = npos) const {
716 return _M_non_dbg_impl.rfind(__s, __pos);
718 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const { in rfind() function
721 return _M_non_dbg_impl.rfind(__s, __pos, __n); in rfind()
723 size_type rfind(_CharT __c, size_type __pos = npos) const
724 { return _M_non_dbg_impl.rfind(__c, __pos); }
756 { return _M_non_dbg_impl.rfind(__c, __pos); }
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/basic_cstring/
Dbasic_cstring.hpp135 size_type rfind( basic_cstring ) const;
536 basic_cstring<CharT>::rfind( basic_cstring<CharT> str ) const in rfind() function in boost::unit_test::basic_cstring
/ndk/sources/host-tools/ndk-depends/
Dndk-depends.cc201 size_t sep_slash = filepath.rfind(_T('/')); in path_last_dirsep()
202 size_t sep_backslash = filepath.rfind(_T('\\')); in path_last_dirsep()
211 size_t sep = filepath.rfind(_T('/')); in path_last_dirsep()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstring236 size_type rfind(const basic_string& str, size_type pos = npos) const noexcept;
237 size_type rfind(const value_type* s, size_type pos, size_type n) const noexcept;
238 size_type rfind(const value_type* s, size_type pos = npos) const noexcept;
239 size_type rfind(value_type c, size_type pos = npos) const noexcept;
1661 size_type rfind(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1662 size_type rfind(const value_type* __s, size_type __pos, size_type __n) const _NOEXCEPT;
1664 size_type rfind(const value_type* __s, size_type __pos = npos) const _NOEXCEPT;
1665 size_type rfind(value_type __c, size_type __pos = npos) const _NOEXCEPT;
3464 // rfind
3468 basic_string<_CharT, _Traits, _Allocator>::rfind(const value_type* __s,
[all …]