Home
last modified time | relevance | path

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

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java161 return stringStartOffset + stringIndex*StringIdItem.ITEM_SIZE;
168 return typeStartOffset + typeIndex*TypeIdItem.ITEM_SIZE;
175 return fieldStartOffset + fieldIndex*FieldIdItem.ITEM_SIZE;
182 return methodStartOffset + methodIndex*MethodIdItem.ITEM_SIZE;
189 return protoStartOffset + protoIndex*ProtoIdItem.ITEM_SIZE;
196 return classStartOffset + classIndex*ClassDefItem.ITEM_SIZE;
204 return mapItem.getOffset() + callSiteIndex * CallSiteIdItem.ITEM_SIZE;
212 return mapItem.getOffset() + methodHandleIndex * MethodHandleItem.ITEM_SIZE;
374 int mapItemOffset = mapOffset + 4 + index * MapItem.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.java449 size += TypeIdItem.ITEM_SIZE; //type_ids size
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java233 return HeaderItem.ITEM_SIZE +
234 stringSection.getItemCount() * StringIdItem.ITEM_SIZE +
235 typeSection.getItemCount() * TypeIdItem.ITEM_SIZE +
236 protoSection.getItemCount() * ProtoIdItem.ITEM_SIZE +
237 fieldSection.getItemCount() * FieldIdItem.ITEM_SIZE +
238 methodSection.getItemCount() * MethodIdItem.ITEM_SIZE +
239 classSection.getItemCount() * ClassDefItem.ITEM_SIZE +
240 callSiteSection.getItemCount() * CallSiteIdItem.ITEM_SIZE +
241 methodHandleSection.getItemCount() * MethodHandleItem.ITEM_SIZE;
305 DexDataWriter indexWriter = outputAt(dest, HeaderItem.ITEM_SIZE);
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedTypeReference.java63 return TypeIdItem.ITEM_SIZE; //uint for descriptor_idx in getSize()
DDexBackedFieldReference.java75 return FieldIdItem.ITEM_SIZE; in getSize()
DDexBackedStringReference.java65 int size = StringIdItem.ITEM_SIZE; //uint for string_data_off in getSize()
DDexBackedMethodProtoReference.java86 int size = ProtoIdItem.ITEM_SIZE; //3 * uint
DDexBackedMethodReference.java110 return MethodIdItem.ITEM_SIZE; //ushort + ushort + uint for indices
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DHeaderItem.java44 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
DCallSiteIdItem.java46 public static final int ITEM_SIZE = 4; field in CallSiteIdItem
DMethodHandleItem.java43 public static final int ITEM_SIZE = 8; field in MethodHandleItem
DTypeIdItem.java42 public static final int ITEM_SIZE = 4; field in TypeIdItem
DMapItem.java42 public static final int ITEM_SIZE = 12; field in MapItem
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
DMethodIdItem.java42 public static final int ITEM_SIZE = 8; field in MethodIdItem
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/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];