/external/testng/src/main/java/org/testng/internal/annotations/ |
D | JDK15AnnotationFinder.java | 1 package org.testng.internal.annotations; 13 import org.testng.annotations.AfterClass; 14 import org.testng.annotations.AfterGroups; 15 import org.testng.annotations.AfterMethod; 16 import org.testng.annotations.AfterSuite; 17 import org.testng.annotations.AfterTest; 18 import org.testng.annotations.BeforeClass; 19 import org.testng.annotations.BeforeGroups; 20 import org.testng.annotations.BeforeMethod; 21 import org.testng.annotations.BeforeSuite; [all …]
|
D | JDK15TagFactory.java | 1 package org.testng.internal.annotations; 11 import org.testng.annotations.AfterClass; 12 import org.testng.annotations.AfterGroups; 13 import org.testng.annotations.AfterMethod; 14 import org.testng.annotations.AfterSuite; 15 import org.testng.annotations.AfterTest; 16 import org.testng.annotations.BeforeClass; 17 import org.testng.annotations.BeforeGroups; 18 import org.testng.annotations.BeforeMethod; 19 import org.testng.annotations.BeforeSuite; [all …]
|
/external/r8/src/main/java/com/android/tools/r8/graph/ |
D | DexMemberAnnotation.java | 12 public final S annotations; field in DexMemberAnnotation 14 public DexMemberAnnotation(T item, S annotations) { in DexMemberAnnotation() argument 16 this.annotations = annotations; in DexMemberAnnotation() 22 annotations.collectIndexedItems(indexedItems); in collectIndexedItems() 27 annotations.collectMixedSectionItems(mixedItems); in collectMixedSectionItems() 32 return item.hashCode() * 7 + annotations.hashCode(); in hashCode() 42 return item.equals(otherMember.item) && annotations.equals(otherMember.annotations); in equals() 49 public DexFieldAnnotation(DexField item, DexAnnotationSet annotations) { in DexFieldAnnotation() argument 50 super(item, annotations); in DexFieldAnnotation() 56 public DexMethodAnnotation(DexMethod item, DexAnnotationSet annotations) { in DexMethodAnnotation() argument [all …]
|
D | DexAnnotationSet.java | 16 public final DexAnnotation[] annotations; field in DexAnnotationSet 19 public DexAnnotationSet(DexAnnotation[] annotations) { in DexAnnotationSet() argument 20 this.annotations = annotations; in DexAnnotationSet() 29 return Arrays.hashCode(annotations); in hashCode() 39 return Arrays.equals(annotations, o.annotations); in equals() 46 collectAll(indexedItems, annotations); in collectIndexedItems() 52 collectAll(mixedItems, annotations); in collectMixedSectionItems() 56 return annotations.length == 0; in isEmpty() 64 Arrays.sort(annotations, (a, b) -> a.annotation.type.compareTo(b.annotation.type)); in sort() 65 for (DexAnnotation annotation : annotations) { in sort() [all …]
|
D | DexEncodedField.java | 17 public DexAnnotationSet annotations; field in DexEncodedField 20 public DexEncodedField(DexField field, DexAccessFlags accessFlags, DexAnnotationSet annotations, in DexEncodedField() argument 25 this.annotations = annotations; in DexEncodedField() 32 annotations.collectIndexedItems(indexedItems); in collectIndexedItems() 40 annotations.collectMixedSectionItems(mixedItems); in collectMixedSectionItems() 64 return !annotations.isEmpty(); in hasAnnotation() 81 accessFlags, annotations, staticValue); in toRenamedField() 88 return new DexEncodedField(field, accessFlags, annotations, staticValue); in toTypeSubstitutedField()
|
/external/testng/src/test/java/test/mannotation/ |
D | MTest1.java | 3 import org.testng.annotations.AfterClass; 4 import org.testng.annotations.AfterGroups; 5 import org.testng.annotations.AfterMethod; 6 import org.testng.annotations.AfterSuite; 7 import org.testng.annotations.AfterTest; 8 import org.testng.annotations.BeforeClass; 9 import org.testng.annotations.BeforeGroups; 10 import org.testng.annotations.BeforeMethod; 11 import org.testng.annotations.BeforeSuite; 12 import org.testng.annotations.BeforeTest; [all …]
|
/external/r8/src/main/java/com/android/tools/r8/shaking/ |
D | AnnotationRemover.java | 109 clazz.annotations = stripAnnotations(clazz.annotations, this::filterAnnotations); in run() 119 method.annotations = stripAnnotations(method.annotations, this::filterAnnotations); in processMethods() 127 field.annotations = stripAnnotations(field.annotations, this::filterAnnotations); in processFields() 131 private DexAnnotationSetRefList stripAnnotations(DexAnnotationSetRefList annotations, in stripAnnotations() argument 134 for (int i = 0; i < annotations.values.length; i++) { in stripAnnotations() 135 DexAnnotationSet updated = stripAnnotations(annotations.values[i], filter); in stripAnnotations() 136 if (updated != annotations.values[i]) { in stripAnnotations() 138 filtered = annotations.values.clone(); in stripAnnotations() 144 return annotations; in stripAnnotations() 153 private DexAnnotationSet stripAnnotations(DexAnnotationSet annotations, in stripAnnotations() argument [all …]
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
D | TypeAnnotationsAttribute.java | 46 TypeAnnotation[] annotations) in TypeAnnotationsAttribute() argument 48 super(u2attributeNameIndex, u2annotationsCount, annotations); in TypeAnnotationsAttribute() 57 TypeAnnotation[] annotations = (TypeAnnotation[])this.annotations; in typeAnnotationsAccept() local 63 typeAnnotationVisitor.visitTypeAnnotation(clazz, annotations[index]); in typeAnnotationsAccept() 73 TypeAnnotation[] annotations = (TypeAnnotation[])this.annotations; in typeAnnotationsAccept() local 79 typeAnnotationVisitor.visitTypeAnnotation(clazz, field, annotations[index]); in typeAnnotationsAccept() 89 TypeAnnotation[] annotations = (TypeAnnotation[])this.annotations; in typeAnnotationsAccept() local 95 typeAnnotationVisitor.visitTypeAnnotation(clazz, method, annotations[index]); in typeAnnotationsAccept()
|
D | AnnotationsAttribute.java | 35 public Annotation[] annotations; field in AnnotationsAttribute 51 Annotation[] annotations) in AnnotationsAttribute() argument 56 this.annotations = annotations; in AnnotationsAttribute() 69 annotationVisitor.visitAnnotation(clazz, annotations[index]); in annotationsAccept() 83 annotationVisitor.visitAnnotation(clazz, field, annotations[index]); in annotationsAccept() 97 annotationVisitor.visitAnnotation(clazz, method, annotations[index]); in annotationsAccept() 111 annotationVisitor.visitAnnotation(clazz, method, codeAttribute, annotations[index]); in annotationsAccept()
|
/external/proguard/src/proguard/classfile/editor/ |
D | AnnotationsAttributeEditor.java | 52 Annotation[] annotations = targetAnnotationsAttribute.annotations; in addAnnotation() local 55 if (annotations.length <= annotationsCount) in addAnnotation() 57 targetAnnotationsAttribute.annotations = new Annotation[annotationsCount+1]; in addAnnotation() 58 System.arraycopy(annotations, 0, in addAnnotation() 59 targetAnnotationsAttribute.annotations, 0, in addAnnotation() 61 annotations = targetAnnotationsAttribute.annotations; in addAnnotation() 65 annotations[targetAnnotationsAttribute.u2annotationsCount++] = annotation; in addAnnotation()
|
/external/testng/src/test/java/test/v6/ |
D | A.java | 3 import org.testng.annotations.AfterClass; 4 import org.testng.annotations.AfterGroups; 5 import org.testng.annotations.AfterMethod; 6 import org.testng.annotations.AfterSuite; 7 import org.testng.annotations.BeforeClass; 8 import org.testng.annotations.BeforeGroups; 9 import org.testng.annotations.BeforeMethod; 10 import org.testng.annotations.BeforeSuite; 11 import org.testng.annotations.Test;
|
D | B.java | 3 import org.testng.annotations.AfterClass; 4 import org.testng.annotations.AfterMethod; 5 import org.testng.annotations.BeforeClass; 6 import org.testng.annotations.BeforeMethod; 7 import org.testng.annotations.BeforeSuite; 8 import org.testng.annotations.Test;
|
/external/testng/src/test/java/test/invokedmethodlistener/ |
D | Base.java | 3 import org.testng.annotations.AfterClass; 4 import org.testng.annotations.AfterMethod; 5 import org.testng.annotations.AfterSuite; 6 import org.testng.annotations.AfterTest; 7 import org.testng.annotations.BeforeClass; 8 import org.testng.annotations.BeforeMethod; 9 import org.testng.annotations.BeforeSuite; 10 import org.testng.annotations.BeforeTest; 11 import org.testng.annotations.Test;
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | JmhClientSocketBenchmark.java | 20 import org.openjdk.jmh.annotations.AuxCounters; 21 import org.openjdk.jmh.annotations.Benchmark; 22 import org.openjdk.jmh.annotations.Fork; 23 import org.openjdk.jmh.annotations.Level; 24 import org.openjdk.jmh.annotations.Param; 25 import org.openjdk.jmh.annotations.Scope; 26 import org.openjdk.jmh.annotations.Setup; 27 import org.openjdk.jmh.annotations.State; 28 import org.openjdk.jmh.annotations.TearDown; 29 import org.openjdk.jmh.annotations.Threads;
|
D | JmhServerSocketBenchmark.java | 20 import org.openjdk.jmh.annotations.AuxCounters; 21 import org.openjdk.jmh.annotations.Benchmark; 22 import org.openjdk.jmh.annotations.Fork; 23 import org.openjdk.jmh.annotations.Level; 24 import org.openjdk.jmh.annotations.Param; 25 import org.openjdk.jmh.annotations.Scope; 26 import org.openjdk.jmh.annotations.Setup; 27 import org.openjdk.jmh.annotations.State; 28 import org.openjdk.jmh.annotations.TearDown; 29 import org.openjdk.jmh.annotations.Threads;
|
D | JmhEngineWrapBenchmark.java | 37 import org.openjdk.jmh.annotations.Benchmark; 38 import org.openjdk.jmh.annotations.Fork; 39 import org.openjdk.jmh.annotations.Level; 40 import org.openjdk.jmh.annotations.Param; 41 import org.openjdk.jmh.annotations.Scope; 42 import org.openjdk.jmh.annotations.Setup; 43 import org.openjdk.jmh.annotations.State; 44 import org.openjdk.jmh.annotations.TearDown; 45 import org.openjdk.jmh.annotations.Threads;
|
D | JmhEngineHandshakeBenchmark.java | 37 import org.openjdk.jmh.annotations.Benchmark; 38 import org.openjdk.jmh.annotations.Fork; 39 import org.openjdk.jmh.annotations.Level; 40 import org.openjdk.jmh.annotations.Param; 41 import org.openjdk.jmh.annotations.Scope; 42 import org.openjdk.jmh.annotations.Setup; 43 import org.openjdk.jmh.annotations.State; 44 import org.openjdk.jmh.annotations.Threads;
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Parameter.java | 21 import com.google.common.annotations.Beta; 42 private final ImmutableList<Annotation> annotations; field in Parameter 48 Annotation[] annotations) { in Parameter() argument 52 this.annotations = ImmutableList.copyOf(annotations); in Parameter() 73 for (Annotation annotation : annotations) { in getAnnotation() 98 return annotations.toArray(new Annotation[annotations.size()]); in getDeclaredAnnotations() 108 return FluentIterable.from(annotations) in getDeclaredAnnotation() 120 return FluentIterable.from(annotations) in getDeclaredAnnotationsByType()
|
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
D | BufferPerformanceBench.java | 26 import org.openjdk.jmh.annotations.Benchmark; 27 import org.openjdk.jmh.annotations.BenchmarkMode; 28 import org.openjdk.jmh.annotations.Fork; 29 import org.openjdk.jmh.annotations.Group; 30 import org.openjdk.jmh.annotations.GroupThreads; 31 import org.openjdk.jmh.annotations.Level; 32 import org.openjdk.jmh.annotations.Measurement; 33 import org.openjdk.jmh.annotations.Mode; 34 import org.openjdk.jmh.annotations.OutputTimeUnit; 35 import org.openjdk.jmh.annotations.Param; [all …]
|
/external/junit/src/main/java/org/junit/runner/ |
D | Description.java | 44 public static Description createSuiteDescription(String name, Annotation... annotations) { in createSuiteDescription() argument 45 return new Description(null, name, annotations); in createSuiteDescription() 57 …Description createSuiteDescription(String name, Serializable uniqueId, Annotation... annotations) { in createSuiteDescription() argument 58 return new Description(null, name, uniqueId, annotations); in createSuiteDescription() 72 …tatic Description createTestDescription(String className, String name, Annotation... annotations) { in createTestDescription() argument 73 return new Description(null, formatDisplayName(name, className), annotations); in createTestDescription() 85 … static Description createTestDescription(Class<?> clazz, String name, Annotation... annotations) { in createTestDescription() argument 86 return new Description(clazz, formatDisplayName(name, clazz.getName()), annotations); in createTestDescription() 150 private Description(Class<?> clazz, String displayName, Annotation... annotations) { in Description() argument 151 this(clazz, displayName, displayName, annotations); in Description() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
D | ImmutableMethodParameter.java | 48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableMethodParameter 52 @Nullable Set<? extends Annotation> annotations, in ImmutableMethodParameter() argument 55 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableMethodParameter() 60 … @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableMethodParameter() argument 63 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableMethodParameter() 78 @Nonnull @Override public Set<? extends Annotation> getAnnotations() { return annotations; } in getAnnotations()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderAnnotationSet.java | 46 @Nonnull final Set<BuilderAnnotation> annotations; field in BuilderAnnotationSet 49 public BuilderAnnotationSet(@Nonnull Set<BuilderAnnotation> annotations) { in BuilderAnnotationSet() argument 50 this.annotations = annotations; in BuilderAnnotationSet() 54 return annotations.iterator(); in iterator() 58 return annotations.size(); in size()
|
/external/testng/src/test/java/test/configuration/ |
D | ConfigurationTest.java | 3 import org.testng.annotations.AfterClass; 4 import org.testng.annotations.AfterMethod; 5 import org.testng.annotations.AfterSuite; 6 import org.testng.annotations.BeforeClass; 7 import org.testng.annotations.BeforeMethod; 8 import org.testng.annotations.BeforeSuite; 9 import org.testng.annotations.Test;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
D | MethodDescriptor.java | 88 final Annotation annotations[][] = getParameterAnnotations(); in invoke() local 98 } else if (MethodDescriptor.hasDefaultValue(annotations[i])) { in invoke() 99 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke() 117 final Annotation annotations[][] = getParameterAnnotations(); in invoke() local 123 String parameterName = getName(annotations[i]); in invoke() 126 } else if (MethodDescriptor.hasDefaultValue(annotations[i])) { in invoke() 127 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke() 312 final Annotation[][] annotations = mMethod.getParameterAnnotations(); in getHelp() local 320 helpBuilder.append(getHelpForParameter(genericParameterTypes[i], annotations[i])); in getHelp() 354 private static String getHelpForParameter(Type parameterType, Annotation[] annotations) { in getHelpForParameter() argument [all …]
|
/external/testng/src/test/java/test/dataprovider/ |
D | ConfigurationAndDataProvidersTest.java | 4 import org.testng.annotations.BeforeClass; 5 import org.testng.annotations.BeforeMethod; 6 import org.testng.annotations.BeforeSuite; 7 import org.testng.annotations.BeforeTest; 8 import org.testng.annotations.DataProvider; 9 import org.testng.annotations.Test;
|