Home
last modified time | relevance | path

Searched refs:CodedOutputByteBufferNano (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java252 void writeTo(Object value, CodedOutputByteBufferNano output) throws IOException { in writeTo()
260 protected void writeSingularData(Object value, CodedOutputByteBufferNano out) { in writeSingularData()
285 protected void writeRepeatedData(Object array, CodedOutputByteBufferNano output) { in writeRepeatedData()
323 return CodedOutputByteBufferNano.computeGroupSize(fieldNumber, groupValue); in computeSingularSerializedSize()
326 return CodedOutputByteBufferNano.computeMessageSize(fieldNumber, messageValue); in computeSingularSerializedSize()
387 protected final void writeSingularData(Object value, CodedOutputByteBufferNano output) { in writeSingularData()
465 protected void writeRepeatedData(Object array, CodedOutputByteBufferNano output) { in writeRepeatedData()
574 dataSize = arrayLength * CodedOutputByteBufferNano.LITTLE_ENDIAN_32_SIZE; in computePackedDataSize()
579 dataSize = arrayLength * CodedOutputByteBufferNano.LITTLE_ENDIAN_64_SIZE; in computePackedDataSize()
583 dataSize += CodedOutputByteBufferNano.computeInt32SizeNoTag( in computePackedDataSize()
[all …]
DInternalNano.java441 CodedOutputByteBufferNano output, in serializeMapField()
452 CodedOutputByteBufferNano.computeFieldSize(1, keyType, key) + in serializeMapField()
453 CodedOutputByteBufferNano.computeFieldSize(2, valueType, value); in serializeMapField()
464 int tagSize = CodedOutputByteBufferNano.computeTagSize(number); in computeMapFieldSize()
473 CodedOutputByteBufferNano.computeFieldSize(1, keyType, key) + in computeMapFieldSize()
474 CodedOutputByteBufferNano.computeFieldSize(2, valueType, value); in computeMapFieldSize()
476 + CodedOutputByteBufferNano.computeRawVarint32Size(entrySize); in computeMapFieldSize()
DMessageNano.java85 public void writeTo(CodedOutputByteBufferNano output) throws IOException { in writeTo()
115 final CodedOutputByteBufferNano output = in toByteArray()
116 CodedOutputByteBufferNano.newInstance(data, offset, length); in toByteArray()
DUnknownFieldData.java58 size += CodedOutputByteBufferNano.computeRawVarint32Size(tag); in computeSerializedSize()
63 void writeTo(CodedOutputByteBufferNano output) throws IOException { in writeTo()
DFieldData.java110 void writeTo(CodedOutputByteBufferNano output) throws IOException { in writeTo()
185 CodedOutputByteBufferNano output = CodedOutputByteBufferNano.newInstance(result); in toByteArray()
DCodedOutputByteBufferNano.java53 public final class CodedOutputByteBufferNano { class
58 private CodedOutputByteBufferNano(final byte[] buffer, final int offset, in CodedOutputByteBufferNano() method in CodedOutputByteBufferNano
63 private CodedOutputByteBufferNano(final ByteBuffer buffer) { in CodedOutputByteBufferNano() method in CodedOutputByteBufferNano
74 public static CodedOutputByteBufferNano newInstance(final byte[] flatArray) { in newInstance()
84 public static CodedOutputByteBufferNano newInstance(final byte[] flatArray, in newInstance()
87 return new CodedOutputByteBufferNano(flatArray, offset, length); in newInstance()
DExtendableMessageNano.java60 public void writeTo(CodedOutputByteBufferNano output) throws IOException { in writeTo()
/external/grpc-grpc-java/protobuf-nano/src/generated/test/javanano/io/grpc/protobuf/nano/
DMessages.java51 public void writeTo(com.google.protobuf.nano.CodedOutputByteBufferNano output) in writeTo()
72 size += com.google.protobuf.nano.CodedOutputByteBufferNano in computeSerializedSize()
76 size += com.google.protobuf.nano.CodedOutputByteBufferNano in computeSerializedSize()
80 size += com.google.protobuf.nano.CodedOutputByteBufferNano in computeSerializedSize()
84 size += com.google.protobuf.nano.CodedOutputByteBufferNano in computeSerializedSize()
/external/grpc-grpc-java/protobuf-nano/src/main/java/io/grpc/protobuf/nano/
DNanoProtoInputStream.java19 import com.google.protobuf.nano.CodedOutputByteBufferNano;
69 CodedOutputByteBufferNano output = CodedOutputByteBufferNano.newInstance(b, off, size); in read()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java36 import com.google.protobuf.nano.CodedOutputByteBufferNano;
2333 assertEquals(CodedOutputByteBufferNano.computeRawVarint32Size(testCase.length()), in testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()
2334 CodedOutputByteBufferNano.computeRawVarint32Size(testCase.length() * 3)); in testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()
2335 assertEquals(11, CodedOutputByteBufferNano.computeStringSize(1, testCase)); in testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()
2339 CodedOutputByteBufferNano bufferNano = CodedOutputByteBufferNano.newInstance(new byte[i]); in testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()
2343 } catch (CodedOutputByteBufferNano.OutOfSpaceException expected) {} in testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()
3212 int extraFieldSize = CodedOutputByteBufferNano.computeStringSize( in testUnknownFields()
3216 CodedOutputByteBufferNano.newInstance(newBytes, bytes.length, extraFieldSize) in testUnknownFields()
4164 CodedOutputByteBufferNano output = in testMapMergeEmptyEntry()
4165 CodedOutputByteBufferNano.newInstance(buffer); in testMapMergeEmptyEntry()
/external/protobuf/javanano/
DREADME.md94 - Similarly CodedOutputByteBufferNano can only write to byte[].
/external/protobuf/
DMakefile.am353 javanano/src/main/java/com/google/protobuf/nano/CodedOutputByteBufferNano.java \
DCHANGES.txt473 - Similarly CodedOutputByteBufferNano can only write to byte[].