/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithVariablesTest.java | 37 VariableDeclarationExpr declaration = parseVariableDeclarationExpr("int a,b"); in getCommonTypeWorksForNormalVariables() local 38 assertEquals(PrimitiveType.intType(), declaration.getCommonType()); in getCommonTypeWorksForNormalVariables() 54 VariableDeclarationExpr declaration = parseVariableDeclarationExpr("int a,b"); in getCommonTypeFailsOnDodgySetterUsage() 55 declaration.getVariable(1).setType(String.class); in getCommonTypeFailsOnDodgySetterUsage() 56 declaration.getCommonType(); in getCommonTypeFailsOnDodgySetterUsage() 63 VariableDeclarationExpr declaration = parseVariableDeclarationExpr("int a"); in getCommonTypeFailsOnInvalidEmptyVariableList() 64 declaration.getVariables().clear(); in getCommonTypeFailsOnInvalidEmptyVariableList() 65 declaration.getCommonType(); in getCommonTypeFailsOnInvalidEmptyVariableList() 71 VariableDeclarationExpr declaration = parseVariableDeclarationExpr("int a,b"); in getElementTypeWorksForNormalVariables() local 72 assertEquals(PrimitiveType.intType(), declaration.getElementType()); in getElementTypeWorksForNormalVariables() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/ |
D | MethodUsage.java | 41 private ResolvedMethodDeclaration declaration; field in MethodUsage 47 public MethodUsage(ResolvedMethodDeclaration declaration) { in MethodUsage() argument 49 this.declaration = declaration; in MethodUsage() 50 for (int i = 0; i < declaration.getNumberOfParams(); i++) { in MethodUsage() 51 paramTypes.add(declaration.getParam(i).getType()); in MethodUsage() 53 for (int i = 0; i < declaration.getNumberOfSpecifiedExceptions(); i++) { in MethodUsage() 54 exceptionTypes.add(declaration.getSpecifiedException(i)); in MethodUsage() 56 returnType = declaration.getReturnType(); in MethodUsage() 59 public MethodUsage(ResolvedMethodDeclaration declaration, in MethodUsage() argument 61 this(declaration, paramTypes, returnType, declaration.getSpecifiedExceptions(), in MethodUsage() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/methods/ |
D | MethodUsage.java | 35 private MethodDeclaration declaration; field in MethodUsage 40 public MethodUsage(MethodDeclaration declaration) { in MethodUsage() argument 42 this.declaration = declaration; in MethodUsage() 43 for (int i = 0; i < declaration.getNumberOfParams(); i++) { in MethodUsage() 44 paramTypes.add(declaration.getParam(i).getType()); in MethodUsage() 46 returnType = declaration.getReturnType(); in MethodUsage() 49 public MethodUsage(MethodDeclaration declaration, List<Type> paramTypes, Type returnType) { in MethodUsage() argument 50 this(declaration, paramTypes, returnType, TypeParametersMap.empty()); in MethodUsage() 53 …private MethodUsage(MethodDeclaration declaration, List<Type> paramTypes, Type returnType, TypePar… in MethodUsage() argument 54 this.declaration = declaration; in MethodUsage() [all …]
|
/external/clang/test/SemaOpenCL/ |
D | clang-builtin-version.cl | 7 …enqueue_kernel(tmp, tmp, tmp, ^(void) { // expected-warning{{implicit declaration of function 'enq… 10 …unsigned size = get_kernel_work_group_size(^(void) { // expected-warning{{implicit declaration of … 13 …erred_work_group_size_multiple(^(void) { // expected-warning{{implicit declaration of function 'ge… 21 …read_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'read_pipe' is invalid… 22 …write_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'write_pipe' is invali… 24 …reserve_read_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'reserve_read_… 25 …reserve_write_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'reserve_write… 27 …work_group_reserve_read_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'wo… 28 …work_group_reserve_write_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'wo… 30 …sub_group_reserve_write_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'sub… [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | JavaParserAPIIntegrationTest.java | 52 AnnotationDeclaration declaration = (AnnotationDeclaration)cu.getType(0); in annotationDeclarationResolve() local 53 assertEquals("MyAnnotation", declaration.getNameAsString()); in annotationDeclarationResolve() 54 ResolvedAnnotationDeclaration resolvedDeclaration = declaration.resolve(); in annotationDeclarationResolve() 63 AnnotationDeclaration declaration = (AnnotationDeclaration)cu.getType(3); in annotationMemberDeclarationResolve() local 64 assertEquals("MyAnnotationWithElements", declaration.getNameAsString()); in annotationMemberDeclarationResolve() 65 …AnnotationMemberDeclaration memberDeclaration = (AnnotationMemberDeclaration)declaration.getMember… in annotationMemberDeclarationResolve() 73 ClassOrInterfaceDeclaration declaration = (ClassOrInterfaceDeclaration)cu.getType(0); in classDeclarationResolve() local 74 declaration.resolve(); in classDeclarationResolve() 81 ClassOrInterfaceDeclaration declaration = (ClassOrInterfaceDeclaration)cu.getType(1); in interfaceDeclarationResolve() local 82 assertEquals("VoidVisitor", declaration.getNameAsString()); in interfaceDeclarationResolve() [all …]
|
/external/clang/test/SemaObjC/ |
D | class-protocol-method-match.m | 6 - (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 …]
|
D | check-dup-decl-methods-1.m | 11 - (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 …]
|
D | qualified-protocol-method-conflicts.m | 5 -(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' …
|
D | class-extension-dup-methods.m | 4 - (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…
|
D | builtin_objc_lib_functions.m | 4 …// expected-note {{include the header <objc/runtime.h> or explicitly provide a declaration for 'ob… 8 …// expected-note {{include the header <objc/runtime.h> or explicitly provide a declaration for 'ob… 11 …// expected-note {{include the header <objc/runtime.h> or explicitly provide a declaration for 'ob… 14 …// expected-note {{include the header <objc/message.h> or explicitly provide a declaration for 'ob… 16 id f4(struct objc_super *super, SEL op) { // expected-warning {{declaration of 'struct objc_super' … 18 …// expected-note {{include the header <objc/message.h> or explicitly provide a declaration for 'ob… 23 …d-note {{include the header <objc/objc-auto.h> or explicitly provide a declaration for 'objc_assig… 28 …e {{include the header <objc/objc-exception.h> or explicitly provide a declaration for 'objc_excep…
|
D | property.m | 19 @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}}
|
D | class-conforming-protocol-1.m | 8 - (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}}
|
D | alias-test-1.m | 3 @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}}
|
/external/clang/docs/tools/ |
D | dump_ast_matchers.py | 131 def act_on_decl(declaration, comment, allowed_types): argument 138 if declaration.strip(): 144 \s*([^\s;]+)\s*;\s*$""", declaration, flags=re.X) 157 \)\s*;\s*$""", declaration, flags=re.X) 172 \)\s*;\s*$""", declaration, flags=re.X) 196 \)\s*{\s*$""", declaration, flags=re.X) 205 raise Exception('Cannot parse "%s"' % declaration) 220 \)\s*{\s*$""", declaration, flags=re.X) 225 raise Exception('Cannot parse "%s"' % declaration) 239 \)\s*{\s*$""", declaration, flags=re.X) [all …]
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_build.c | 88 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/kotlinx.coroutines/binary-compatibility-validator/src/ |
D | kotlinVisibilities.kt | 12 data class MemberVisibility(val member: MemberSignature, val declaration: String?, val visibility: … in <lambda>() constant in kotlinx.coroutines.tools.MemberVisibility 19 fun MemberVisibility.isLateInit() = declaration != null && "lateinit var " in declaration in <lambda>() 24 val declaration = property.declaration ?: return null in <lambda>() constant 25 val match = varValPrefix.find(declaration) ?: return null in <lambda>() 26 val name = declaration.substring(match.range.endInclusive + 1).substringBefore(':') in <lambda>() 28 return members.values.find { it.declaration?.contains(setterName) ?: false } in <lambda>() 45 val declaration = getAsJsonPrimitive("declaration")?.asString in readKotlinVisibilities() constant 47 MemberVisibility(MemberSignature(name, desc), declaration, visibility) in readKotlinVisibilities()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_build.c | 88 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/strace/ |
D | config.h.in | 60 /* Define to 1 if you have the declaration of `BTRFS_COMPRESS_LZO', and to 0 64 /* Define to 1 if you have the declaration of `BTRFS_COMPRESS_NONE', and to 0 68 /* Define to 1 if you have the declaration of `BTRFS_COMPRESS_ZLIB', and to 0 72 /* Define to 1 if you have the declaration of `CTL_ARLAN', and to 0 if you 76 /* Define to 1 if you have the declaration of `CTL_FRV', and to 0 if you 80 /* Define to 1 if you have the declaration of `CTL_PM', and to 0 if you don't. 84 /* Define to 1 if you have the declaration of `CTL_PROC', and to 0 if you 88 /* Define to 1 if you have the declaration of `CTL_S390DBF', and to 0 if you 92 /* Define to 1 if you have the declaration of `CTL_SUNRPC', and to 0 if you 96 /* Define to 1 if you have the declaration of `IFLA_AF_SPEC', and to 0 if you [all …]
|
/external/angle/src/compiler/translator/tree_ops/ |
D | WrapSwitchStatementsInBlocks.cpp | 68 for (TIntermDeclaration *declaration : declarations) in visitSwitch() 71 ASSERT(declaration->getSequence()->size() == 1); in visitSwitch() 74 TIntermSymbol *declaratorAsSymbol = declaration->getSequence()->at(0)->getAsSymbolNode(); in visitSwitch() 81 node->getStatementList(), declaration, emptyReplacement)); in visitSwitch() 86 ASSERT(declaration != statementList->back()); in visitSwitch() 94 declaration->getSequence()->at(0)->getAsBinaryNode(); in visitSwitch() 100 queueReplacementWithParent(node->getStatementList(), declaration, initAssignment, in visitSwitch()
|
D | DeferGlobalInitializers.cpp | 37 void GetDeferredInitializers(TIntermDeclaration *declaration, in GetDeferredInitializers() argument 46 ASSERT(declaration->getSequence()->size() == 1); in GetDeferredInitializers() 48 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers() 79 declaration->replaceChildNode(init, symbolNode); in GetDeferredInitializers() 143 TIntermDeclaration *declaration = statement->getAsDeclarationNode(); in DeferGlobalInitializers() local 144 if (declaration) in DeferGlobalInitializers() 146 GetDeferredInitializers(declaration, initializeUninitializedGlobals, in DeferGlobalInitializers()
|
/external/swiftshader/src/D3D8/ |
D | Direct3DVertexDeclaration8.cpp | 34 declaration = new unsigned long[size / sizeof(unsigned long)]; in Direct3DVertexDeclaration8() 35 memcpy(declaration, vertexElement, size); in Direct3DVertexDeclaration8() 40 delete[] declaration; in ~Direct3DVertexDeclaration8() 41 declaration = 0; in ~Direct3DVertexDeclaration8() 69 return declaration; in getDeclaration()
|
D | Direct3DVertexShader8.cpp | 21 …8::Direct3DVertexShader8(Direct3DDevice8 *device, const unsigned long *declaration, const unsigned… in Direct3DVertexShader8() argument 46 this->declaration = new Direct3DVertexDeclaration8(device, declaration); in Direct3DVertexShader8() 57 declaration->Release(); in ~Direct3DVertexShader8() 90 return declaration->getDeclaration(); in getDeclaration()
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | Parameter.java | 35 private final Invokable<?, ?> declaration; field in Parameter 41 Invokable<?, ?> declaration, int position, TypeToken<?> type, Annotation[] annotations) { in Parameter() argument 42 this.declaration = declaration; in Parameter() 55 return declaration; in getDeclaringInvokable() 111 return position == that.position && declaration.equals(that.declaration); in equals()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Parameter.java | 36 private final Invokable<?, ?> declaration; field in Parameter 43 Invokable<?, ?> declaration, in Parameter() argument 48 this.declaration = declaration; in Parameter() 62 return declaration; in getDeclaringInvokable() 125 return position == that.position && declaration.equals(that.declaration); in equals()
|
/external/clang/test/Parser/ |
D | objc-error-qualified-implementation.m | 9 @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…
|