Home
last modified time | relevance | path

Searched refs:SINGLETON (Results 1 – 25 of 73) sorted by relevance

123

/external/guice/core/src/com/google/inject/internal/
DScoping.java120 return visitor.visitScope(Scopes.SINGLETON);
125 return Scopes.SINGLETON;
130 return Scopes.SINGLETON.toString();
135 scopedBindingBuilder.in(Scopes.SINGLETON);
148 return Scopes.SINGLETON;
191 if (scope == Scopes.SINGLETON) {
DInjectorShell.java20 import static com.google.inject.Scopes.SINGLETON;
312 binder.bindScope(Singleton.class, SINGLETON); in configure()
313 binder.bindScope(javax.inject.Singleton.class, SINGLETON); in configure()
/external/cldr/tools/java/org/unicode/cldr/util/
DPatternPlaceholders.java118 private static PatternPlaceholders SINGLETON; field in PatternPlaceholders
124 if (SINGLETON == null) { in getInstance()
125 SINGLETON = new PatternPlaceholders(); in getInstance()
126 SINGLETON.patternPlaceholders = RegexLookup.of(new MapTransform()) in getInstance()
130 return SINGLETON; in getInstance()
DCharacterFallbacks.java10 private static CharacterFallbacks SINGLETON = new CharacterFallbacks(); field in CharacterFallbacks
14 return SINGLETON; in make()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleExtensions.java47 …CALENDAR_JAPANESE._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExten… in Character.valueOf() argument
52 …NUMBER_THAI._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExtension.N… in Character.valueOf() argument
114 _map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), ule); in LocaleExtensions()
143 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleAttributes()
152 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleKeys()
161 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleType()
DUnicodeLocaleExtension.java24 public static final char SINGLETON = 'u'; field in UnicodeLocaleExtension
48 super(SINGLETON); in UnicodeLocaleExtension()
91 return (SINGLETON == AsciiUtil.toLower(c)); in isSingletonChar()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DLocaleExtensions.java43 …CALENDAR_JAPANESE._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExten… in Character.valueOf() argument
48 …NUMBER_THAI._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExtension.N… in Character.valueOf() argument
110 _map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), ule); in LocaleExtensions()
139 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleAttributes()
148 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleKeys()
157 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleType()
DUnicodeLocaleExtension.java20 public static final char SINGLETON = 'u'; field in UnicodeLocaleExtension
44 super(SINGLETON); in UnicodeLocaleExtension()
87 return (SINGLETON == AsciiUtil.toLower(c)); in isSingletonChar()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleExtensions.java43 …CALENDAR_JAPANESE._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExten… in Character.valueOf() argument
48 …NUMBER_THAI._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExtension.N… in Character.valueOf() argument
110 _map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), ule); in LocaleExtensions()
139 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleAttributes()
148 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleKeys()
157 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleType()
DUnicodeLocaleExtension.java20 public static final char SINGLETON = 'u'; field in UnicodeLocaleExtension
44 super(SINGLETON); in UnicodeLocaleExtension()
87 return (SINGLETON == AsciiUtil.toLower(c)); in isSingletonChar()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java44 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
52 return SINGLETON; in getSingleton()
DStaticMDCBinder.java40 public static final StaticMDCBinder SINGLETON = new StaticMDCBinder(); field in StaticMDCBinder
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java43 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
51 return SINGLETON; in getSingleton()
/external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java42 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
50 return SINGLETON; in getSingleton()
/external/slf4j/slf4j-simple/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java44 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
52 return SINGLETON; in getSingleton()
/external/slf4j/slf4j-nop/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java44 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
52 return SINGLETON; in getSingleton()
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java43 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
51 return SINGLETON; in getSingleton()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DDoesNothing.java19 private static final DoesNothing SINGLETON = new DoesNothing(); field in DoesNothing
24 return SINGLETON; in doesNothing()
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java45 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
53 return SINGLETON; in getSingleton()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveStreamFactory.java97 private static final ArchiveStreamFactory SINGLETON = new ArchiveStreamFactory(); field in ArchiveStreamFactory
214 putAll(SINGLETON.getInputStreamArchiveNames(), SINGLETON, map); in findAvailableArchiveInputStreamProviders()
255 putAll(SINGLETON.getOutputStreamArchiveNames(), SINGLETON, map);
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/
DCompressorStreamFactory.java100 private static final CompressorStreamFactory SINGLETON = new CompressorStreamFactory(); field in CompressorStreamFactory
252 putAll(SINGLETON.getInputStreamCompressorNames(), SINGLETON, map); in findAvailableCompressorInputStreamProviders()
293 putAll(SINGLETON.getOutputStreamCompressorNames(), SINGLETON, map);
339 return SINGLETON;
/external/cldr/tools/java/org/unicode/cldr/test/
DOutdatedPaths.java233 OutdatedPaths outdatedPaths = SINGLETON.get(); in getInstance()
236 SINGLETON = new SoftReference<OutdatedPaths>(outdatedPaths); in getInstance()
241 private static Reference<OutdatedPaths> SINGLETON = new SoftReference<OutdatedPaths>(null); field in OutdatedPaths
/external/guice/core/test/com/google/inject/
DScopesTest.java67 bind(BoundAsSingleton.class).in(Scopes.SINGLETON);
73 bind(ImplementedBySingleton.class).in(Scopes.SINGLETON);
74 bind(ProvidedBySingleton.class).in(Scopes.SINGLETON);
288 Asserts.assertNotSerializable(Scopes.SINGLETON); in testSingletonScopeIsNotSerializable()
390 bindScope(CustomScoped.class, Scopes.SINGLETON); in configure()
420 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope()
421 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope()
505 return Scopes.SINGLETON.scope(key, unscoped);
631 bind(c).toProvider(Providers.of("c")).in(Scopes.SINGLETON);
964 bind(S.class).toProvider(provider).in(Scopes.SINGLETON);
[all …]
DParentInjectorTest.java132 bindScope(MyScope.class, Scopes.SINGLETON); in testScopesInherited()
252 bindScope(MyScope.class, Scopes.SINGLETON); in testScopeBoundInChildInjectorOnly()
277 bindScope(MyScope.class, Scopes.SINGLETON); in testErrorInParentButOkayInChild()
/external/guice/core/src/com/google/inject/
DScopes.java36 public static final Scope SINGLETON = new SingletonScope(); field in Scopes
76 return scope == Scopes.SINGLETON;

123