Home
last modified time | relevance | path

Searched refs:lazyField (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyFieldTest.java48 LazyField lazyField = in testHashCode() local
50 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode()
51 lazyField.getValue(); in testHashCode()
52 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode()
53 changeValue(lazyField); in testHashCode()
55 assertNotEqual(message.hashCode(), lazyField.hashCode()); in testHashCode()
60 LazyField lazyField = createLazyFieldFromMessage(message); in testHashCodeEx() local
61 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx()
62 lazyField.getValue(); in testHashCodeEx()
63 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx()
[all …]
DLazyFieldLiteTest.java52 LazyFieldLite lazyField = createLazyFieldLiteFromMessage(message); in testGetValue() local
53 assertEquals(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testGetValue()
54 changeValue(lazyField); in testGetValue()
55 assertNotEqual(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testGetValue()
60 LazyFieldLite lazyField = createLazyFieldLiteFromMessage(message); in testGetValueEx() local
61 assertEquals(message, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testGetValueEx()
62 changeValue(lazyField); in testGetValueEx()
63 assertNotEqual(message, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testGetValueEx()
68 LazyFieldLite lazyField = createLazyFieldLiteFromMessage(message); in testSetValue() local
69 changeValue(lazyField); in testSetValue()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java974 LazyField lazyField = new LazyField( in mergeMessageSetExtensionFromBytes() local
976 target.setField(field, lazyField); in mergeMessageSetExtensionFromBytes()