Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 233) sorted by relevance

12345678910

/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpec.java21 import com.android.dexgen.rop.type.Type;
22 import com.android.dexgen.rop.type.TypeBearer;
47 private final TypeBearer type; field in RegisterSpec
61 private static RegisterSpec intern(int reg, TypeBearer type, in intern() argument
63 theInterningItem.set(reg, type, local); in intern()
85 public static RegisterSpec make(int reg, TypeBearer type) { in make() argument
86 return intern(reg, type, null); in make()
100 public static RegisterSpec make(int reg, TypeBearer type, in make() argument
106 return intern(reg, type, local); in make()
122 int reg, TypeBearer type, LocalItem local) { in makeLocalOptional() argument
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpec.java22 import com.android.dx.rop.type.Type;
23 import com.android.dx.rop.type.TypeBearer;
47 private final TypeBearer type; field in RegisterSpec
64 private static RegisterSpec intern(int reg, TypeBearer type, in intern() argument
67 theInterningItem.set(reg, type, local); in intern()
90 public static RegisterSpec make(int reg, TypeBearer type) { in make() argument
91 return intern(reg, type, null); in make()
105 public static RegisterSpec make(int reg, TypeBearer type, in make() argument
111 return intern(reg, type, local); in make()
127 int reg, TypeBearer type, LocalItem local) { in makeLocalOptional() argument
[all …]
/dalvik/dx/tests/006-interfaces/
Dexpected.txt14 0006: type{java.lang.Object}
15 0007: type{Small}
16 0008: type{Foo}
17 0009: type{Bar}
18 000a: type{Baz}
21 this_class: type{Small}
22 super_class: type{java.lang.Object}
25 type{Foo}
26 type{Bar}
27 type{Baz}
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DTypeIdsSection.java21 import com.android.dexgen.rop.type.Type;
63 Type type = ((CstType) cst).getClassType(); in get() local
64 IndexedItem result = typeIds.get(type); in get()
103 public TypeIdItem intern(Type type) { in intern() argument
104 if (type == null) { in intern()
110 TypeIdItem result = typeIds.get(type); in intern()
113 result = new TypeIdItem(new CstType(type)); in intern()
114 typeIds.put(type, result); in intern()
126 public TypeIdItem intern(CstType type) { in intern() argument
127 if (type == null) { in intern()
[all …]
DIdItem.java29 private final CstType type; field in IdItem
37 public IdItem(CstType type) { in IdItem() argument
38 if (type == null) { in IdItem()
42 this.type = type; in IdItem()
49 typeIds.intern(type); in addContents()
59 return type; in getDefiningClass()
DClassDefsSection.java21 import com.android.dexgen.rop.type.Type;
22 import com.android.dexgen.rop.type.TypeList;
74 Type type = ((CstType) cst).getClassType(); in get() local
75 IndexedItem result = classDefs.get(type); in get()
111 Type type; in add() local
114 type = clazz.getThisClass().getClassType(); in add()
122 if (classDefs.get(type) != null) { in add()
123 throw new IllegalArgumentException("already added: " + type); in add()
126 classDefs.put(type, clazz); in add()
143 for (Type type : classDefs.keySet()) { in orderItems()
[all …]
DMapItem.java35 private final ItemType type; field in MapItem
87 ItemType type = item.itemType(); in addMap() local
88 if (type != currentType) { in addMap()
93 currentType = type; in addMap()
124 private MapItem(ItemType type, Section section, Item firstItem, in MapItem() argument
128 if (type == null) { in MapItem()
148 this.type = type; in MapItem()
168 this.type = ItemType.TYPE_MAP_LIST; in MapItem()
190 sb.append(type.toHuman()); in toString()
211 int value = type.getMapValue(); in writeTo0()
[all …]
DValueEncoder.java129 int type = constantToValueType(cst); in writeConstant() local
132 switch (type) { in writeConstant()
138 writeSignedIntegralValue(type, value); in writeConstant()
143 writeUnsignedIntegralValue(type, value); in writeConstant()
149 writeRightZeroExtendedValue(type, value); in writeConstant()
154 writeRightZeroExtendedValue(type, value); in writeConstant()
159 writeUnsignedIntegralValue(type, (long) index); in writeConstant()
164 writeUnsignedIntegralValue(type, (long) index); in writeConstant()
169 writeUnsignedIntegralValue(type, (long) index); in writeConstant()
174 writeUnsignedIntegralValue(type, (long) index); in writeConstant()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DIdItem.java29 private final CstType type; field in IdItem
37 public IdItem(CstType type) { in IdItem() argument
38 if (type == null) { in IdItem()
42 this.type = type; in IdItem()
49 typeIds.intern(type); in addContents()
59 return type; in getDefiningClass()
DTypeIdsSection.java23 import com.android.dx.rop.type.Type;
65 Type type = ((CstType) cst).getClassType(); in get() local
66 IndexedItem result = typeIds.get(type); in get()
109 public synchronized TypeIdItem intern(Type type) { in intern() argument
110 if (type == null) { in intern()
116 TypeIdItem result = typeIds.get(type); in intern()
119 result = new TypeIdItem(new CstType(type)); in intern()
120 typeIds.put(type, result); in intern()
132 public synchronized TypeIdItem intern(CstType type) { in intern() argument
133 if (type == null) { in intern()
[all …]
DClassDefsSection.java21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeList;
73 Type type = ((CstType) cst).getClassType(); in get() local
74 IndexedItem result = classDefs.get(type); in get()
110 Type type; in add() local
113 type = clazz.getThisClass().getClassType(); in add()
121 if (classDefs.get(type) != null) { in add()
122 throw new IllegalArgumentException("already added: " + type); in add()
125 classDefs.put(type, clazz); in add()
142 for (Type type : classDefs.keySet()) { in orderItems()
[all …]
DMapItem.java34 private final ItemType type; field in MapItem
86 ItemType type = item.itemType(); in addMap() local
87 if (type != currentType) { in addMap()
92 currentType = type; in addMap()
123 private MapItem(ItemType type, Section section, Item firstItem, in MapItem() argument
127 if (type == null) { in MapItem()
147 this.type = type; in MapItem()
167 this.type = ItemType.TYPE_MAP_LIST; in MapItem()
189 sb.append(type.toHuman()); in toString()
210 int value = type.getMapValue(); in writeTo0()
[all …]
/dalvik/dx/src/com/android/dex/
DEncodedValueReader.java46 private int type = MUST_READ; field in EncodedValueReader
66 this.type = knownType; in EncodedValueReader()
77 if (type == MUST_READ) { in peek()
79 type = argAndType & 0x1f; in peek()
82 return type; in peek()
97 type = MUST_READ; in readArray()
116 type = MUST_READ; in readAnnotation()
136 type = MUST_READ; in readByte()
142 type = MUST_READ; in readShort()
148 type = MUST_READ; in readChar()
[all …]
/dalvik/dx/tests/010-class-attrib-InnerClasses/
Dexpected.txt11 0003: type{Small}
12 0004: type{java.lang.Object}
15 0007: type{Zorch}
18 this_class: type{Small}
19 super_class: type{java.lang.Object}
29 inner_class: type{Small}
33 inner_class: type{Small}
37 inner_class: type{Small}
38 outer_class: type{Zorch}
41 inner_class: type{Zorch}
[all …]
/dalvik/dx/tests/003-magic-version-access/
Dexpected.txt38 0003: type{Small}
39 0004: type{java.lang.Object}
42 this_class: type{Small}
43 super_class: type{java.lang.Object}
59 0003: type{Small}
60 0004: type{java.lang.Object}
63 this_class: type{Small}
64 super_class: type{java.lang.Object}
80 0003: type{Small}
81 0004: type{java.lang.Object}
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstType.java19 import com.android.dexgen.rop.type.Type;
86 private final Type type; field in CstType
125 public static CstType intern(Type type) { in intern() argument
126 CstType cst = interns.get(type); in intern()
129 cst = new CstType(type); in intern()
130 interns.put(type, cst); in intern()
152 public CstType(Type type) { in CstType() argument
153 if (type == null) { in CstType()
157 if (type == type.KNOWN_NULL) { in CstType()
162 this.type = type; in CstType()
[all …]
/dalvik/dx/tests/100-local-mismatch/
Dexpected.txt2 local variable type mismatch: attempt to set or access a value of type int using a local variable o…
4 local variable type mismatch: attempt to set or access a value of type java.lang.Object using a loc…
6 local variable type mismatch: attempt to set or access a value of type int using a local variable o…
8 local variable type mismatch: attempt to set or access a value of type java.lang.String using a loc…
/dalvik/dx/src/com/android/dx/cf/code/
DExecutionStack.java20 import com.android.dx.rop.type.Type;
21 import com.android.dx.rop.type.TypeBearer;
98 public void makeInitialized(Type type) { in makeInitialized() argument
106 Type initializedType = type.getInitializedType(); in makeInitialized()
109 if (stack[i] == type) { in makeInitialized()
154 public void push(TypeBearer type) { in push() argument
160 type = type.getFrameType(); in push()
161 category = type.getType().getCategory(); in push()
177 stack[stackPtr] = type; in push()
274 public void change(int n, TypeBearer type) { in change() argument
[all …]
DOneLocalsArray.java21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeBearer;
60 TypeBearer type = locals[i]; in annotate() local
61 String s = (type == null) ? "<invalid>" : type.toString(); in annotate()
71 TypeBearer type = locals[i]; in toHuman() local
72 String s = (type == null) ? "<invalid>" : type.toString(); in toHuman()
80 public void makeInitialized(Type type) { in makeInitialized() argument
90 Type initializedType = type.getInitializedType(); in makeInitialized()
93 if (locals[i] == type) { in makeInitialized()
105 public void set(int idx, TypeBearer type) { in set() argument
[all …]
DValueAwareMachine.java20 import com.android.dx.rop.type.Prototype;
21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeBearer;
149 Type type = ((TypeBearer) getAuxCst()).getType(); in run() local
150 if (type == Type.VOID) { in run()
153 setResult(type); in run()
162 Type type = ((TypeBearer) getAuxCst()).getType(); in run() local
163 if (type == Type.VOID) { in run()
166 setResult(type); in run()
171 Type type = ((CstType) getAuxCst()).getClassType(); in run() local
[all …]
/dalvik/dx/src/com/android/dx/cf/attrib/
DAttEnclosingMethod.java31 private final CstType type; field in AttEnclosingMethod
43 public AttEnclosingMethod(CstType type, CstNat method) { in AttEnclosingMethod() argument
46 if (type == null) { in AttEnclosingMethod()
50 this.type = type; in AttEnclosingMethod()
65 return type; in getEnclosingClass()
/dalvik/dx/tests/028-class-attrib-EnclosingMethod/
Dexpected.txt11 0003: type{Small}
12 0004: type{java.lang.Object}
16 this_class: type{Small}
17 super_class: type{java.lang.Object}
26 class: type{Small}
40 0003: type{Small}
41 0004: type{java.lang.Object}
48 this_class: type{Small}
49 super_class: type{java.lang.Object}
58 class: type{Small}
/dalvik/dx/src/com/android/dx/rop/cst/
DCstType.java20 import com.android.dx.rop.type.Type;
131 private final Type type; field in CstType
170 public static CstType intern(Type type) { in intern() argument
171 CstType cst = new CstType(type); in intern()
172 CstType result = interns.putIfAbsent(type, cst); in intern()
181 public CstType(Type type) { in CstType() argument
182 if (type == null) { in CstType()
186 if (type == Type.KNOWN_NULL) { in CstType()
191 this.type = type; in CstType()
202 return type == ((CstType) other).type; in equals()
[all …]
/dalvik/dx/tests/018-method-attrib-Exceptions/
Dexpected.txt9 0001: type{Small}
10 0002: type{java.lang.Object}
17 0009: type{java.lang.Error}
20 this_class: type{Small}
21 super_class: type{java.lang.Object}
36 type{java.lang.Error}
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotation.java36 private final CstType type; field in Annotation
50 public Annotation(CstType type, AnnotationVisibility visibility) { in Annotation() argument
51 if (type == null) { in Annotation()
59 this.type = type; in Annotation()
73 if (! (type.equals(otherAnnotation.type) in equals()
83 int hash = type.hashCode(); in hashCode()
91 int result = type.compareTo(other.type); in compareTo()
137 sb.append(type.toHuman()); in toHuman()
162 return type; in getType()

12345678910