Home
last modified time | relevance | path

Searched refs:buildPartial (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java826 TestRequiredOptimizedForSize.newBuilder().buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
827 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
831 TestRequiredOptimizedForSize.newBuilder().setX(5).buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
832 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
840 TestRequiredOptimizedForSize.newBuilder().buildPartial()); in testUninitializedExtensionInOptimizedForSize()
842 assertFalse(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize()
846 TestRequiredOptimizedForSize.newBuilder().setX(10).buildPartial()); in testUninitializedExtensionInOptimizedForSize()
848 assertTrue(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize()
914 TestAllTypes expected = builder.buildPartial(); in testSerializePartial()
989 builder.buildPartial(); in testInvalidations()
[all …]
DSingleFieldBuilderV3Test.java58 builder.getBuilder().buildPartial()); in testBasicUseAndInvalidations()
141 .buildPartial()); in testMerge()
148 .buildPartial()); in testMerge()
151 .buildPartial()); in testMerge()
DMessageTest.java214 TestRequired message = TestRequired.newBuilder().buildPartial(); in testBuildPartial()
249 .buildPartial(); in testBuildNestedPartial()
268 .buildPartial().toByteString(); in testParseNestedUnititialized()
302 .buildPartial(); in testDynamicBuildPartial()
DFieldPresenceTest.java388 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized()
392 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized()
397 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized()
401 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized()
406 assertFalse(builder.buildPartial().isInitialized()); in testIsInitialized()
410 assertTrue(builder.buildPartial().isInitialized()); in testIsInitialized()
DAbstractMessageTest.java121 public AbstractMessageWrapper buildPartial() { in buildPartial() method in AbstractMessageTest.AbstractMessageWrapper.Builder
122 return new AbstractMessageWrapper(wrappedBuilder.buildPartial()); in buildPartial()
130 return clone().buildPartial().isInitialized(); in isInitialized()
258 ByteString bytes = builder.buildPartial().toByteString(); in testParsingUninitialized()
262 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
274 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
DNestedBuildersTest.java182 Vehicle vehicle = vehicleBuilder.buildPartial(); in testGettingBuilderMarksFieldAsHaving()
DDynamicMessageTest.java294 DynamicMessage message = builder.buildPartial(); in testDynamicOneofMessage()
DParserTest.java127 assertParsePartial(TestRequired.parser(), TestRequired.newBuilder().setA(1).buildPartial()); in testParsePartial()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java650 TestRequiredOptimizedForSize.newBuilder().buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
651 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
655 TestRequiredOptimizedForSize.newBuilder().setX(5).buildPartial() in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
656 ).buildPartial(); in testOptionalFieldWithRequiredSubfieldsOptimizedForSize()
664 TestRequiredOptimizedForSize.newBuilder().buildPartial()); in testUninitializedExtensionInOptimizedForSize()
666 assertFalse(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize()
670 TestRequiredOptimizedForSize.newBuilder().setX(10).buildPartial()); in testUninitializedExtensionInOptimizedForSize()
672 assertTrue(builder.buildPartial().isInitialized()); in testUninitializedExtensionInOptimizedForSize()
738 TestAllTypes expected = builder.buildPartial(); in testSerializePartial()
781 TestAllTypes message = builder.buildPartial(); in testBaseMessageOrBuilder()
[all …]
DMessageTest.java215 TestRequired message = TestRequired.newBuilder().buildPartial(); in testBuildPartial()
250 .buildPartial(); in testBuildNestedPartial()
269 .buildPartial().toByteString(); in testParseNestedUnititialized()
303 .buildPartial(); in testDynamicBuildPartial()
DAbstractMessageTest.java112 public AbstractMessageWrapper buildPartial() { in buildPartial() method in AbstractMessageTest.AbstractMessageWrapper.Builder
113 return new AbstractMessageWrapper(wrappedBuilder.buildPartial()); in buildPartial()
119 return clone().buildPartial().isInitialized(); in isInitialized()
235 ByteString bytes = builder.buildPartial().toByteString(); in testParsingUninitialized()
239 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
251 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
DNestedBuildersTest.java183 Vehicle vehicle = vehicleBuilder.buildPartial(); in testGettingBuilderMarksFieldAsHaving()
DParserTest.java127 .setA(1).buildPartial(); in testParsePartial()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDynamicMessage.java298 throw e.setUnfinishedMessage(builder.buildPartial()); in getParserForType()
301 .setUnfinishedMessage(builder.buildPartial()); in getParserForType()
303 return builder.buildPartial(); in getParserForType()
393 return buildPartial();
408 return buildPartial();
412 public DynamicMessage buildPartial() {
DMessageReflection.java472 return subBuilder.buildPartial(); in parseGroup()
496 return subBuilder.buildPartial(); in parseMessage()
520 return subBuilder.buildPartial(); in parseMessageFromBytes()
549 return builder.buildPartial(); in finish()
653 return subBuilder.buildPartial(); in parseGroup()
672 return subBuilder.buildPartial(); in parseMessage()
690 return subBuilder.buildPartial(); in parseMessageFromBytes()
DMessageLite.java167 MessageLite buildPartial(); in buildPartial() method
DSingleFieldBuilderV3.java112 message = (MType) builder.buildPartial(); in getMessage()
DSingleFieldBuilder.java112 message = (MType) builder.buildPartial(); in getMessage()
DUnknownFieldSet.java358 public UnknownFieldSet buildPartial() { in buildPartial() method in UnknownFieldSet.Builder
1023 throw e.setUnfinishedMessage(builder.buildPartial()); in parsePartialFrom()
1026 .setUnfinishedMessage(builder.buildPartial()); in parsePartialFrom()
1028 return builder.buildPartial(); in parsePartialFrom()
DMessage.java143 Message buildPartial(); in buildPartial() method
DMapEntry.java290 MapEntry<K, V> result = buildPartial(); in build()
298 public MapEntry<K, V> buildPartial() { in buildPartial() method in MapEntry.Builder
DGeneratedMessageLite.java353 builder.mergeFrom(buildPartial()); in clone()
358 public MessageType buildPartial() { in buildPartial() method in GeneratedMessageLite.Builder
371 MessageType result = buildPartial(); in build()
762 public final MessageType buildPartial() { in buildPartial() method in GeneratedMessageLite.ExtendableBuilder
768 return super.buildPartial(); in buildPartial()
1190 .buildPartial(); in readResolve()
1217 .buildPartial(); in readResolveFallback()
DMapEntryLite.java129 return (T) subBuilder.buildPartial(); in parseField()
DMapField.java99 return defaultEntry.newBuilderForType().setKey(key).setValue(value).buildPartial(); in convertKeyAndValueToMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java147 throw e.setUnfinishedMessage(builder.buildPartial());
150 e.getMessage()).setUnfinishedMessage(builder.buildPartial());
152 return builder.buildPartial();
401 com.google.protobuf.jruby.SentinelOuterClass.Sentinel result = buildPartial(); in build()
408 public com.google.protobuf.jruby.SentinelOuterClass.Sentinel buildPartial() { in buildPartial() method in SentinelOuterClass.Sentinel.Builder

12