Home
last modified time | relevance | path

Searched refs:readUnsignedByte (Results 1 – 25 of 63) sorted by relevance

123

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/
DArjArchiveInputStream.java92 final int value = dataIn.readUnsignedByte(); in read8()
112 while ((nextByte = dataIn.readUnsignedByte()) != 0) { in readString()
165 final int firstHeaderSize = basicHeader.readUnsignedByte(); in readMainHeader()
172 hdr.archiverVersionNumber = firstHeader.readUnsignedByte(); in readMainHeader()
173 hdr.minVersionToExtract = firstHeader.readUnsignedByte(); in readMainHeader()
174 hdr.hostOS = firstHeader.readUnsignedByte(); in readMainHeader()
175 hdr.arjFlags = firstHeader.readUnsignedByte(); in readMainHeader()
176 hdr.securityVersion = firstHeader.readUnsignedByte(); in readMainHeader()
177 hdr.fileType = firstHeader.readUnsignedByte(); in readMainHeader()
178 hdr.reserved = firstHeader.readUnsignedByte(); in readMainHeader()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
DGzipCompressorInputStream.java201 final int method = inData.readUnsignedByte(); in init()
207 final int flg = inData.readUnsignedByte(); in init()
214 switch (inData.readUnsignedByte()) { // extra flags in init()
225 parameters.setOperatingSystem(inData.readUnsignedByte()); in init()
229 int xlen = inData.readUnsignedByte(); in init()
230 xlen |= inData.readUnsignedByte() << 8; in init()
236 inData.readUnsignedByte(); in init()
271 while ((b = inData.readUnsignedByte()) != 0x00) { // NOPMD in readToNull()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractReadableBuffer.java26 int b1 = readUnsignedByte(); in readInt()
27 int b2 = readUnsignedByte(); in readInt()
28 int b3 = readUnsignedByte(); in readInt()
29 int b4 = readUnsignedByte(); in readInt()
DGzipInflatingBuffer.java66 private int readUnsignedByte() { in readUnsignedByte() method in GzipInflatingBuffer.GzipMetadataReader
73 b = gzippedData.readUnsignedByte(); in readUnsignedByte()
119 if (readUnsignedByte() == 0) { in readBytesUntilZero()
128 return readUnsignedByte() | (readUnsignedByte() << 8); in readUnsignedShort()
325 if (gzipMetadataReader.readUnsignedByte() != 8) { in processHeader()
328 gzipHeaderFlag = gzipMetadataReader.readUnsignedByte(); in processHeader()
DForwardingReadableBuffer.java50 public int readUnsignedByte() { in readUnsignedByte() method in ForwardingReadableBuffer
51 return buf.readUnsignedByte(); in readUnsignedByte()
DReadableBuffers.java157 public int readUnsignedByte() { in readUnsignedByte() method in ReadableBuffers.ByteArrayWrapper
224 public int readUnsignedByte() { in readUnsignedByte() method in ReadableBuffers.ByteReadableBufferWrapper
316 return buffer.readUnsignedByte(); in read()
DCompositeReadableBuffer.java67 public int readUnsignedByte() { in readUnsignedByte() method in CompositeReadableBuffer
71 return buffer.readUnsignedByte(); in readUnsignedByte()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DCodeHTML.java81 final short opcode = (short) bytes.readUnsignedByte(); in codeToHTML()
205 vindex = bytes.readUnsignedByte(); in codeToHTML()
265 bytes.readUnsignedByte(); // Redundant in codeToHTML()
266 bytes.readUnsignedByte(); // Reserved in codeToHTML()
275 bytes.readUnsignedByte(); // Reserved in codeToHTML()
276 bytes.readUnsignedByte(); // Reserved in codeToHTML()
323 index = bytes.readUnsignedByte(); in codeToHTML()
351 vindex = bytes.readUnsignedByte(); in codeToHTML()
361 buf.append(bytes.readUnsignedByte()); in codeToHTML()
417 opcode = bytes.readUnsignedByte(); in findGotos()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DForwardingReadableBufferTest.java69 public void readUnsignedByte() { in readUnsignedByte() method in ForwardingReadableBufferTest
70 when(delegate.readUnsignedByte()).thenReturn(1); in readUnsignedByte()
72 assertEquals(1, buffer.readUnsignedByte()); in readUnsignedByte()
/external/guava/guava/src/com/google/common/io/
DLittleEndianDataInputStream.java80 public int readUnsignedByte() throws IOException { in readUnsignedByte() method in LittleEndianDataInputStream
206 return (byte) readUnsignedByte(); in readByte()
211 return readUnsignedByte() != 0; in readBoolean()
/external/proguard/src/proguard/classfile/io/
DProgramClassReader.java270 methodHandleConstant.u1referenceKind = dataInput.readUnsignedByte(); in visitMethodHandleConstant()
388 methodParametersAttribute.u1parametersCount = dataInput.readUnsignedByte(); in visitMethodParametersAttribute()
543 parameterAnnotationsAttribute.u1parametersCount = dataInput.readUnsignedByte(); in visitAnyParameterAnnotationsAttribute()
807 int u1pathLength = dataInput.readUnsignedByte(); in visitTypeAnnotation()
826 typeParameterTargetInfo.u1typeParameterIndex = dataInput.readUnsignedByte(); in visitTypeParameterTargetInfo()
838 typeParameterBoundTargetInfo.u1typeParameterIndex = dataInput.readUnsignedByte(); in visitTypeParameterBoundTargetInfo()
839 typeParameterBoundTargetInfo.u1boundIndex = dataInput.readUnsignedByte(); in visitTypeParameterBoundTargetInfo()
850 formalParameterTargetInfo.u1formalParameterIndex = dataInput.readUnsignedByte(); in visitFormalParameterTargetInfo()
890 typeArgumentTargetInfo.u1typeArgumentIndex = dataInput.readUnsignedByte(); in visitTypeArgumentTargetInfo()
898 typePathInfo.u1typePathKind = dataInput.readUnsignedByte(); in visitTypePathInfo()
[all …]
DRuntimeDataInput.java176 public int readUnsignedByte() in readUnsignedByte() method in RuntimeDataInput
180 return dataInput.readUnsignedByte(); in readUnsignedByte()
/external/xz-java/src/org/tukaani/xz/rangecoder/
DRangeDecoderFromStream.java24 if (inData.readUnsignedByte() != 0x00) in RangeDecoderFromStream()
37 code = (code << SHIFT_BITS) | inData.readUnsignedByte(); in normalize()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/
DIoUtils.java25 return (in.readUnsignedByte() << 16) | in.readUnsignedShort(); in readUnsignedInt24()
47 return in.readUnsignedByte(); in readTlsVariableLengthVectorSizeBytes()
DTlsProtocolVersion.java56 int major = in.readUnsignedByte(); in read()
57 int minor = in.readUnsignedByte(); in read()
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/
DIoUtils.java21 return (in.readUnsignedByte() << 16) | in.readUnsignedShort(); in readUnsignedInt24()
43 return in.readUnsignedByte(); in readTlsVariableLengthVectorSizeBytes()
DTlsProtocolVersion.java54 int major = in.readUnsignedByte(); in read()
55 int minor = in.readUnsignedByte(); in read()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DBsUtil.java96 final int i1 = data1.readUnsignedByte(); in lexicographicalCompare()
97 final int i2 = data2.readUnsignedByte(); in lexicographicalCompare()
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DPatchReader.java106 int level = (int) checkRange(dataIn.readUnsignedByte(), 1, 9, "recompression level"); in readPatchApplyPlan()
107 int strategy = (int) checkRange(dataIn.readUnsignedByte(), 0, 2, "recompression strategy"); in readPatchApplyPlan()
108 int nowrapInt = (int) checkRange(dataIn.readUnsignedByte(), 0, 1, "recompression nowrap"); in readPatchApplyPlan()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyReadableBuffer.java54 public int readUnsignedByte() { in readUnsignedByte() method in NettyReadableBuffer
55 return buffer.readUnsignedByte(); in readUnsignedByte()
/external/xz-java/src/org/tukaani/xz/index/
DIndexHash.java89 if (inData.readUnsignedByte() != 0x00) in validate()
95 if (((value >>> (i * 8)) & 0xFF) != inData.readUnsignedByte()) in validate()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DUtility.java185 final short opcode = (short) bytes.readUnsignedByte(); in codeToString()
301 vindex = bytes.readUnsignedByte(); in codeToString()
362 final int nargs = bytes.readUnsignedByte(); // historical, redundant in codeToString()
367 .append(bytes.readUnsignedByte()); // Last byte is a reserved space in codeToString()
375 .append(bytes.readUnsignedByte()) // Thrid byte is a reserved space in codeToString()
376 .append(bytes.readUnsignedByte()); // Last byte is a reserved space in codeToString()
388 index = bytes.readUnsignedByte(); in codeToString()
406 final int dimensions = bytes.readUnsignedByte(); in codeToString()
421 vindex = bytes.readUnsignedByte(); in codeToString()
/external/guava/guava-tests/test/com/google/common/io/
DLittleEndianDataInputStreamTest.java79 in.readUnsignedByte(); in testReadUnsignedByte_eof()
116 assertEquals(200, in.readUnsignedByte()); in testReadLittleEndian()
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/bsdiff/
DSuffixSorterTestBase.java137 int unsignedByte1 = input.readUnsignedByte(); in checkSuffixLessThanOrEqual()
139 int unsignedByte2 = input.readUnsignedByte(); in checkSuffixLessThanOrEqual()
/external/xz-java/src/org/tukaani/xz/
DLZMA2InputStream.java281 int control = in.readUnsignedByte(); in decodeChunkHeader()
328 int props = in.readUnsignedByte(); in decodeProps()

123