Home
last modified time | relevance | path

Searched refs:find_last_not_of (Results 1 – 19 of 19) sorted by relevance

/external/libcxx/test/std/experimental/string.view/string.view.find/
Dfind_last_not_of_char_size.pass.cpp24 assert(s.find_last_not_of(c, pos) == x); in test()
33 assert(s.find_last_not_of(c) == x); in test()
75 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); in main()
76 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" ); in main()
77 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" ); in main()
78 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" ); in main()
79 static_assert (sv2.find_last_not_of( 'e', 5 ) == 3, "" ); in main()
Dfind_last_not_of_pointer_size.pass.cpp24 assert(s.find_last_not_of(str, pos) == x); in test()
33 assert(s.find_last_not_of(str) == x); in test()
158 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" ); in main()
159 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" ); in main()
160 static_assert (sv2.find_last_not_of( "", 0) == 0, "" ); in main()
161 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" ); in main()
162 static_assert (sv2.find_last_not_of( "lecar", 5) == 3, "" ); in main()
Dfind_last_not_of_pointer_size_size.pass.cpp24 assert(s.find_last_not_of(str, pos, n) == x); in test()
385 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); in main()
386 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" ); in main()
387 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" ); in main()
388 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" ); in main()
389 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" ); in main()
Dfind_last_not_of_string_view_size.pass.cpp21 assert(s.find_last_not_of(str, pos) == x); in test()
30 assert(s.find_last_not_of(str) == x); in test()
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/
Dchar_size.pass.cpp24 assert(s.find_last_not_of(c, pos) == x); in test()
33 assert(s.find_last_not_of(c) == x); in test()
Dpointer_size.pass.cpp24 assert(s.find_last_not_of(str, pos) == x); in test()
33 assert(s.find_last_not_of(str) == x); in test()
Dstring_size.pass.cpp23 assert(s.find_last_not_of(str, pos) == x); in test()
32 assert(s.find_last_not_of(str) == x); in test()
Dpointer_size_size.pass.cpp24 assert(s.find_last_not_of(str, pos, n) == x); in test()
/external/libcxx/include/experimental/
Dstring_view152 … constexpr size_type find_last_not_of(basic_string_view s, size_type pos = npos) const noexcept;
153 constexpr size_type find_last_not_of(charT c, size_type pos = npos) const noexcept;
154 constexpr size_type find_last_not_of(const charT* s, size_type pos, size_type n) const;
155 constexpr size_type find_last_not_of(const charT* s, size_type pos = npos) const;
566 // find_last_not_of
568 size_type find_last_not_of(basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
570 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_not_of(): recieve…
576 size_type find_last_not_of(_CharT __c, size_type __pos=npos) const _NOEXCEPT
583 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const
585 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_not_of(): recieved nullptr");
[all …]
/external/llvm/include/llvm/ADT/
DStringRef.h313 size_t find_last_not_of(char C, size_t From = npos) const;
319 size_t find_last_not_of(StringRef Chars, size_t From = npos) const;
518 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
/external/parameter-framework/remote-processor/
DRequestMessage.cpp164 strTrimmed.erase(strTrimmed.find_last_not_of(gacDelimiters) + 1 ); in trim()
/external/llvm/unittests/ADT/
DStringRefTest.cpp323 EXPECT_EQ(3U, Str.find_last_not_of('o')); in TEST()
324 EXPECT_EQ(1U, Str.find_last_not_of("lo")); in TEST()
325 EXPECT_EQ(StringRef::npos, Str.find_last_not_of("helo")); in TEST()
/external/llvm/lib/Support/
DStringRef.cpp253 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of() function in StringRef
264 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() function in StringRef
DScaledNumber.cpp192 size_t NonZero = Float.find_last_not_of('0'); in stripTrailingZeros()
DSourceMgr.cpp430 CaretLine.erase(CaretLine.find_last_not_of(' ')+1); in print()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_generator.cc56 string::size_type end = s.find_last_not_of(" \n\r\t") + 1; in TrimString()
/external/clang/lib/Format/
DBreakableToken.cpp66 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { in getCommentSplit()
332 Lines[LineIndex - 1].find_last_not_of(Blanks, EndOfPreviousLine); in adjustWhitespace()
/external/libcxx/include/
Dstring256 size_type find_last_not_of(const basic_string& str, size_type pos = npos) const noexcept;
257 size_type find_last_not_of(const value_type* s, size_type pos, size_type n) const noexcept;
258 size_type find_last_not_of(const value_type* s, size_type pos = npos) const noexcept;
259 size_type find_last_not_of(value_type c, size_type pos = npos) const noexcept;
1644 size_type find_last_not_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1645 … size_type find_last_not_of(const value_type* __s, size_type __pos, size_type __n) const _NOEXCEPT;
1647 size_type find_last_not_of(const value_type* __s, size_type __pos = npos) const _NOEXCEPT;
1649 size_type find_last_not_of(value_type __c, size_type __pos = npos) const _NOEXCEPT;
3591 // find_last_not_of
3595 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const value_type* __s,
[all …]
/external/lldb/source/Interpreter/
DArgs.cpp926 size_t rpos = s.find_last_not_of(k_white_space); in StripSpaces()