Home
last modified time | relevance | path

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

12

/external/protobuf/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()
1687 struct hash<google::protobuf::MapKey> {
1689 operator()(const google::protobuf::MapKey& map_key) const {
1714 operator()(const google::protobuf::MapKey& map_key1,
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMapKeyProcessingStep.java23 import dagger.MapKey;
63 return ImmutableSet.<Class<? extends Annotation>>of(MapKey.class); in annotations()
69 for (Element element : elementsByAnnotation.get(MapKey.class)) { in process()
74 MapKey mapkey = element.getAnnotation(MapKey.class); in process()
DMapKeyValidator.java18 import dagger.MapKey;
43 } else if (element.getAnnotation(MapKey.class).unwrapValue()) { in validate()
DMapKeys.java23 import dagger.MapKey;
76 return getAnnotatedAnnotations(bindingElement, MapKey.class); in getMapKeys()
87 MapKey mapKeyAnnotation = mapKey.getAnnotationType().asElement().getAnnotation(MapKey.class); in unwrapValue()
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
DByteKey.java18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
DBooleanKey.java18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
DShortKey.java18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
DCharKey.java18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
DNumberClassKey.java18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
DNestedAnnotationContainer.java18 import dagger.MapKey;
22 @MapKey(unwrapValue = false)
DUnwrappedAnnotationKey.java18 import dagger.MapKey;
21 @MapKey(unwrapValue = true)
DWrappedAnnotationKey.java18 import dagger.MapKey;
22 @MapKey(unwrapValue = false)
/external/guice/core/test/com/google/inject/multibindings/
DProvidesIntoTest.java203 @MapKey(unwrapValue = true)
209 @MapKey(unwrapValue = false)
253 @MapKey(unwrapValue = true)
282 @MapKey(unwrapValue = false)
403 @MapKey(unwrapValue = true)
431 @MapKey(unwrapValue = true)
/external/guice/core/src/com/google/inject/internal/
DProvidesMethodScanner.java24 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/dagger2/core/src/main/java/dagger/mapkeys/
DIntKey.java18 import dagger.MapKey;
27 @MapKey
DLongKey.java18 import dagger.MapKey;
27 @MapKey
DClassKey.java18 import dagger.MapKey;
32 @MapKey
DStringKey.java18 import dagger.MapKey;
27 @MapKey
/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc134 MapKey* key) { in PythonToMapKey()
179 const MapKey& key) { in MapKeyToPython()
337 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()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DWorkerModule.java26 import dagger.MapKey;
78 @MapKey(unwrapValue = true)
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantsContext.h575 typedef std::pair<TypeClass*, ValType> MapKey;
576 typedef std::map<MapKey, ConstantClass *> MapTy;
607 typename MapTy::iterator InsertOrGetItem(std::pair<MapKey, ConstantClass *>
626 Map.find(MapKey(static_cast<TypeClass*>(CP->getType()),
643 I = Map.insert(I, std::make_pair(MapKey(Ty, V), Result));
655 MapKey Lookup(Ty, V);
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DExperimentingRunnerModule.java39 import dagger.MapKey;
100 @MapKey(unwrapValue = true)
155 @MapKey(unwrapValue = true)

12