Home
last modified time | relevance | path

Searched refs:declaration (Results 1 – 25 of 597) sorted by relevance

12345678910>>...24

/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
DTraceSignatureVisitor.java44 private final StringBuffer declaration; field in TraceSignatureVisitor
79 this.declaration = new StringBuffer(); in TraceSignatureVisitor()
83 this.declaration = buf; in TraceSignatureVisitor()
87 declaration.append(seenFormalParameter ? ", " : "<").append(name); in visitFormalTypeParameter()
124 declaration.append(", "); in visitParameterType()
127 declaration.append('('); in visitParameterType()
138 declaration.append('('); in visitReturnType()
140 declaration.append(')'); in visitReturnType()
158 declaration.append("void"); in visitBaseType()
161 declaration.append("byte"); in visitBaseType()
[all …]
/external/clang/test/SemaObjC/
Dclass-protocol-method-match.m6 - (bycopy id)bud; // expected-note {{previous declaration is here}}
7 - (unsigned char) baz; // expected-note {{previous declaration is here}}
14 - (unsigned char) baz; // expected-note {{previous declaration is here}}
15 - (unsigned char) also_ok; // expected-note {{previous declaration is here}}
16 - (void) ban : (int) arg, ...; // expected-note {{previous declaration is here}}
20 - (void) bar : (unsigned char)arg; // expected-note {{previous declaration is here}}
22 - (char) bak; // expected-note {{previous declaration is here}}
26 …xpected-warning {{conflicting distributed object modifiers on return type in declaration of 'bud'}}
27 - (void) baz; // expected-warning 2 {{conflicting return type in declaration of 'baz': 'unsigned ch…
28 …signed char*)arg; // expected-warning {{conflicting parameter types in declaration of 'bar:': 'uns…
[all …]
Dcheck-dup-decl-methods-1.m11 - (int) meth; // expected-note {{previous declaration is here}}
12 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}}
13 - (T*) meth1; // expected-note {{previous declaration is here}}
19 - (int) catm : (char)ch1; // expected-note {{previous declaration is here}}
21 - (int) catm : (char*)ch1; // expected-error {{duplicate declaration of method 'catm:'}}
27 + (int) catm1 : (char)ch : (int)i; // expected-note {{previous declaration is here}}
28 + (T*) meth1; // expected-note {{previous declaration is here}}
29 + (int) catm1 : (char)ch : (int*)i; // expected-error {{duplicate declaration of method 'catm1::'}}
30 + (T**) meth1; // expected-error {{duplicate declaration of method 'meth1'}}
35 - (int) meth; // expected-note {{previous declaration is here}}
[all …]
Dqualified-protocol-method-conflicts.m5 -(void) setX: (int) arg0; // expected-note {{previous declaration is here}}
6 +(int) C; // expected-note {{previous declaration is here}}
10 -(void) setX: (float) arg0; // expected-note 2 {{previous declaration is here}}
11 +(float) C; // expected-note 2 {{previous declaration is here}}
18 -(void) setX: (int) arg0 { } // expected-warning {{conflicting parameter types in declaration of 's…
19 +(int) C {return 0; } // expected-warning {{conflicting return type in declaration of 'C': 'float' …
26 -(void) setX: (float) arg0 { } // expected-warning {{conflicting parameter types in declaration of …
27 + (float) C {return 0.0; } // expected-warning {{conflicting return type in declaration of 'C': 'in…
37 -(void) setX: (int) arg0 { } // expected-warning {{conflicting parameter types in declaration of 's…
38 + (int) C {return 0;} // expected-warning {{conflicting return type in declaration of 'C': 'float' …
Dclass-extension-dup-methods.m4 - (int) garf; // expected-note {{previous declaration is here}}
6 + (int) cgarf; // expected-note {{previous declaration is here}}
11 - (void) garf; // expected-error {{duplicate declaration of method 'garf'}}
12 + (void) cgarf; // expected-error {{duplicate declaration of method 'cgarf'}}
22 …ent:(NSObject *)argument : (NSObject*) argument2; // expected-note {{previous declaration is here}}
27 …ment:(float)argument : (float)argument2; // expected-error {{duplicate declaration of method 'some…
Dclass-conforming-protocol-1.m8 - (INTF*) METH1; // expected-note {{previous declaration is here}}
9 - (INTF<P1>*) METH1; // expected-error {{duplicate declaration of method 'METH1'}}
11 - (INTF<P2,P1>*) METH2; // expected-note {{previous declaration is here}}
12 - (INTF<P2,P1,P3>*) METH2; // expected-error {{duplicate declaration of method 'METH2'}}
14 - (INTF<P2,P1,P3>*) METH3; // expected-note {{previous declaration is here}}
Dalias-test-1.m3 @compatibility_alias alias4 foo; // expected-warning {{cannot find interface declaration for 'foo'}}
5 @class class2; // expected-note {{previous declaration is here}}
8 typedef int I; // expected-note {{previous declaration is here}}
10 @compatibility_alias alias1 I; // expected-warning {{cannot find interface declaration for 'I'}}
16 typedef int alias2; // expected-note {{previous declaration is here}}
Dbuiltin_objc_lib_functions.m4 …e {{please include the header <objc/runtime.h> or explicitly provide a declaration for 'objc_getCl…
8 …e {{please include the header <objc/runtime.h> or explicitly provide a declaration for 'objc_getMe…
11 …e {{please include the header <objc/runtime.h> or explicitly provide a declaration for 'objc_enume…
14 …e {{please include the header <objc/message.h> or explicitly provide a declaration for 'objc_msgSe…
16 id f4(struct objc_super *super, SEL op) { // expected-warning {{declaration of 'struct objc_super' …
18 …e {{please include the header <objc/message.h> or explicitly provide a declaration for 'objc_msgSe…
23 …{{please include the header <objc/objc-auto.h> or explicitly provide a declaration for 'objc_assig…
28 …ase include the header <objc/objc-exception.h> or explicitly provide a declaration for 'objc_excep…
Dproperty.m19 @dynamic bad; // expected-error {{property implementation must have its declaration in interface…
20 …operty 'prop_id' must either be named the same}} // expected-note {{previous declaration is here}}
27 @dynamic bad; // expected-error {{property implementation must have its declaration in the categor…
30 @implementation E // expected-warning {{cannot find interface declaration for 'E'}}
31 @dynamic d; // expected-error {{property implementation must have its declaration in interface 'E'…
34 @implementation Q(MYCAT) // expected-error {{cannot find interface declaration for 'Q'}}
35 @dynamic d; // expected-error {{property implementation in a category with no category declaration
62 @property int treeController; // expected-error {{property has a previous declaration}}
66 @synthesize window; // expected-error {{missing context for property implementation declaration}}
Darc-system-header.m15 …p->field = 0; // expected-error {{'field' is unavailable: this system declaration uses an unsuppor…
20 …p->field1 = 0; // expected-error {{'field1' is unavailable: this system declaration uses an unsupp…
42 …*p.prop = 0; // expected-error {{'prop' is unavailable: this system declaration uses an unsupporte…
43 …p.prop = 0; // expected-error {{'prop' is unavailable: this system declaration uses an unsupported…
44 …*[p prop] = 0; // expected-error {{'prop' is unavailable: this system declaration uses an unsuppor…
45 …[p setProp: 0]; // expected-error {{'setProp:' is unavailable: this system declaration uses an uns…
Dduplicate-property-class-extension.m16 @property (readwrite) char foo; // expected-error {{property has a previous declaration}}
17 @property (readwrite) char NewProperty; // expected-error {{property has a previous declaration}}
21 @property (readonly) char foo; // expected-error {{property has a previous declaration}}
22 @property (readwrite) char NewProperty; // expected-error {{property has a previous declaration}}
Dclass-impl-1.m27 @implementation INTF2 : SUPR // expected-error {{cannot find interface declaration for 'SUPR', sup…
32 @implementation INTF4 @end // expected-warning {{cannot find interface declaration for 'INTF4'}}
34 @class INTF5; // expected-note{{forward declaration of class here}}
36 @implementation INTF5 { // expected-warning {{cannot find interface declaration for 'INTF5'}}
Dwarn-superclass-method-mismatch.m4 -(void) method_r: (char)ch : (float*)f1 : (int*) x; // expected-note {{previous declaration is here…
10 -(void) method: (int*) x; // expected-note {{previous declaration is here}}
11 -(void) method1: (Base*) x; // expected-note {{previous declaration is here}}
13 + method3: (int)x1 : (Base *)x2 : (float)x3; // expected-note {{previous declaration is here}}
15 - method5: (int) x : (double) d; // expected-note {{previous declaration is here}}
16 - method6: (int) x : (float) d; // expected-note {{previous declaration is here}}
DDoubleMethod.m8 - (void) method; // expected-note {{previous declaration is here}}
13 - (void) method {;} // expected-note {{previous declaration is here}}
14 - (void) method {;} // expected-error {{duplicate declaration of method 'method'}}
Dundef-class-messagin-error.m7 @interface Child (Categ) // expected-error {{cannot find interface declaration for 'Child'; did you…
11 @implementation OtherChild (Categ) // expected-error {{cannot find interface declaration for 'Other…
12 + (int) flushCache2 { [super flashCache]; } // expected-error {{no @interface declaration found in …
/external/clang/docs/tools/
Ddump_ast_matchers.py126 def act_on_decl(declaration, comment, allowed_types): argument
133 if declaration.strip():
139 \s*([^\s;]+)\s*;\s*$""", declaration, flags=re.X)
152 \)\s*;\s*$""", declaration, flags=re.X)
167 \)\s*;\s*$""", declaration, flags=re.X)
191 \)\s*{\s*$""", declaration, flags=re.X)
200 raise Exception('Cannot parse "%s"' % declaration)
215 \)\s*{\s*$""", declaration, flags=re.X)
220 raise Exception('Cannot parse "%s"' % declaration)
234 \)\s*{\s*$""", declaration, flags=re.X)
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c88 struct tgsi_declaration *declaration, in declaration_grow() argument
91 assert( declaration->NrTokens < 0xFF ); in declaration_grow()
93 declaration->NrTokens++; in declaration_grow()
101 struct tgsi_declaration declaration; in tgsi_default_declaration() local
103 declaration.Type = TGSI_TOKEN_TYPE_DECLARATION; in tgsi_default_declaration()
104 declaration.NrTokens = 1; in tgsi_default_declaration()
105 declaration.File = TGSI_FILE_NULL; in tgsi_default_declaration()
106 declaration.UsageMask = TGSI_WRITEMASK_XYZW; in tgsi_default_declaration()
107 declaration.Interpolate = 0; in tgsi_default_declaration()
108 declaration.Dimension = 0; in tgsi_default_declaration()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
Dtgsi_build.c88 struct tgsi_declaration *declaration, in declaration_grow() argument
91 assert( declaration->NrTokens < 0xFF ); in declaration_grow()
93 declaration->NrTokens++; in declaration_grow()
101 struct tgsi_declaration declaration; in tgsi_default_declaration() local
103 declaration.Type = TGSI_TOKEN_TYPE_DECLARATION; in tgsi_default_declaration()
104 declaration.NrTokens = 1; in tgsi_default_declaration()
105 declaration.File = TGSI_FILE_NULL; in tgsi_default_declaration()
106 declaration.UsageMask = TGSI_WRITEMASK_XYZW; in tgsi_default_declaration()
107 declaration.Interpolate = 0; in tgsi_default_declaration()
108 declaration.Dimension = 0; in tgsi_default_declaration()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jar ... classFilesCreated () } com/sun/mirror/declaration/ com/sun/mirror/declaration/AnnotationMirror
/external/clang/test/Parser/
Dobjc-error-qualified-implementation.m9 @implementation I<P> @end // expected-error {{@implementation declaration cannot be protocol qualif…
15 @implementation J < P,P > // expected-error {{@implementation declaration cannot be protocol qualif…
20 @implementation K <P // expected-error {{@implementation declaration cannot be protocol qualified}}
24 @implementation I (Cat) <P> // expected-error {{@implementation declaration cannot be protocol qua…
28 @implementation I (Cat1) <P // expected-error {{@implementation declaration cannot be protocol qual…
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSParser.cpp19 bool CSSParser::parseDeclaration(MutableStylePropertySet* propertySet, const String& declaration, C… in parseDeclaration() argument
21 return m_bisonParser.parseDeclaration(propertySet, declaration, observer, styleSheet); in parseDeclaration()
39 bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const St… in parseValue() argument
41 …return BisonCSSParser::parseValue(declaration, propertyID, string, important, parserMode, styleShe… in parseValue()
44 bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const St… in parseValue() argument
46 return BisonCSSParser::parseValue(declaration, propertyID, string, important, context); in parseValue()
/external/clang/test/Sema/
Dwarn-documentation.m16 // expected-warning@+2 {{parameter 'aab' not found in the function declaration}} expected-note@+2 {…
94 // expected-warning@+2 {{parameter 'bbb' not found in the function declaration}} expected-note@+2 {…
101 …@+2 {{'@method' command should be used in a comment attached to an Objective-C method declaration}}
110 …5 {{'@interface' command should not be used in a comment attached to a non-interface declaration}}
111 … {{'@classdesign' command should not be used in a comment attached to a non-container declaration}}
112 …@+5 {{'@coclass' command should not be used in a comment attached to a non-container declaration}}
127 …{'@methodgroup' command should be used in a comment attached to an Objective-C method declaration}}
140 …g@+2 {{'@protocol' command should not be used in a comment attached to a non-protocol declaration}}
164 …g@+2 {{'@protocol' command should not be used in a comment attached to a non-protocol declaration}}
170 …rning@+2 {{'@struct' command should not be used in a comment attached to a non-struct declaration}}
[all …]
/external/clang/include/clang/Basic/
DDiagnosticCommentKinds.td77 "a function declaration">,
84 "a pointer to function}2 declaration">,
90 "non-%select{class|interface|protocol|struct|union}2 declaration">,
96 "command should not be used in a comment attached to a non-container declaration">,
107 "parameter '%0' not found in the function declaration">,
117 "a template declaration">,
128 "template parameter '%0' not found in the template declaration">,
138 "a function or method declaration">,
150 "declaration is marked with '\\deprecated' command but does not have "
155 "add a deprecation attribute to the declaration to silence this warning">;
/external/clang/test/SemaObjCXX/
Dforeach.mm9 for ((id)2 : a); // expected-error {{for range declaration must declare a variable}} \
11 for (2 : a); // expected-error {{for range declaration must declare a variable}} \
16 …for (auto thisKey : keys) { } // expected-warning{{'auto' deduced as 'id' in declaration of 'thisK…
68 …for (obj.prop : collection) { // expected-error {{for range declaration must declare a variable}} \
76 for (fn x in array) { } // expected-error{{non-variable declaration in 'for' loop}}
/external/clang/docs/
DModules.rst78 …the code looks only slightly different, because one uses an ``import`` declaration rather than a `…
84 …application directly. Preprocessor definitions that precede the import declaration have no impact …
89 … tricks. Moreover, the current preprocessor definitions when an import declaration is encountered …
109 Objective-C Import declaration
111 Objective-C provides syntax for importing a module via an *@import declaration*, which imports the …
117 The @import declaration above imports the entire contents of the ``std`` module (which would contai…
123 …odules at any point within the translation unit, so long as the import declaration is at global sc…
303 *module-declaration**
312 Module declaration
314 A module declaration describes a module, including the headers that contribute to that module, its …
[all …]

12345678910>>...24