Searched refs:Chars (Results 1 - 9 of 9) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h169 /// Find the first character in the string that is in \p Chars, or npos if
172 /// Complexity: O(size() + Chars.size())
173 [[nodiscard]] size_t find_first_of(StringRef Chars, size_t From = 0) const { argument
174 return str().find_first_of(Chars, From);
184 /// \p Chars, or npos if not found.
186 /// Complexity: O(size() + Chars.size())
187 [[nodiscard]] size_t find_first_not_of(StringRef Chars, argument
189 return str().find_first_not_of(Chars, From);
202 /// Complexity: O(size() + Chars.size())
203 [[nodiscard]] size_t find_last_of(StringRef Chars, argument
[all...]
H A DStringRef.h377 /// Find the first character in the string that is in \p Chars, or npos if
380 /// Complexity: O(size() + Chars.size())
381 [[nodiscard]] size_t find_first_of(StringRef Chars, size_t From = 0) const;
388 /// \p Chars, or npos if not found.
390 /// Complexity: O(size() + Chars.size())
391 [[nodiscard]] size_t find_first_not_of(StringRef Chars,
403 /// Complexity: O(size() + Chars.size())
404 [[nodiscard]] size_t find_last_of(StringRef Chars,
411 /// Find the last character in the string that is not in \p Chars, or
414 /// Complexity: O(size() + Chars
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DStringRef.cpp234 /// Chars, or npos if not found.
236 /// Note: O(size() + Chars.size())
237 StringRef::size_type StringRef::find_first_of(StringRef Chars,
240 for (char C : Chars)
256 /// in the string \arg Chars, or npos if not found.
258 /// Note: O(size() + Chars.size())
259 StringRef::size_type StringRef::find_first_not_of(StringRef Chars,
262 for (char C : Chars)
274 /// Note: O(size() + Chars.size())
275 StringRef::size_type StringRef::find_last_of(StringRef Chars,
[all...]
H A DScaledNumber.cpp186 SmallVector<char, 24> Chars;
187 Float.toString(Chars, Precision, 0);
188 return std::string(Chars.begin(), Chars.end());
H A DGlobPattern.cpp174 StringRef Chars = S.substr(I, J - I);
177 Invert ? expand(Chars.substr(1), S) : expand(Chars, S);
H A Draw_ostream.cpp484 static const char Chars[] = {C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, local
491 if (NumChars < std::size(Chars))
492 return OS.write(Chars, NumChars);
495 unsigned NumToWrite = std::min(NumChars, (unsigned)std::size(Chars) - 1);
496 OS.write(Chars, NumToWrite);
/freebsd-current/contrib/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc590 typedef std::vector<char> Chars; typedef
591 Chars v1;
592 const Chars& v2(StlContainerView<Chars>::ConstReference(v1));
596 Chars v3 = StlContainerView<Chars>::Copy(v1);
/freebsd-current/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp183 for (unsigned Chars = 0;;) {
187 Chars += Advance;
190 Chars += encoding::columnWidthWithTabs(
191 Text.substr(0, Advance), UsedColumns + Chars, TabWidth, Encoding);
194 if (Chars > MaxSplit || Text.size() <= Advance)
/freebsd-current/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp2097 unsigned Chars = 1; local
2103 const StringRef CompleteSuffix(Buffer, Chars);
2109 if (Chars == MaxStandardSuffixLength)
2113 Buffer[Chars++] = Next;

Completed in 212 milliseconds