/external/dagger2/java/dagger/internal/codegen/binding/ |
D | MapKeys.java | 83 static Optional<? extends AnnotationValue> unwrapValue(AnnotationMirror mapKey) { in unwrapValue() argument 84 MapKey mapKeyAnnotation = mapKey.getAnnotationType().asElement().getAnnotation(MapKey.class); in unwrapValue() 86 mapKeyAnnotation != null, "%s is not annotated with @MapKey", mapKey.getAnnotationType()); in unwrapValue() 88 ? Optional.of(getOnlyElement(getAnnotationValuesWithDefaults(mapKey).values())) in unwrapValue() 169 AnnotationMirror mapKey, DaggerElements elements) { in directMapKeyExpression() argument 170 Optional<? extends AnnotationValue> unwrappedValue = unwrapValue(mapKey); in directMapKeyExpression() 171 AnnotationExpression annotationExpression = new AnnotationExpression(mapKey); in directMapKeyExpression() 173 if (MoreTypes.asTypeElement(mapKey.getAnnotationType()) in directMapKeyExpression() 186 getOnlyElement(getAnnotationValuesWithDefaults(mapKey).keySet()).getReturnType(); in directMapKeyExpression() 211 .filter(mapKey -> !isMapKeyPubliclyAccessible(mapKey)) in mapKeyFactoryMethod() [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProvidesMethodScanner.java | 60 AnnotationOrError mapKey = findMapKeyAnnotation(binder, method); in prepareMethod() local 62 if (mapKey.annotation != null) { in prepareMethod() 69 if (mapKey.annotation != null) { in prepareMethod() 74 if (mapKey.error) { in prepareMethod() 78 if (mapKey.annotation == null) { in prepareMethod() 83 TypeAndValue typeAndValue = typeAndValueOfMapKey(mapKey.annotation); in prepareMethod() 87 if (mapKey.annotation != null) { in prepareMethod() 121 MapKey mapKey = annotation.annotationType().getAnnotation(MapKey.class); in findMapKeyAnnotation() local 122 if (mapKey != null) { in findMapKeyAnnotation() 127 if (mapKey.unwrapValue()) { in findMapKeyAnnotation()
|
D | RealMapBinder.java | 236 Key<Map<K, V>> mapKey, in newRealMapBinder() argument 239 new RealMapBinder<K, V>(binder, keyType, valueType, mapKey, entrySetBinder); in newRealMapBinder() 258 Key<Map<K, V>> mapKey, in RealMapBinder() argument 260 this.bindingSelection = new BindingSelection<>(keyType, valueType, mapKey, entrySetBinder); in RealMapBinder() 357 private final Key<Map<K, V>> mapKey; field in RealMapBinder.BindingSelection 392 Key<Map<K, V>> mapKey, in BindingSelection() argument 396 this.mapKey = mapKey; in BindingSelection() 575 local = providerMapKey = mapKey.ofType(mapOfProviderOf(keyType, valueType)); in getProviderMapKey() 583 local = javaxProviderMapKey = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType)); in getJavaxProviderMapKey() 591 local = multimapKey = mapKey.ofType(mapOf(keyType, setOf(valueType))); in getMultimapKey() [all …]
|
/external/guice/core/test/com/google/inject/internal/ |
D | SpiUtils.java | 121 Key<T> mapKey, in assertMapVisitor() argument 135 mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, results); in assertMapVisitor() 140 mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, results); in assertMapVisitor() 146 Key<T> mapKey, in mapInjectorTest() argument 155 Binding<T> mapBinding = injector.getBinding(mapKey); in mapInjectorTest() 192 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest() 193 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType)); in mapInjectorTest() 194 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType)); in mapInjectorTest() 195 Key<?> mapOfSetOfJavaxProvider = mapKey.ofType(mapOfSetOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest() 197 mapKey.ofType(mapOfCollectionOfProviderOf(keyType, valueType)); in mapInjectorTest() [all …]
|
D | MapBinderTest.java | 1338 Key<Map<String, String>> mapKey = Key.get(new TypeLiteral<Map<String, String>>() {}); in testWeakKeySet_integration_mapbinder() local 1348 WeakKeySetUtils.assertNotBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder() 1361 WeakKeySetUtils.assertBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder() 1367 WeakKeySetUtils.assertNotBlacklisted(parentInjector, mapKey); in testWeakKeySet_integration_mapbinder()
|
/external/dagger2/java/dagger/android/processor/ |
D | DuplicateAndroidInjectorsChecker.java | 85 AnnotationMirror mapKey = mapKey(injectorFactory).get(); in validateMapKeyUniqueness() local 86 Optional<String> injectedType = injectedTypeFromMapKey(mapKey); in validateMapKeyUniqueness() 91 ERROR, injectorFactory, "Unrecognized class: %s", mapKey); in validateMapKeyUniqueness() 130 private Optional<AnnotationMirror> mapKey(Binding binding) { in mapKey() method
|
D | AndroidMapKeys.java | 34 static Optional<String> injectedTypeFromMapKey(AnnotationMirror mapKey) { in injectedTypeFromMapKey() argument 35 Object mapKeyClass = getAnnotationValue(mapKey, "value").getValue(); in injectedTypeFromMapKey()
|
/external/dagger2/javatests/dagger/functional/multibindings/ |
D | ComplexMapKeysInDifferentOrderTest.java | 69 assertThat(map.get(mapKey(1, 2))).isEqualTo(3); in test() 70 assertThat(map.get(mapKey(5, 4))).isEqualTo(6); in test() 74 static ComplexMapKey mapKey(int i, int j) { in mapKey() method in ComplexMapKeysInDifferentOrderTest
|
D | MapKeyWithDefaultTest.java | 69 assertThat(map.get(mapKey(true, false))).isEqualTo(1); in test() 70 assertThat(map.get(mapKey(false, false))).isEqualTo(2); in test() 74 static MapKeyWithDefault mapKey(boolean hasDefault, boolean required) { in mapKey() method in MapKeyWithDefaultTest
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | NGramList.java | 26 Object mapKey(String key); in mapKey() method 105 Object mappedKey = keyMapper.mapKey(key); in get() 112 Object mappedKey = keyMapper.mapKey(key); in put()
|
D | InputFile.java | 132 public Object mapKey(String key) in mapKey() method in InputFile
|
D | StatisticsTool.java | 139 public Object mapKey(String key) in mapKey() method in StatisticsTool
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
D | PrecompiledTemplateLoader.java | 66 PrecompiledTemplateMapKey mapKey = (PrecompiledTemplateMapKey) entry.getKey(); in makeTemplateMap() local 69 compiledTemplate.setEscapeMode(mapKey.getEscapeMode()); in makeTemplateMap() 106 PrecompiledTemplateMapKey mapKey = new PrecompiledTemplateMapKey(key, escapeMode); in load() local 107 Template template = templateMap.get(mapKey); in load()
|
/external/dagger2/java/dagger/android/internal/ |
D | AndroidInjectionKeys.java | 33 public static String of(String mapKey) { in of() argument 34 return mapKey; in of()
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
D | ConstantCollection.java | 155 final String mapKey = ((CONSTANT_Utf8_info) result).m_value; in set() local 158 if (m_CONSTANT_Utf8_index.get (mapKey, out) && (out [0] == zindex)) in set() 159 m_CONSTANT_Utf8_index.remove (mapKey); in set()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TrieMapTest.java | 238 String mapKey = mapEntry.getKey(); in checkContents() local 240 if (!mapKey.contentEquals(trieKey)) { in checkContents() 241 assertEquals(style + "\tKeys match", mapKey, trieKey.toString()); in checkContents()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieMapTest.java | 235 String mapKey = mapEntry.getKey(); in checkContents() local 237 if (!mapKey.contentEquals(trieKey)) { in checkContents() 238 assertEquals(style + "\tKeys match", mapKey, trieKey.toString()); in checkContents()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/ |
D | BindValueGenerator.java | 151 builder.addAnnotation(AnnotationSpec.get(bindValue.mapKey().get())); in providesMethod()
|
D | BindValueMetadata.java | 85 abstract Optional<AnnotationMirror> mapKey(); in mapKey() method in BindValueMetadata.BindValueElement
|
/external/protobuf/php/tests/ |
D | generated_class_test.php | 1405 foreach ($value as $mapKey => &$element) { 1413 foreach ($value as $mapKey => &$element) { 1421 foreach ($value as $mapKey => &$element) { 1429 foreach ($value as $mapKey => &$element) { 1441 foreach ($value as $mapKey => &$element) {
|
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverV2ExporterHandler.java | 287 attributesBuilder.putAttributeMap(mapKey(label.getKey()), value); in toAttributesBuilderProto() 401 private static String mapKey(String key) { in mapKey() method in StackdriverV2ExporterHandler
|
/external/icu/icu4c/source/tools/genrb/ |
D | reslist.h | 92 int32_t mapKey(int32_t oldpos) const;
|
D | reslist.cpp | 492 SRBRoot::mapKey(int32_t oldpos) const { in mapKey() function in SRBRoot 607 fKey = bundle->mapKey(fKey); in write16()
|
/external/chromium-trace/catapult/systrace/systrace/test_data/ |
D | profile-chrome_systrace_perf_chrome_data | 1 …, "1494": {"category": "libinputflinger.so", "name": "android::EventHub::mapKey(int, int, int, int…
|