Home
last modified time | relevance | path

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

123

/external/guice/core/src/com/google/inject/internal/
DScoping.java82 return visitor.visitScope(Scopes.SINGLETON);
86 return Scopes.SINGLETON;
90 return Scopes.SINGLETON.toString();
94 scopedBindingBuilder.in(Scopes.SINGLETON);
104 return Scopes.SINGLETON;
142 if (scope == Scopes.SINGLETON) {
DInjectorShell.java20 import static com.google.inject.Scopes.SINGLETON;
294 binder.bindScope(Singleton.class, SINGLETON); in configure()
295 binder.bindScope(javax.inject.Singleton.class, SINGLETON); in configure()
/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-jcl/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java42 private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); field in StaticLoggerBinder
50 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()
DStaticMDCBinder.java42 public static final StaticMDCBinder SINGLETON = new StaticMDCBinder(); field in StaticMDCBinder
/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()
DStaticMDCBinder.java40 public static final StaticMDCBinder SINGLETON = new StaticMDCBinder(); field in StaticMDCBinder
/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()
DStaticMDCBinder.java40 public static final StaticMDCBinder SINGLETON = new StaticMDCBinder(); field in StaticMDCBinder
/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()
DStaticMDCBinder.java39 public static final StaticMDCBinder SINGLETON = new StaticMDCBinder(); field in StaticMDCBinder
/external/guice/core/src/com/google/inject/
DScopes.java39 public static final Scope SINGLETON = new SingletonScope(); field in Scopes
74 return scope == Scopes.SINGLETON;
/external/guice/core/test/com/google/inject/
DScopesTest.java64 bind(BoundAsSingleton.class).in(Scopes.SINGLETON);
70 bind(ImplementedBySingleton.class).in(Scopes.SINGLETON);
71 bind(ProvidedBySingleton.class).in(Scopes.SINGLETON);
267 Asserts.assertNotSerializable(Scopes.SINGLETON); in testSingletonScopeIsNotSerializable()
350 bindScope(CustomScoped.class, Scopes.SINGLETON); in configure()
372 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope()
373 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope()
442 return Scopes.SINGLETON.scope(key, unscoped);
559 bind(c).toProvider(Providers.of("c")).in(Scopes.SINGLETON);
861 bind(S.class).toProvider(provider).in(Scopes.SINGLETON);
[all …]
DParentInjectorTest.java121 bindScope(MyScope.class, Scopes.SINGLETON); in testScopesInherited()
223 bindScope(MyScope.class, Scopes.SINGLETON); in testScopeBoundInChildInjectorOnly()
244 bindScope(MyScope.class, Scopes.SINGLETON); in testErrorInParentButOkayInChild()

123