/aosp_15_r20/external/clang/test/SemaTemplate/ |
H A D | typename-specifier-4.cpp | 17 typedef typename inner::type type; typedef 25 typedef pair<T1, T2> type; typedef 45 typedef typename new_metafun::type type; typedef 56 typedef typename MetaFun::template apply<T2, T1>::type type; typedef 79 template<typename T, typename U> struct S { }; struct 81 template<typename T> struct S<T, T> { struct 82 template<typename U> struct K { }; 84 void f() { in f() 110 struct B { typedef int type; }; // expected-note 2{{member found by ambiguous name lookup}} typedef 111 struct C { typedef int type; }; // expected-note 2{{member found by ambiguous name lookup}} typedef [all …]
|
H A D | instantiation-depth-defarg.cpp | 3 template<int N> struct S { struct 4 typedef typename S<N-1>::type type; argument 12 template<> struct S<0> { struct 13 typedef int type; typedef 16 // Incrementally instantiate up to S<2048>. argument 17 template struct S<128>; variable 18 template struct S<256>; variable 19 template struct S<384>; variable 20 template struct S<512>; variable 21 template struct S<640>; variable [all …]
|
H A D | constexpr-instantiate.cpp | 48 template<int n> struct S { }; struct 62 template<typename T> struct S { static const int k; }; struct 71 template<typename T> struct S { struct 72 static volatile int &r; 95 template<typename T> struct S { struct 96 S() : n(0) {} in S() function 97 S(const S&) : n(T::error) {} in S() function 98 int n; 104 template<typename T> struct S { struct 105 constexpr S() : n(0) {} in S() function [all …]
|
H A D | alias-templates.cpp | 37 typedef T *type; typedef 58 typedef bool &type; typedef 100 struct S { struct 127 template<typename T, typename ...Ts> struct S { struct 131 void f1(Y<T> a) { h(g(a)); } // expected-error {{undeclared identifier 'g'}} in f1() 132 void f2(Y<Ts>...as) { h(g(as)...); } // expected-error {{undeclared identifier 'g'}} in f2() 133 void f3(Y<Ts>...as) { g(as...); } // ok in f3() 134 void f4(Ts ...ts) { h(g(sizeof(ts))...); } // expected-error {{undeclared identifier 'g'}} in f4() 137 void f5(Ts ...ts) { g(sizeof(ts)...); } // ok in f5() 218 template<typename ...T> void g(X<typename T::type...> &) {} in g()
|
H A D | friend-template.cpp | 149 typedef int type; typedef 181 typedef int type; typedef 222 template <typename T> struct S { struct 225 template struct S<int>; variable 255 struct S { struct 256 int packaged_task; 257 template<typename> class future { 260 future<void> share;
|
H A D | class-template-spec.cpp | 135 template <int N> struct S<N, sizeof(T)> {}; struct 141 template <int N> struct S<N, sizeof(T) + struct 174 typedef integer_sequence<T, N..., sizeof...(N) + N..., Extra...> type; typedef 179 template<typename Dummy> struct make<0, 0, Dummy> { typedef integer_sequence<T> type; }; typedef 180 template<typename Dummy> struct make<1, 1, Dummy> { typedef integer_sequence<T, 0> type; }; typedef 207 …template<typename T> struct S<T> {}; // expected-error {{non-type template argument specializes a … struct
|
/aosp_15_r20/external/clang/test/CXX/drs/ |
H A D | dr4xx.cpp | 24 typedef int type; // expected-note {{protected}} typedef in dr401::B 28 typedef int type; // expected-note {{private}} typedef in dr401::C 33 typedef int type; // expected-note {{private}} typedef in dr401::D 46 typedef int type; typedef in dr401::F 65 struct S {}; struct 88 typedef struct S S; typedef 92 typedef struct S S; // expected-note {{here}} in f() typedef 96 struct S {}; struct 100 struct S {}; // expected-note {{found}} struct 103 typedef int S; // expected-note {{found}} typedef [all …]
|
H A D | dr2xx.cpp | 126 struct S { struct 129 typedef enum { e } *E; 136 template<typename T> struct S { struct 144 struct S {}; struct 148 struct S {}; struct 163 struct S {}; struct 169 struct S {}; struct 175 struct S { struct 176 template<typename T> friend void f(S, T) {} in f() argument 242 typedef int type; typedef in dr224::example1::A [all …]
|
H A D | dr6xx.cpp | 46 typedef int type; typedef in dr602::B::C 54 template<unsigned char> struct S {}; struct 67 template<typename T> struct S {}; struct 94 struct S { int &r; } s = { k ? k : k }; argument 147 struct S { int n; } s; struct 165 struct S { static int x[10]; }; argument 270 struct S { int n; } s = {{5}}; // expected-warning {{braces}} argument 277 struct S { S(); S(const S&); virtual void f(); ~S(); }; struct 325 typedef int type; typedef in dr638::X
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | warn-unused-local-typedef.cpp | 3 struct S { struct 4 typedef int Foo; // no diag 123 struct S { in sneaky() struct 125 typedef int t; in sneaky() 129 typedef int s; in sneaky() 132 typedef int p; // expected-warning{{unused typedef 'p'}} in sneaky() 140 struct S { in static_sneaky() struct 141 typedef int t; in static_sneaky() 143 typedef int s; // expected-warning {{unused typedef 's'}} in static_sneaky() 151 struct S { in sneaky_with_friends() struct [all …]
|
H A D | overload-0x.cpp | 63 struct S { typedef int type; }; argument 66 struct S<sizeof(int)> { typedef void type; }; struct
|
/aosp_15_r20/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
H A D | common_type.pass.cpp | 26 struct S { explicit S(T const&){} }; in S() function 33 typedef S<T> type; typedef 38 typedef S<T> type; typedef 44 typedef S<T> type; typedef 54 struct always_bool_imp { using type = bool; }; typedef 78 using type = typename std::decay< typedef 214 struct S { struct 218 char data;
|
/aosp_15_r20/external/clang/lib/Sema/ |
H A D | SemaType.cpp | 65 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr, in diagnoseBadTypeAttribute() 66 QualType type) { in diagnoseBadTypeAttribute() 309 AttributeList &attr, QualType &type) { in handleObjCPointerTypeAttr() 395 QualType type) { in distributeObjCPointerTypeAttr() 515 QualType type) { in distributeFunctionTypeAttr() 728 static void diagnoseAndRemoveTypeQualifiers(Sema &S, const DeclSpec &DS, in diagnoseAndRemoveTypeQualifiers() 756 static bool checkOmittedBlockReturnType(Sema &S, Declarator &declarator, in checkOmittedBlockReturnType() 796 static QualType applyObjCTypeArgs(Sema &S, SourceLocation loc, QualType type, in applyObjCTypeArgs() 1005 Sema &S, SourceLocation loc, SourceRange range, QualType type, in applyObjCProtocolQualifiers() 1128 Scope *S, in actOnObjCTypeArgsAndProtocolQualifiers() [all …]
|
H A D | SemaDeclAttr.cpp | 181 static bool checkAttributeNumArgsImpl(Sema &S, const AttributeList &Attr, in checkAttributeNumArgsImpl() 194 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeNumArgs() 203 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtLeastNumArgs() 212 static bool checkAttributeAtMostNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtMostNumArgs() 221 static bool checkUInt32Argument(Sema &S, const AttributeList &Attr, in checkUInt32Argument() 251 static bool checkAttrMutualExclusion(Sema &S, Decl *D, SourceRange Range, in checkAttrMutualExclusion() 266 static bool checkFunctionOrMethodParameterIndex(Sema &S, const Decl *D, in checkFunctionOrMethodParameterIndex() 349 static void handleSimpleAttribute(Sema &S, Decl *D, in handleSimpleAttribute() 356 static void handleSimpleAttributeWithExclusions(Sema &S, Decl *D, in handleSimpleAttributeWithExclusions() 365 static void handleSimpleAttributeWithExclusions(Sema &S, Decl *D, in handleSimpleAttributeWithExclusions() [all …]
|
H A D | SemaDeclObjC.cpp | 251 static void DiagnoseObjCImplementedDeprecations(Sema &S, in DiagnoseObjCImplementedDeprecations() 282 HasExplicitOwnershipAttr(Sema &S, ParmVarDecl *Param) { in HasExplicitOwnershipAttr() 465 ActOnSuperClassOfClassInterface(Scope *S, in ActOnSuperClassOfClassInterface() 590 DeclResult Sema::actOnObjCTypeParam(Scope *S, in actOnObjCTypeParam() 693 ObjCTypeParamList *Sema::actOnObjCTypeParamList(Scope *S, in actOnObjCTypeParamList() 728 void Sema::popObjCTypeParamList(Scope *S, ObjCTypeParamList *typeParamList) { in popObjCTypeParamList() 751 static bool checkTypeParamListConsistency(Sema &S, in checkTypeParamListConsistency() 900 ActOnStartClassInterface(Scope *S, SourceLocation AtInterfaceLoc, in ActOnStartClassInterface() 1282 auto type = Context.getTypeDeclType(typeDecl); in ValidateCandidate() local 1316 Scope *S, in actOnObjCTypeArgsOrProtocolQualifiers() [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/numeric/conversion/include/boost/numeric/conversion/detail/ |
D | converter.hpp | 48 typedef typename selector::type type ; typedef 100 typedef typename Traits::source_type S ; typedef 114 typedef typename Traits::source_type S ; typedef 129 typedef typename Traits::source_type S ; typedef 145 typedef typename Traits::source_type S ; typedef 161 typedef typename Traits::source_type S ; typedef 177 typedef typename Traits::source_type S ; typedef 193 typedef typename Traits::source_type S ; typedef 238 typedef typename for_both<do_applyA, do_applyB, Both, PredA, PredB, NNone>::type type ; typedef 317 typedef typename mpl::if_<subranged,Normal,Dummy>::type type ; typedef [all …]
|
/aosp_15_r20/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsRelocator.cpp | 33 for (Relocation::Type type = pParent.type(); in HasSubType() local 62 Relocation::Type type() const { return m_Type & 0xff; } in type() function in mcld::MipsRelocationInfo 66 Relocation::DWord S() const { return m_Symbol; } in S() function in mcld::MipsRelocationInfo 129 unsigned int type; member 696 Relocator::DWord S = pReloc.S(); in createDynRel() local 801 Relocation::Type type = llvm::ELF::R_MIPS_REL32 | llvm::ELF::R_MIPS_64 << 8; in setupRel32DynEntry() local 848 Relocator::DWord S = pReloc.S(); in abs32() local 880 int32_t S = rsym->reserved() & MipsRelocator::ReservePLT in rel26() local 906 int32_t S = pReloc.S(); in hi16() local 931 int32_t S = pReloc.S(); in lo16() local [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/meta/meta.trans/meta.trans.other/ |
H A D | common_type.pass.cpp | 27 struct S { explicit S(T const&){} }; in S() argument 41 typedef S<T> type; typedef 46 typedef S<T> type; typedef 52 typedef S<T> type; typedef 60 template <class> struct VoidT { typedef void type; }; typedef 83 struct always_bool_imp { using type = bool; }; typedef 104 >::type type; typedef 272 using type = tuple<B>; typedef
|
/aosp_15_r20/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
H A D | SDL_stdinc.h | 104 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression) argument 105 #define SDL_static_cast(type, expression) static_cast<type>(expression) argument 106 #define SDL_const_cast(type, expression) const_cast<type>(expression) argument 108 #define SDL_reinterpret_cast(type, expression) ((type)(expression)) argument 109 #define SDL_static_cast(type, expression) ((type)(expression)) argument 110 #define SDL_const_cast(type, expression) ((type)(expression)) argument 233 #define SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*(count)) argument 393 #define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1) argument 394 #define SDL_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_st… argument 395 #define SDL_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_st… argument
|
/aosp_15_r20/external/capstone/arch/ARM/ |
H A D | ARMDisassembler.c | 602 DecodeStatus S = MCDisassembler_Success; in AddThumbPredicate() local 928 DecodeStatus S = MCDisassembler_Success; in DecodeGPRnopcRegisterClass() local 941 DecodeStatus S = MCDisassembler_Success; in DecodeGPRwithAPSRRegisterClass() local 969 DecodeStatus S = MCDisassembler_Success; in DecodeGPRPairRegisterClass() local 1016 DecodeStatus S = MCDisassembler_Success; in DecoderGPRRegisterClass() local 1169 DecodeStatus S = MCDisassembler_Success; in DecodeSORegImmOperand() local 1173 unsigned type = fieldFromInstruction_4(Val, 5, 2); in DecodeSORegImmOperand() local 1208 DecodeStatus S = MCDisassembler_Success; in DecodeSORegRegOperand() local 1212 unsigned type = fieldFromInstruction_4(Val, 5, 2); in DecodeSORegRegOperand() local 1246 DecodeStatus S = MCDisassembler_Success; in DecodeRegListOperand() local [all …]
|
/aosp_15_r20/external/cronet/third_party/protobuf/objectivec/ |
H A D | GPBUtilities_PackagePrivate.h | 40 #define GPBStringify(S) #S argument 41 #define GPBStringifySymbol(S) GPBStringify(S) argument 43 #define GPBNSStringify(S) @#S argument 44 #define GPBNSStringifySymbol(S) GPBNSStringify(S) argument 156 GPB_INLINE BOOL GPBDataTypeIsObject(GPBDataType type) { in GPBDataTypeIsObject() 168 GPB_INLINE BOOL GPBDataTypeIsMessage(GPBDataType type) { in GPBDataTypeIsMessage()
|
/aosp_15_r20/external/protobuf/objectivec/ |
H A D | GPBUtilities_PackagePrivate.h | 40 #define GPBStringify(S) #S argument 41 #define GPBStringifySymbol(S) GPBStringify(S) argument 43 #define GPBNSStringify(S) @#S argument 44 #define GPBNSStringifySymbol(S) GPBNSStringify(S) argument 156 GPB_INLINE BOOL GPBDataTypeIsObject(GPBDataType type) { in GPBDataTypeIsObject() 168 GPB_INLINE BOOL GPBDataTypeIsMessage(GPBDataType type) { in GPBDataTypeIsMessage()
|
/aosp_15_r20/external/llvm/lib/Target/ARM/Disassembler/ |
H A D | ARMDisassembler.cpp | 595 MCDisassembler::DecodeStatus S = Success; in AddThumbPredicate() local 894 DecodeStatus S = MCDisassembler::Success; in DecodeGPRnopcRegisterClass() local 907 DecodeStatus S = MCDisassembler::Success; in DecodeGPRwithAPSRRegisterClass() local 933 DecodeStatus S = MCDisassembler::Success; in DecodeGPRPairRegisterClass() local 978 DecodeStatus S = MCDisassembler::Success; in DecoderGPRRegisterClass() local 1138 DecodeStatus S = MCDisassembler::Success; in DecodeSORegImmOperand() local 1141 unsigned type = fieldFromInstruction(Val, 5, 2); in DecodeSORegImmOperand() local 1175 DecodeStatus S = MCDisassembler::Success; in DecodeSORegRegOperand() local 1178 unsigned type = fieldFromInstruction(Val, 5, 2); in DecodeSORegRegOperand() local 1210 DecodeStatus S = MCDisassembler::Success; in DecodeRegListOperand() local [all …]
|
/aosp_15_r20/external/compiler-rt/test/ubsan/TestCases/TypeCheck/ |
H A D | vptr.cpp | 31 struct S { struct 32 S() : a(0) {} in S() argument 33 ~S() {} in ~S() argument 39 struct T : S { argument 101 int access_p(T *p, char type) { in access_p()
|
/aosp_15_r20/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.cpp | 142 unsigned int type; member 279 Relocation::Type type = pRelocation.type(); in applyRelocation() local 865 Relocator::DWord S = pReloc.symValue(); in abs() local 902 Relocator::DWord S = pReloc.symValue(); in rel() local 936 Relocator::Address S = pReloc.symValue(); in gotoff32() local 1036 Relocator::Address S = pReloc.symValue(); in tls_ldo_32() local 1094 Relocator::Address S = pReloc.symValue(); in tls_le() local 1220 unsigned int type; member 1238 Relocation::Type type = pRelocation.type(); in applyRelocation() local 1534 Relocator::DWord S = pReloc.symValue(); in abs() local [all …]
|