Searched refs:find_last_not_of (Results 1 - 25 of 56) sorted by relevance

123

/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/
H A Dfind_last_not_of_char_size.pass.cpp12 // const size_type find_last_not_of(charT c, size_type pos = npos) const;
24 assert(s.find_last_not_of(c, pos) == x);
33 assert(s.find_last_not_of(c) == x);
75 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" );
76 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" );
77 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" );
78 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" );
79 static_assert (sv2.find_last_not_of( 'e', 5 ) == 3, "" );
H A Dfind_last_not_of_pointer_size.pass.cpp12 // constexpr size_type find_last_not_of(const charT* s, size_type pos = npos) const;
24 assert(s.find_last_not_of(str, pos) == x);
33 assert(s.find_last_not_of(str) == x);
158 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" );
159 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" );
160 static_assert (sv2.find_last_not_of( "", 0) == 0, "" );
161 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" );
162 static_assert (sv2.find_last_not_of( "lecar", 5) == 3, "" );
H A Dfind_last_not_of_pointer_size_size.pass.cpp12 // constexpr size_type find_last_not_of(const charT* s, size_type pos, size_type n) const;
24 assert(s.find_last_not_of(str, pos, n) == x);
385 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" );
386 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" );
387 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" );
388 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" );
389 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" );
H A Dfind_last_not_of_string_view_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
21 assert(s.find_last_not_of(str, pos) == x);
30 assert(s.find_last_not_of(str) == x);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/
H A Dfind_last_not_of_char_size.pass.cpp12 // const size_type find_last_not_of(charT c, size_type pos = npos) const;
24 assert(s.find_last_not_of(c, pos) == x);
33 assert(s.find_last_not_of(c) == x);
75 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" );
76 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" );
77 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" );
78 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" );
79 static_assert (sv2.find_last_not_of( 'e', 5 ) == 3, "" );
H A Dfind_last_not_of_pointer_size.pass.cpp12 // constexpr size_type find_last_not_of(const charT* s, size_type pos = npos) const;
24 assert(s.find_last_not_of(str, pos) == x);
33 assert(s.find_last_not_of(str) == x);
158 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" );
159 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" );
160 static_assert (sv2.find_last_not_of( "", 0) == 0, "" );
161 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" );
162 static_assert (sv2.find_last_not_of( "lecar", 5) == 3, "" );
H A Dfind_last_not_of_pointer_size_size.pass.cpp12 // constexpr size_type find_last_not_of(const charT* s, size_type pos, size_type n) const;
24 assert(s.find_last_not_of(str, pos, n) == x);
385 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" );
386 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" );
387 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" );
388 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" );
389 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" );
H A Dfind_last_not_of_string_view_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
21 assert(s.find_last_not_of(str, pos) == x);
30 assert(s.find_last_not_of(str) == x);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_find.last.not.of/
H A Dchar_size.pass.cpp12 // size_type find_last_not_of(charT c, size_type pos = npos) const;
24 assert(s.find_last_not_of(c, pos) == x);
33 assert(s.find_last_not_of(c) == x);
H A Dpointer_size.pass.cpp12 // size_type find_last_not_of(const charT* s, size_type pos = npos) const;
24 assert(s.find_last_not_of(str, pos) == x);
33 assert(s.find_last_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
23 assert(s.find_last_not_of(str, pos) == x);
32 assert(s.find_last_not_of(str) == x);
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/
H A Dchar_size.pass.cpp12 // size_type find_last_not_of(charT c, size_type pos = npos) const;
24 assert(s.find_last_not_of(c, pos) == x);
33 assert(s.find_last_not_of(c) == x);
H A Dpointer_size.pass.cpp12 // size_type find_last_not_of(const charT* s, size_type pos = npos) const;
24 assert(s.find_last_not_of(str, pos) == x);
33 assert(s.find_last_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
23 assert(s.find_last_not_of(str, pos) == x);
32 assert(s.find_last_not_of(str) == x);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_find.last.not.of/
H A Dchar_size.pass.cpp12 // size_type find_last_not_of(charT c, size_type pos = npos) const;
24 assert(s.find_last_not_of(c, pos) == x);
33 assert(s.find_last_not_of(c) == x);
H A Dpointer_size.pass.cpp12 // size_type find_last_not_of(const charT* s, size_type pos = npos) const;
24 assert(s.find_last_not_of(str, pos) == x);
33 assert(s.find_last_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
23 assert(s.find_last_not_of(str, pos) == x);
32 assert(s.find_last_not_of(str) == x);
/prebuilts/misc/common/swig/include/2.0.11/std/
H A Dstd_basic_string.i171 find_last_not_of(const basic_string& __str, size_type __pos = npos) const;
174 find_last_not_of(const _CharT* __s, size_type __pos,
178 find_last_not_of(_CharT __c, size_type __pos = npos) const;
/prebuilts/ndk/current/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/
H A Dstring_piece.h170 size_t find_last_not_of(const string_piece& to_search, function in class:shaderc_util::string_piece
186 // Returns find_last_not_of(str, pos) where str is a string_piece
188 size_t find_last_not_of(char to_search, size_t pos = 0) const { function in class:shaderc_util::string_piece
189 return find_last_not_of(string_piece(&to_search, &to_search + 1), pos);
/prebuilts/ndk/r13/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/
H A Dstring_piece.h170 size_t find_last_not_of(const string_piece& to_search, function in class:shaderc_util::string_piece
186 // Returns find_last_not_of(str, pos) where str is a string_piece
188 size_t find_last_not_of(char to_search, size_t pos = 0) const { function in class:shaderc_util::string_piece
189 return find_last_not_of(string_piece(&to_search, &to_search + 1), pos);
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/
H A D_string_sum.h226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum
227 { return _M_get_storage().find_last_not_of(__s, __pos); }
228 size_type find_last_not_of(const _CharT* __s, size_type __pos =_BString:: npos) const function in class:__bstr_sum
229 { return _M_get_storage().find_last_not_of(__s, __pos); }
230 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const function in class:__bstr_sum
231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); }
232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum
233 { return _M_get_storage().find_last_not_of(__c, __pos); }
/prebuilts/ndk/r10/sources/cxx-stl/stlport/stlport/stl/
H A D_string_sum.h226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum
227 { return _M_get_storage().find_last_not_of(__s, __pos); }
228 size_type find_last_not_of(const _CharT* __s, size_type __pos =_BString:: npos) const function in class:__bstr_sum
229 { return _M_get_storage().find_last_not_of(__s, __pos); }
230 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const function in class:__bstr_sum
231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); }
232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum
233 { return _M_get_storage().find_last_not_of(__c, __pos); }
/prebuilts/ndk/r11/sources/cxx-stl/stlport/stlport/stl/
H A D_string_sum.h226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum
227 { return _M_get_storage().find_last_not_of(__s, __pos); }
228 size_type find_last_not_of(const _CharT* __s, size_type __pos =_BString:: npos) const function in class:__bstr_sum
229 { return _M_get_storage().find_last_not_of(__s, __pos); }
230 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const function in class:__bstr_sum
231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); }
232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum
233 { return _M_get_storage().find_last_not_of(__c, __pos); }
/prebuilts/ndk/r13/sources/cxx-stl/stlport/stlport/stl/
H A D_string_sum.h226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum
227 { return _M_get_storage().find_last_not_of(__s, __pos); }
228 size_type find_last_not_of(const _CharT* __s, size_type __pos =_BString:: npos) const function in class:__bstr_sum
229 { return _M_get_storage().find_last_not_of(__s, __pos); }
230 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const function in class:__bstr_sum
231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); }
232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum
233 { return _M_get_storage().find_last_not_of(__c, __pos); }
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/debug/
H A D_string.h774 // find_last_not_of
775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string
776 { return _M_non_dbg_impl.find_last_not_of(__s._M_non_dbg_impl, __pos); }
777 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const { function in class:basic_string
780 return _M_non_dbg_impl.find_last_not_of(__s, __pos);
782 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const { function in class:basic_string
785 return _M_non_dbg_impl.find_last_not_of(__s, __pos, __n);
787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const function in class:basic_string
788 { return _M_non_dbg_impl.find_last_not_of(__c, __pos); }

Completed in 549 milliseconds

123