Home
last modified time | relevance | path

Searched refs:Chars (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DGlobPattern.cpp174 StringRef Chars = S.substr(I, J - I); in matchOne()
177 Invert ? expand(Chars.substr(1), S) : expand(Chars, S); in matchOne()
84 StringRef Chars = S.substr(1, End - 1); scan() local
H A DStringRef.cpp237 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument
240 for (char C : Chars) in find_first_of()
259 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument
262 for (char C : Chars) in find_first_not_of()
275 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument
278 for (char C : Chars) in find_last_of()
300 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() argument
303 for (char C : Chars) in find_last_not_of()
H A DScaledNumber.cpp186 SmallVector<char, 24> Chars; in toStringAPFloat() local
187 Float.toString(Chars, Precision, 0); in toStringAPFloat()
188 return std::string(Chars.begin(), Chars.end()); in toStringAPFloat()
H A Draw_ostream.cpp478 static const char Chars[] = {C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, in write_padding() local
485 if (NumChars < std::size(Chars)) in write_padding()
486 return OS.write(Chars, NumChars); in write_padding()
489 unsigned NumToWrite = std::min(NumChars, (unsigned)std::size(Chars) - 1); in write_padding()
490 OS.write(Chars, NumToWrite); in write_padding()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h173 [[nodiscard]] size_t find_first_of(StringRef Chars, size_t From = 0) const {
174 return str().find_first_of(Chars, From);
187 [[nodiscard]] size_t find_first_not_of(StringRef Chars,
189 return str().find_first_not_of(Chars, From);
203 [[nodiscard]] size_t find_last_of(StringRef Chars,
205 return str().find_last_of(Chars, From);
H A DStringRef.h370 [[nodiscard]] size_t find_first_of(StringRef Chars, size_t From = 0) const;
380 [[nodiscard]] size_t find_first_not_of(StringRef Chars,
393 [[nodiscard]] size_t find_last_of(StringRef Chars,
404 [[nodiscard]] size_t find_last_not_of(StringRef Chars,
782 [[nodiscard]] StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
783 return drop_front(std::min(Length, find_first_not_of(Chars)));
794 [[nodiscard]] StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
795 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
806 [[nodiscard]] StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
807 return ltrim(Chars).rtrim(Chars);
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc590 typedef std::vector<char> Chars; in TEST() typedef
591 Chars v1; in TEST()
592 const Chars& v2(StlContainerView<Chars>::ConstReference(v1)); in TEST()
596 Chars v3 = StlContainerView<Chars>::Copy(v1); in TEST()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp183 for (unsigned Chars = 0;;) { in getStringSplit() local
187 Chars += Advance; in getStringSplit()
190 Chars += encoding::columnWidthWithTabs( in getStringSplit()
191 Text.substr(0, Advance), UsedColumns + Chars, TabWidth, Encoding); in getStringSplit()
194 if (Chars > MaxSplit || Text.size() <= Advance) in getStringSplit()
/freebsd/share/i18n/csmapper/CP/
H A DCP1161%UCS.src37 # CP1161 - Thai with Low Tone Marks & Ancient Chars - PC
H A DCP874%UCS.src37 # CP874 - Thai with Low Tone Marks & Ancient Chars - PC
H A DUCS%CP874.src37 # CP874 - Thai with Low Tone Marks & Ancient Chars - PC
H A DUCS%CP1161.src37 # CP1161 - Thai with Low Tone Marks & Ancient Chars - PC
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp2142 unsigned Chars = 1; in LexUDSuffix() local
2148 const StringRef CompleteSuffix(Buffer, Chars); in LexUDSuffix()
2154 if (Chars == MaxStandardSuffixLength) in LexUDSuffix()
2158 Buffer[Chars++] = Next; in LexUDSuffix()