Home
last modified time | relevance | path

Searched refs:targetKey (Results 1 – 25 of 39) sorted by relevance

12

/external/guice/core/src/com/google/inject/internal/
DLinkedBindingImpl.java32 final Key<? extends T> targetKey; field in LinkedBindingImpl
36 Key<? extends T> targetKey) { in LinkedBindingImpl() argument
38 this.targetKey = targetKey; in LinkedBindingImpl()
41 public LinkedBindingImpl(Object source, Key<T> key, Scoping scoping, Key<? extends T> targetKey) { in LinkedBindingImpl() argument
43 this.targetKey = targetKey; in LinkedBindingImpl()
51 return targetKey; in getLinkedKey()
55 return ImmutableSet.<Dependency<?>>of(Dependency.get(targetKey)); in getDependencies()
59 return new LinkedBindingImpl<T>(getSource(), getKey(), scoping, targetKey); in withScoping()
63 return new LinkedBindingImpl<T>(getSource(), key, getScoping(), targetKey); in withKey()
75 .add("target", targetKey) in toString()
[all …]
DFactoryProxy.java32 private final Key<? extends T> targetKey; field in FactoryProxy
37 FactoryProxy(InjectorImpl injector, Key<T> key, Key<? extends T> targetKey, Object source) { in FactoryProxy() argument
40 this.targetKey = targetKey; in FactoryProxy()
46 …targetFactory = injector.getInternalFactory(targetKey, errors.withSource(source), JitLimitation.NE… in notify()
54 context.pushState(targetKey, source); in get()
56 return targetFactory.get(errors.withSource(targetKey), context, dependency, true); in get()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java199 Key<P> targetKey = Key.get(interfaceType, UniqueAnnotations.create()); in to() local
200 binder.bind(targetKey).toInstance(target); in to()
201 return to(targetKey); in to()
265 Key<CheckedProvider<?>> targetKey = Key.get(CHECKED_PROVIDER_TYPE, in providing() local
267 binder.bind(targetKey).toInstance(checkedProvider); in providing()
268 return toInternal(targetKey); in providing()
272 Key<CheckedProviderMethod<?>> targetKey = in toProviderMethod() local
274 binder.bind(targetKey).toInstance(target); in toProviderMethod()
276 return toInternal(targetKey); in toProviderMethod()
280 public ScopedBindingBuilder to(Key<? extends P> targetKey) { in to() argument
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationCurrencyTest.java98 CollationKey targetKey = null; in TestCurrency() local
99 targetKey = c.getCollationKey(target); in TestCurrency()
100 if (targetKey == null) { in TestCurrency()
105 int keyResult = sourceKey.compareTo(targetKey); in TestCurrency()
107 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in TestCurrency()
112 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DLotusCollationKoreanTest.java75 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
114 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationTurkishTest.java116 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
155 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationFinnishTest.java97 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
136 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationSpanishTest.java109 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
148 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationGermanTest.java143 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
183 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationFrenchTest.java208 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
247 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationRegressionTest.java197 CollationKey sourceKey = null, targetKey = null; in compareArray() local
206 targetKey = c.getCollationKey(target); in compareArray()
212 int keyResult = sourceKey.compareTo(targetKey); in compareArray()
213 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in compareArray()
217 … void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
257 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationEnglishTest.java342 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
382 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationKanaTest.java217 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
256 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationCurrencyTest.java101 CollationKey targetKey = null; in TestCurrency() local
102 targetKey = c.getCollationKey(target); in TestCurrency()
103 if (targetKey == null) { in TestCurrency()
108 int keyResult = sourceKey.compareTo(targetKey); in TestCurrency()
110 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in TestCurrency()
115 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
154 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DLotusCollationKoreanTest.java78 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
117 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationSpanishTest.java112 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationFinnishTest.java100 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
139 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationTurkishTest.java119 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
158 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationGermanTest.java146 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
186 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationFrenchTest.java211 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
250 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationRegressionTest.java200 CollationKey sourceKey = null, targetKey = null; in compareArray() local
209 targetKey = c.getCollationKey(target); in compareArray()
215 int keyResult = sourceKey.compareTo(targetKey); in compareArray()
216 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in compareArray()
220 … void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
260 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationEnglishTest.java345 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
385 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
DCollationKanaTest.java220 …e void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument
259 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
/external/icu/icu4c/source/test/intltest/
Dcurrcoll.cpp117 CollationKey sourceKey, targetKey; in currencyTest() local
128 c->getCollationKey(target, targetKey, status); in currencyTest()
136 Collator::EComparisonResult keyResult = sourceKey.compareTo(targetKey); in currencyTest()
138 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in currencyTest()
/external/icu/icu4c/source/test/cintltst/
Dccolltst.c89 uint8_t *sourceKey, uint8_t *targetKey, in reportCResult() argument
129 log_verbose("SortKey2: %s\n", dumpSk(targetKey, sk)); in reportCResult()

12