Searched defs:source (Results 176 - 200 of 1548) sorted by relevance

1234567891011>>

/external/guice/core/src/com/google/inject/internal/
H A DConstantBindingBuilderImpl.java40 public ConstantBindingBuilderImpl(Binder binder, List<Element> elements, Object source) { argument
41 super(binder, elements, source, (Key<T>) NULL_KEY);
H A DExposedBindingImpl.java35 public ExposedBindingImpl(InjectorImpl injector, Object source, Key<T> key, argument
37 super(injector, key, source, factory, Scoping.UNSCOPED);
56 .add("source", getSource())
H A DFactoryProxy.java33 private final Object source; field in class:FactoryProxy
37 FactoryProxy(InjectorImpl injector, Key<T> key, Key<? extends T> targetKey, Object source) { argument
41 this.source = source;
46 targetFactory = injector.getInternalFactory(targetKey, errors.withSource(source), JitLimitation.NEW_OR_EXISTING_JIT);
54 context.pushState(targetKey, source);
H A DInternalFactoryToInitializableAdapter.java37 Object source, ProvisionListenerStackCallback<T> provisionCallback) {
38 super(source);
55 throw errors.withSource(source).errorInProvider(userException).toException();
35 InternalFactoryToInitializableAdapter( Initializable<? extends javax.inject.Provider<? extends T>> initializable, Object source, ProvisionListenerStackCallback<T> provisionCallback) argument
H A DUntargettedBindingImpl.java28 UntargettedBindingImpl(InjectorImpl injector, Key<T> key, Object source) { argument
29 super(injector, key, source, new InternalFactory<T>() {
36 public UntargettedBindingImpl(Object source, Key<T> key, Scoping scoping) { argument
37 super(source, key, scoping);
59 .add("source", getSource())
H A DWeakKeySet.java69 * There may be multiple child injectors blacklisting a certain key so only remove the source
77 set.remove(keyAndSource.source);
90 public void add(Key<?> key, State state, Object source) { argument
96 if (source instanceof Class || source == SourceProvider.UNKNOWN_SOURCE) {
97 source = null;
104 Object convertedSource = Errors.convert(source);
130 final Object source; field in class:WeakKeySet.KeyAndSource
132 KeyAndSource(Key<?> key, Object source) { argument
134 this.source
[all...]
/external/guice/core/src/com/google/inject/spi/
H A DInterceptorBinding.java46 private final Object source; field in class:InterceptorBinding
52 Object source,
56 this.source = checkNotNull(source, "source");
63 return source;
51 InterceptorBinding( Object source, Matcher<? super Class<?>> classMatcher, Matcher<? super Method> methodMatcher, MethodInterceptor[] interceptors) argument
H A DMembersInjectorLookup.java38 private final Object source; field in class:MembersInjectorLookup
42 public MembersInjectorLookup(Object source, TypeLiteral<T> type) { argument
43 this.source = checkNotNull(source, "source");
48 return source;
H A DProviderLookup.java41 private final Object source; field in class:ProviderLookup
45 public ProviderLookup(Object source, Key<T> key) { argument
46 this(source, Dependency.get(checkNotNull(key, "key")));
50 public ProviderLookup(Object source, Dependency<T> dependency) { argument
51 this.source = checkNotNull(source, "source");
56 return source;
/external/guice/core/test/com/google/inject/internal/
H A DWeakKeySetUtils.java61 for (Object source : sources) {
62 assertTrue("didn't contain source: " + source, set.getSources(key).contains(source));
66 public static void assertSourceNotInSet(WeakKeySet set, Key<?> key, Object source) { argument
67 // if we're expecting it to not be a source, loop around and wait for threads to run.
70 assertNotNull("expected at least one source", source);
71 if (!sources.contains(source)) {
77 assertNotNull("expected at least one source", sourc
[all...]
/external/guice/extensions/grapher/src/com/google/inject/grapher/
H A DShortNameFactory.java97 * Returns a name for a Guice "source" object. This will typically be either
101 public String getSourceName(Object source) { argument
102 if (source instanceof ElementSource) {
103 source = ((ElementSource) source).getDeclaringSource();
105 if (source instanceof Method) {
106 source = StackTraceElements.forMember((Method) source);
109 if (source instanceof StackTraceElement) {
110 return getFileString((StackTraceElement) source);
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDurationFormat.java85 public Object parseObject(String source, ParsePosition pos) { argument
H A DNormalizationTransliterator.java149 public String transform(String source) { argument
150 return norm2.normalize(source);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
H A DTestContext.java27 String source; field in class:TestContext.ContextCase
34 source = src;
91 src = pseudoToU16(cc.source);
97 "\nInput: " + cc.source +
/external/icu/icu4c/source/common/
H A Ducnv_cb.c38 const char* source,
49 source, length,
57 const UChar** source,
86 source,
103 In fact, here's where we want to return the partially consumed in-source!
106 /* && (*source < sourceLimit && args->target >= args->targetLimit)
141 source,
203 const UChar *source = (const UChar *)converter->subChars; local
204 ucnv_cbFromUWriteUChars(args, &source, source
37 ucnv_cbFromUWriteBytes(UConverterFromUnicodeArgs *args, const char* source, int32_t length, int32_t offsetIndex, UErrorCode * err) argument
56 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args, const UChar** source, const UChar* sourceLimit, int32_t offsetIndex, UErrorCode * err) argument
228 ucnv_cbToUWriteUChars(UConverterToUnicodeArgs *args, const UChar* source, int32_t length, int32_t offsetIndex, UErrorCode * err) argument
[all...]
H A Dudatamem.c34 U_CFUNC void UDatamemory_assign(UDataMemory *dest, UDataMemory *source) { argument
37 uprv_memcpy(dest, source, sizeof(UDataMemory));
/external/icu/icu4c/source/samples/datefmt/
H A Dutil.cpp36 UnicodeString escape(const UnicodeString &source) { argument
40 for (i=0; i<source.length(); ++i) {
41 UChar ch = source[i];
/external/icu/icu4c/source/samples/msgfmt/
H A Dutil.cpp36 UnicodeString escape(const UnicodeString &source) { argument
40 for (i=0; i<source.length(); ++i) {
41 UChar ch = source[i];
/external/icu/icu4c/source/samples/translit/
H A Dutil.cpp36 UnicodeString escape(const UnicodeString &source) { argument
40 for (i=0; i<source.length(); ++i) {
41 UChar ch = source[i];
/external/icu/icu4c/source/test/cintltst/
H A Dccurrtst.c102 UChar source[2], target[2]; local
124 u_strcpy(source, currency[i]);
140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target));
144 sortklen=ucol_getSortKey(c, source, u_strlen(source), NULL, 0);
146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1);
157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDurationFormat.java83 public Object parseObject(String source, ParsePosition pos) { argument
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DTestUtility.java40 public static String replace(String source, String toBeReplaced, String replacement) { argument
43 for (int i = 0; i < source.length(); ++i) {
44 if (source.regionMatches(false, i, toBeReplaced, 0, len)) {
48 results.append(source.charAt(i));
54 public static String replaceAll(String source, UnicodeSet set, String replacement) { argument
57 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) {
58 cp = UTF16.charAt(source,i);
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
H A DAntResourcesLocatorTest.java67 final Reader source = locator.getSourceFile("org/jacoco/example",
69 assertContent("AAA", source);
78 final Reader source = locator.getSourceFile("org/jacoco/example",
80 assertContent("AAA", source);
89 final Reader source = locator.getSourceFile("org/jacoco/example",
91 assertContent("FFF", source);
103 final Reader source = locator.getSourceFile("org/jacoco/example",
105 assertContent("AAA", source);
116 Reader source = locator.getSourceFile("org/jacoco/example",
118 assertContent("AAA", source);
133 assertContent(String expected, Reader source) argument
[all...]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/
H A DTargetLoader.java41 public Class<?> add(final Class<?> source) throws IOException { argument
42 return add(source.getName(), getClassDataAsBytes(source));
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
H A DInputStreamSourceFileLocatorTest.java86 private void assertContent(String expected, Reader source) argument
88 assertNotNull(source);
89 final BufferedReader buffer = new BufferedReader(source);

Completed in 1158 milliseconds

1234567891011>>