/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | FieldCodecTest.cs | 126 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 …]
|
D | LegacyGeneratedCodeTest.cs | 105 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/ |
D | FieldCodecTest.cs | 126 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/ |
D | AbstractProto3LiteSchemaTest.java | 58 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()
|
D | AbstractProto3SchemaTest.java | 58 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()
|
D | ArrayDecodersTest.java | 217 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()
|
D | Proto2ExtensionLookupSchemaTest.java | 121 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in testUnknownEnum() local 122 unknowns.writeTo(codedOutput); in testUnknownEnum() 123 codedOutput.flush(); in testUnknownEnum()
|
D | AbstractProto2LiteSchemaTest.java | 181 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in unknownEnum() local 182 unknowns.writeTo(codedOutput); in unknownEnum() 183 codedOutput.flush(); in unknownEnum()
|
D | AbstractProto2SchemaTest.java | 175 CodedOutputStream codedOutput = CodedOutputStream.newInstance(output); in unknownEnum() local 176 unknowns.writeTo(codedOutput); in unknownEnum() 177 codedOutput.flush(); in unknownEnum()
|
D | WireFormatLiteTest.java | 175 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()
|
D | WireFormatTest.java | 121 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/ |
D | MessageExtensions.cs | 118 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/ |
D | AbstractMessageLite.java | 82 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()
|
D | UnknownFieldSet.java | 184 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()
|
D | MessageSchema.java | 5535 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/ |
D | WireFormatTest.java | 115 CodedOutputStream codedOutput = CodedOutputStream.newInstance(outputStream); in testSerializationPackedWithoutGetSerializedSize() local 117 message.writeTo(codedOutput); in testSerializationPackedWithoutGetSerializedSize() 119 codedOutput.flush(); in testSerializationPackedWithoutGetSerializedSize()
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBCodedOuputStreamTests.m | 436 GPBCodedOutputStream *codedOutput = 440 XCTAssertThrowsSpecificNamed([codedOutput writeRawPtr:cString offset:0 length:strlen(cString)],
|
/third_party/protobuf/objectivec/ |
D | GPBMessage.m | 1300 GPBCodedOutputStream *codedOutput = 1302 [self writeDelimitedToCodedOutputStream:codedOutput]; 1303 [codedOutput release];
|