Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DMapUnittestProto3.cs227 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec
228 … = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 10);
229 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
231 public pbc::MapField<int, int> MapInt32Int32 {
237 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec
238 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 18);
239 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
241 public pbc::MapField<long, long> MapInt64Int64 {
247 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec
248 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 2…
[all …]
DUnittestWellKnownTypes.cs2137 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec _map_…
2138 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec(pb::FieldCodec.ForInt32…
2139 …private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pb…
2141 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> AnyField {
2147 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec _map_…
2148 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec(pb::FieldCodec.ForInt32…
2149 …private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pb…
2151 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> ApiField {
2157 …private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec …
2158 …= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec(pb::FieldCodec.For…
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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
292 friend class internal::MapField;
Dmap_entry_lite.h315 template <typename MapField, typename Map>
318 explicit Parser(MapField* mf) : mf_(mf), map_(mf->MutableMap()) {}
407 MapField* const mf_;
Dmap_field_test.cc104 typedef MapField<int32, int32, WireFormatLite::TYPE_INT32,
211 typedef MapField<int32, int32, WireFormatLite::TYPE_INT32,
Ddynamic_message.cc94 using internal::MapField;
Dstruct.pb.h150 ::google::protobuf::internal::MapField<
Dmap.h74 class MapField; variable
411 friend class internal::MapField;
Dstruct.pb.cc298 Struct_FieldsEntry::Parser< ::google::protobuf::internal::MapField< in MergePartialFromCodedStream()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs1375 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec
1376 … = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 450);
1377 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
1382 public pbc::MapField<int, int> MapInt32Int32 {
1388 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec
1389 …= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 458…
1390 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
1392 public pbc::MapField<long, long> MapInt64Int64 {
1398 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec
1399 …= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 4…
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMapField.java57 public class MapField<K, V> implements MutabilityOracle { class
117 private MapField( in MapField() method in MapField
128 private MapField( in MapField() method in MapField
137 public static <K, V> MapField<K, V> emptyMapField( in emptyMapField()
139 return new MapField<K, V>( in emptyMapField()
145 public static <K, V> MapField<K, V> newMapField(MapEntry<K, V> defaultEntry) { in newMapField()
146 return new MapField<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 …]
DGeneratedMessageV3.java718 protected MapField internalGetMapField(int fieldNumber) {
727 protected MapField internalGetMutableMapField(int fieldNumber) {
1679 protected MapField internalGetMapField(int fieldNumber) {
2203 MapField defaultMapField = getMapField(
2212 private MapField<?, ?> getMapField(GeneratedMessageV3 message) {
2213 return (MapField<?, ?>) message.internalGetMapField(field.getNumber());
2216 private MapField<?, ?> getMapField(GeneratedMessageV3.Builder builder) {
2217 return (MapField<?, ?>) builder.internalGetMapField(field.getNumber());
2220 private MapField<?, ?> getMutableMapField(
2222 return (MapField<?, ?>) builder.internalGetMutableMapField(
DGeneratedMessage.java717 protected MapField internalGetMapField(int fieldNumber) {
726 protected MapField internalGetMutableMapField(int fieldNumber) {
2010 protected MapField internalGetMapField(int fieldNumber) {
2534 MapField defaultMapField = getMapField(
2543 private MapField<?, ?> getMapField(GeneratedMessage message) {
2544 return (MapField<?, ?>) message.internalGetMapField(field.getNumber());
2547 private MapField<?, ?> getMapField(GeneratedMessage.Builder builder) {
2548 return (MapField<?, ?>) builder.internalGetMapField(field.getNumber());
2551 private MapField<?, ?> getMutableMapField(
2553 return (MapField<?, ?>) builder.internalGetMutableMapField(
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs112 …private static readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec …
113 …= new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.For…
114 …private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new…
119 public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto164 message MapField {} message
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am119 csharp/src/Google.Protobuf/Collections/MapField.cs \
230 java/core/src/main/java/com/google/protobuf/MapField.java \