Home
last modified time | relevance | path

Searched refs:types (Results 1 – 22 of 22) sorted by relevance

/dalvik/dx/src/com/android/dex/
DTypeList.java26 private final short[] types; field in TypeList
28 public TypeList(Dex dex, short[] types) { in TypeList() argument
30 this.types = types; in TypeList()
34 return types; in getTypes()
39 for (int i = 0; i < types.length && i < other.types.length; i++) { in compareTo()
40 if (types[i] != other.types[i]) { in compareTo()
41 return Unsigned.compare(types[i], other.types[i]); in compareTo()
44 return Unsigned.compare(types.length, other.types.length); in compareTo()
51 for (int i = 0, typesLength = types.length; i < typesLength; i++) { in toString()
52 result.append(dex != null ? dex.typeNames().get(types[i]) : types[i]); in toString()
DDex.java395 short[] types = readShortArray(size); in readTypeList() local
397 return new TypeList(Dex.this, types); in readTypeList()
697 short[] types = typeList.getTypes(); in writeTypeList() local
698 writeInt(types.length); in writeTypeList()
699 for (short type : types) { in writeTypeList()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DAnnotationUtils.java153 public static Annotation makeMemberClasses(TypeList types) { in makeMemberClasses() argument
154 CstArray array = makeCstArray(types); in makeMemberClasses()
229 public static Annotation makeThrows(TypeList types) { in makeThrows() argument
230 CstArray array = makeCstArray(types); in makeThrows()
243 private static CstArray makeCstArray(TypeList types) { in makeCstArray() argument
244 int size = types.size(); in makeCstArray()
248 list.set(i, CstType.intern(types.getType(i))); in makeCstArray()
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java154 public static Annotation makeMemberClasses(TypeList types) { in makeMemberClasses() argument
155 CstArray array = makeCstArray(types); in makeMemberClasses()
244 public static Annotation makeThrows(TypeList types) { in makeThrows() argument
245 CstArray array = makeCstArray(types); in makeThrows()
258 private static CstArray makeCstArray(TypeList types) { in makeCstArray() argument
259 int size = types.size(); in makeCstArray()
263 list.set(i, CstType.intern(types.getType(i))); in makeCstArray()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRops.java1344 public static Rop opIfEq(TypeList types) { in opIfEq() argument
1345 return pickIf(types, IF_EQZ_INT, IF_EQZ_OBJECT, in opIfEq()
1356 public static Rop opIfNe(TypeList types) { in opIfNe() argument
1357 return pickIf(types, IF_NEZ_INT, IF_NEZ_OBJECT, in opIfNe()
1368 public static Rop opIfLt(TypeList types) { in opIfLt() argument
1369 return pickIf(types, IF_LTZ_INT, null, IF_LT_INT, null); in opIfLt()
1379 public static Rop opIfGe(TypeList types) { in opIfGe() argument
1380 return pickIf(types, IF_GEZ_INT, null, IF_GE_INT, null); in opIfGe()
1390 public static Rop opIfGt(TypeList types) { in opIfGt() argument
1391 return pickIf(types, IF_GTZ_INT, null, IF_GT_INT, null); in opIfGt()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DRops.java1357 public static Rop opIfEq(TypeList types) { in opIfEq() argument
1358 return pickIf(types, IF_EQZ_INT, IF_EQZ_OBJECT, in opIfEq()
1369 public static Rop opIfNe(TypeList types) { in opIfNe() argument
1370 return pickIf(types, IF_NEZ_INT, IF_NEZ_OBJECT, in opIfNe()
1381 public static Rop opIfLt(TypeList types) { in opIfLt() argument
1382 return pickIf(types, IF_LTZ_INT, null, IF_LT_INT, null); in opIfLt()
1392 public static Rop opIfGe(TypeList types) { in opIfGe() argument
1393 return pickIf(types, IF_GEZ_INT, null, IF_GE_INT, null); in opIfGe()
1403 public static Rop opIfGt(TypeList types) { in opIfGt() argument
1404 return pickIf(types, IF_GTZ_INT, null, IF_GT_INT, null); in opIfGt()
[all …]
/dalvik/dx/src/com/android/dx/merge/
DSortableType.java80 public boolean tryAssignDepth(SortableType[] types) { in tryAssignDepth() argument
89 SortableType sortableSupertype = types[classDef.getSupertypeIndex()]; in tryAssignDepth()
100 SortableType implemented = types[interfaceIndex]; in tryAssignDepth()
DIndexMap.java157 short[] types = typeList.getTypes().clone(); in adjustTypeList() local
158 for (int i = 0; i < types.length; i++) { in adjustTypeList()
159 types[i] = (short) adjustType(types[i]); in adjustTypeList()
161 return new TypeList(target, types); in adjustTypeList()
DDexMerger.java597 SortableType[] types = getSortedTypes(); in mergeClassDefs() local
599 contentsOut.classDefs.size = types.length; in mergeClassDefs()
601 for (SortableType type : types) { in mergeClassDefs()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java213 protoId.types = new int[0]; in loadProtoIds()
219 protoId.types = new int[size]; in loadProtoIds()
222 protoId.types[j] = buffer.getShort() & 0xffff; in loadProtoIds()
342 String[] result = new String[protoId.types.length]; in argArrayFromProtoIndex()
344 for (int i = 0; i < protoId.types.length; i++) { in argArrayFromProtoIndex()
345 result[i] = mStrings[mTypeIds[protoId.types[i]].descriptorIdx]; in argArrayFromProtoIndex()
594 public int types[]; // contents of type list field in DexData.ProtoIdItem
/dalvik/dx/tests/103-verify-branch-ops/
Dinfo.txt2 the appropriate types.
/dalvik/dx/tests/105-verify-load-store-ops/
Dinfo.txt2 actually of the appropriate types.
/dalvik/dx/tests/106-verify-object-ops/
Dinfo.txt2 arguments are actually of the appropriate types.
/dalvik/dx/tests/101-verify-wide-math/
Dinfo.txt3 the appropriate types.
/dalvik/dx/tests/104-verify-return-ops/
Dinfo.txt2 the appropriate types and that the opcode matches the method signature.
/dalvik/dx/tests/102-verify-nonwide-math/
Dinfo.txt3 the appropriate types.
/dalvik/dx/src/com/android/dx/cf/code/
DBaseMachine.java142 StdTypeList types = prototype.getParameterTypes(); in popArgs() local
143 int size = types.size(); in popArgs()
151 if (! Merger.isPossiblyAssignableFrom(types.getType(i), args[i])) { in popArgs()
153 ", expected type " + types.getType(i).toHuman() + in popArgs()
/dalvik/dx/tests/136-null-constant-debug-info/
Dinfo.txt4 "java.lang.Object", but "java.lang.Object" wouldn't be added to the types of
/dalvik/tools/dexdeps/
DREADME.txt24 and argument types are shown as descriptor strings.
/dalvik/dx/
DNOTICE46 and conversions to other media types.
/dalvik/
DNOTICE51 and conversions to other media types.
/dalvik/opcode-gen/
Dbytecode.txt351 # Constant loading for method handles and method types. NB these may throw OOME