Home
last modified time | relevance | path

Searched refs:types (Results 1 – 23 of 23) 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()
38 for (int i = 0; i < types.length && i < other.types.length; i++) { in compareTo()
39 if (types[i] != other.types[i]) { in compareTo()
40 return Unsigned.compare(types[i], other.types[i]); in compareTo()
43 return Unsigned.compare(types.length, other.types.length); in compareTo()
49 for (int i = 0, typesLength = types.length; i < typesLength; i++) { in toString()
50 result.append(dex != null ? dex.typeNames().get(types[i]) : types[i]); in toString()
DDex.java394 short[] types = readShortArray(size); in readTypeList() local
396 return new TypeList(Dex.this, types); in readTypeList()
682 short[] types = typeList.getTypes(); in writeTypeList() local
683 writeInt(types.length); in writeTypeList()
684 for (short type : types) { in writeTypeList()
/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java156 public static Annotation makeMemberClasses(TypeList types) { in makeMemberClasses() argument
157 CstArray array = makeCstArray(types); in makeMemberClasses()
246 public static Annotation makeThrows(TypeList types) { in makeThrows() argument
247 CstArray array = makeCstArray(types); in makeThrows()
260 private static CstArray makeCstArray(TypeList types) { in makeCstArray() argument
261 int size = types.size(); in makeCstArray()
265 list.set(i, CstType.intern(types.getType(i))); in makeCstArray()
/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/merge/
DSortableType.java79 public boolean tryAssignDepth(SortableType[] types) { in tryAssignDepth() argument
88 SortableType sortableSupertype = types[classDef.getSupertypeIndex()]; in tryAssignDepth()
99 SortableType implemented = types[interfaceIndex]; in tryAssignDepth()
DIndexMap.java149 short[] types = typeList.getTypes().clone(); in adjustTypeList() local
150 for (int i = 0; i < types.length; i++) { in adjustTypeList()
151 types[i] = (short) adjustType(types[i]); in adjustTypeList()
153 return new TypeList(target, types); in adjustTypeList()
DDexMerger.java545 SortableType[] types = getSortedTypes(); in mergeClassDefs() local
547 contentsOut.classDefs.size = types.length; in mergeClassDefs()
549 for (SortableType type : types) { in mergeClassDefs()
/dalvik/libdex/
DDexDataMap.cpp54 map->types = (u2*) (map->offsets + maxCount); in dexDataMapAlloc()
87 map->types[map->count] = type; in dexDataMapAdd()
113 return map->types[guessIdx]; in dexDataMapGet()
DDexDataMap.h30 u2* types; /* corresponding array of item types */ member
/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.java1351 public static Rop opIfEq(TypeList types) { in opIfEq() argument
1352 return pickIf(types, IF_EQZ_INT, IF_EQZ_OBJECT, in opIfEq()
1363 public static Rop opIfNe(TypeList types) { in opIfNe() argument
1364 return pickIf(types, IF_NEZ_INT, IF_NEZ_OBJECT, in opIfNe()
1375 public static Rop opIfLt(TypeList types) { in opIfLt() argument
1376 return pickIf(types, IF_LTZ_INT, null, IF_LT_INT, null); in opIfLt()
1386 public static Rop opIfGe(TypeList types) { in opIfGe() argument
1387 return pickIf(types, IF_GEZ_INT, null, IF_GE_INT, null); in opIfGe()
1397 public static Rop opIfGt(TypeList types) { in opIfGt() argument
1398 return pickIf(types, IF_GTZ_INT, null, IF_GT_INT, null); in opIfGt()
[all …]
/dalvik/dx/tests/103-verify-branch-ops/
Dinfo.txt2 the appropriate types.
/dalvik/dx/tests/106-verify-object-ops/
Dinfo.txt2 arguments are actually of the appropriate types.
/dalvik/dx/tests/105-verify-load-store-ops/
Dinfo.txt2 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/tools/dexdeps/src/com/android/dexdeps/
DDexData.java209 protoId.types = new int[0]; in loadProtoIds()
214 protoId.types = new int[size]; in loadProtoIds()
217 protoId.types[j] = readShort() & 0xffff; in loadProtoIds()
334 String[] result = new String[protoId.types.length]; in argArrayFromProtoIndex()
336 for (int i = 0; i < protoId.types.length; i++) { in argArrayFromProtoIndex()
337 result[i] = mStrings[mTypeIds[protoId.types[i]].descriptorIdx]; in argArrayFromProtoIndex()
585 public int types[]; // contents of type list field in DexData.ProtoIdItem
/dalvik/dx/src/com/android/dx/cf/code/
DBaseMachine.java138 StdTypeList types = prototype.getParameterTypes(); in popArgs() local
139 int size = types.size(); in popArgs()
147 if (! Merger.isPossiblyAssignableFrom(types.getType(i), args[i])) { in popArgs()
149 ", expected type " + types.getType(i).toHuman() + in popArgs()
/dalvik/tools/dexdeps/
DREADME.txt24 and argument types are shown as descriptor strings.
/dalvik/dx/
DNOTICE46 and conversions to other media types.
/dalvik/dexdump/
DNOTICE46 and conversions to other media types.
/dalvik/
DNOTICE51 and conversions to other media types.