Home
last modified time | relevance | path

Searched refs:codedOutput (Results 1 – 18 of 18) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DFieldCodecTest.cs126 var codedOutput = new CodedOutputStream(stream); in TestRoundTripRaw()
127 WriteContext.Initialize(codedOutput, out WriteContext ctx); in TestRoundTripRaw()
135 ctx.CopyStateTo(codedOutput); in TestRoundTripRaw()
138 codedOutput.Flush(); in TestRoundTripRaw()
148 var codedOutput = new CodedOutputStream(stream); in TestRoundTripWithTag()
149 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
150 codedOutput.Flush(); in TestRoundTripWithTag()
161 var codedOutput = new CodedOutputStream(stream); in TestCalculateSizeWithTag()
162 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
163 codedOutput.Flush(); in TestCalculateSizeWithTag()
[all …]
DLegacyGeneratedCodeTest.cs105 var codedOutput = new CodedOutputStream(ms); in IntermixingOfNewAndLegacyGeneratedCodeWorksWithCodedOutputStream()
114 message.WriteTo(codedOutput); in IntermixingOfNewAndLegacyGeneratedCodeWorksWithCodedOutputStream()
115 codedOutput.Flush(); in IntermixingOfNewAndLegacyGeneratedCodeWorksWithCodedOutputStream()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DFieldCodecTest.cs126 var codedOutput = new CodedOutputStream(stream); in TestRoundTripRaw()
127 WriteContext.Initialize(codedOutput, out WriteContext ctx); in TestRoundTripRaw()
135 ctx.CopyStateTo(codedOutput); in TestRoundTripRaw()
137 codedOutput.Flush(); in TestRoundTripRaw()
147 var codedOutput = new CodedOutputStream(stream); in TestRoundTripWithTag()
148 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
149 codedOutput.Flush(); in TestRoundTripWithTag()
160 var codedOutput = new CodedOutputStream(stream); in TestCalculateSizeWithTag()
161 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
162 codedOutput.Flush(); in TestCalculateSizeWithTag()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DAbstractProto3LiteSchemaTest.java58 CodedOutputStream codedOutput = CodedOutputStream.newInstance(buffer); in serializedBytesWithInvalidUtf8() local
59 codedOutput.writeByteArray(Proto3MessageLite.FIELD_STRING_9_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
60 codedOutput.flush(); in serializedBytesWithInvalidUtf8()
66 CodedOutputStream codedOutput = CodedOutputStream.newInstance(buffer); in serializedBytesWithInvalidUtf8() local
67 codedOutput.writeByteArray(Proto3MessageLite.FIELD_STRING_LIST_26_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
68 codedOutput.flush(); in serializedBytesWithInvalidUtf8()
DAbstractProto3SchemaTest.java58 CodedOutputStream codedOutput = CodedOutputStream.newInstance(buffer); in serializedBytesWithInvalidUtf8() local
59 codedOutput.writeByteArray(Proto3Message.FIELD_STRING_9_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
60 codedOutput.flush(); in serializedBytesWithInvalidUtf8()
66 CodedOutputStream codedOutput = CodedOutputStream.newInstance(buffer); in serializedBytesWithInvalidUtf8() local
67 codedOutput.writeByteArray(Proto3Message.FIELD_STRING_LIST_26_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
68 codedOutput.flush(); in serializedBytesWithInvalidUtf8()
DArrayDecodersTest.java217 CodedOutputStream codedOutput = CodedOutputStream.newInstance(byteStringOutput); in generateNegativeLength() local
222 codedOutput.writeInt32NoTag(0); in generateNegativeLength()
223 codedOutput.writeInt32NoTag(TAG); in generateNegativeLength()
227 codedOutput.writeInt32NoTag(-1); in generateNegativeLength()
229 codedOutput.flush(); in generateNegativeLength()
DProto2ExtensionLookupSchemaTest.java121 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in testUnknownEnum() local
122 unknowns.writeTo(codedOutput); in testUnknownEnum()
123 codedOutput.flush(); in testUnknownEnum()
DAbstractProto2LiteSchemaTest.java181 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in unknownEnum() local
182 unknowns.writeTo(codedOutput); in unknownEnum()
183 codedOutput.flush(); in unknownEnum()
DAbstractProto2SchemaTest.java175 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in unknownEnum() local
176 unknowns.writeTo(codedOutput); in unknownEnum()
177 codedOutput.flush(); in unknownEnum()
DWireFormatLiteTest.java175 CodedOutputStream codedOutput = CodedOutputStream.newInstance(outputStream); in testSerializationPackedWithoutGetSerializedSize() local
177 message.writeTo(codedOutput); in testSerializationPackedWithoutGetSerializedSize()
179 codedOutput.flush(); in testSerializationPackedWithoutGetSerializedSize()
650 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in testUnmatchedWireType() local
652 codedOutput.writeInt32(i, 0); in testUnmatchedWireType()
654 codedOutput.flush(); in testUnmatchedWireType()
DWireFormatTest.java121 CodedOutputStream codedOutput = CodedOutputStream.newInstance(outputStream); in testSerializationPackedWithoutGetSerializedSize() local
123 message.writeTo(codedOutput); in testSerializationPackedWithoutGetSerializedSize()
125 codedOutput.flush(); in testSerializationPackedWithoutGetSerializedSize()
/third_party/protobuf/csharp/src/Google.Protobuf/
DMessageExtensions.cs118 CodedOutputStream codedOutput = new CodedOutputStream(output); in WriteTo()
119 message.WriteTo(codedOutput); in WriteTo()
120 codedOutput.Flush(); in WriteTo()
132 CodedOutputStream codedOutput = new CodedOutputStream(output); in WriteDelimitedTo()
133 codedOutput.WriteLength(message.CalculateSize()); in WriteDelimitedTo()
134 message.WriteTo(codedOutput); in WriteDelimitedTo()
135 codedOutput.Flush(); in WriteDelimitedTo()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractMessageLite.java82 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output, bufferSize); in writeTo() local
83 writeTo(codedOutput); in writeTo()
84 codedOutput.flush(); in writeTo()
93 final CodedOutputStream codedOutput = CodedOutputStream.newInstance(output, bufferSize); in writeDelimitedTo() local
94 codedOutput.writeRawVarint32(serialized); in writeDelimitedTo()
95 writeTo(codedOutput); in writeDelimitedTo()
96 codedOutput.flush(); in writeDelimitedTo()
DUnknownFieldSet.java184 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeTo() local
185 writeTo(codedOutput); in writeTo()
186 codedOutput.flush(); in writeTo()
191 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in writeDelimitedTo() local
192 codedOutput.writeUInt32NoTag(getSerializedSize()); in writeDelimitedTo()
193 writeTo(codedOutput); in writeDelimitedTo()
194 codedOutput.flush(); in writeDelimitedTo()
DMessageSchema.java5535 CodedOutputStream codedOutput = codedBuilder.getCodedOutput(); in filterUnknownEnumMap() local
5537 MapEntryLite.writeTo(codedOutput, metadata, entry.getKey(), entry.getValue()); in filterUnknownEnumMap()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DWireFormatTest.java115 CodedOutputStream codedOutput = CodedOutputStream.newInstance(outputStream); in testSerializationPackedWithoutGetSerializedSize() local
117 message.writeTo(codedOutput); in testSerializationPackedWithoutGetSerializedSize()
119 codedOutput.flush(); in testSerializationPackedWithoutGetSerializedSize()
/third_party/protobuf/objectivec/Tests/
DGPBCodedOuputStreamTests.m436 GPBCodedOutputStream *codedOutput =
440 XCTAssertThrowsSpecificNamed([codedOutput writeRawPtr:cString offset:0 length:strlen(cString)],
/third_party/protobuf/objectivec/
DGPBMessage.m1300 GPBCodedOutputStream *codedOutput =
1302 [self writeDelimitedToCodedOutputStream:codedOutput];
1303 [codedOutput release];