Home
last modified time | relevance | path

Searched refs:LazyField (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DLazyField.java46 public class LazyField extends LazyFieldLite { class
54 public LazyField(MessageLite defaultInstance, in LazyField() method in LazyField
92 private Entry<K, LazyField> entry;
94 private LazyEntry(Entry<K, LazyField> entry) { in LazyEntry()
105 LazyField field = entry.getValue(); in getValue()
112 public LazyField getField() { in getField()
143 if (entry.getValue() instanceof LazyField) { in next()
144 return new LazyEntry<K>((Entry<K, LazyField>) entry); in next()
DFieldSet.java33 import com.google.protobuf.LazyField.LazyIterator;
203 if (value instanceof LazyField) { in cloneFieldEntry()
204 map.put(key, ((LazyField) value).getValue()); in cloneFieldEntry()
244 if (o instanceof LazyField) { in getField()
245 return ((LazyField) o).getValue(); in getField()
275 if (value instanceof LazyField) { in setField()
410 (value instanceof MessageLite) || (value instanceof LazyField); in verifyType()
469 } else if (value instanceof LazyField) { in isInitialized()
525 if (otherValue instanceof LazyField) { in mergeFromField()
526 otherValue = ((LazyField) otherValue).getValue(); in mergeFromField()
[all …]
DMessageReflection.java977 LazyField lazyField = new LazyField( in mergeMessageSetExtensionFromBytes()
DGeneratedMessage.java943 if (next instanceof LazyField.LazyEntry<?>) { in writeUntil()
945 ((LazyField.LazyEntry<?>) next).getField().toByteString()); in writeUntil()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyFieldTest.java48 LazyField lazyField = in testHashCode()
60 LazyField lazyField = createLazyFieldFromMessage(message); in testHashCodeEx()
71 LazyField lazyField = createLazyFieldFromMessage(message); in testGetValue()
79 LazyField lazyField = createLazyFieldFromMessage(message); in testGetValueEx()
87 LazyField lazyField = createLazyFieldFromMessage(message); in testEqualsObject()
96 LazyField lazyField = createLazyFieldFromMessage(message); in testEqualsObjectEx()
105 private LazyField createLazyFieldFromMessage(MessageLite message) { in createLazyFieldFromMessage()
107 return new LazyField(message.getDefaultInstanceForType(), in createLazyFieldFromMessage()
111 private void changeValue(LazyField lazyField) { in changeValue()
/external/protobuf/
Dbuild.gradle55 include 'com/google/protobuf/LazyField.java'
DAndroid.bp541 "java/core/src/main/java/com/google/protobuf/LazyField.java",
DMakefile.am220 java/core/src/main/java/com/google/protobuf/LazyField.java \
/external/protobuf/src/google/protobuf/
Darena.h68 class LazyField; // lazy_field.h variable
545 friend class internal::LazyField; // For CreateMaybeMessage.