Searched refs:LittleEndianUtils (Results 1 – 5 of 5) sorted by relevance
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/ |
D | LittleEndianUtilsTest.java | 29 assertEquals(0x0102, LittleEndianUtils.readUnsigned2Le(ByteBuffer.wrap( in read2Le() 31 assertEquals(0xfedc, LittleEndianUtils.readUnsigned2Le(ByteBuffer.wrap( in read2Le() 38 LittleEndianUtils.writeUnsigned2Le(out, 0x0102); in write2Le() 42 LittleEndianUtils.writeUnsigned2Le(out, 0xfedc); in write2Le() 60 LittleEndianUtils.writeUnsigned2Le(out, d); in readWrite2Le() 65 assertEquals(data[i], LittleEndianUtils.readUnsigned2Le(in)); in readWrite2Le() 71 assertEquals(0x01020304, LittleEndianUtils.readUnsigned4Le(ByteBuffer.wrap( in read4Le() 73 assertEquals(0xfedcba98L, LittleEndianUtils.readUnsigned4Le(ByteBuffer.wrap( in read4Le() 80 LittleEndianUtils.writeUnsigned4Le(out, 0x01020304); in write4Le() 84 LittleEndianUtils.writeUnsigned4Le(out, 0xfedcba98L); in write4Le() [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ExtraField.java | 19 import com.android.tools.build.apkzlib.zip.utils.LittleEndianUtils; 150 int headerId = LittleEndianUtils.readUnsigned2Le(buffer); in parseSegments() 151 int dataSize = LittleEndianUtils.readUnsigned2Le(buffer); in parseSegments() 316 LittleEndianUtils.writeUnsigned2Le(out, headerId); in write() 317 LittleEndianUtils.writeUnsigned2Le(out, data.length); in write() 380 alignment = LittleEndianUtils.readUnsigned2Le(dataBuffer); in AlignmentSegment() 390 LittleEndianUtils.writeUnsigned2Le(out, ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID); in write() 391 LittleEndianUtils.writeUnsigned2Le(out, padding + 2); in write() 392 LittleEndianUtils.writeUnsigned2Le(out, alignment); in write()
|
D | ZipField.java | 19 import com.android.tools.build.apkzlib.zip.utils.LittleEndianUtils; 173 r = LittleEndianUtils.readUnsigned2Le(bytes); in read() 175 r = LittleEndianUtils.readUnsigned4Le(bytes); in read() 270 LittleEndianUtils.writeUnsigned2Le(output, Ints.checkedCast(value)); in write() 275 LittleEndianUtils.writeUnsigned4Le(output, value); in write()
|
D | ZFile.java | 25 import com.android.tools.build.apkzlib.zip.utils.LittleEndianUtils; 801 if (LittleEndianUtils.readUnsigned4Le(ByteBuffer.wrap(possibleZip64Locator)) == in readEocd()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | LittleEndianUtils.java | 31 public class LittleEndianUtils { class 35 private LittleEndianUtils() { in LittleEndianUtils() method in LittleEndianUtils
|