/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | AnnotationSetItem.java | 35 private final Annotations annotations; field in AnnotationSetItem 49 public AnnotationSetItem(Annotations annotations) { in AnnotationSetItem() argument 50 super(ALIGNMENT, writeSize(annotations)); in AnnotationSetItem() 52 this.annotations = annotations; in AnnotationSetItem() 53 this.items = new AnnotationItem[annotations.size()]; in AnnotationSetItem() 56 for (Annotation a : annotations.getAnnotations()) { in AnnotationSetItem() 68 private static int writeSize(Annotations annotations) { in writeSize() argument 72 return (annotations.size() * ENTRY_WRITE_SIZE) + 4; in writeSize() 85 return annotations; in getAnnotations() 91 return annotations.hashCode(); in hashCode() [all …]
|
D | AnnotationSetRefItem.java | 33 private AnnotationSetItem annotations; field in AnnotationSetRefItem 40 public AnnotationSetRefItem(AnnotationSetItem annotations) { in AnnotationSetRefItem() argument 43 if (annotations == null) { in AnnotationSetRefItem() 47 this.annotations = annotations; in AnnotationSetRefItem() 60 annotations = wordData.intern(annotations); in addContents() 66 return annotations.toHuman(); in toHuman() 72 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo0()
|
D | MethodAnnotationStruct.java | 34 private AnnotationSetItem annotations; field in MethodAnnotationStruct 43 AnnotationSetItem annotations) { in MethodAnnotationStruct() argument 48 if (annotations == null) { in MethodAnnotationStruct() 53 this.annotations = annotations; in MethodAnnotationStruct() 81 annotations = wordData.intern(annotations); in addContents() 87 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo() 102 return method.toHuman() + ": " + annotations; in toHuman() 120 return annotations.getAnnotations(); in getAnnotations()
|
D | FieldAnnotationStruct.java | 34 private AnnotationSetItem annotations; field in FieldAnnotationStruct 43 AnnotationSetItem annotations) { in FieldAnnotationStruct() argument 48 if (annotations == null) { in FieldAnnotationStruct() 53 this.annotations = annotations; in FieldAnnotationStruct() 81 annotations = wordData.intern(annotations); in addContents() 87 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo() 102 return field.toHuman() + ": " + annotations; in toHuman() 120 return annotations.getAnnotations(); in getAnnotations()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/ |
D | Annotations.java | 40 private final TreeMap<CstType, Annotation> annotations; field in Annotations 72 public static Annotations combine(Annotations annotations, in combine() argument 76 result.addAll(annotations); in combine() 87 annotations = new TreeMap<CstType, Annotation>(); in Annotations() 93 return annotations.hashCode(); in hashCode() 105 return annotations.equals(otherAnnotations.annotations); in equals() 110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo() 111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo() 139 for (Annotation a : annotations.values()) { in toString() 158 return annotations.size(); in size() [all …]
|
/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()
|
D | ParameterAnnotationsAttributeEditor.java | 52 …Annotation[] annotations = targetParameterAnnotationsAttribute.parameterAnnotations[parameter… in addAnnotation() local 55 if (annotations == null || in addAnnotation() 56 annotations.length <= annotationsCount) in addAnnotation() 59 if (annotations != null) in addAnnotation() 61 System.arraycopy(annotations, 0, in addAnnotation() 65 annotations = targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; in addAnnotation() 69 …annotations[targetParameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]++] = a… in addAnnotation()
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 54 private ArrayList<Annotation> annotations; field in ByteArrayAnnotatedOutput 111 this.annotations = null; in ByteArrayAnnotatedOutput() 351 return (annotations != null); in annotates() 361 if (annotations == null) { in annotate() 366 annotations.add(new Annotation(cursor, msg)); in annotate() 371 if (annotations == null) { in annotate() 377 int asz = annotations.size(); in annotate() 378 int lastEnd = (asz == 0) ? 0 : annotations.get(asz - 1).getEnd(); in annotate() 387 annotations.add(new Annotation(startAt, startAt + amt, msg)); in annotate() 392 if (annotations == null) { in endAnnotation() [all …]
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
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()
|
/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()
|
D | BuilderMethodParameter.java | 42 @Nonnull final BuilderAnnotationSet annotations; field in BuilderMethodParameter 46 @Nonnull BuilderAnnotationSet annotations) { in BuilderMethodParameter() argument 49 this.annotations = annotations; in BuilderMethodParameter() 61 return annotations; in getAnnotations()
|
D | BuilderField.java | 45 @Nonnull final BuilderAnnotationSet annotations; field in BuilderField 50 @Nonnull BuilderAnnotationSet annotations) { in BuilderField() argument 54 this.annotations = annotations; in BuilderField() 66 return annotations; in getAnnotations()
|
D | BuilderMethod.java | 47 @Nonnull final BuilderAnnotationSet annotations; field in BuilderMethod 56 @Nonnull BuilderAnnotationSet annotations, in BuilderMethod() argument 61 this.annotations = annotations; in BuilderMethod() 71 @Override @Nonnull public BuilderAnnotationSet getAnnotations() { return annotations; } in getAnnotations()
|
/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()
|
D | ImmutableField.java | 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableField 63 @Nullable Collection<? extends Annotation> annotations) { in ImmutableField() argument 69 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableField() 77 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations) { in ImmutableField() argument 83 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableField() 104 …verride public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; } in getAnnotations()
|
D | ImmutableMethod.java | 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableMethod 64 @Nullable Set<? extends Annotation> annotations, in ImmutableMethod() argument 71 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableMethod() 80 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableMethod() argument 87 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableMethod() 111 …Nonnull public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; } in getAnnotations()
|
D | ImmutableClassDef.java | 57 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableClassDef 68 @Nullable Collection<? extends Annotation> annotations, in ImmutableClassDef() argument 83 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableClassDef() 95 @Nullable Collection<? extends Annotation> annotations, in ImmutableClassDef() argument 105 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableClassDef() 117 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableClassDef() argument 127 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableClassDef() 156 …verride public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; } in getAnnotations()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | GraphicsContextAnnotator.cpp | 96 AnnotationList annotations; in annotate() local 101 annotations.append(std::make_pair(AnnotationKeyRendererName, object->renderName())); in annotate() 104 … annotations.append(std::make_pair(AnnotationKeyPaintPhase, paintPhaseName(paintInfo.phase))); in annotate() 107 … annotations.append(std::make_pair(AnnotationKeyElementId, element->getIdAttribute().string())); in annotate() 119 annotations.append(std::make_pair(AnnotationKeyElementClass, classBuilder.toString())); in annotate() 124 annotations.append(std::make_pair(AnnotationKeyElementTag, element->tagName())); in annotate() 128 annotations.append(std::make_pair(AnnotationKeyInspectorNodeId, in annotate() 134 m_context->beginAnnotation(annotations); in annotate()
|
/external/junit/src/org/junit/experimental/theories/ |
D | ParameterSignature.java | 36 private final Annotation[] annotations; field in ParameterSignature 38 private ParameterSignature(Class<?> type, Annotation[] annotations) { in ParameterSignature() argument 40 this.annotations= annotations; in ParameterSignature() 52 return Arrays.asList(annotations); in getAnnotations() 64 Annotation[] annotations2= annotations; in findDeepAnnotation() 69 Annotation[] annotations, Class<T> annotationType, int depth) { in findDeepAnnotation() argument 72 for (Annotation each : annotations) { in findDeepAnnotation()
|
/external/doclava/src/com/google/doclava/ |
D | AnnotationInstanceInfo.java | 123 public static void makeLinkListHDF(Data data, String base, AnnotationInstanceInfo[] annotations) { in makeLinkListHDF() argument 124 if (annotations == null) return; in makeLinkListHDF() 126 final int N = annotations.length; in makeLinkListHDF() 128 AnnotationInstanceInfo aii = annotations[i]; in makeLinkListHDF() 139 ArrayList<AnnotationInstanceInfo> annotations) { in getShowAnnotationsIntersection() argument 141 if (annotations != null) { in getShowAnnotationsIntersection() 142 for (AnnotationInstanceInfo info : annotations) { in getShowAnnotationsIntersection()
|
/external/proguard/examples/annotations/lib/ |
D | annotations.pro | 2 # This ProGuard configuration file specifies how annotations can be used 5 # java -jar proguard.jar @annotations.pro -libraryjars annotations.jar ... 9 # -include annotations.pro 15 # The annotations are defined in the accompanying jar. For now, we'll start 16 # with these. You can always define your own annotations, if necessary. 17 -libraryjars annotations.jar 20 # The following annotations can be specified with classes and with class 43 # The following annotations can only be specified with classes. 47 # entry points. Note the extension of the java-like syntax, adding annotations
|
/external/javassist/src/main/javassist/bytecode/ |
D | AnnotationsAttribute.java | 183 Annotation[] annotations = getAnnotations(); in getAnnotation() local 184 for (int i = 0; i < annotations.length; i++) { in getAnnotation() 185 if (annotations[i].getTypeName().equals(type)) in getAnnotation() 186 return annotations[i]; in getAnnotation() 200 Annotation[] annotations = getAnnotations(); in addAnnotation() local 201 for (int i = 0; i < annotations.length; i++) { in addAnnotation() 202 if (annotations[i].getTypeName().equals(type)) { in addAnnotation() 203 annotations[i] = annotation; in addAnnotation() 204 setAnnotations(annotations); in addAnnotation() 209 Annotation[] newlist = new Annotation[annotations.length + 1]; in addAnnotation() [all …]
|
/external/junit/src/org/junit/runner/ |
D | Description.java | 38 public static Description createSuiteDescription(String name, Annotation... annotations) { in createSuiteDescription() argument 41 return new Description(name, annotations); in createSuiteDescription() 52 … static Description createTestDescription(Class<?> clazz, String name, Annotation... annotations) { in createTestDescription() argument 53 return new Description(String.format("%s(%s)", name, clazz.getName()), annotations); in createTestDescription() 94 private Description(final String displayName, Annotation... annotations) { in Description() argument 96 fAnnotations= annotations; in Description()
|
/external/chromium_org/build/android/pylib/host_driven/ |
D | test_info_collection.py | 76 def GetAvailableTests(self, annotations, exclude_annotations, name_filter): argument 94 self._AnnotationIncludesTest(t, annotations)] 95 if annotations and len(annotations) == 1 and annotations[0] == 'SmallTest':
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
D | PaintProfiler.js | 169 WebInspector.PaintProfilerLogItem = function(rawEntry, commandIndex, annotations) argument 173 this.annotations = annotations; 183 if (!this.annotations) 185 var inspectorId = this.annotations["INSPECTOR_ID"];
|