Home
last modified time | relevance | path

Searched refs:MapFieldLite (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapFieldSchemaLite.java40 return (MapFieldLite<?, ?>) mapField; in forMutableMapData()
50 return (MapFieldLite<?, ?>) mapField; in forMapData()
55 return !((MapFieldLite<?, ?>) mapField).isMutable(); in isImmutable()
60 ((MapFieldLite<?, ?>) mapField).makeImmutable(); in toImmutable()
66 return MapFieldLite.emptyMapField().mutableCopy(); in newMapField()
75 private static <K, V> MapFieldLite<K, V> mergeFromLite(Object destMapField, Object srcMapField) { in mergeFromLite()
76 MapFieldLite<K, V> mine = (MapFieldLite<K, V>) destMapField; in mergeFromLite()
77 MapFieldLite<K, V> other = (MapFieldLite<K, V>) srcMapField; in mergeFromLite()
95 MapFieldLite<K, V> mapFieldLite = (MapFieldLite<K, V>) mapField; in getSerializedSizeLite()
DMapFieldLite.java47 public final class MapFieldLite<K, V> extends LinkedHashMap<K, V> { class
51 private MapFieldLite() { in MapFieldLite() method in MapFieldLite
55 private MapFieldLite(Map<K, V> mapData) { in MapFieldLite() method in MapFieldLite
61 private static final MapFieldLite EMPTY_MAP_FIELD = new MapFieldLite();
69 public static <K, V> MapFieldLite<K, V> emptyMapField() { in emptyMapField()
70 return (MapFieldLite<K, V>) EMPTY_MAP_FIELD; in emptyMapField()
73 public void mergeFrom(MapFieldLite<K, V> other) { in mergeFrom()
213 public MapFieldLite<K, V> mutableCopy() { in mutableCopy()
214 return isEmpty() ? new MapFieldLite<K, V>() : new MapFieldLite<K, V>(this); in mutableCopy()
DMapField.java204 getMutableMap().putAll(MapFieldLite.copy(other.getMap())); in mergeFrom()
219 return MapFieldLite.<K, V>equals(getMap(), other.getMap()); in equals()
224 return MapFieldLite.<K, V>calculateHashCodeForMap(getMap()); in hashCode()
229 return new MapField<K, V>(converter, StorageMode.MAP, MapFieldLite.copy(getMap())); in copy()
DAbstractMessage.java223 return MapFieldLite.equals(ma, mb); in compareMapField()
278 return MapFieldLite.calculateHashCodeForMap(convertMapEntryListToMap((List) value)); in hashMapField()
DMapEntryLite.java199 MapFieldLite<K, V> map, CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseInto()
/external/protobuf/src/google/protobuf/
Dmap_field_lite.h58 class MapFieldLite {
66 MapFieldLite() : arena_(NULL) { SetDefaultEnumValue(); } in MapFieldLite() function
68 explicit MapFieldLite(Arena* arena) : arena_(arena), map_(arena) { in MapFieldLite() function
79 void MergeFrom(const MapFieldLite& other) { in MergeFrom()
85 void Swap(MapFieldLite* other) { map_.swap(other->map_); } in Swap()
113 typename Derived::template Parser<MapFieldLite, Map<Key, T>> parser(this); in _InternalParse()
121 typename Derived::template Parser<MapFieldLite, Map<Key, T>> parser(this); in ParseWithEnumValidation()
180 typedef MapFieldLite<MapEntryLite<T, Key, Value, kKeyFieldType,
Dmap_entry_lite.h63 class MapFieldLite; variable
589 friend class internal::MapFieldLite;
Dmap.h73 class MapFieldLite; variable
1216 friend class internal::MapFieldLite;
Dmap_field.h230 typedef MapFieldLite<Derived, Key, T, kKeyFieldType, kValueFieldType,
/external/protobuf/
Dbuild.gradle81 include 'com/google/protobuf/MapFieldLite.java'
DAndroid.bp555 "java/core/src/main/java/com/google/protobuf/MapFieldLite.java",
DBUILD702 "java/core/src/main/java/com/google/protobuf/MapFieldLite.java",
DMakefile.am290 java/core/src/main/java/com/google/protobuf/MapFieldLite.java \