Home
last modified time | relevance | path

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

/freebsd-head/contrib/llvm-project/llvm/include/llvm/ADT/
HDStringRef.h398 [[nodiscard]] size_t find_last_not_of(char C, size_t From = npos) const;
404 [[nodiscard]] size_t find_last_not_of(StringRef Chars,
789 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim()
795 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
/freebsd-head/contrib/llvm-project/libcxx/include/
HDstring_view161 … constexpr size_type find_last_not_of(basic_string_view s, size_type pos = npos) const noexcept;
162 constexpr size_type find_last_not_of(charT c, size_type pos = npos) const noexcept;
163 …constexpr size_type find_last_not_of(const charT* s, size_type pos, size_type n) const noexcept; /…
164 …constexpr size_type find_last_not_of(const charT* s, size_type pos = npos) const noexcept; // noex…
615 // find_last_not_of
617 find_last_not_of(basic_string_view __s, size_type __pos = npos) const _NOEXCEPT {
619 … __s.size() == 0 || __s.data() != nullptr, "string_view::find_last_not_of(): received nullptr");
625 find_last_not_of(_CharT __c, size_type __pos = npos) const _NOEXCEPT {
630 find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT {
631 …_LIBCPP_ASSERT_NON_NULL(__n == 0 || __s != nullptr, "string_view::find_last_not_of(): received nul…
[all …]
HDstring328 …size_type find_last_not_of(const basic_string& str, size_type pos = npos) const noexcept; // con…
330 …size_type find_last_not_of(const T& t, size_type pos = npos) const noexcept; // C++17, …
331 …size_type find_last_not_of(const value_type* s, size_type pos, size_type n) const noexcept; // con…
332 …size_type find_last_not_of(const value_type* s, size_type pos = npos) const noexcept; // con…
333 …size_type find_last_not_of(value_type c, size_type pos = npos) const noexcept; // con…
1783 find_last_not_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1787 find_last_not_of(const _Tp& __t, size_type __pos = npos) const _NOEXCEPT;
1790 find_last_not_of(const value_type* __s, size_type __pos, size_type __n) const _NOEXCEPT;
1792 find_last_not_of(const value_type* __s, size_type __pos = npos) const _NOEXCEPT;
1794 find_last_not_of(value_type __c, size_type __pos = npos) const _NOEXCEPT;
[all …]
/freebsd-head/contrib/atf/atf-c++/detail/
Dtext.cpp109 std::string::size_type pos2 = str.find_last_not_of(" \t"); in trim()
/freebsd-head/contrib/llvm-project/libcxx/include/__string/
HDextern_template_lists.h39 …ROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::find_last_not_of(value_type co…
87 …ROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::find_last_not_of(value_type co…
/freebsd-head/contrib/llvm-project/clang/lib/Format/
HDBreakableToken.cpp115 Text.find_last_not_of(Blanks, SpaceOffset); in getCommentSplit()
141 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { in getCommentSplit()
631 Lines[LineIndex - 1].find_last_not_of(Blanks, EndOfPreviousLine); in adjustWhitespace()
983 size_t EndOfLine = Content[i].find_last_not_of(Blanks); in BreakableLineCommentSection()
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
HDStringRef.cpp289 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of() function in StringRef
300 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() function in StringRef
HDScaledNumber.cpp192 size_t NonZero = Float.find_last_not_of('0'); in stripTrailingZeros()
HDSourceMgr.cpp565 CaretLine.erase(CaretLine.find_last_not_of(' ') + 1); in print()
HDYAMLParser.cpp2073 if (size_t LastNonSWhite = UnquotedValue.find_last_not_of(" \t", I); in parseScalarValue()
/freebsd-head/lib/libdevdctl/
HDevent.cc437 size_t eventEnd(eventString.find_last_not_of('\n') + 1); in TimestampEventString()
/freebsd-head/contrib/llvm-project/clang/lib/AST/
HDRawCommentList.cpp371 auto LastChar = Result.find_last_not_of('\n'); in getFormattedText()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/orc/
HDelfnix_platform.cpp405 auto pos = name.find_last_not_of("0123456789"); in getPriority()
/freebsd-head/contrib/bsnmp/tests/
HDcatch.hpp13606 std::string::size_type end = str.find_last_not_of( whitespaceChars ); in trim()
14766 std::size_t i = d.find_last_not_of( '0' ); in fpToString()