Home
last modified time | relevance | path

Searched refs:MapKey (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_field.h50 class MapKey; variable
89 virtual bool ContainsMapKey(const MapKey& map_key) const = 0;
91 const MapKey& map_key, MapValueRef* val) = 0;
92 virtual bool DeleteMapValue(const MapKey& map_key) = 0;
254 bool ContainsMapKey(const MapKey& map_key) const;
255 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val);
256 bool DeleteMapValue(const MapKey& map_key);
298 class LIBPROTOBUF_EXPORT DynamicMapField: public TypeDefinedMapFieldBase<MapKey, MapValueRef> {
305 bool ContainsMapKey(const MapKey& map_key) const;
306 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val);
[all …]
Dmap_field.cc156 : TypeDefinedMapFieldBase<MapKey, MapValueRef>(arena), in DynamicMapField()
163 for (Map<MapKey, MapValueRef>::iterator iter = map_.begin(); in ~DynamicMapField()
175 const MapKey& map_key) const { in ContainsMapKey()
176 const Map<MapKey, MapValueRef>& map = GetMap(); in ContainsMapKey()
177 Map<MapKey, MapValueRef>::const_iterator iter = map.find(map_key); in ContainsMapKey()
182 const MapKey& map_key, MapValueRef* val) { in InsertOrLookupMapValue()
185 Map<MapKey, MapValueRef>* map = MutableMap(); in InsertOrLookupMapValue()
186 Map<MapKey, MapValueRef>::iterator iter = map->find(map_key); in InsertOrLookupMapValue()
229 bool DynamicMapField::DeleteMapValue(const MapKey& map_key) { in DeleteMapValue()
231 Map<MapKey, MapValueRef>::iterator iter = map_.find(map_key); in DeleteMapValue()
[all …]
Dmap_field_inl.h48 T UnwrapMapKey(const MapKey& map_key);
50 inline int32 UnwrapMapKey<int32>(const MapKey& map_key) {
54 inline uint32 UnwrapMapKey<uint32>(const MapKey& map_key) {
58 inline int64 UnwrapMapKey<int64>(const MapKey& map_key) {
62 inline uint64 UnwrapMapKey<uint64>(const MapKey& map_key) {
66 inline bool UnwrapMapKey<bool>(const MapKey& map_key) {
70 inline string UnwrapMapKey<string>(const MapKey& map_key) {
76 inline void SetMapKey(MapKey* map_key, const T& value);
78 inline void SetMapKey<int32>(MapKey* map_key, const int32& value) {
82 inline void SetMapKey<uint32>(MapKey* map_key, const uint32& value) {
[all …]
Dmap.h97 class LIBPROTOBUF_EXPORT MapKey {
99 MapKey() : type_(0) { in MapKey() function
101 MapKey(const MapKey& other) : type_(0) { in MapKey() function
105 ~MapKey() { in ~MapKey()
177 bool operator<(const MapKey& other) const {
206 bool operator==(const MapKey& other) const {
235 void CopyFrom(const MapKey& other) { in CopyFrom()
1708 struct hash<google::protobuf::MapKey> {
1710 operator()(const google::protobuf::MapKey& map_key) const {
1735 operator()(const google::protobuf::MapKey& map_key1,
[all …]
Dmap_field_test.cc78 bool ContainsMapKey(const MapKey& map_key) const { in ContainsMapKey()
81 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val) { in InsertOrLookupMapValue()
84 bool DeleteMapValue(const MapKey& map_key) { in DeleteMapValue()
Dmessage.h137 class MapKey; variable
952 const MapKey& /* key */) const { in ContainsMapKey() argument
961 const MapKey& /* key */, in InsertOrLookupMapValue() argument
970 const MapKey& /* key */) const { in DeleteMapValue() argument
Dgenerated_message_reflection.h62 class MapKey; variable
269 const MapKey& key) const;
272 const MapKey& key,
276 const MapKey& key) const;
Dgenerated_message_reflection.cc1783 const MapKey& key) const { in ContainsMapKey()
1793 const MapKey& key, in InsertOrLookupMapValue()
1806 const MapKey& key) const { in DeleteMapValue()
Dmap_test_util.cc566 MapKey map_key; in SetMapFieldsViaMapReflection()
777 MapKey map_key; in ModifyMapFieldsViaReflection()
971 MapKey map_key; in ExpectMapFieldsSetViaReflection()
Dmap_test.cc222 MapKey key; in TEST_P()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmap_container.cc133 MapKey* key) { in PythonToMapKey()
178 const MapKey& key) { in MapKeyToPython()
336 MapKey map_key; in Contains()
442 MapKey map_key; in ScalarMapGetItem()
463 MapKey map_key; in ScalarMapSetItem()
702 MapKey map_key; in MessageMapSetItem()
727 MapKey map_key; in MessageMapGetItem()