/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/llvm-project/clang/test/SemaOpenCL/ |
D | clang-builtin-version.cl | 7 …enqueue_kernel(tmp, tmp, tmp, ^(void) { // expected-error{{implicit declaration of function 'enque… 10 …unsigned size = get_kernel_work_group_size(^(void) { // expected-error{{implicit declaration of fu… 13 …eferred_work_group_size_multiple(^(void) { // expected-error{{implicit declaration of function 'ge… 21 foo(void); // expected-error{{implicit declaration of function 'foo' is invalid in OpenCL}} 24 boo(); // expected-error{{implicit declaration of function 'boo' is invalid in OpenCL}} 27 …read_pipe(tmp, tmp); // expected-error{{implicit declaration of function 'read_pipe' is invalid i… 28 …write_pipe(tmp, tmp); // expected-error{{implicit declaration of function 'write_pipe' is invalid … 30 …reserve_read_pipe(tmp, tmp); // expected-error{{implicit declaration of function 'reserve_read_pi… 32 …reserve_write_pipe(tmp, tmp); // expected-error{{implicit declaration of function 'reserve_write_p… 35 …work_group_reserve_read_pipe(tmp, tmp); // expected-error{{implicit declaration of function 'work… [all …]
|
/external/llvm-project/clang/test/SemaObjC/ |
D | category-direct-properties.m | 7 @property(nonatomic, readonly) int normal_direct; // expected-note {{previous declaration is here}} 51 @property(nonatomic, readwrite) int normal_direct; // expected-note {{previous declaration is here}} 73 @property(nonatomic, readonly, direct) int direct_normal; // expected-note {{previous declaration i… 74 @property(nonatomic, readonly) int normal_direct; // expected-note {{previous declaration i… 75 @property(nonatomic, readonly, direct) int direct_direct; // expected-note {{previous declaration i… 80 …ect_normal; // expected-error {{property declaration conflicts with previous direct declar… 81 …t normal_direct; // expected-error {{direct property declaration conflicts with previous declarati… 82 …rect_direct; // expected-error {{direct property declaration conflicts with previous direct declar… 94 @property(nonatomic, readonly, direct) int direct_normal; // expected-note {{previous declaration i… 95 @property(nonatomic, readonly) int normal_direct; // expected-note {{previous declaration i… [all …]
|
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 | method-direct-one-definition.m | 8 - (void)A_Cat __attribute__((objc_direct)); // expected-note {{previous declaration is here}} 18 - (void)B_primary __attribute__((objc_direct)); // expected-note {{previous declaration is here}} 22 - (void)B_extension __attribute__((objc_direct)); // expected-note {{previous declaration is here}} 30 - (void)B_OtherCat __attribute__((objc_direct)); // expected-note {{previous declaration is here}} 38 - (void)B_implOnly __attribute__((objc_direct)) { // expected-note {{previous declaration is here}} 51 …bjc_direct)) { // expected-error {{direct method declaration conflicts with previous direct declar… 57 - (void)C1 __attribute__((objc_direct)); // expected-note {{previous declaration is here}} 58 - (void)C2; // expected-note {{previous declaration is here}} 62 … // expected-error {{method declaration conflicts with previous direct declar… 63 …__((objc_direct)); // expected-error {{direct method declaration conflicts with previous declarati…
|
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 | method-direct.m | 4 - (void)protoMethod; // expected-note {{previous declaration is here}} 5 + (void)classProtoMethod; // expected-note {{previous declaration is here}} 16 - (void)rootRegular; // expected-note {{previous declaration is he… 17 + (void)classRootRegular; // expected-note {{previous declaration is he… 18 - (void)rootDirect __attribute__((objc_direct)); // expected-note {{previous declaration is he… 19 + (void)classRootDirect __attribute__((objc_direct)); // expected-note {{previous declaration is he… 23 - (void)notDirectInIface; // expected-note {{previous declaration is he… 24 + (void)classNotDirectInIface; // expected-note {{previous declaration is he… 29 - (void)rootExtensionDirect; // expected-note {{previous declaration is here}} 30 + (void)classRootExtensionDirect; // expected-note {{previous declaration is here}} [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' …
|
/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/llvm-project/clang/docs/tools/ |
D | dump_ast_matchers.py | 148 def act_on_decl(declaration, comment, allowed_types): argument 155 if declaration.strip(): 157 if re.match(r'^\s?(#|namespace|using)', declaration): return 164 \s*([^\s;]+)\s*;\s*$""", declaration, flags=re.X) 177 \s*([^\s;]+)\s*;\s*$""", declaration, flags=re.X) 193 \)\s*;\s*$""", declaration, flags=re.X) 217 \)\s*{\s*$""", declaration, flags=re.X) 226 raise Exception('Cannot parse "%s"' % declaration) 238 \)\s*{\s*$""", declaration, flags=re.X) 263 \)\s*{\s*$""", declaration, flags=re.X) [all …]
|
/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/llvm-project/clang/test/Modules/ |
D | diagnose-missing-import.m | 3 // RUN: -Werror=implicit-function-declaration -fsyntax-only \ 8 …declaration of function 'XYZLogEvent'}} expected-error {{declaration of 'XYZLogEvent' must be impo… 11 // expected-note@Inputs/diagnose-missing-import/a.h:5 {{declaration here is not visible}} 12 // expected-note@Inputs/diagnose-missing-import/a.h:5 {{declaration here is not visible}} 13 // expected-note@Inputs/diagnose-missing-import/a.h:6 {{declaration here is not visible}}
|
/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/llvm-project/polly/lib/External/ |
D | isl_config.h.cmake | 8 /* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */ 11 /* Define to 1 if you have the declaration of `__builtin_ffs', and to 0 if you 15 /* Define to 1 if you have the declaration of `_BitScanForward', and to 0 if 20 /* Define to 1 if you have the declaration of `strcasecmp', and to 0 if you 24 /* Define to 1 if you have the declaration of `_stricmp', and to 0 if you 29 /* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you 33 /* Define to 1 if you have the declaration of `_strnicmp', and to 0 if you 38 /* Define to 1 if you have the declaration of `snprintf', and to 0 if you 42 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
|
/external/llvm-project/clang/test/Sema/ |
D | warn-strict-prototypes.m | 5 @property (nonatomic, copy) void (^noProtoBlock)(); // expected-warning {{this block declaration is… 8 - doStuff:(void (^)()) completionHandler; // expected-warning {{this block declaration is not a pro… 14 void (^block)() = // expected-warning {{this block declaration is not a prototype}} 23 void (*(^(*(^block4)()) // expected-warning {{this block declaration is not a prototype}} 24 ()) // expected-warning {{this function declaration is not a prototype}} 25 ()) // expected-warning {{this block declaration is not a prototype}} 26 (); // expected-warning {{this function declaration is not a prototype}}
|
/external/auto/factory/src/main/java/com/google/auto/factory/processor/ |
D | FactoryMethodDescriptor.java | 33 abstract AutoFactoryDeclaration declaration(); in declaration() method in FactoryMethodDescriptor 45 return declaration().getFactoryName(); in factoryName() 48 static Builder builder(AutoFactoryDeclaration declaration) { in builder() argument 50 .declaration(checkNotNull(declaration)) in builder() 58 abstract Builder declaration(AutoFactoryDeclaration declaration); in declaration() argument
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
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() 80 mMultiReplacements.emplace_back(node->getStatementList(), declaration, 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()
|