Home
last modified time | relevance | path

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

/external/chromium_org/v8/src/
Dscopeinfo.h140 int length() { return (FixedArray::length() - HEADER_SIZE) / ITEM_SIZE; } in length()
150 ITEM_SIZE = INDEX_OFFSET - NAME_OFFSET + 1 enumerator
152 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()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java168 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;
DDexBackedOdexFile.java103 byte[] odexBuf = new byte[OdexHeaderItem.ITEM_SIZE];
106 if (dexOffset > OdexHeaderItem.ITEM_SIZE) {
107 ByteStreams.skipFully(is, dexOffset - OdexHeaderItem.ITEM_SIZE);
DDexBackedMethodImplementation.java95 final int handlersStartOffset = triesStartOffset + triesSize*CodeItem.TryItem.ITEM_SIZE;
102 triesStartOffset + index*CodeItem.TryItem.ITEM_SIZE,
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DOdexHeaderItem.java37 public static final int ITEM_SIZE = 40; field in OdexHeaderItem
DHeaderItem.java43 public static final int ITEM_SIZE = 0x70; field in HeaderItem
211 if (headerSize > ITEM_SIZE) { in makeAnnotator()
DTypeIdItem.java42 public static final int ITEM_SIZE = 4; field in TypeIdItem
DRawDexFile.java86 int mapItemOffset = mapOffset + 4 + index * MapItem.ITEM_SIZE; in getMapItems()
DMapItem.java42 public static final int ITEM_SIZE = 12; field in MapItem
DMethodIdItem.java42 public static final int ITEM_SIZE = 8; field in MethodIdItem
DFieldIdItem.java42 public static final int ITEM_SIZE = 8; field in FieldIdItem
DProtoIdItem.java42 public static final int ITEM_SIZE = 12; field in ProtoIdItem
DStringIdItem.java43 public static final int ITEM_SIZE = 4; field in StringIdItem
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.java182 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);