Home
last modified time | relevance | path

Searched refs:MapField (Results 1 – 24 of 24) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DMapUnittestProto3.cs223 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec
224 … = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 10);
225 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
226 public pbc::MapField<int, int> MapInt32Int32 {
232 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec
233 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 18);
234 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
235 public pbc::MapField<long, long> MapInt64Int64 {
241 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec
242 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 2…
[all …]
DUnittestWellKnownTypes.cs2037 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec _map_…
2038 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec(pb::FieldCodec.ForInt32…
2039 …private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pb…
2040 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> AnyField {
2046 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec _map_…
2047 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec(pb::FieldCodec.ForInt32…
2048 …private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pb…
2049 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> ApiField {
2055 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec …
2056 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec(pb::FieldCodec.For…
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs52 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 …]
/external/protobuf/src/google/protobuf/
Dmap_field_inl.h169 MapField<Key, T, kKeyFieldType, kValueFieldType, default_enum_value>::MapField() in MapField() function
176 MapField<Key, T, kKeyFieldType, kValueFieldType, default_enum_value>::MapField( in MapField() function
187 MapField<Key, T, kKeyFieldType, kValueFieldType, default_enum_value>::MapField( in MapField() function
195 MapField<Key, T, kKeyFieldType, kValueFieldType, default_enum_value>::MapField( in MapField() function
206 MapField<Key, T, kKeyFieldType, kValueFieldType,
207 default_enum_value>::~MapField() {} in ~MapField()
214 MapField<Key, T, kKeyFieldType, kValueFieldType,
225 MapField<Key, T, kKeyFieldType, kValueFieldType,
236 void MapField<Key, T, kKeyFieldType, kValueFieldType,
251 bool MapField<Key, T, kKeyFieldType, kValueFieldType,
[all …]
Dmap_field.h218 class MapField : public TypeDefinedMapFieldBase<Key, T>,
244 MapField();
245 explicit MapField(Arena* arena);
248 MapField(const Message* default_entry);
250 MapField(Arena* arena, const Message* default_entry);
251 ~MapField();
380 friend class internal::MapField;
Dmap_entry.h50 class MapField; variable
290 friend class internal::MapField;
Dmap_field_test.cc104 typedef MapField<int32, int32, WireFormatLite::TYPE_INT32,
211 typedef MapField<int32, int32, WireFormatLite::TYPE_INT32,
Ddynamic_message.cc95 using internal::MapField;
Dstruct.pb.h146 ::google::protobuf::internal::MapField<
Dmap.h74 class MapField; variable
411 friend class internal::MapField;
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapField.java56 public class MapField<K, V> implements MutabilityOracle { class
116 private MapField( in MapField() method in MapField
127 private MapField( in MapField() method in MapField
136 public static <K, V> MapField<K, V> emptyMapField( in emptyMapField()
138 return new MapField<K, V>( in emptyMapField()
144 public static <K, V> MapField<K, V> newMapField(MapEntry<K, V> defaultEntry) { in newMapField()
145 return new MapField<K, V>( in newMapField()
202 public void mergeFrom(MapField<K, V> other) { in mergeFrom()
214 if (!(object instanceof MapField)) { in equals()
217 MapField<K, V> other = (MapField<K, V>) object; in equals()
[all …]
DGeneratedMessage.java716 protected MapField internalGetMapField(int fieldNumber) { in internalGetMapField()
725 protected MapField internalGetMutableMapField(int fieldNumber) { in internalGetMutableMapField()
1846 protected MapField internalGetMapField(int fieldNumber) {
2370 MapField defaultMapField = getMapField(
2379 private MapField<?, ?> getMapField(GeneratedMessage message) {
2380 return (MapField<?, ?>) message.internalGetMapField(field.getNumber());
2383 private MapField<?, ?> getMapField(GeneratedMessage.Builder builder) {
2384 return (MapField<?, ?>) builder.internalGetMapField(field.getNumber());
2387 private MapField<?, ?> getMutableMapField(
2389 return (MapField<?, ?>) builder.internalGetMutableMapField(
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs1289 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec
1290 … = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 450);
1291 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
1295 public pbc::MapField<int, int> MapInt32Int32 {
1301 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec
1302 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 458…
1303 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
1304 public pbc::MapField<long, long> MapInt64Int64 {
1310 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec
1311 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 4…
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs69 …public sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<T… class
82 public MapField<TKey, TValue> Clone() in Clone()
84 var clone = new MapField<TKey, TValue>(); in Clone()
352 return Equals(other as MapField<TKey, TValue>); in Equals()
380 public bool Equals(MapField<TKey, TValue> other) in Equals()
675 private readonly MapField<TKey, TValue> parent;
680 MapField<TKey, TValue> parent, in MapView()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs108 …private static readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec …
109 …= new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.For…
110 …private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new…
114 public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields {
/external/protobuf/src/google/protobuf/compiler/
Dparser.h479 struct MapField { struct
489 MapField() : is_map_field(false) {} in MapField() argument
492 void GenerateMapEntry(const MapField& map_field, FieldDescriptorProto* field,
Dparser.cc817 MapField map_field; in ParseMessageFieldNoLabel()
971 void Parser::GenerateMapEntry(const MapField& map_field, in GenerateMapEntry()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto164 message MapField {} message
/external/golang-protobuf/jsonpb/jsonpb_test_proto/
Dtest_objects.pb.go1005MapField map[string]*MsgWithRequired `protobuf:"bytes,2,rep,name=map_field,json=mapFie… member
1046 return m.MapField
/external/grpc-grpc-java/alts/src/generated/main/java/io/grpc/alts/internal/
DHandshaker.java6188 handshakeParameters_ = com.google.protobuf.MapField.newMapField( in StartServerHandshakeReq()
6264 protected com.google.protobuf.MapField internalGetMapField( in internalGetMapField()
6343 private com.google.protobuf.MapField<
6345 …private com.google.protobuf.MapField<java.lang.Integer, io.grpc.alts.internal.Handshaker.ServerHan…
6348 return com.google.protobuf.MapField.emptyMapField( in internalGetHandshakeParameters()
6809 protected com.google.protobuf.MapField internalGetMapField( in internalGetMapField()
6820 protected com.google.protobuf.MapField internalGetMutableMapField( in internalGetMutableMapField()
7157 private com.google.protobuf.MapField<
7159 …private com.google.protobuf.MapField<java.lang.Integer, io.grpc.alts.internal.Handshaker.ServerHan…
7162 return com.google.protobuf.MapField.emptyMapField( in internalGetHandshakeParameters()
[all …]
/external/protobuf/
DMakefile.am120 csharp/src/Google.Protobuf/Collections/MapField.cs \
227 java/core/src/main/java/com/google/protobuf/MapField.java \
/external/golang-protobuf/jsonpb/
Djsonpb_test.go665 MapField: map[string]*pb.MsgWithRequired{
/external/golang-protobuf/proto/test_proto/
Dtest.pb.go2069MapField map[int32]int32 `protobuf:"bytes,2,rep,name=map_field,json=mapField" json:"ma… member
2109 return m.MapField
/external/golang-protobuf/proto/
Dall_test.go1627 …if err := SetExtension(m, E_Ext_More, &Ext{MapField: map[int32]int32{1: 1, 2: 2, 3: 3, 4: 4}}); er…