Searched refs:SizeOf (Results 1 – 10 of 10) sorted by relevance
20 import com.android.dex.SizeOf;45 return SizeOf.HEADER_ITEM; in writeSize()72 out.annotate(4, "header_size: " + Hex.u4(SizeOf.HEADER_ITEM)); in writeTo()88 out.writeInt(SizeOf.HEADER_ITEM); in writeTo()
19 import com.android.dex.SizeOf;47 return SizeOf.TYPE_ID_ITEM; in writeSize()
19 import com.android.dex.SizeOf;81 return SizeOf.STRING_ID_ITEM; in writeSize()
19 import com.android.dex.SizeOf;47 return SizeOf.MEMBER_ID_ITEM; in writeSize()
19 import com.android.dex.SizeOf;106 return SizeOf.PROTO_ID_ITEM; in writeSize()
19 import com.android.dex.SizeOf;122 return SizeOf.CLASS_DEF_ITEM; in writeSize()
19 public final class SizeOf { class20 private SizeOf() {} in SizeOf() method in SizeOf
323 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex); in descriptorIndexFromTypeIndex()492 skip(triesSize * SizeOf.TRY_ITEM); in readCode()717 return open(tableOfContents.stringIds.off + (index * SizeOf.STRING_ID_ITEM)) in get()754 return open(tableOfContents.protoIds.off + (SizeOf.PROTO_ID_ITEM * index)) in get()767 return open(tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get()780 return open(tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get()
94 if (headerSize != SizeOf.HEADER_ITEM) { in readHeader()179 out.writeInt(SizeOf.HEADER_ITEM); in writeHeader()
31 import com.android.dex.SizeOf;921 codeOut.skip(tries.length * SizeOf.TRY_ITEM); in transformCode()1071 private int header = SizeOf.HEADER_ITEM;1113 idsDefs += contents.stringIds.size * SizeOf.STRING_ID_ITEM in plus()1114 + contents.typeIds.size * SizeOf.TYPE_ID_ITEM in plus()1115 + contents.protoIds.size * SizeOf.PROTO_ID_ITEM in plus()1116 + contents.fieldIds.size * SizeOf.MEMBER_ID_ITEM in plus()1117 + contents.methodIds.size * SizeOf.MEMBER_ID_ITEM in plus()1118 + contents.classDefs.size * SizeOf.CLASS_DEF_ITEM; in plus()1119 mapList = SizeOf.UINT + (contents.sections.length * SizeOf.MAP_ITEM); in plus()