Searched refs:lazyField (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | LazyFieldLiteTest.java | 48 LazyFieldLite lazyField = createLazyFieldLiteFromMessage(message); in testGetValue() local 49 assertEquals(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testGetValue() 50 changeValue(lazyField); in testGetValue() 51 assertNotEqual(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testGetValue() 56 LazyFieldLite lazyField = createLazyFieldLiteFromMessage(message); in testGetValueEx() local 57 assertEquals(message, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testGetValueEx() 58 changeValue(lazyField); in testGetValueEx() 59 assertNotEqual(message, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testGetValueEx() 64 LazyFieldLite lazyField = createLazyFieldLiteFromMessage(message); in testSetValue() local 65 changeValue(lazyField); in testSetValue() [all …]
|
D | LazyFieldTest.java | 47 LazyField lazyField = in testHashCode() local 49 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode() 50 lazyField.getValue(); in testHashCode() 51 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode() 52 changeValue(lazyField); in testHashCode() 54 assertNotEqual(message.hashCode(), lazyField.hashCode()); in testHashCode() 59 LazyField lazyField = createLazyFieldFromMessage(message); in testHashCodeEx() local 60 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx() 61 lazyField.getValue(); in testHashCodeEx() 62 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx() [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | MessageReflection.java | 915 LazyField lazyField = new LazyField( in mergeMessageSetExtensionFromBytes() local 917 target.setField(field, lazyField); in mergeMessageSetExtensionFromBytes()
|