Home
last modified time | relevance | path

Searched refs:Declaration (Results 1 – 25 of 205) sorted by relevance

123456789

/external/clang/test/Index/
Dcomment-objc-decls.m33 // CHECK: <Declaration>@protocol MyProto\n@end</Declaration>
34 // CHECK: <Declaration>- (unsigned int)MethodMyProto:(nullable id)anObject inRange:(unsigned int)ra…
35 // CHECK: <Declaration>@optional\n@property(readwrite, copy, atomic, nonnull) id PropertyMyProto;</
36 // CHECK: <Declaration>+ (id)ClassMethodMyProto;</Declaration>
48 // CHECK: Declaration>@interface NSObject {\n id IvarNSObject;\n}\n@end</Declaration>
49 // CHECK: <Declaration>id IvarNSObject</Declaration>
76 // CHECK: <Declaration>@interface MyClass : NSObject &lt;MyProto&gt; {\n id IvarMyClass;\n}\n@en…
77 // CHECK: <Declaration>id IvarMyClass</Declaration>
78 // CHECK: <Declaration>- (id)MethodMyClass;</Declaration>
79 // CHECK: <Declaration>+ (id)ClassMethodMyClass;</Declaration>
[all …]
Dannotate-comments-property-accessor.m16 …/Name><USR>c:objc(cs)AppDelegate(py)MyProperty</USR><Declaration>- (int)ReadonlyGetter;</Declarati…
22 …<USR>c:objc(cs)AppDelegate(py)GeneralProperty</USR><Declaration>- (int)GeneralProperty;</Declarati…
23 …cs)AppDelegate(py)GeneralProperty</USR><Declaration>- (void)setGeneralProperty:(int)GeneralPropert…
32 …c(cs)AppDelegate(py)PropertyInPrimaryClass</USR><Declaration>- (id)PropertyInPrimaryClass;</Declar…
33 …(py)PropertyInPrimaryClass</USR><Declaration>- (void)setPropertyInPrimaryClass:(id)PropertyInPrima…
42 …cs)AppDelegate(py)PropertyInClassExtension</USR><Declaration>- (id)GetterInClassExtension;</Declar…
52 …cs)AppDelegate(py)PropertyInClassExtension</USR><Declaration>- (id)GetterInClassExtension;</Declar…
53 …PropertyInClassExtension</USR><Declaration>- (void)setPropertyInClassExtension:(id)PropertyInClass…
Doverriding-method-comments.mm22 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)AAA;</Declaratio…
31 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)BBB;</Declaratio…
37 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)III;</Declaratio…
51 …USR>c:objc(cs)Redec(im)EXT_METH:::</USR><Declaration>- (void)EXT_METH:(id)AAA:(double)BBB:(int)CCC…
57 …USR>c:objc(cs)Redec(im)EXT_METH:::</USR><Declaration>- (void)EXT_METH:(id)PPP:(double)QQQ:(int)RRR…
64 …_pure</Name><USR>c:@S@Base@F@foo_pure#I#</USR><Declaration>virtual void foo_pure(int AAA) = 0</Dec…
70 …line</Name><USR>c:@S@Base@F@foo_inline#I#</USR><Declaration>virtual void foo_inline(int BBB)</Decl…
76 …/Name><USR>c:@S@Base@F@foo_outofline#I#</USR><Declaration>virtual void foo_outofline(int CCC)</Dec…
81 …ine</Name><USR>c:@S@Base@F@foo_outofline#I#</USR><Declaration>void foo_outofline(int RRR)</Declara…
86 …oo_pure</Name><USR>c:@S@Base@F@foo_pure#I#</USR><Declaration>virtual void foo_pure(int PPP)</Decla…
[all …]
Dannotate-comments-typedef.m20 …me>&lt;anonymous&gt;</Name><USR>c:@EA@MyEnum</USR><Declaration>typedef enum MyEnum MyEnum</Declara…
30 …LINE-6]]" column="6"><Name>E</Name><USR>c:@E@E</USR><Declaration>enum E{{( : int)?}} {}</Declarati…
31 …@LINE-2]]" column="16"><Name>E</Name><USR>c:@E@E</USR><Declaration>typedef enum E E_T</Declaration
38 …"><Name>&lt;anonymous&gt;</Name><USR>c:@SA@Foo</USR><Declaration>typedef struct Foo Foo</Declarati…
39 …umn="9"><Name>&lt;anonymous&gt;</Name><USR>c:@SA@Foo</USR><Declaration>struct {}</Declaration><Abs…
48 …e><USR>c:annotate-comments-typedef.m@T@Foo1T</USR><Declaration>typedef struct Foo1 Foo1T</Declarat…
Dcomment-unqualified-objc-pointer.m18 // CHECK: <Declaration>- (NSString *)WithLabel:(NSString *const)label;</Declaration>
22 // CHECK: <Declaration>@property(readwrite, copy, atomic) NSString *Name;</Declaration>
29 // CHECK: <Declaration>NSString *NickName</Declaration>
Dheaderfile-comment-to-html.m20 …e.h &lt;Foundation/Device.h&gt;</Para></Headerfile><Declaration>@interface Device\n@end</Declarati…
42 …> Sensor.h &quot;Sensor.h&quot;</Para></Headerfile><Declaration>@interface Sensor\n@end</Declarati…
65 …TFoundation/VTDevice.h&gt;</Para></Headerfile><Declaration>@interface VTDevice : Device\n@end</Dec…
86 …erfile><Para> &lt;stdio.h&gt;</Para></Headerfile><Declaration>extern void uses_stdio_h()</Declara…
102 …ile><Para> &lt;algorithm&gt;</Para></Headerfile><Declaration>extern void uses_argorithm()</Declar…
/external/v8/src/torque/
Dast.h144 struct Declaration : AstNode { struct
145 Declaration(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Declaration() function
146 DEFINE_AST_NODE_INNER_BOILERPLATE(Declaration)
156 struct ModuleDeclaration : Declaration {
158 std::vector<Declaration*> declarations) in ModuleDeclaration()
159 : Declaration(kind, pos), in ModuleDeclaration()
167 std::vector<Declaration*> declarations;
173 std::vector<Declaration*> declarations) in DefaultModuleDeclaration()
181 std::vector<Declaration*> declarations) in ExplicitModuleDeclaration()
191 std::vector<Declaration*>& declarations() { in declarations()
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_two_side.c76 if (decl->Declaration.File == TGSI_FILE_INPUT) { in xform_decl()
88 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in xform_decl()
109 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog()
110 decl.Declaration.Interpolate = 1; in emit_prolog()
111 decl.Declaration.Semantic = 1; in emit_prolog()
125 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_prolog()
135 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog()
136 decl.Declaration.Semantic = 1; in emit_prolog()
Dtgsi_dump.c310 TXT(tgsi_file_name(decl->Declaration.File)); in iter_declaration()
315 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
324 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in iter_declaration()
330 if (decl->Declaration.Dimension) { in iter_declaration()
346 decl->Declaration.UsageMask ); in iter_declaration()
348 if (decl->Declaration.Array) { in iter_declaration()
354 if (decl->Declaration.Local) in iter_declaration()
357 if (decl->Declaration.Semantic) { in iter_declaration()
382 if (decl->Declaration.File == TGSI_FILE_IMAGE) { in iter_declaration()
393 if (decl->Declaration.File == TGSI_FILE_BUFFER) { in iter_declaration()
[all …]
Dtgsi_parse.c108 copy_token(&decl->Declaration, &token); in tgsi_parse_token()
112 if (decl->Declaration.Dimension) { in tgsi_parse_token()
116 if (decl->Declaration.Interpolate) { in tgsi_parse_token()
120 if (decl->Declaration.Semantic) { in tgsi_parse_token()
124 if (decl->Declaration.File == TGSI_FILE_IMAGE) { in tgsi_parse_token()
128 if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) { in tgsi_parse_token()
132 if (decl->Declaration.Array) { in tgsi_parse_token()
Dtgsi_transform.h104 decl.Declaration.File = TGSI_FILE_TEMPORARY; in tgsi_transform_temps_decl()
124 decl.Declaration.File = TGSI_FILE_CONSTANT; in tgsi_transform_const_decl()
127 decl.Declaration.Dimension = 1; in tgsi_transform_const_decl()
141 decl.Declaration.File = TGSI_FILE_INPUT; in tgsi_transform_input_decl()
142 decl.Declaration.Interpolate = 1; in tgsi_transform_input_decl()
143 decl.Declaration.Semantic = 1; in tgsi_transform_input_decl()
162 decl.Declaration.File = TGSI_FILE_OUTPUT; in tgsi_transform_output_decl()
163 decl.Declaration.Interpolate = 1; in tgsi_transform_output_decl()
164 decl.Declaration.Semantic = 1; in tgsi_transform_output_decl()
181 decl.Declaration.File = TGSI_FILE_SAMPLER; in tgsi_transform_sampler_decl()
[all …]
Dtgsi_emulate.c53 decl->Declaration.File == TGSI_FILE_INPUT) { in transform_decl()
54 assert(decl->Declaration.Interpolate); in transform_decl()
70 decl.Declaration.File = TGSI_FILE_INPUT; in passthrough_edgeflag()
76 decl.Declaration.File = TGSI_FILE_OUTPUT; in passthrough_edgeflag()
77 decl.Declaration.Semantic = true; in passthrough_edgeflag()
Dtgsi_build.c392 full_declaration.Declaration = tgsi_default_declaration(); in tgsi_default_full_declaration()
421 full_decl->Declaration.File, in tgsi_build_full_declaration()
422 full_decl->Declaration.UsageMask, in tgsi_build_full_declaration()
423 full_decl->Declaration.Interpolate, in tgsi_build_full_declaration()
424 full_decl->Declaration.Dimension, in tgsi_build_full_declaration()
425 full_decl->Declaration.Semantic, in tgsi_build_full_declaration()
426 full_decl->Declaration.Invariant, in tgsi_build_full_declaration()
427 full_decl->Declaration.Local, in tgsi_build_full_declaration()
428 full_decl->Declaration.Array, in tgsi_build_full_declaration()
429 full_decl->Declaration.Atomic, in tgsi_build_full_declaration()
[all …]
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c292 TXT(tgsi_file_name(decl->Declaration.File)); in iter_declaration()
297 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
306 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in iter_declaration()
312 if (decl->Declaration.Dimension) { in iter_declaration()
328 decl->Declaration.UsageMask ); in iter_declaration()
330 if (decl->Declaration.Array) { in iter_declaration()
336 if (decl->Declaration.Local) in iter_declaration()
339 if (decl->Declaration.Semantic) { in iter_declaration()
351 if (decl->Declaration.File == TGSI_FILE_IMAGE) { in iter_declaration()
362 if (decl->Declaration.File == TGSI_FILE_BUFFER) { in iter_declaration()
[all …]
Dtgsi_parse.c112 copy_token(&decl->Declaration, &token); in tgsi_parse_token()
116 if (decl->Declaration.Dimension) { in tgsi_parse_token()
120 if( decl->Declaration.Interpolate ) { in tgsi_parse_token()
124 if( decl->Declaration.Semantic ) { in tgsi_parse_token()
128 if (decl->Declaration.File == TGSI_FILE_IMAGE) { in tgsi_parse_token()
132 if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) { in tgsi_parse_token()
136 if( decl->Declaration.Array ) { in tgsi_parse_token()
Dtgsi_build.c382 full_declaration.Declaration = tgsi_default_declaration(); in tgsi_default_full_declaration()
410 full_decl->Declaration.File, in tgsi_build_full_declaration()
411 full_decl->Declaration.UsageMask, in tgsi_build_full_declaration()
412 full_decl->Declaration.Interpolate, in tgsi_build_full_declaration()
413 full_decl->Declaration.Dimension, in tgsi_build_full_declaration()
414 full_decl->Declaration.Semantic, in tgsi_build_full_declaration()
415 full_decl->Declaration.Invariant, in tgsi_build_full_declaration()
416 full_decl->Declaration.Local, in tgsi_build_full_declaration()
417 full_decl->Declaration.Array, in tgsi_build_full_declaration()
418 full_decl->Declaration.Atomic, in tgsi_build_full_declaration()
[all …]
/external/clang/docs/
DRAVFrontendAction.rst77 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
80 Declaration->dump();
95 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
96 if (Declaration->getQualifiedNameAsString() == "n::m::C")
97 Declaration->dump();
127 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
128 if (Declaration->getQualifiedNameAsString() == "n::m::C") {
131 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
161 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
162 if (Declaration->getQualifiedNameAsString() == "n::m::C") {
[all …]
/external/clang/lib/AST/
DTemplateBase.cpp115 case Declaration: in isDependent()
155 case Declaration: in isInstantiationDependent()
183 case Declaration: in isPackExpansion()
206 case Declaration: in containsUnexpandedParameterPack()
261 case Declaration: in Profile()
311 case Declaration: in structurallyEquals()
342 case Declaration: in getPackExpansionPattern()
368 case Declaration: { in print()
440 case TemplateArgument::Declaration: in getSourceRange()
486 case TemplateArgument::Declaration: in operator <<()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DExtractGV.cpp135 llvm::Value *Declaration; in runOnModule() local
137 Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage, in runOnModule()
141 Declaration = in runOnModule()
146 CurI->replaceAllUsesWith(Declaration); in runOnModule()
/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp137 llvm::Value *Declaration; in runOnModule() local
139 Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage, in runOnModule()
143 Declaration = in runOnModule()
148 CurI->replaceAllUsesWith(Declaration); in runOnModule()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c204 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in pstip_transform_decl()
210 else if (decl->Declaration.File == pctx->wincoordFile) { in pstip_transform_decl()
215 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in pstip_transform_decl()
286 decl.Declaration.File = pctx->wincoordFile; in pstip_transform_prolog()
287 decl.Declaration.Semantic = 1; in pstip_transform_prolog()
293 decl.Declaration.Interpolate = 1; in pstip_transform_prolog()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c83 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_temp()
96 decl.Declaration.File = TGSI_FILE_OUTPUT; in emit_output()
97 decl.Declaration.Interpolate = 1; in emit_output()
98 decl.Declaration.Semantic = TRUE; in emit_output()
151 if (decl->Declaration.File == TGSI_FILE_OUTPUT) { in transform_decl()
205 } else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in transform_decl()
214 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in transform_decl()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h636 const NamedDecl *Declaration;
691 CodeCompletionResult(const NamedDecl *Declaration,
696 : Declaration(Declaration), Priority(Priority),
707 : Declaration(nullptr), Keyword(Keyword), Priority(Priority),
717 : Declaration(nullptr), Macro(Macro), Priority(Priority), StartParameter(0),
730 : Declaration(D), Pattern(Pattern), Priority(Priority), StartParameter(0),
742 : Declaration(D), Pattern(Pattern), Priority(Priority), StartParameter(0),
753 return Declaration;
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.h338 const GlobalDeclaration *Declaration, in create() argument
342 RelocInitializer(VDL, Declaration, OffsetExpr, NoFixup); in create()
346 const GlobalDeclaration *Declaration, in create() argument
351 RelocInitializer(VDL, Declaration, OffsetExpr, HasFixup, Fixup); in create()
368 const GlobalDeclaration *getDeclaration() const { return Declaration; } in getDeclaration()
378 const GlobalDeclaration *Declaration,
382 Declaration(Declaration), // The global declaration used in the reloc. in Initializer()
392 const GlobalDeclaration *Declaration; variable
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp443 OS << *Results[I].Declaration; in ProcessCodeCompleteResults()
536 if (!Declaration) { in computeCursorKindAndAvailability()
544 switch (getDeclAvailability(Declaration)) { in computeCursorKindAndAvailability()
559 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(Declaration)) in computeCursorKindAndAvailability()
563 CursorKind = getCursorKindForDecl(Declaration); in computeCursorKindAndAvailability()
568 if (isa<ObjCInterfaceDecl>(Declaration)) in computeCursorKindAndAvailability()
570 else if (isa<ObjCProtocolDecl>(Declaration)) in computeCursorKindAndAvailability()
608 DeclarationName Name = R.Declaration->getDeclName(); in getOrderedName()

123456789