Home
last modified time | relevance | path

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

12345678910>>...15

/external/llvm-project/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(atomic, copy, readwrite, 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 …</Name><USR>c:@S@Base@F@foo_outofline#I#</USR><Declaration>void Base::foo_outofline(int RRR)</Decl…
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 …lumn="3"><Name>MyEnum</Name><USR>c:@T@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 …1]]" column="11"><Name>Foo</Name><USR>c:@T@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(atomic, copy, readwrite) NSString *Name;</Declaration>
29 // CHECK: <Declaration>NSString *NickName</Declaration>
/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>
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorDeclarationTest.cs60 Assert.NotNull(service.Declaration); in ServiceComments()
61 Assert.AreEqual(" This is a test service\n", service.Declaration.LeadingComments); in ServiceComments()
69 Assert.NotNull(method.Declaration); in MethodComments()
70 Assert.AreEqual(" This is a test method\n", method.Declaration.LeadingComments); in MethodComments()
77 Assert.NotNull(message.Declaration); in MessageComments()
78 Assert.AreEqual(" This is a leading comment\n", message.Declaration.LeadingComments); in MessageComments()
80 message.Declaration.LeadingDetachedComments); in MessageComments()
88 Assert.NotNull(message.Declaration); in MessageLocations()
89 Assert.AreEqual(389, message.Declaration.StartLine); in MessageLocations()
90 Assert.AreEqual(1, message.Declaration.StartColumn); in MessageLocations()
[all …]
/external/llvm-project/lldb/source/Symbol/
DDeclaration.cpp14 void Declaration::Dump(Stream *s, bool show_fullpaths) const { in Dump()
42 bool Declaration::DumpStopContext(Stream *s, bool show_fullpaths) const { in DumpStopContext()
67 size_t Declaration::MemorySize() const { return sizeof(Declaration); } in MemorySize()
69 int Declaration::Compare(const Declaration &a, const Declaration &b) { in Compare()
86 bool Declaration::FileAndLineEqual(const Declaration &declaration) const { in FileAndLineEqual()
91 bool lldb_private::operator==(const Declaration &lhs, const Declaration &rhs) { in operator ==()
/external/llvm-project/lldb/include/lldb/Symbol/
DDeclaration.h24 class Declaration {
27 Declaration() in Declaration() function
49 Declaration(const FileSpec &file_spec, uint32_t line = 0, uint32_t column = 0)
59 Declaration(const Declaration *decl_ptr) in Declaration() function
98 static int Compare(const Declaration &lhs, const Declaration &rhs);
109 bool FileAndLineEqual(const Declaration &declaration) const;
201 bool operator==(const Declaration &lhs, const Declaration &rhs);
DFunction.h44 FunctionInfo(const char *name, const Declaration *decl_ptr);
56 FunctionInfo(ConstString name, const Declaration *decl_ptr);
93 Declaration &GetDeclaration();
99 const Declaration &GetDeclaration() const;
122 Declaration m_declaration;
149 const Declaration *decl_ptr,
150 const Declaration *call_decl_ptr);
171 const Declaration *decl_ptr,
172 const Declaration *call_decl_ptr);
215 Declaration &GetCallSite();
[all …]
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h100 Declaration, enumerator
359 class Declaration : public Tree {
361 Declaration(NodeKind K) : Tree(K) {} in Declaration() function
366 class UnknownDeclaration final : public Declaration {
368 UnknownDeclaration() : Declaration(NodeKind::UnknownDeclaration) {} in UnknownDeclaration()
373 class EmptyDeclaration final : public Declaration {
375 EmptyDeclaration() : Declaration(NodeKind::EmptyDeclaration) {} in EmptyDeclaration()
381 class StaticAssertDeclaration final : public Declaration {
383 StaticAssertDeclaration() : Declaration(NodeKind::StaticAssertDeclaration) {} in StaticAssertDeclaration()
391 class LinkageSpecificationDeclaration final : public Declaration {
[all …]
DNodes.td239 def Declaration : External<Tree> {}
240 def UnknownDeclaration : External<Declaration> {}
241 def EmptyDeclaration : External<Declaration> {}
242 def StaticAssertDeclaration : External<Declaration> {}
243 def LinkageSpecificationDeclaration : External<Declaration> {}
244 def SimpleDeclaration : External<Declaration> {}
245 def TemplateDeclaration : External<Declaration> {}
246 def ExplicitTemplateInstantiation : External<Declaration> {}
247 def NamespaceDefinition : External<Declaration> {}
248 def NamespaceAliasDefinition : External<Declaration> {}
[all …]
/external/llvm-project/lldb/source/API/
DSBDeclaration.cpp32 SBDeclaration::SBDeclaration(const lldb_private::Declaration *lldb_object_ptr) in SBDeclaration()
35 m_opaque_up = std::make_unique<Declaration>(*lldb_object_ptr); in SBDeclaration()
49 const lldb_private::Declaration &lldb_object_ref) { in SetDeclaration()
123 lldb_private::Declaration *lhs_ptr = m_opaque_up.get(); in operator ==()
124 lldb_private::Declaration *rhs_ptr = rhs.m_opaque_up.get(); in operator ==()
127 return lldb_private::Declaration::Compare(*lhs_ptr, *rhs_ptr) == 0; in operator ==()
136 lldb_private::Declaration *lhs_ptr = m_opaque_up.get(); in operator !=()
137 lldb_private::Declaration *rhs_ptr = rhs.m_opaque_up.get(); in operator !=()
140 return lldb_private::Declaration::Compare(*lhs_ptr, *rhs_ptr) != 0; in operator !=()
145 const lldb_private::Declaration *SBDeclaration::operator->() const { in operator ->()
[all …]
/external/llvm-project/lldb/include/lldb/API/
DSBDeclaration.h51 lldb_private::Declaration *get();
56 const lldb_private::Declaration *operator->() const;
58 lldb_private::Declaration &ref();
60 const lldb_private::Declaration &ref() const;
62 SBDeclaration(const lldb_private::Declaration *lldb_object_ptr);
64 void SetDeclaration(const lldb_private::Declaration &lldb_object_ref);
66 std::unique_ptr<lldb_private::Declaration> m_opaque_up;
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/resolution/
DSymbolReference.java19 import com.github.javaparser.symbolsolver.model.declarations.Declaration;
29 public class SymbolReference<S extends Declaration> {
40 …public static <S extends Declaration, S2 extends S> SymbolReference<S> solved(S2 symbolDeclaration… in solved()
47 … public static <S extends Declaration, S2 extends S> SymbolReference<S> unsolved(Class<S2> clazz) { in unsolved()
73 …public static <O extends Declaration> SymbolReference<O> adapt(SymbolReference<? extends O> ref, C… in adapt()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_two_side.c77 if (decl->Declaration.File == TGSI_FILE_INPUT) { in xform_decl()
89 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in xform_decl()
110 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog()
111 decl.Declaration.Interpolate = 1; in emit_prolog()
112 decl.Declaration.Semantic = 1; in emit_prolog()
126 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_prolog()
136 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog()
137 decl.Declaration.Semantic = 1; in emit_prolog()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.h39 struct Declaration { struct
40 Declaration(llvm::StringRef QName, llvm::StringRef Kind, bool Templated) in Declaration() function
43 friend bool operator==(const Declaration &LHS, const Declaration &RHS) {
52 const std::vector<Declaration> getDeclarationList() const { in getDeclarationList() argument
57 std::vector<Declaration> DeclarationList;
/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()
/external/llvm-project/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->getBeginLoc());
161 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
162 if (Declaration->getQualifiedNameAsString() == "n::m::C") {
[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 …]

12345678910>>...15