Home
last modified time | relevance | path

Searched refs:MapField (Results 1 - 25 of 35) sorted by relevance

12

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
H A DMapFieldTest.cs43 /// Tests for MapField which aren't reliant on the encoded format -
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<strin in EqualityIsKeySensitive()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
H A DMapFieldTest.cs44 /// Tests for MapField which aren't reliant on the encoded format -
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<strin in EqualityIsKeySensitive()
[all...]
/third_party/protobuf/php/ext/google/protobuf/
H A Dmap.c46 // MapField
56 } MapField; typedef
66 * PHP class entry function to allocate and initialize a new MapField
70 MapField *intern = emalloc(sizeof(MapField)); in MapField_create()
82 * Object handler to destroy a MapField. This releases all resources
87 MapField* intern = (MapField*)obj; in MapField_destructor()
117 MapField *intern = emalloc(sizeof(MapField)); in MapField_GetPhpWrapper()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DMapUnittestProto3.cs235 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), 10);
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, 0L), 18);
247 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
249 public pbc::MapField<lon
[all...]
H A DUnittestWellKnownTypes.cs2792 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec _map_anyField_codec
2793 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Any.Parser), 10);
2794 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>();
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_apiField_codec
2803 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Api.Parser), 18);
2804 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>();
2806 public pbc::MapField<in
[all...]
H A DTestMessagesProto3.cs1226 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), 450);
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, 0L), 458);
1241 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
1243 public pbc::MapField<lon
[all...]
H A DTestMessagesProto2.cs1419 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), 450);
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, 0L), 458);
1434 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
1436 public pbc::MapField<lon
[all...]
/third_party/protobuf/php/tests/
H A Dundefined_test.php636 $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(GPBTyp
[all...]
H A DMapFieldTest.php6 use Google\Protobuf\Internal\MapField;
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(GPBTyp
[all...]
H A DGeneratedServiceTest.php7 use Google\Protobuf\Internal\MapField;
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMapFieldSchemaFull.java39 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< in getSerializedSizeFull()
[all...]
H A DMapField.java56 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
141 /** Returns an immutable empty 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()
147 /** Creates a new mutable empty MapField. */
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()
178 /** Returns the content of this MapField a
[all...]
H A DGeneratedMessageV3.java872 protected MapField internalGetMapField(int fieldNumber) { in internalGetMapField()
881 protected MapField internalGetMutableMapField(int fieldNumber) { in internalGetMutableMapField()
1884 protected MapField internalGetMapField(int fieldNumber) { in internalGetMapField()
2584 MapField defaultMapField = getMapField( in MapFieldAccessor()
2593 private MapField<?, ?> getMapField(GeneratedMessageV3 message) { in getMapField()
2594 return (MapField<?, ?>) message.internalGetMapField(field.getNumber()); in getMapField()
2597 private MapField<?, ?> getMapField(GeneratedMessageV3.Builder builder) { in getMapField()
2598 return (MapField<?, ?>) builder.internalGetMapField(field.getNumber()); in getMapField()
2601 private MapField<?, ?> getMutableMapField( in getMutableMapField()
2603 return (MapField< in getMutableMapField()
[all...]
H A DGeneratedMessage.java717 protected MapField internalGetMapField(int fieldNumber) { in internalGetMapField()
726 protected MapField internalGetMutableMapField(int fieldNumber) { in internalGetMutableMapField()
2012 protected MapField internalGetMapField(int fieldNumber) { in internalGetMapField()
2536 MapField defaultMapField = getMapField( in MapFieldAccessor()
2545 private MapField<?, ?> getMapField(GeneratedMessage message) { in getMapField()
2546 return (MapField<?, ?>) message.internalGetMapField(field.getNumber()); in getMapField()
2549 private MapField<?, ?> getMapField(GeneratedMessage.Builder builder) { in getMapField()
2550 return (MapField<?, ?>) builder.internalGetMapField(field.getNumber()); in getMapField()
2553 private MapField<?, ?> getMutableMapField( in getMutableMapField()
2555 return (MapField< in getMutableMapField()
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dmap_field_inl.h168 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<Derive
[all...]
H A Dmap_field.h429 class MapField : public TypeDefinedMapFieldBase<Key, T> { class
454 MapField() {} in MapField() function in google::protobuf::internal::MapField
455 explicit MapField(Arena* arena) in MapField() function in google::protobuf::internal::MapField
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;
786 // the iterator. It is allocated by MapField<...>::InitializeIterator() called
787 // in constructor and deleted by MapField<
526 AllAreInitialized( const MapField<Derived, Key, T, key_wire_type, value_wire_type, default_enum_value>& field) AllAreInitialized() argument
[all...]
H A Dmap_entry.h55 class MapField;
131 friend class internal::MapField;
H A Dmap_field_test.cc101 typedef MapField<EntryType, int32, int32, WireFormatLite::TYPE_INT32,
205 typedef MapField<EntryType, int32, int32, WireFormatLite::TYPE_INT32,
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DMapField.cs71 public sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, TValue>, IEquatable<MapField<TKey, TValue>>, IDictionary 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()
760 MapView( MapField<TKey, TValue> parent, Func<KeyValuePair<TKey, TValue>, T> projection, Func<T, bool> containsCheck) MapView() argument
/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser.h501 struct MapField { struct in google::protobuf::compiler::Parser
511 MapField() : is_map_field(false) {} in MapField() function
514 void GenerateMapEntry(const MapField& map_field, FieldDescriptorProto* field,
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DMapFieldIter.php34 * MapField and MapFieldIter are used by generated protocol message classes to
41 * MapFieldIter is used to iterate MapField. It is also need for the foreach
53 * Create iterator instance for MapField.
55 * @param MapField The MapField instance for which this iterator is
H A DGPBUtil.php39 use Google\Protobuf\Internal\MapField;
229 if (!$var instanceof MapField && !is_array($var)) {
233 $tmp = new MapField($key_type, $value_type, $klass);
H A DMapField.php34 * MapField and MapFieldIter are used by generated protocol message classes to
41 * MapField is used by generated protocol message classes to manipulate map
44 class MapField implements \ArrayAccess, \IteratorAggregate, \Countable class
68 * Constructs an instance of MapField.
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DStruct.cs120 private static readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec _map_fields_codec
121 = new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Value.Parser), 10);
122 private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>();
127 public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields {
/third_party/node/deps/v8/src/objects/
H A Dobjects-inl.h890 return ObjectSlot(MapField::address(*this)); in map_slot()
903 return MapField::Relaxed_Load_Map_Word(cage_base, *this); in map_word()
907 MapField::Relaxed_Store_Map_Word(*this, map_word); in set_map_word()
920 return MapField::Acquire_Load_No_Unpack(cage_base, *this); in map_word()
924 MapField::Release_Store_Map_Word(*this, map_word); in set_map_word()
930 MapField::Release_CompareAndSwap(*this, old_map_word, new_map_word); in release_compare_and_swap_map_word()

Completed in 39 milliseconds

12