Searched refs:buffer (Results 1 – 6 of 6) sorted by relevance
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | DexData.java | 112 ByteBuffer buffer = readByteBuffer(Integer.BYTES * 20); in parseHeaderItem() local 113 mHeaderItem.fileSize = buffer.getInt(); in parseHeaderItem() 114 mHeaderItem.headerSize = buffer.getInt(); in parseHeaderItem() 115 /*mHeaderItem.endianTag =*/ buffer.getInt(); in parseHeaderItem() 116 /*mHeaderItem.linkSize =*/ buffer.getInt(); in parseHeaderItem() 117 /*mHeaderItem.linkOff =*/ buffer.getInt(); in parseHeaderItem() 118 /*mHeaderItem.mapOff =*/ buffer.getInt(); in parseHeaderItem() 119 mHeaderItem.stringIdsSize = buffer.getInt(); in parseHeaderItem() 120 mHeaderItem.stringIdsOff = buffer.getInt(); in parseHeaderItem() 121 mHeaderItem.typeIdsSize = buffer.getInt(); in parseHeaderItem() [all …]
|
/dalvik/dx/src/com/android/dex/ |
D | ClassDef.java | 24 private final Dex buffer; field in ClassDef 35 public ClassDef(Dex buffer, int offset, int typeIndex, int accessFlags, in ClassDef() argument 38 this.buffer = buffer; in ClassDef() 67 return buffer.readTypeList(interfacesOffset).getTypes(); in getInterfaces() 92 if (buffer == null) { in toString() 97 result.append(buffer.typeNames().get(typeIndex)); in toString() 99 result.append(" extends ").append(buffer.typeNames().get(supertypeIndex)); in toString()
|
D | Dex.java | 132 byte[] buffer = new byte[8192]; in loadFrom() 135 while ((count = in.read(buffer)) != -1) { in loadFrom() 136 bytesOut.write(buffer, 0, count); in loadFrom() 151 byte[] buffer = new byte[8192]; in writeTo() 155 int count = Math.min(buffer.length, data.remaining()); in writeTo() 156 data.get(buffer, 0, count); in writeTo() 157 out.write(buffer, 0, count); in writeTo() 279 byte[] buffer = new byte[8192]; in computeSignature() 284 int count = Math.min(buffer.length, data.remaining()); in computeSignature() 285 data.get(buffer, 0, count); in computeSignature() [all …]
|
/dalvik/dx/junit-tests/com/android/dx/merge/ |
D | DexMergerTest.java | 84 byte[] buffer = new byte[8192]; in readEntireStream() 87 while ((count = inputStream.read(buffer)) != -1) { in readEntireStream() 88 bytesOut.write(buffer, 0, count); in readEntireStream()
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
D | DexMergeTest.java | 191 byte[] buffer = new byte[1024]; in copy() 193 while ((count = in.read(buffer)) != -1) { in copy() 194 out.write(buffer, 0, count); in copy()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | DexMerger.java | 650 private void readSortableTypes(SortableType[] sortableTypes, Dex buffer, in readSortableTypes() argument 652 for (ClassDef classDef : buffer.classDefs()) { in readSortableTypes() 654 new SortableType(buffer, indexMap, classDef)); in readSortableTypes() 660 + buffer.typeNames().get(classDef.getTypeIndex())); in readSortableTypes()
|