Home
last modified time | relevance | path

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

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java151 return stringStartOffset + stringIndex*StringIdItem.ITEM_SIZE;
158 return typeStartOffset + typeIndex*TypeIdItem.ITEM_SIZE;
165 return fieldStartOffset + fieldIndex*FieldIdItem.ITEM_SIZE;
172 return methodStartOffset + methodIndex*MethodIdItem.ITEM_SIZE;
179 return protoStartOffset + protoIndex*ProtoIdItem.ITEM_SIZE;
186 return classStartOffset + classIndex*ClassDefItem.ITEM_SIZE;
DDexBackedOdexFile.java92 byte[] odexBuf = new byte[OdexHeaderItem.ITEM_SIZE];
95 if (dexOffset > OdexHeaderItem.ITEM_SIZE) {
96 ByteStreams.skipFully(is, dexOffset - OdexHeaderItem.ITEM_SIZE);
DDexBackedMethodImplementation.java105 final int handlersStartOffset = triesStartOffset + triesSize*CodeItem.TryItem.ITEM_SIZE;
112 triesStartOffset + index*CodeItem.TryItem.ITEM_SIZE,
DDexBackedClassDef.java450 size += TypeIdItem.ITEM_SIZE; //type_ids size
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedTypeReference.java63 return TypeIdItem.ITEM_SIZE; //uint for descriptor_idx in getSize()
DDexBackedStringReference.java65 int size = StringIdItem.ITEM_SIZE; //uint for string_data_off in getSize()
DDexBackedFieldReference.java75 return FieldIdItem.ITEM_SIZE; in getSize()
DDexBackedMethodProtoReference.java86 int size = ProtoIdItem.ITEM_SIZE; //3 * uint
DDexBackedMethodReference.java110 int size = MethodIdItem.ITEM_SIZE; //ushort + ushort + uint for indices
/external/tinyxml2/
Dtinyxml2.h345 template< int ITEM_SIZE >
351 MemPoolT< ITEM_SIZE >::Clear(); in ~MemPoolT()
368 return ITEM_SIZE; in ItemSize()
414 name, _maxAllocs, _maxAllocs * ITEM_SIZE / 1024, _currentAllocs, in Trace()
415 ITEM_SIZE, _nAllocs, _blockPtrs.Size() ); in Trace()
437 enum { ITEMS_PER_BLOCK = (4 * 1024) / ITEM_SIZE };
445 char itemData[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
210 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
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
DStringIdItem.java43 public static final int ITEM_SIZE = 4; field in StringIdItem
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.getItemCount() * StringIdItem.ITEM_SIZE +
195 typeSection.getItemCount() * TypeIdItem.ITEM_SIZE +
196 protoSection.getItemCount() * ProtoIdItem.ITEM_SIZE +
197 fieldSection.getItemCount() * FieldIdItem.ITEM_SIZE +
198 methodSection.getItemCount() * MethodIdItem.ITEM_SIZE +
199 classSection.getItemCount() * ClassDefItem.ITEM_SIZE;
254 DexDataWriter indexWriter = outputAt(dest, HeaderItem.ITEM_SIZE);
1287 writer.writeInt(HeaderItem.ITEM_SIZE);