/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 53 var map = new MapField<string, ForeignMessage> { { "x", message } }; in Clone_ClonesMessages() 69 var map = new MapField<int, T>(); in TestNullValues() 80 var map = new MapField<string, ForeignMessage>(); in Add_ForbidsNullKeys() 87 var map = new MapField<string, ForeignMessage>(); in Indexer_ForbidsNullKeys() 94 var map = new MapField<string, string>(); in AddPreservesInsertionOrder() 107 var map1 = new MapField<string, string>(); in EqualityIsOrderInsensitive() 111 var map2 = new MapField<string, string>(); in EqualityIsOrderInsensitive() 121 var map1 = new MapField<string, string>(); in EqualityIsKeySensitive() 125 var map2 = new MapField<string, string>(); in EqualityIsKeySensitive() 135 var map = new MapField<string, string>(); in Equality_Simple() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | MapUnittestProto3.cs | 235 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec 236 …= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForInt32(16, 0),… 237 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); 239 public pbc::MapField<int, int> MapInt32Int32 { 245 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec 246 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8, 0L), pb::FieldCodec.ForInt64(16, … 247 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>(); 249 public pbc::MapField<long, long> MapInt64Int64 { 255 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec 256 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16,… [all …]
|
D | UnittestWellKnownTypes.cs | 2792 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec _map_… 2793 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec(pb::FieldCodec.ForInt32… 2794 …private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pb… 2796 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> AnyField { 2802 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec _map_… 2803 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec(pb::FieldCodec.ForInt32… 2804 …private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pb… 2806 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> ApiField { 2812 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec … 2813 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec(pb::FieldCodec.For… [all …]
|
D | TestMessagesProto3.cs | 1226 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec 1227 …= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForInt32(16, 0),… 1228 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); 1233 public pbc::MapField<int, int> MapInt32Int32 { 1239 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec 1240 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8, 0L), pb::FieldCodec.ForInt64(16, … 1241 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>(); 1243 public pbc::MapField<long, long> MapInt64Int64 { 1249 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec 1250 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16,… [all …]
|
D | TestMessagesProto2.cs | 1419 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec 1420 …= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForInt32(16, 0),… 1421 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); 1426 public pbc::MapField<int, int> MapInt32Int32 { 1432 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec 1433 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8, 0L), pb::FieldCodec.ForInt64(16, … 1434 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>(); 1436 public pbc::MapField<long, long> MapInt64Int64 { 1442 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec 1443 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16,… [all …]
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 52 var map = new MapField<string, ForeignMessage> { { "x", message } }; in Clone_ClonesMessages() 68 var map = new MapField<int, T>(); in TestNullValues() 79 var map = new MapField<string, ForeignMessage>(); in Add_ForbidsNullKeys() 86 var map = new MapField<string, ForeignMessage>(); in Indexer_ForbidsNullKeys() 93 var map = new MapField<string, string>(); in AddPreservesInsertionOrder() 106 var map1 = new MapField<string, string>(); in EqualityIsOrderInsensitive() 110 var map2 = new MapField<string, string>(); in EqualityIsOrderInsensitive() 120 var map1 = new MapField<string, string>(); in EqualityIsKeySensitive() 124 var map2 = new MapField<string, string>(); in EqualityIsKeySensitive() 134 var map = new MapField<string, string>(); in Equality_Simple() [all …]
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | map.c | 56 } MapField; typedef 70 MapField *intern = emalloc(sizeof(MapField)); in MapField_create() 87 MapField* intern = (MapField*)obj; in MapField_destructor() 117 MapField *intern = emalloc(sizeof(MapField)); in MapField_GetPhpWrapper() 172 MapField *intern = (MapField*)Z_OBJ_P(val); in MapField_GetUpbMap() 198 PHP_METHOD(MapField, __construct) { in PHP_METHOD() argument 199 MapField *intern = (MapField*)Z_OBJ_P(getThis()); in PHP_METHOD() 249 PHP_METHOD(MapField, offsetExists) { in PHP_METHOD() argument 250 MapField *intern = (MapField*)Z_OBJ_P(getThis()); in PHP_METHOD() 274 PHP_METHOD(MapField, offsetGet) { in PHP_METHOD() argument [all …]
|
/third_party/protobuf/php/tests/ |
D | undefined_test.php | 636 $map_uint32_uint32 = new MapField(GPBType::UINT32, GPBType::UINT32); 647 $map_int32_message = new MapField(GPBType::INT32, 668 $arr = new MapField(GPBType::INT32, GPBType::INT32); 677 $arr = new MapField(GPBType::INT32, GPBType::INT32); 686 $arr = new MapField(GPBType::INT32, GPBType::INT32); 695 $arr = new MapField(GPBType::INT32, GPBType::INT32); 704 $arr = new MapField(GPBType::UINT32, GPBType::UINT32); 713 $arr = new MapField(GPBType::UINT32, GPBType::UINT32); 722 $arr = new MapField(GPBType::UINT32, GPBType::UINT32); 731 $arr = new MapField(GPBType::UINT32, GPBType::UINT32); [all …]
|
D | MapFieldTest.php | 6 use Google\Protobuf\Internal\MapField; alias 17 $arr = new MapField(GPBType::INT32, GPBType::INT32); 61 $arr = new MapField(GPBType::INT32, GPBType::INT32); 83 $arr = new MapField(GPBType::UINT32, GPBType::UINT32); 148 $arr = new MapField(GPBType::INT64, GPBType::INT64); 205 $arr = new MapField(GPBType::UINT64, GPBType::UINT64); 256 $arr = new MapField(GPBType::INT32, GPBType::FLOAT); 278 $arr = new MapField(GPBType::INT32, GPBType::DOUBLE); 300 $arr = new MapField(GPBType::BOOL, GPBType::BOOL); 360 $arr = new MapField(GPBType::STRING, GPBType::STRING); [all …]
|
D | GeneratedServiceTest.php | 7 use Google\Protobuf\Internal\MapField; alias
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapFieldSchemaFull.java | 39 return ((MapField<?, ?>) mapField).getMutableMap(); in forMutableMapData() 44 return ((MapField<?, ?>) mapField).getMap(); in forMapData() 49 return !((MapField<?, ?>) mapField).isMutable(); in isImmutable() 54 ((MapField<?, ?>) mapField).makeImmutable(); in toImmutable() 60 return MapField.newMapField((MapEntry<?, ?>) mapDefaultEntry); in newMapField() 75 MapField<K, V> mine = (MapField<K, V>) destMapField; in mergeFromFull() 76 MapField<K, V> other = (MapField<K, V>) srcMapField; in mergeFromFull() 97 Map<K, V> map = ((MapField<K, V>) mapField).getMap(); in getSerializedSizeFull()
|
D | MapField.java | 56 public class MapField<K, V> implements MutabilityOracle { class 128 private MapField(Converter<K, V> converter, StorageMode mode, Map<K, V> mapData) { in MapField() method in MapField 136 private MapField(MapEntry<K, V> defaultEntry, StorageMode mode, Map<K, V> mapData) { in MapField() method in MapField 142 public static <K, V> MapField<K, V> emptyMapField(MapEntry<K, V> defaultEntry) { in emptyMapField() 143 return new MapField<K, V>(defaultEntry, StorageMode.MAP, Collections.<K, V>emptyMap()); in emptyMapField() 148 public static <K, V> MapField<K, V> newMapField(MapEntry<K, V> defaultEntry) { in newMapField() 149 return new MapField<K, V>(defaultEntry, StorageMode.MAP, new LinkedHashMap<K, V>()); in newMapField() 203 public void mergeFrom(MapField<K, V> other) { in mergeFrom() 215 if (!(object instanceof MapField)) { in equals() 218 MapField<K, V> other = (MapField<K, V>) object; in equals() [all …]
|
D | GeneratedMessageV3.java | 872 protected MapField internalGetMapField(int fieldNumber) { 881 protected MapField internalGetMutableMapField(int fieldNumber) { 1884 protected MapField internalGetMapField(int fieldNumber) { 2584 MapField defaultMapField = getMapField( 2593 private MapField<?, ?> getMapField(GeneratedMessageV3 message) { 2594 return (MapField<?, ?>) message.internalGetMapField(field.getNumber()); 2597 private MapField<?, ?> getMapField(GeneratedMessageV3.Builder builder) { 2598 return (MapField<?, ?>) builder.internalGetMapField(field.getNumber()); 2601 private MapField<?, ?> getMutableMapField( 2603 return (MapField<?, ?>) builder.internalGetMutableMapField( [all …]
|
D | GeneratedMessage.java | 717 protected MapField internalGetMapField(int fieldNumber) { 726 protected MapField internalGetMutableMapField(int fieldNumber) { 2012 protected MapField internalGetMapField(int fieldNumber) { 2536 MapField defaultMapField = getMapField( 2545 private MapField<?, ?> getMapField(GeneratedMessage message) { 2546 return (MapField<?, ?>) message.internalGetMapField(field.getNumber()); 2549 private MapField<?, ?> getMapField(GeneratedMessage.Builder builder) { 2550 return (MapField<?, ?>) builder.internalGetMapField(field.getNumber()); 2553 private MapField<?, ?> getMutableMapField( 2555 return (MapField<?, ?>) builder.internalGetMutableMapField(
|
/third_party/protobuf/src/google/protobuf/ |
D | map_field_inl.h | 168 int MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 177 void MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 196 void MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 210 bool MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 221 bool MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 242 bool MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 251 void MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 254 const MapField& other_field = static_cast<const MapField&>(other); in MergeFrom() 263 void MapField<Derived, Key, T, kKeyFieldType, kValueFieldType, 265 MapField* other_field = down_cast<MapField*>(other); in Swap() [all …]
|
D | map_field.h | 429 class MapField : public TypeDefinedMapFieldBase<Key, T> { 454 MapField() {} in MapField() function 455 explicit MapField(Arena* arena) in MapField() function 520 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MapField); 527 const MapField<Derived, Key, T, key_wire_type, value_wire_type, in AllAreInitialized() 542 typedef MapField<T, Key, Value, kKeyFieldType, kValueFieldType, 680 friend class internal::MapField; 783 friend class internal::MapField;
|
D | map_entry.h | 55 class MapField; variable 131 friend class internal::MapField;
|
D | map_field_test.cc | 101 typedef MapField<EntryType, int32, int32, WireFormatLite::TYPE_INT32, 205 typedef MapField<EntryType, int32, int32, WireFormatLite::TYPE_INT32,
|
D | map_entry_lite.h | 342 template <typename MapField, typename Map> 345 explicit Parser(MapField* mf) : mf_(mf), map_(mf->MutableMap()) {} 495 MapField* const mf_;
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
D | MapField.cs | 71 …public sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<T… class 90 public MapField<TKey, TValue> Clone() in Clone() 92 var clone = new MapField<TKey, TValue>(); in Clone() 356 return Equals(other as MapField<TKey, TValue>); in Equals() 385 public bool Equals(MapField<TKey, TValue> other) in Equals() 756 private readonly MapField<TKey, TValue> parent; 761 MapField<TKey, TValue> parent, in MapView()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.h | 501 struct MapField { struct 511 MapField() : is_map_field(false) {} in MapField() function 514 void GenerateMapEntry(const MapField& map_field, FieldDescriptorProto* field,
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Struct.cs | 120 …private static readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec … 121 …= new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.For… 122 …private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new… 127 public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields {
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | GPBUtil.php | 39 use Google\Protobuf\Internal\MapField; alias 229 if (!$var instanceof MapField && !is_array($var)) { 233 $tmp = new MapField($key_type, $value_type, $klass);
|
D | MapFieldIter.php | 55 * @param MapField The MapField instance for which this iterator is
|
D | Message.php | 108 $map_field = new MapField( 115 $map_field = new MapField( 122 $map_field = new MapField( 555 $map_field = new MapField( 562 $map_field = new MapField( 569 $map_field = new MapField(
|