Home
last modified time | relevance | path

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

1234567

/external/cronet/stable/third_party/protobuf/src/google/protobuf/
Dmap_field.cc222 : TypeDefinedMapFieldBase<MapKey, MapValueRef>(arena), in DynamicMapField()
241 Map<MapKey, MapValueRef>* map = &const_cast<DynamicMapField*>(this)->map_; in Clear()
243 for (Map<MapKey, MapValueRef>::iterator iter = map->begin(); in Clear()
259 bool DynamicMapField::ContainsMapKey(const MapKey& map_key) const { in ContainsMapKey()
260 const Map<MapKey, MapValueRef>& map = GetMap(); in ContainsMapKey()
261 Map<MapKey, MapValueRef>::const_iterator iter = map.find(map_key); in ContainsMapKey()
297 bool DynamicMapField::InsertOrLookupMapValue(const MapKey& map_key, in InsertOrLookupMapValue()
301 Map<MapKey, MapValueRef>* map = MutableMap(); in InsertOrLookupMapValue()
302 Map<MapKey, MapValueRef>::iterator iter = map->find(map_key); in InsertOrLookupMapValue()
315 bool DynamicMapField::LookupMapValue(const MapKey& map_key, in LookupMapValue()
[all …]
Dmap_field.h81 class PROTOBUF_EXPORT MapKey {
83 MapKey() : type_() {} in MapKey() function
84 MapKey(const MapKey& other) : type_() { CopyFrom(other); } in MapKey() function
86 MapKey& operator=(const MapKey& other) {
91 ~MapKey() { in ~MapKey()
156 bool operator<(const MapKey& other) const {
185 bool operator==(const MapKey& other) const {
214 void CopyFrom(const MapKey& other) { in CopyFrom()
280 struct hash<::PROTOBUF_NAMESPACE_ID::MapKey> {
281 size_t operator()(const ::PROTOBUF_NAMESPACE_ID::MapKey& map_key) const {
[all …]
Dmap_field_inl.h50 T UnwrapMapKey(const MapKey& map_key);
52 inline int32_t UnwrapMapKey<int32_t>(const MapKey& map_key) {
56 inline uint32_t UnwrapMapKey<uint32_t>(const MapKey& map_key) {
60 inline int64_t UnwrapMapKey<int64_t>(const MapKey& map_key) {
64 inline uint64_t UnwrapMapKey<uint64_t>(const MapKey& map_key) {
68 inline bool UnwrapMapKey<bool>(const MapKey& map_key) {
72 inline std::string UnwrapMapKey<std::string>(const MapKey& map_key) {
78 inline void SetMapKey(MapKey* map_key, const T& value);
80 inline void SetMapKey<int32_t>(MapKey* map_key, const int32_t& value) {
84 inline void SetMapKey<uint32_t>(MapKey* map_key, const uint32_t& value) {
[all …]
/external/cronet/tot/third_party/protobuf/src/google/protobuf/
Dmap_field.cc222 : TypeDefinedMapFieldBase<MapKey, MapValueRef>(arena), in DynamicMapField()
241 Map<MapKey, MapValueRef>* map = &const_cast<DynamicMapField*>(this)->map_; in Clear()
243 for (Map<MapKey, MapValueRef>::iterator iter = map->begin(); in Clear()
259 bool DynamicMapField::ContainsMapKey(const MapKey& map_key) const { in ContainsMapKey()
260 const Map<MapKey, MapValueRef>& map = GetMap(); in ContainsMapKey()
261 Map<MapKey, MapValueRef>::const_iterator iter = map.find(map_key); in ContainsMapKey()
297 bool DynamicMapField::InsertOrLookupMapValue(const MapKey& map_key, in InsertOrLookupMapValue()
301 Map<MapKey, MapValueRef>* map = MutableMap(); in InsertOrLookupMapValue()
302 Map<MapKey, MapValueRef>::iterator iter = map->find(map_key); in InsertOrLookupMapValue()
315 bool DynamicMapField::LookupMapValue(const MapKey& map_key, in LookupMapValue()
[all …]
Dmap_field.h81 class PROTOBUF_EXPORT MapKey {
83 MapKey() : type_() {} in MapKey() function
84 MapKey(const MapKey& other) : type_() { CopyFrom(other); } in MapKey() function
86 MapKey& operator=(const MapKey& other) {
91 ~MapKey() { in ~MapKey()
156 bool operator<(const MapKey& other) const {
185 bool operator==(const MapKey& other) const {
214 void CopyFrom(const MapKey& other) { in CopyFrom()
280 struct hash<::PROTOBUF_NAMESPACE_ID::MapKey> {
281 size_t operator()(const ::PROTOBUF_NAMESPACE_ID::MapKey& map_key) const {
[all …]
Dmap_field_inl.h50 T UnwrapMapKey(const MapKey& map_key);
52 inline int32_t UnwrapMapKey<int32_t>(const MapKey& map_key) {
56 inline uint32_t UnwrapMapKey<uint32_t>(const MapKey& map_key) {
60 inline int64_t UnwrapMapKey<int64_t>(const MapKey& map_key) {
64 inline uint64_t UnwrapMapKey<uint64_t>(const MapKey& map_key) {
68 inline bool UnwrapMapKey<bool>(const MapKey& map_key) {
72 inline std::string UnwrapMapKey<std::string>(const MapKey& map_key) {
78 inline void SetMapKey(MapKey* map_key, const T& value);
80 inline void SetMapKey<int32_t>(MapKey* map_key, const int32_t& value) {
84 inline void SetMapKey<uint32_t>(MapKey* map_key, const uint32_t& value) {
[all …]
/external/protobuf/src/google/protobuf/
Dmap_field.cc222 : TypeDefinedMapFieldBase<MapKey, MapValueRef>(arena), in DynamicMapField()
241 Map<MapKey, MapValueRef>* map = &const_cast<DynamicMapField*>(this)->map_; in Clear()
243 for (Map<MapKey, MapValueRef>::iterator iter = map->begin(); in Clear()
259 bool DynamicMapField::ContainsMapKey(const MapKey& map_key) const { in ContainsMapKey()
260 const Map<MapKey, MapValueRef>& map = GetMap(); in ContainsMapKey()
261 Map<MapKey, MapValueRef>::const_iterator iter = map.find(map_key); in ContainsMapKey()
297 bool DynamicMapField::InsertOrLookupMapValue(const MapKey& map_key, in InsertOrLookupMapValue()
301 Map<MapKey, MapValueRef>* map = MutableMap(); in InsertOrLookupMapValue()
302 Map<MapKey, MapValueRef>::iterator iter = map->find(map_key); in InsertOrLookupMapValue()
315 bool DynamicMapField::LookupMapValue(const MapKey& map_key, in LookupMapValue()
[all …]
Dmap_field.h81 class PROTOBUF_EXPORT MapKey {
83 MapKey() : type_() {} in MapKey() function
84 MapKey(const MapKey& other) : type_() { CopyFrom(other); } in MapKey() function
86 MapKey& operator=(const MapKey& other) {
91 ~MapKey() { in ~MapKey()
156 bool operator<(const MapKey& other) const {
185 bool operator==(const MapKey& other) const {
214 void CopyFrom(const MapKey& other) { in CopyFrom()
280 struct hash<::PROTOBUF_NAMESPACE_ID::MapKey> {
281 size_t operator()(const ::PROTOBUF_NAMESPACE_ID::MapKey& map_key) const {
[all …]
Dmap_field_inl.h50 T UnwrapMapKey(const MapKey& map_key);
52 inline int32_t UnwrapMapKey<int32_t>(const MapKey& map_key) {
56 inline uint32_t UnwrapMapKey<uint32_t>(const MapKey& map_key) {
60 inline int64_t UnwrapMapKey<int64_t>(const MapKey& map_key) {
64 inline uint64_t UnwrapMapKey<uint64_t>(const MapKey& map_key) {
68 inline bool UnwrapMapKey<bool>(const MapKey& map_key) {
72 inline std::string UnwrapMapKey<std::string>(const MapKey& map_key) {
78 inline void SetMapKey(MapKey* map_key, const T& value);
80 inline void SetMapKey<int32_t>(MapKey* map_key, const int32_t& value) {
84 inline void SetMapKey<uint32_t>(MapKey* map_key, const uint32_t& value) {
[all …]
/external/golang-protobuf/reflect/protoreflect/
Dvalue.go241 Range(f func(MapKey, Value) bool) argument
244 Has(MapKey) bool argument
250 Clear(MapKey) argument
254 Get(MapKey) Value argument
262 Set(MapKey, Value) argument
268 Mutable(MapKey) Value argument
Dvalue_union.go371 func (v Value) MapKey() MapKey { func
374 return MapKey(v)
402 type MapKey value type
405 func (k MapKey) IsValid() bool {
410 func (k MapKey) Interface() interface{} {
415 func (k MapKey) Bool() bool {
420 func (k MapKey) Int() int64 {
425 func (k MapKey) Uint() uint64 {
431 func (k MapKey) String() string {
436 func (k MapKey) Value() Value {
/external/golang-protobuf/internal/impl/
Dconvert_map.go25 keyConv: newSingularConverter(t.Key(), fd.MapKey()),
70 func (ms *mapReflect) Has(k protoreflect.MapKey) bool {
75 func (ms *mapReflect) Get(k protoreflect.MapKey) protoreflect.Value {
83 func (ms *mapReflect) Set(k protoreflect.MapKey, v protoreflect.Value) {
88 func (ms *mapReflect) Clear(k protoreflect.MapKey) {
92 func (ms *mapReflect) Mutable(k protoreflect.MapKey) protoreflect.Value {
103 func (ms *mapReflect) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) {
106 k := ms.keyConv.PBValueOf(iter.Key()).MapKey()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/deftyping/
DTestDefaultForMaps.java17 static class MapKey { class in TestDefaultForMaps
20 public MapKey(String k) { key = k; } in MapKey() method in TestDefaultForMaps.MapKey
29 return new MapKey(key); in deserializeKey()
35 @JsonDeserialize(keyAs=MapKey.class, keyUsing=MapKeyDeserializer.class)
36 public Map<MapKey,List<Object>> map;
84 holder.map = new HashMap<MapKey,List<Object>>(); in testJackson428()
87 holder.map.put(new MapKey("key"), ints); in testJackson428()
105 assertEquals(MapKey.class, key.getClass()); in testJackson428()
/external/golang-protobuf/testing/protocmp/
Dreflect.go215 func (ms reflectMap) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) {
221 pk := reflectValueOf(k.Interface()).MapKey()
228 func (ms reflectMap) Has(k protoreflect.MapKey) bool {
234 func (ms reflectMap) Clear(protoreflect.MapKey) {
237 func (ms reflectMap) Get(k protoreflect.MapKey) protoreflect.Value {
247 func (ms reflectMap) Set(protoreflect.MapKey, protoreflect.Value) {
250 func (ms reflectMap) Mutable(k protoreflect.MapKey) protoreflect.Value {
/external/swiftshader/third_party/llvm-16.0/llvm/lib/BinaryFormat/
DMsgPackDocument.cpp115 DocNode MapKey; member
129 function_ref<int(DocNode *DestNode, DocNode SrcNode, DocNode MapKey)> in readFromBlob()
192 Stack.back().MapKey = Node; in readFromBlob()
206 DocNode MapKey = !Stack.empty() && !Stack.back().MapKey.isEmpty() in readFromBlob() local
207 ? Stack.back().MapKey in readFromBlob()
209 MergeResult = Merger(DestNode, Node, MapKey); in readFromBlob()
/external/dagger2/javatests/dagger/functional/multibindings/
DComplexMapKeysInDifferentOrderTest.java24 import dagger.MapKey;
37 @MapKey(unwrapValue = false)
46 @MapKey(unwrapValue = false)
DBooleanKey.java19 import dagger.MapKey;
21 @MapKey(unwrapValue = true)
DShortKey.java19 import dagger.MapKey;
21 @MapKey(unwrapValue = true)
DByteKey.java19 import dagger.MapKey;
21 @MapKey(unwrapValue = true)
DCharKey.java19 import dagger.MapKey;
21 @MapKey(unwrapValue = true)
DNumberClassKey.java19 import dagger.MapKey;
21 @MapKey(unwrapValue = true)
DNestedAnnotationContainer.java19 import dagger.MapKey;
23 @MapKey(unwrapValue = false)
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/dataflow/
DAccessPath.java74 public final class AccessPath implements MapKey {
111 @Nullable private final MapKey mapGetArg;
120 @Nullable MapKey mapGetArg) { in AccessPath()
272 private static MapKey argumentToMapKeySpecifier( in argumentToMapKeySpecifier()
308 MapKey mapKey = argumentToMapKeySpecifier(argument, state, apContext); in fromMapGetCall()
377 @Nullable MapKey mapKey) { in buildAccessPathRecursive()
512 public static AccessPath replaceMapKey(AccessPath accessPath, MapKey mapKey) { in replaceMapKey()
553 public MapKey getMapGetArg() { in getMapGetArg()
586 private static final class StringMapKey implements MapKey {
608 private static final class NumericMapKey implements MapKey {
[all …]
/external/dagger2/javatests/dagger/functional/kotlinsrc/multibindings/
DByteKey.kt19 import dagger.MapKey
21 @MapKey(unwrapValue = true) internal annotation class ByteKey(val value: Byte)
DBooleanKey.kt19 import dagger.MapKey
21 @MapKey(unwrapValue = true) internal annotation class BooleanKey(val value: Boolean)

1234567