Home
last modified time | relevance | path

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

12345678910>>...13

/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.java21 import com.android.dx.rop.type.Type;
22 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/dx/src/com/android/dx/dex/file/
DTypeIdsSection.java21 import com.android.dx.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.dx.rop.type.Type;
22 import com.android.dx.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 …]
/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/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/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/src/com/android/dx/rop/cst/
DCstType.java19 import com.android.dx.rop.type.Type;
85 private final Type type; field in CstType
124 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()
142 public CstType(Type type) { in CstType() argument
143 if (type == null) { in CstType()
147 if (type == type.KNOWN_NULL) { in CstType()
152 this.type = type; in CstType()
[all …]
/dalvik/dx/src/com/android/dx/cf/code/
DExecutionStack.java19 import com.android.dx.rop.type.Type;
20 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.java20 import com.android.dx.rop.type.Type;
21 import com.android.dx.rop.type.TypeBearer;
61 TypeBearer type = locals[i]; in annotate() local
62 String s = (type == null) ? "<invalid>" : type.toString(); in annotate()
72 TypeBearer type = locals[i]; in toHuman() local
73 String s = (type == null) ? "<invalid>" : type.toString(); in toHuman()
81 public void makeInitialized(Type type) { in makeInitialized() argument
91 Type initializedType = type.getInitializedType(); in makeInitialized()
94 if (locals[i] == type) { in makeInitialized()
106 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/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/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/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/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/hit/src/com/android/hit/
DTypes.java36 public static final int getTypeSize(int type) { in getTypeSize() argument
37 switch (type) { in getTypeSize()
60 throw new IllegalArgumentException("Illegal type signature: " + type); in getTypeSize()
63 public static final String getTypeName(int type) { in getTypeName() argument
64 switch (type) { in getTypeName()
87 throw new IllegalArgumentException("Illegal type signature: " + type); in getTypeName()
/dalvik/dx/src/com/android/dx/io/
DEncodedValueReader.java76 int type = argAndType & 0x1f; in readValue() local
80 switch (type) { in readValue()
88 visitPrimitive(argAndType, type, arg, size); in readValue()
91 visitString(type, readIndex(in, size)); in readValue()
94 visitType(type, readIndex(in, size)); in readValue()
98 visitField(type, readIndex(in, size)); in readValue()
101 visitMethod(type, readIndex(in, size)); in readValue()
123 protected void visitPrimitive(int argAndType, int type, int arg, int size) { in visitPrimitive() argument
128 protected void visitString(int type, int index) {} in visitString() argument
129 protected void visitType(int type, int index) {} in visitType() argument
[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}

12345678910>>...13