Searched refs:mapField (Results 1 – 6 of 6) sorted by relevance
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapFieldSchemaFull.java | 38 public Map<?, ?> forMutableMapData(Object mapField) { in forMutableMapData() argument 39 return ((MapField<?, ?>) mapField).getMutableMap(); in forMutableMapData() 43 public Map<?, ?> forMapData(Object mapField) { in forMapData() argument 44 return ((MapField<?, ?>) mapField).getMap(); in forMapData() 48 public boolean isImmutable(Object mapField) { in isImmutable() argument 49 return !((MapField<?, ?>) mapField).isMutable(); in isImmutable() 53 public Object toImmutable(Object mapField) { in toImmutable() argument 54 ((MapField<?, ?>) mapField).makeImmutable(); in toImmutable() 55 return mapField; in toImmutable() 85 public int getSerializedSize(int number, Object mapField, Object mapDefaultEntry) { in getSerializedSize() argument [all …]
|
D | MapFieldSchemaLite.java | 39 public Map<?, ?> forMutableMapData(Object mapField) { in forMutableMapData() argument 40 return (MapFieldLite<?, ?>) mapField; in forMutableMapData() 49 public Map<?, ?> forMapData(Object mapField) { in forMapData() argument 50 return (MapFieldLite<?, ?>) mapField; in forMapData() 54 public boolean isImmutable(Object mapField) { in isImmutable() argument 55 return !((MapFieldLite<?, ?>) mapField).isMutable(); in isImmutable() 59 public Object toImmutable(Object mapField) { in toImmutable() argument 60 ((MapFieldLite<?, ?>) mapField).makeImmutable(); in toImmutable() 61 return mapField; in toImmutable() 88 public int getSerializedSize(int fieldNumber, Object mapField, Object mapDefaultEntry) { in getSerializedSize() argument [all …]
|
D | MapFieldSchema.java | 37 Map<?, ?> forMutableMapData(Object mapField); in forMutableMapData() argument 40 Map<?, ?> forMapData(Object mapField); in forMapData() argument 43 boolean isImmutable(Object mapField); in isImmutable() argument 50 Object toImmutable(Object mapField); in toImmutable() argument 62 int getSerializedSize(int fieldNumber, Object mapField, Object mapDefaultEntry); in getSerializedSize() argument
|
D | MessageSchema.java | 3833 private <K, V> void writeMapHelper(Writer writer, int number, Object mapField, int pos) in writeMapHelper() argument 3835 if (mapField != null) { in writeMapHelper() 3839 (Map<K, V>) mapFieldSchema.forMapData(mapField)); in writeMapHelper() 4669 Object mapField = unsafe.getObject(message, fieldOffset); in parseMapField() local 4670 if (mapFieldSchema.isImmutable(mapField)) { in parseMapField() 4671 Object oldMapField = mapField; in parseMapField() 4672 mapField = mapFieldSchema.newMapField(mapDefaultEntry); in parseMapField() 4673 mapFieldSchema.mergeFrom(mapField, oldMapField); in parseMapField() 4674 unsafe.putObject(message, fieldOffset, mapField); in parseMapField() 4681 (Map<K, V>) mapFieldSchema.forMutableMapData(mapField), in parseMapField() [all …]
|
/third_party/protobuf/php/tests/ |
D | WrapperTypeSettersTest.php | 298 $mapField = $testWrapperSetters->getMapStringValue(); 310 ['map_string_value', 'getMapStringValue', $mapField],
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBMessageTests+Runtime.m | 2832 [msg.mapField setObject:subMsg forKey:0];
|