| /llvm-project-15.0.7/flang/runtime/ |
| H A D | format.h | 83 using CharType = typename Context::CharType; variable 86 FormatControl(const Terminator &, const CharType *format, 120 CharType PeekNext() { in PeekNext() 124 CharType GetNextChar(IoErrorHandler &handler) { in GetNextChar() 138 int GetIntField(IoErrorHandler &, CharType firstCh = '\0'); 147 static constexpr CharType Capitalize(CharType ch) { in Capitalize() 152 if constexpr (std::is_same_v<CharType, char>) { in ReportBadFormat() 178 const CharType *format_{nullptr};
|
| H A D | io-stmt.h | 337 using CharType = CHAR; 339 std::conditional_t<DIR == Direction::Input, const CharType *, CharType *>; 367 using CharType = CHAR; 368 using typename InternalIoStatementState<DIR, CharType>::Buffer; 370 const CharType *format, std::size_t formatLength, 385 using InternalIoStatementState<DIR, CharType>::unit_; 394 using CharType = CHAR; 395 using typename InternalIoStatementState<DIR, CharType>::Buffer; 405 using InternalIoStatementState<DIR, CharType>::unit_; 458 using CharType = CHAR; [all …]
|
| H A D | format-implementation.h | 26 const CharType *format, std::size_t formatLength, int maxHeight) in FormatControl() 38 IoErrorHandler &handler, CharType firstCh) { in GetIntField() 39 CharType ch{firstCh ? firstCh : PeekNext()}; in GetIntField() 189 CharType ch{GetNextChar(context)}; in CueUpNextDataEdit() 282 CharType quote{ch}; in CueUpNextDataEdit() 315 CharType next{'\0'}; in CueUpNextDataEdit() 317 CharType peek{Capitalize(PeekNext())}; in CueUpNextDataEdit() 445 CharType ch{PeekNext()}; in GetNextDataEdit()
|
| H A D | descriptor-io.h | 341 using CharType = in UnformattedDescriptorIO() local 343 auto Transfer{[=](CharType &x, std::size_t totalBytes, in UnformattedDescriptorIO()
|
| H A D | io-stmt.cpp | 97 const CharType *data, std::size_t chars) { in Emit() 102 return unit_.Emit(data, chars * sizeof(CharType), *this); in Emit() 184 : InternalIoStatementState<DIR, CharType>{buffer, length, sourceFile, in InternalListIoStatementState() 191 : InternalIoStatementState<DIR, CharType>{d, sourceFile, sourceLine}, in InternalListIoStatementState()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | StringIntegerAssignmentCheck.cpp | 47 CharExpressionDetector(QualType CharType, const ASTContext &Ctx) in CharExpressionDetector() argument 48 : CharType(CharType), Ctx(Ctx) {} in CharExpressionDetector() 116 return EvalResult.Val.getInt().getActiveBits() <= Ctx.getTypeSize(CharType); in isCharValuedConstant() 122 CharType.getTypePtr(); in isCharTyped() 125 const QualType CharType; member in clang::tidy::bugprone::CharExpressionDetector 132 const auto CharType = in check() local 137 if (CharExpressionDetector(CharType, *Result.Context) in check() 150 bool IsWideCharType = CharType->isWideCharType(); in check() 151 if (!CharType->isCharType() && !IsWideCharType) in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/boost/ |
| H A D | UseToStringCheck.cpp | 42 auto CharType = in check() local 46 if (CharType->isSpecificBuiltinType(BuiltinType::Char_S) || in check() 47 CharType->isSpecificBuiltinType(BuiltinType::Char_U)) in check() 49 else if (CharType->isSpecificBuiltinType(BuiltinType::WChar_S) || in check() 50 CharType->isSpecificBuiltinType(BuiltinType::WChar_U)) in check()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-printers.cc | 262 template <typename CharType> 268 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo() 269 const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; in PrintCharsAsStringTo() 274 const CharType cur = begin[index]; in PrintCharsAsStringTo() 293 template <typename CharType> 299 const CharType* begin, size_t len, ostream* os) { in UniversalPrintCharArray()
|
| H A D | gtest.cc | 5995 template <typename CharType> 5996 void ParseGoogleTestFlagsOnlyImpl(int* argc, CharType** argv) { in ParseGoogleTestFlagsOnlyImpl() 6071 template <typename CharType> 6072 void InitGoogleTestImpl(int* argc, CharType** argv) { in InitGoogleTestImpl()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 40 PrimType CharType; in createGlobalString() local 43 CharType = PT_Sint8; in createGlobalString() 46 CharType = PT_Uint16; in createGlobalString() 49 CharType = PT_Uint32; in createGlobalString() 56 Descriptor *Desc = allocateDescriptor(S, CharType, S->getLength() + 1, in createGlobalString() 74 switch (CharType) { in createGlobalString()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/ |
| H A D | FuzzySymbolIndex.cpp | 53 enum CharType { UPPER, LOWER, DIGIT, MISC }; enum 54 CharType classify(char c) { in classify() 80 CharType Type = classify(Text[I]); in tokenize()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/ |
| H A D | gmock.cc | 143 template <typename CharType> 144 void InitGoogleMockImpl(int* argc, CharType** argv) { in InitGoogleMockImpl()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | StringFindStrContainsCheck.cpp | 50 auto CharType = hasUnqualifiedDesugaredType(isCharType()); in makeRewriteRule() local 58 hasType(CharType)))))), in makeRewriteRule()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FuzzyMatch.cpp | 159 CharType Type = packedLookup<CharType>(CharTypes, Text[0]); in calculateRoles() 165 auto Rotate = [&](CharType T) { Types = ((Types << 2) | T) & 0x3f; }; in calculateRoles() 168 Type = packedLookup<CharType>(CharTypes, Text[I + 1]); in calculateRoles()
|
| H A D | FuzzyMatch.h | 41 enum CharType : unsigned char { enum
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-printers.h | 334 #define GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(CharType) \ argument 336 class FormatForComparison<CharType*, OtherOperand> { \ 338 static ::std::string Format(CharType* value) { \ 353 #define GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(CharType, OtherStringType) \ argument 355 class FormatForComparison<CharType*, OtherStringType> { \ 357 static ::std::string Format(CharType* value) { \
|
| H A D | gtest-matchers.h | 635 template <typename CharType> 636 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { in MatchAndExplain()
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | spec.td | 49 def CharType : NamedType<"char">; 73 def CharPtr : PtrType<CharType>; 75 def CharRestrictedPtr : RestrictedPtrType<CharType>;
|
| H A D | posix.td | 25 PtrType CharPtr = PtrType<CharType>; 26 RestrictedPtrType RestrictedCharPtr = RestrictedPtrType<CharType>;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseAutoCheck.cpp | 31 enum CharType { Space, Alpha, Punctuation }; in getTypeNameLength() enum 32 CharType LastChar = Space, BeforeSpace = Punctuation; in getTypeNameLength() 40 const CharType NextChar = in getTypeNameLength()
|
| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | Format.cpp | 25 using CharType = char; typedef in TestFormatContext
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | intrinsics.cpp | 65 static constexpr CategorySet CharType{TypeCategory::Character}; variable 70 static constexpr CategorySet RelatableType{IntType | RealType | CharType}; 73 IntType | RealType | ComplexType | CharType | LogicalType}; 109 static constexpr TypePattern DefaultChar{CharType, KindCode::defaultCharKind}; 127 static constexpr TypePattern AnyChar{CharType, KindCode::any}; 147 static constexpr TypePattern SameChar{CharType, KindCode::same}; 173 static constexpr TypePattern KINDChar{CharType, KindCode::effectiveKind};
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 688 template <typename CharType> 689 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { 758 template <typename CharType> 759 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { 815 template <typename CharType> 816 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { 871 template <typename CharType> 872 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 1740 TypeIndex CharType = TypeIndex(SimpleTypeKind::NarrowCharacter); in lowerTypeString() local 1749 ArrayRecord AR(CharType, IndexType, ArraySize, Name); in lowerTypeString()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 3397 QualType CharType = CAT->getElementType(); in extractStringLiteralCharacter() local 3398 assert(CharType->isIntegerType() && "unexpected character type"); in extractStringLiteralCharacter() 3401 CharType->isUnsignedIntegerType()); in extractStringLiteralCharacter() 3417 QualType CharType = CAT->getElementType(); in expandStringLiteral() local 3418 assert(CharType->isIntegerType() && "unexpected character type"); in expandStringLiteral() 3424 CharType->isUnsignedIntegerType()); in expandStringLiteral()
|