Home
last modified time | relevance | path

Searched refs:ITEM_SIZE (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/ast/
Dscopeinfo.h141 int length() { return (FixedArray::length() - HEADER_SIZE) / ITEM_SIZE; } in length()
151 ITEM_SIZE = INDEX_OFFSET - NAME_OFFSET + 1 enumerator
153 inline int name_offset(int i) { return NAME_OFFSET + i * ITEM_SIZE; } in name_offset()
154 inline int mode_offset(int i) { return MODE_OFFSET + i * ITEM_SIZE; } in mode_offset()
155 inline int index_offset(int i) { return INDEX_OFFSET + i * ITEM_SIZE; } in index_offset()
159 isolate->factory()->NewFixedArray(HEADER_SIZE + ITEM_SIZE * length)); in Allocate()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java174 return stringStartOffset + stringIndex*StringIdItem.ITEM_SIZE;
181 return typeStartOffset + typeIndex*TypeIdItem.ITEM_SIZE;
188 return fieldStartOffset + fieldIndex*FieldIdItem.ITEM_SIZE;
195 return methodStartOffset + methodIndex*MethodIdItem.ITEM_SIZE;
202 return protoStartOffset + protoIndex*ProtoIdItem.ITEM_SIZE;
209 return classStartOffset + classIndex*ClassDefItem.ITEM_SIZE;
DDexBackedOdexFile.java106 byte[] odexBuf = new byte[OdexHeaderItem.ITEM_SIZE];
109 if (dexOffset > OdexHeaderItem.ITEM_SIZE) {
110 ByteStreams.skipFully(is, dexOffset - OdexHeaderItem.ITEM_SIZE);
DDexBackedMethodImplementation.java104 final int handlersStartOffset = triesStartOffset + triesSize*CodeItem.TryItem.ITEM_SIZE;
111 triesStartOffset + index*CodeItem.TryItem.ITEM_SIZE,
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DHeaderItem.java43 public static final int ITEM_SIZE = 0x70; field in HeaderItem
216 if (headerSize > ITEM_SIZE) { in makeAnnotator()
DOdexHeaderItem.java37 public static final int ITEM_SIZE = 40; field in OdexHeaderItem
DTypeIdItem.java42 public static final int ITEM_SIZE = 4; field in TypeIdItem
DMapItem.java42 public static final int ITEM_SIZE = 12; field in MapItem
DRawDexFile.java86 int mapItemOffset = mapOffset + 4 + index * MapItem.ITEM_SIZE; in getMapItems()
DStringIdItem.java43 public static final int ITEM_SIZE = 4; field in StringIdItem
DFieldIdItem.java42 public static final int ITEM_SIZE = 8; field in FieldIdItem
DMethodIdItem.java42 public static final int ITEM_SIZE = 8; field in MethodIdItem
DProtoIdItem.java42 public static final int ITEM_SIZE = 12; field in ProtoIdItem
DClassDefItem.java44 public static final int ITEM_SIZE = 32; field in ClassDefItem
DCodeItem.java61 public static final int ITEM_SIZE = 8; field in CodeItem.TryItem
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java193 return HeaderItem.ITEM_SIZE +
194 stringSection.getItems().size() * StringIdItem.ITEM_SIZE +
195 typeSection.getItems().size() * TypeIdItem.ITEM_SIZE +
196 protoSection.getItems().size() * ProtoIdItem.ITEM_SIZE +
197 fieldSection.getItems().size() * FieldIdItem.ITEM_SIZE +
198 methodSection.getItems().size() * MethodIdItem.ITEM_SIZE +
199 classSection.getItems().size() * ClassDefItem.ITEM_SIZE;
238 DexDataWriter indexWriter = outputAt(dest, HeaderItem.ITEM_SIZE);
1234 writer.writeInt(HeaderItem.ITEM_SIZE);