Home
last modified time | relevance | path

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

12

/external/guice/core/src/com/google/inject/internal/
DLinkedBindingImpl.java33 final Key<? extends T> targetKey; field in LinkedBindingImpl
41 Key<? extends T> targetKey) { in LinkedBindingImpl() argument
43 this.targetKey = targetKey; in LinkedBindingImpl()
46 public LinkedBindingImpl(Object source, Key<T> key, Scoping scoping, Key<? extends T> targetKey) { in LinkedBindingImpl() argument
48 this.targetKey = targetKey; in LinkedBindingImpl()
58 return targetKey; in getLinkedKey()
63 return ImmutableSet.<Dependency<?>>of(Dependency.get(targetKey)); in getDependencies()
68 return new LinkedBindingImpl<T>(getSource(), getKey(), scoping, targetKey); in withScoping()
73 return new LinkedBindingImpl<T>(getSource(), key, getScoping(), targetKey); in withKey()
87 .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()
49 targetKey, errors.withSource(source), JitLimitation.NEW_OR_EXISTING_JIT); in notify()
58 Key<? extends T> localTargetKey = targetKey; in get()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java194 Key<P> targetKey = Key.get(interfaceType, UniqueAnnotations.create()); in to() local
195 binder.bind(targetKey).toInstance(target); in to()
196 return to(targetKey); in to()
261 Key<CheckedProvider<?>> targetKey = in providing() local
263 binder.bind(targetKey).toInstance(checkedProvider); in providing()
264 return toInternal(targetKey); in providing()
268 Key<CheckedProviderMethod<?>> targetKey = in toProviderMethod() local
270 binder.bind(targetKey).toInstance(target); in toProviderMethod()
272 return toInternal(targetKey); in toProviderMethod()
276 public ScopedBindingBuilder to(Key<? extends P> targetKey) { in to() argument
[all …]
/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()
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()
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()
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()
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()
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()
/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()
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()
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()
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()
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()
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()
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/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()
Dccolltst.h30 uint8_t *sourceKey, uint8_t *targetKey,

12