HomeSort by relevance Sort by last modified time
    Searched refs:singleton (Results 1 - 25 of 525) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/ports/
SkFontConfigInterface_direct_factory.cpp 12 static SkFontConfigInterface* singleton; local
14 once([]{ singleton = new SkFontConfigInterfaceDirect(); });
15 return singleton;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
SampleBundleClass.java 27 private static SampleBundleClass singleton; field in class:SampleBundleClass
32 if (singleton != null) {
35 singleton = this;
  /external/valgrind/drd/tests/
local_static.cpp 7 class Singleton
10 Singleton()
19 static Singleton singleton; local
21 fprintf(stderr, "%d\n", singleton.value);
22 fprintf(stderr, "%d\n", singleton.value);
23 fprintf(stderr, "%d\n", singleton.value);
24 fprintf(stderr, "%d\n", singleton.value);
25 fprintf(stderr, "%d\n", singleton.value);
  /external/clang/test/SemaCXX/
vtable-instantiation.cpp 58 static GMG* Method() { return &singleton; } // expected-note{{in instantiation of}}
59 static GMG singleton; member in struct:PR10020::GMG
63 GMG<Type> GMG<Type>::singleton; // expected-note{{requested here}} member in class:PR10020::GMG
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
SystemUtilTest.java 48 SystemUtil.singleton = Mockito.mock(SystemUtil.class);
49 Mockito.when(SystemUtil.singleton.getEnv(SystemUtil.ENV_ANDROID_TARGET_OUT_TESTCASES))
51 Mockito.when(SystemUtil.singleton.getEnv(SystemUtil.ENV_ANDROID_HOST_OUT_TESTCASES))
71 SystemUtil.singleton = Mockito.mock(SystemUtil.class);
72 Mockito.when(SystemUtil.singleton.getEnv(SystemUtil.ENV_ANDROID_TARGET_OUT_TESTCASES))
74 Mockito.when(SystemUtil.singleton.getEnv(SystemUtil.ENV_ANDROID_HOST_OUT_TESTCASES))
  /development/tools/checkcolor/src/test/java/com/google/checkcolor/lint/
HardcodedColorDetectorTest.java 56 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
72 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
110 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
131 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
171 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
185 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
  /cts/tests/libcore/javautilcollections/src/libcore/java/util/tests/
AndroidTestsForListsInJavaUtil.java 35 return Collections.singleton(
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
ImageFactory.java 12 private static ImageFactory singleton ; field in class:ImageFactory
15 if(singleton == null) singleton = new ImageFactory();
16 return singleton;
  /tools/tradefederation/core/src/com/android/tradefed/util/
SystemUtil.java 34 @VisibleForTesting static SystemUtil singleton = new SystemUtil(); field in class:SystemUtil
69 singleton.getEnv(ENV_ANDROID_TARGET_OUT_TESTCASES),
70 singleton.getEnv(ENV_ANDROID_HOST_OUT_TESTCASES));
129 String path = singleton.getEnv(ENV_ANDROID_PRODUCT_OUT);
  /external/r8/src/test/java/com/android/tools/r8/utils/
OutputModeTest.java 22 Resource.fromBytes(Resource.Kind.CLASSFILE, new byte[]{}, Collections.singleton("LTest;"));
26 Resource.Kind.CLASSFILE, new byte[]{}, Collections.singleton("Lcom/Test;"));
30 Resource.Kind.CLASSFILE, new byte[]{}, Collections.singleton("Lcom/example/Test;"));
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
PackageCoverageTest.java 32 .singleton((IClassCoverage) new ClassCoverageImpl(
35 .singleton((ISourceFileCoverage) new SourceFileCoverageImpl(
69 Collections.singleton((IClassCoverage) classnode),
70 Collections.singleton(sourceFile));
93 Collections.singleton((IClassCoverage) classnode), sourceFiles);
  /external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
Agent.java 37 private static Agent singleton; field in class:Agent
48 if (singleton == null) {
57 singleton = agent;
59 return singleton;
71 if (singleton == null) {
74 return singleton;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
IteratorTester.java 75 super(steps, Collections.<E>singleton(null), features, expectedElements,
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingDequeTest.java 62 forward.addAll(Collections.singleton("asdf"));
77 forward.containsAll(Collections.singleton("asdf"));
197 forward.removeAll(Collections.singleton("asdf"));
202 forward.retainAll(Collections.singleton("asdf"));
  /external/guice/extensions/spring/test/com/google/inject/spring/
SpringIntegrationTest.java 43 RootBeanDefinition singleton local
44 = new RootBeanDefinition(Singleton.class);
45 beanFactory.registerBeanDefinition("singleton", singleton);
54 bind(Singleton.class)
55 .toProvider(fromSpring(Singleton.class, "singleton"));
61 assertNotNull(injector.getInstance(Singleton.class));
62 assertSame(injector.getInstance(Singleton.class),
63 injector.getInstance(Singleton.class))
74 RootBeanDefinition singleton local
    [all...]
  /external/vogar/src/vogar/target/
ClassFinder.java 35 return Collections.<Class<?>>singleton(Class.forName(classOrPackageName));
  /external/v8/src/
global-handles.h 418 inline Handle<Object> GetSingleton(SingletonHandle singleton) {
419 DCHECK(Exists(singleton));
420 return Get(singleton_handles_[singleton]);
424 inline bool Exists(SingletonHandle singleton) {
425 return singleton_handles_[singleton] != kInvalidIndex;
431 SingletonHandle singleton) {
432 Create(isolate, object, &singleton_handles_[singleton]);
433 return Get(singleton_handles_[singleton]);
  /external/vogar/src/vogar/android/
ActivityMode.java 42 return Collections.<Task>singleton(
47 return Collections.<Task>singleton(new InstallApkTask(run, action, jar));
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
Norm2AllModes.java 301 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) {
302 if(singleton.exception!=null) {
303 throw singleton.exception;
305 return singleton.allModes;
328 Norm2AllModesSingleton singleton; local
330 singleton=NFCSingleton.INSTANCE;
332 singleton=NFKCSingleton.INSTANCE;
334 singleton=NFKC_CFSingleton.INSTANCE;
336 singleton=null;
338 if(singleton!=null)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Norm2AllModes.java 297 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) {
298 if(singleton.exception!=null) {
299 throw singleton.exception;
301 return singleton.allModes;
324 Norm2AllModesSingleton singleton; local
326 singleton=NFCSingleton.INSTANCE;
328 singleton=NFKCSingleton.INSTANCE;
330 singleton=NFKC_CFSingleton.INSTANCE;
332 singleton=null;
334 if(singleton!=null)
    [all...]
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_mutex.cc 167 atomic_uintptr_t *singleton = (atomic_uintptr_t *)param; local
169 int *val = (int *)atomic_load(singleton, memory_order_acquire);
170 __tsan_acquire(singleton);
177 TEST(DISABLED_BENCH_ThreadSanitizer, Singleton) {
186 // Create the singleton.
189 atomic_uintptr_t singleton; local
190 __tsan_release(&singleton);
191 atomic_store(&singleton, (uintptr_t)&val, memory_order_release);
195 pthread_create(&threads[t], 0, singleton_thread, &singleton);
  /external/v8/src/zone/
zone-handle-set.h 35 return Handle<T>(singleton());
48 if (singleton() == value) return;
50 if (singleton() < value) {
51 list->Add(singleton(), zone);
55 list->Add(singleton(), zone);
89 return list()->Contains(other.singleton());
145 T** singleton() const { function in class:v8::internal::final
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
AffiliationTest.java 65 mDevicePolicyManager.setAffiliationIds(mAdminComponent, Collections.singleton(null));
74 setAffiliationIds(Collections.singleton("id.number.1"));
79 setAffiliationIds(Collections.singleton("id.number.2"));
  /external/guice/extensions/spring/src/com/google/inject/spring/
SpringIntegration.java 88 boolean singleton; field in class:SpringIntegration.SpringProvider
107 singleton = beanFactory.isSingleton(name);
111 return singleton ? getSingleton() : type.cast(beanFactory.getBean(name));
  /cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
AffiliationTest.java 44 Set<String> ids = Collections.singleton(id);

Completed in 563 milliseconds

1 2 3 4 5 6 7 8 91011>>