/external/protobuf/src/google/protobuf/ |
D | map_field.cc | 157 : TypeDefinedMapFieldBase<MapKey, MapValueRef>(arena), in DynamicMapField() 164 for (Map<MapKey, MapValueRef>::iterator iter = map_.begin(); in ~DynamicMapField() 174 Map<MapKey, MapValueRef>* map = &const_cast<DynamicMapField*>(this)->map_; in Clear() 175 for (Map<MapKey, MapValueRef>::iterator iter = map->begin(); in Clear() 189 bool DynamicMapField::ContainsMapKey(const MapKey& map_key) const { in ContainsMapKey() 190 const Map<MapKey, MapValueRef>& map = GetMap(); in ContainsMapKey() 191 Map<MapKey, MapValueRef>::const_iterator iter = map.find(map_key); in ContainsMapKey() 228 bool DynamicMapField::InsertOrLookupMapValue(const MapKey& map_key, in InsertOrLookupMapValue() 232 Map<MapKey, MapValueRef>* map = MutableMap(); in InsertOrLookupMapValue() 233 Map<MapKey, MapValueRef>::iterator iter = map->find(map_key); in InsertOrLookupMapValue() [all …]
|
D | map_field.h | 58 class MapKey; variable 90 virtual bool ContainsMapKey(const MapKey& map_key) const = 0; 91 virtual bool InsertOrLookupMapValue(const MapKey& map_key, 97 virtual bool DeleteMapValue(const MapKey& map_key) = 0; 250 bool ContainsMapKey(const MapKey& map_key) const override; 251 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val) override; 252 bool DeleteMapValue(const MapKey& map_key) override; 325 : public TypeDefinedMapFieldBase<MapKey, MapValueRef> { 332 bool ContainsMapKey(const MapKey& map_key) const override; 333 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val) override; [all …]
|
D | map_field_inl.h | 50 T UnwrapMapKey(const MapKey& map_key); 52 inline int32 UnwrapMapKey<int32>(const MapKey& map_key) { 56 inline uint32 UnwrapMapKey<uint32>(const MapKey& map_key) { 60 inline int64 UnwrapMapKey<int64>(const MapKey& map_key) { 64 inline uint64 UnwrapMapKey<uint64>(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>(MapKey* map_key, const int32& value) { 84 inline void SetMapKey<uint32>(MapKey* map_key, const uint32& value) { [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/deftyping/ |
D | TestDefaultForMaps.java | 17 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/dagger2/java/dagger/internal/codegen/ |
D | MapKeyProcessingStep.java | 25 import dagger.MapKey; 69 return ImmutableSet.<Class<? extends Annotation>>of(MapKey.class); in annotations() 79 MapKey mapkey = mapKeyAnnotationType.getAnnotation(MapKey.class); in process()
|
/external/llvm-project/llvm/lib/BinaryFormat/ |
D | MsgPackDocument.cpp | 115 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/ |
D | BooleanKey.java | 19 import dagger.MapKey; 21 @MapKey(unwrapValue = true)
|
D | CharKey.java | 19 import dagger.MapKey; 21 @MapKey(unwrapValue = true)
|
D | ByteKey.java | 19 import dagger.MapKey; 21 @MapKey(unwrapValue = true)
|
D | ShortKey.java | 19 import dagger.MapKey; 21 @MapKey(unwrapValue = true)
|
D | NestedAnnotationContainer.java | 19 import dagger.MapKey; 23 @MapKey(unwrapValue = false)
|
D | NumberClassKey.java | 19 import dagger.MapKey; 21 @MapKey(unwrapValue = true)
|
D | UnwrappedAnnotationKey.java | 19 import dagger.MapKey; 22 @MapKey(unwrapValue = true)
|
D | WrappedAnnotationKey.java | 19 import dagger.MapKey; 23 @MapKey(unwrapValue = false)
|
/external/dagger2/java/dagger/android/ |
D | AndroidInjectionKey.java | 21 import dagger.MapKey; 34 @MapKey
|
/external/dagger2/java/dagger/multibindings/ |
D | LongKey.java | 22 import dagger.MapKey; 31 @MapKey
|
D | IntKey.java | 22 import dagger.MapKey; 31 @MapKey
|
D | StringKey.java | 22 import dagger.MapKey; 31 @MapKey
|
D | ClassKey.java | 22 import dagger.MapKey; 36 @MapKey
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProvidesMethodScanner.java | 24 import com.google.inject.multibindings.MapKey; 121 MapKey mapKey = annotation.annotationType().getAnnotation(MapKey.class); in findMapKeyAnnotation() 152 if (!mapKeyAnnotation.annotationType().getAnnotation(MapKey.class).unwrapValue()) { in typeAndValueOfMapKey()
|
/external/guice/core/test/com/google/inject/multibindings/ |
D | ProvidesIntoTest.java | 203 @MapKey(unwrapValue = true) 209 @MapKey(unwrapValue = false) 253 @MapKey(unwrapValue = true) 282 @MapKey(unwrapValue = false) 403 @MapKey(unwrapValue = true) 431 @MapKey(unwrapValue = true)
|
/external/llvm-project/llvm/unittests/BinaryFormat/ |
D | MsgPackDocumentTest.cpp | 48 [](DocNode *DestNode, DocNode SrcNode, DocNode MapKey) { in TEST() argument 84 [](DocNode *DestNode, DocNode SrcNode, DocNode MapKey) { in TEST() argument 128 [](DocNode *DestNode, DocNode SrcNode, DocNode MapKey) { in TEST() argument 152 /*Multi=*/false, [](DocNode *Dest, DocNode Src, DocNode MapKey) { in TEST() argument 159 if (MapKey.isString() && MapKey.getString() == "foz" && in TEST()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | MapKeys.java | 37 import dagger.MapKey; 73 return getAnnotatedAnnotations(bindingElement, MapKey.class); in getMapKeys() 84 MapKey mapKeyAnnotation = mapKey.getAnnotationType().asElement().getAnnotation(MapKey.class); in unwrapValue()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | MapKeyValidator.java | 21 import dagger.MapKey; 47 } else if (element.getAnnotation(MapKey.class).unwrapValue()) { in validate()
|
/external/dagger2/javatests/dagger/functional/multibindings/ |
D | ComplexMapKeysInDifferentOrderTest.java | 24 import dagger.MapKey; 37 @MapKey(unwrapValue = false)
|