Home
last modified time | relevance | path

Searched refs:Chars (Results 1 – 14 of 14) 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.cpp238 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument
241 for (char C : Chars) in find_first_of()
260 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument
263 for (char C : Chars) in find_first_not_of()
276 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument
279 for (char C : Chars) in find_last_of()
301 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() argument
304 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.cpp476 static const char Chars[] = {C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, in write_padding() local
483 if (NumChars < std::size(Chars)) in write_padding()
484 return OS.write(Chars, NumChars); in write_padding()
487 unsigned NumToWrite = std::min(NumChars, (unsigned)std::size(Chars) - 1); in write_padding()
488 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.h390 [[nodiscard]] LLVM_ABI size_t find_first_of(StringRef Chars,
402 [[nodiscard]] LLVM_ABI size_t find_first_not_of(StringRef Chars,
415 [[nodiscard]] LLVM_ABI size_t find_last_of(StringRef Chars,
427 [[nodiscard]] LLVM_ABI size_t find_last_not_of(StringRef Chars,
804 [[nodiscard]] StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
805 return drop_front(std::min(size(), find_first_not_of(Chars)));
816 [[nodiscard]] StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
817 return drop_back(size() - std::min(size(), find_last_not_of(Chars) + 1));
828 [[nodiscard]] StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
829 return ltrim(Chars).rtrim(Chars);
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZHLASMAsmStreamer.cpp165 SmallVector<uint8_t> Chars; in emitBytes() local
166 Chars.resize(Len); in emitBytes()
170 Chars[Index] = C; in emitBytes()
174 OS << '\'' << toHex(Chars) << '\''; in emitBytes()
/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.cpp170 for (unsigned Chars = 0;;) { in getStringSplit() local
174 Chars += Advance; in getStringSplit()
177 Chars += encoding::columnWidthWithTabs( in getStringSplit()
178 Text.substr(0, Advance), UsedColumns + Chars, TabWidth, Encoding); in getStringSplit()
181 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.cpp2161 unsigned Chars = 1; in LexUDSuffix() local
2167 const StringRef CompleteSuffix(Buffer, Chars); in LexUDSuffix()
2173 if (Chars == MaxStandardSuffixLength) in LexUDSuffix()
2177 Buffer[Chars++] = Next; in LexUDSuffix()