Home
last modified time | relevance | path

Searched refs:readRawByte (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java292 byte tmp = readRawByte(); in readRawVarint32()
297 if ((tmp = readRawByte()) >= 0) { in readRawVarint32()
301 if ((tmp = readRawByte()) >= 0) { in readRawVarint32()
305 if ((tmp = readRawByte()) >= 0) { in readRawVarint32()
309 result |= (tmp = readRawByte()) << 28; in readRawVarint32()
313 if (readRawByte() >= 0) { in readRawVarint32()
363 final byte b = readRawByte(); in readRawVarint64()
375 final byte b1 = readRawByte(); in readRawLittleEndian32()
376 final byte b2 = readRawByte(); in readRawLittleEndian32()
377 final byte b3 = readRawByte(); in readRawLittleEndian32()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DCodedInputStream.java318 byte tmp = readRawByte(); in readRawVarint32()
323 if ((tmp = readRawByte()) >= 0) { in readRawVarint32()
327 if ((tmp = readRawByte()) >= 0) { in readRawVarint32()
331 if ((tmp = readRawByte()) >= 0) { in readRawVarint32()
335 result |= (tmp = readRawByte()) << 28; in readRawVarint32()
339 if (readRawByte() >= 0) { in readRawVarint32()
407 final byte b = readRawByte(); in readRawVarint64()
419 final byte b1 = readRawByte(); in readRawLittleEndian32()
420 final byte b2 = readRawByte(); in readRawLittleEndian32()
421 final byte b3 = readRawByte(); in readRawLittleEndian32()
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java325 assertEquals(2, input.readRawByte()); in testSkipRawBytesBug()
344 assertEquals(1, input.readRawByte()); in testSkipRawBytesPastEndOfBufferWithLimit()
349 assertEquals(5, input.readRawByte()); in testSkipRawBytesPastEndOfBufferWithLimit()
466 input.readRawByte(); in testResetSizeCounter()
474 input.readRawByte(); // No exception thrown. in testResetSizeCounter()
512 assertEquals(i, in.readRawByte()); in testReadFromSlice()
DMicroTest.java2155 assertEquals(2, input.readRawByte()); in testSkipRawBytesBug()
2171 assertEquals(1, input.readRawByte()); in testSkipRawBytesPastEndOfBufferWithLimit()
2176 assertEquals(5, input.readRawByte()); in testSkipRawBytesPastEndOfBufferWithLimit()