Home
last modified time | relevance | path

Searched refs:NameValuePair (Results 1 – 13 of 13) sorted by relevance

/dalvik/dx/src/com/android/dx/rop/annotation/
DNameValuePair.java25 public final class NameValuePair implements Comparable<NameValuePair> { class
38 public NameValuePair(CstString name, Constant value) { in NameValuePair() method in NameValuePair
63 if (! (other instanceof NameValuePair)) { in equals()
67 NameValuePair otherPair = (NameValuePair) other; in equals()
79 public int compareTo(NameValuePair other) { in compareTo()
DAnnotation.java42 private final TreeMap<CstString, NameValuePair> elements;
61 this.elements = new TreeMap<CstString, NameValuePair>(); in Annotation()
103 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo()
104 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo()
107 NameValuePair thisOne = thisIter.next(); in compareTo()
108 NameValuePair otherOne = otherIter.next(); in compareTo()
141 for (NameValuePair pair : elements.values()) { in toHuman()
181 public void put(NameValuePair pair) { in put()
198 public void add(NameValuePair pair) { in add()
220 public Collection<NameValuePair> getNameValuePairs() { in getNameValuePairs()
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
DNameValuePair.java26 public final class NameValuePair implements Comparable<NameValuePair> { class
39 public NameValuePair(CstUtf8 name, Constant value) { in NameValuePair() method in NameValuePair
69 if (! (other instanceof NameValuePair)) { in equals()
73 NameValuePair otherPair = (NameValuePair) other; in equals()
85 public int compareTo(NameValuePair other) { in compareTo()
DAnnotation.java51 private final TreeMap<CstUtf8, NameValuePair> elements;
70 this.elements = new TreeMap<CstUtf8, NameValuePair>(); in Annotation()
112 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo()
113 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo()
116 NameValuePair thisOne = thisIter.next(); in compareTo()
117 NameValuePair otherOne = otherIter.next(); in compareTo()
150 for (NameValuePair pair : elements.values()) { in toHuman()
190 public void put(NameValuePair pair) { in put()
207 public void add(NameValuePair pair) { in add()
229 public Collection<NameValuePair> getNameValuePairs() { in getNameValuePairs()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DAnnotationUtils.java20 import com.android.dexgen.rop.annotation.NameValuePair;
94 result.put(new NameValuePair(VALUE_UTF, new CstAnnotation(defaults))); in makeAnnotationDefault()
108 result.put(new NameValuePair(VALUE_UTF, clazz)); in makeEnclosingClass()
122 result.put(new NameValuePair(VALUE_UTF, method)); in makeEnclosingMethod()
140 result.put(new NameValuePair(NAME_UTF, nameCst)); in makeInnerClass()
141 result.put(new NameValuePair(ACCESS_FLAGS_UTF, in makeInnerClass()
156 result.put(new NameValuePair(VALUE_UTF, array)); in makeMemberClasses()
218 result.put(new NameValuePair(VALUE_UTF, new CstArray(list))); in makeSignature()
232 result.put(new NameValuePair(VALUE_UTF, array)); in makeThrows()
DAnnotationItem.java21 import com.android.dexgen.rop.annotation.NameValuePair;
178 for (NameValuePair pair : annotation.getNameValuePairs()) { in annotateTo()
DValueEncoder.java20 import com.android.dexgen.rop.annotation.NameValuePair;
324 Collection<NameValuePair> pairs = annotation.getNameValuePairs(); in writeAnnotation()
334 for (NameValuePair pair : pairs) { in writeAnnotation()
500 for (NameValuePair pair : annotation.getNameValuePairs()) { in addContents()
DEncodedArrayItem.java21 import com.android.dexgen.rop.annotation.NameValuePair;
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java22 import com.android.dx.rop.annotation.NameValuePair;
94 result.put(new NameValuePair(VALUE_STRING, new CstAnnotation(defaults))); in makeAnnotationDefault()
108 result.put(new NameValuePair(VALUE_STRING, clazz)); in makeEnclosingClass()
122 result.put(new NameValuePair(VALUE_STRING, method)); in makeEnclosingMethod()
139 result.put(new NameValuePair(NAME_STRING, nameCst)); in makeInnerClass()
140 result.put(new NameValuePair(ACCESS_FLAGS_STRING, in makeInnerClass()
155 result.put(new NameValuePair(VALUE_STRING, array)); in makeMemberClasses()
217 result.put(new NameValuePair(VALUE_STRING, new CstArray(list))); in makeSignature()
231 result.put(new NameValuePair(VALUE_STRING, array)); in makeThrows()
DAnnotationItem.java21 import com.android.dx.rop.annotation.NameValuePair;
178 for (NameValuePair pair : annotation.getNameValuePairs()) { in annotateTo()
DValueEncoder.java21 import com.android.dx.rop.annotation.NameValuePair;
323 Collection<NameValuePair> pairs = annotation.getNameValuePairs(); in writeAnnotation()
333 for (NameValuePair pair : pairs) { in writeAnnotation()
396 for (NameValuePair pair : annotation.getNameValuePairs()) { in addContents()
/dalvik/dx/src/com/android/dx/cf/direct/
DAnnotationParser.java25 import com.android.dx.rop.annotation.NameValuePair;
263 NameValuePair element = parseElement(); in parseAnnotation()
280 private NameValuePair parseElement() throws IOException { in parseElement()
298 return new NameValuePair(elementName, value); in parseElement()
/dalvik/dx/src/com/android/dx/dex/cf/
DAttributeTranslator.java38 import com.android.dx.rop.annotation.NameValuePair;
410 NameValuePair pair = new NameValuePair( in translateAnnotationDefaults()