Searched refs:ITEM_SIZE (Results 1 – 16 of 16) sorted by relevance
140 int length() { return (FixedArray::length() - HEADER_SIZE) / ITEM_SIZE; } in length()150 ITEM_SIZE = INDEX_OFFSET - NAME_OFFSET + 1 enumerator152 inline int name_offset(int i) { return NAME_OFFSET + i * ITEM_SIZE; } in name_offset()153 inline int mode_offset(int i) { return MODE_OFFSET + i * ITEM_SIZE; } in mode_offset()154 inline int index_offset(int i) { return INDEX_OFFSET + i * ITEM_SIZE; } in index_offset()158 isolate->factory()->NewFixedArray(HEADER_SIZE + ITEM_SIZE * length)); in Allocate()
168 return stringStartOffset + stringIndex*StringIdItem.ITEM_SIZE;175 return typeStartOffset + typeIndex*TypeIdItem.ITEM_SIZE;182 return fieldStartOffset + fieldIndex*FieldIdItem.ITEM_SIZE;189 return methodStartOffset + methodIndex*MethodIdItem.ITEM_SIZE;196 return protoStartOffset + protoIndex*ProtoIdItem.ITEM_SIZE;203 return classStartOffset + classIndex*ClassDefItem.ITEM_SIZE;
103 byte[] odexBuf = new byte[OdexHeaderItem.ITEM_SIZE];106 if (dexOffset > OdexHeaderItem.ITEM_SIZE) {107 ByteStreams.skipFully(is, dexOffset - OdexHeaderItem.ITEM_SIZE);
95 final int handlersStartOffset = triesStartOffset + triesSize*CodeItem.TryItem.ITEM_SIZE;102 triesStartOffset + index*CodeItem.TryItem.ITEM_SIZE,
37 public static final int ITEM_SIZE = 40; field in OdexHeaderItem
43 public static final int ITEM_SIZE = 0x70; field in HeaderItem211 if (headerSize > ITEM_SIZE) { in makeAnnotator()
42 public static final int ITEM_SIZE = 4; field in TypeIdItem
86 int mapItemOffset = mapOffset + 4 + index * MapItem.ITEM_SIZE; in getMapItems()
42 public static final int ITEM_SIZE = 12; field in MapItem
42 public static final int ITEM_SIZE = 8; field in MethodIdItem
42 public static final int ITEM_SIZE = 8; field in FieldIdItem
42 public static final int ITEM_SIZE = 12; field in ProtoIdItem
43 public static final int ITEM_SIZE = 4; field in StringIdItem
44 public static final int ITEM_SIZE = 32; field in ClassDefItem
61 public static final int ITEM_SIZE = 8; field in CodeItem.TryItem
182 return HeaderItem.ITEM_SIZE +183 stringSection.getItems().size() * StringIdItem.ITEM_SIZE +184 typeSection.getItems().size() * TypeIdItem.ITEM_SIZE +185 protoSection.getItems().size() * ProtoIdItem.ITEM_SIZE +186 fieldSection.getItems().size() * FieldIdItem.ITEM_SIZE +187 methodSection.getItems().size() * MethodIdItem.ITEM_SIZE +188 classSection.getItems().size() * ClassDefItem.ITEM_SIZE;200 DexDataWriter indexWriter = outputAt(dest, HeaderItem.ITEM_SIZE);1187 writer.writeInt(HeaderItem.ITEM_SIZE);