/external/valgrind/drd/tests/ |
D | local_static.cpp | 19 static Singleton singleton; in thread_func() local 21 fprintf(stderr, "%d\n", singleton.value); in thread_func() 22 fprintf(stderr, "%d\n", singleton.value); in thread_func() 23 fprintf(stderr, "%d\n", singleton.value); in thread_func() 24 fprintf(stderr, "%d\n", singleton.value); in thread_func() 25 fprintf(stderr, "%d\n", singleton.value); in thread_func()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Norm2AllModes.java | 301 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) { in getInstanceFromSingleton() argument 302 if(singleton.exception!=null) { in getInstanceFromSingleton() 303 throw singleton.exception; in getInstanceFromSingleton() 305 return singleton.allModes; in getInstanceFromSingleton() 328 Norm2AllModesSingleton singleton; in getInstance() local 330 singleton=NFCSingleton.INSTANCE; in getInstance() 332 singleton=NFKCSingleton.INSTANCE; in getInstance() 334 singleton=NFKC_CFSingleton.INSTANCE; in getInstance() 336 singleton=null; in getInstance() 338 if(singleton!=null) { in getInstance() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Norm2AllModes.java | 297 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) { in getInstanceFromSingleton() argument 298 if(singleton.exception!=null) { in getInstanceFromSingleton() 299 throw singleton.exception; in getInstanceFromSingleton() 301 return singleton.allModes; in getInstanceFromSingleton() 324 Norm2AllModesSingleton singleton; in getInstance() local 326 singleton=NFCSingleton.INSTANCE; in getInstance() 328 singleton=NFKCSingleton.INSTANCE; in getInstance() 330 singleton=NFKC_CFSingleton.INSTANCE; in getInstance() 332 singleton=null; in getInstance() 334 if(singleton!=null) { in getInstance() [all …]
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
D | Agent.java | 37 private static Agent singleton; field in Agent 48 if (singleton == null) { in getInstance() 57 singleton = agent; in getInstance() 59 return singleton; in getInstance() 71 if (singleton == null) { in getInstance() 74 return singleton; in getInstance()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
D | PackageCoverageTest.java | 32 .singleton((IClassCoverage) new ClassCoverageImpl( in testProperties() 36 .singleton((ISourceFileCoverage) new SourceFileCoverageImpl( in testProperties() 71 Collections.singleton((IClassCoverage) classnode), in testCountersWithSources() 72 Collections.singleton(sourceFile)); in testCountersWithSources() 96 Collections.singleton((IClassCoverage) classnode), sourceFiles); in testCountersWithoutSources()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct_factory.cpp | 12 static SkFontConfigInterface* singleton; in GetSingletonDirectInterface() local 14 once([]{ singleton = new SkFontConfigInterfaceDirect(); }); in GetSingletonDirectInterface() 15 return singleton; in GetSingletonDirectInterface()
|
/external/v8/src/ |
D | global-handles.h | 413 inline Handle<Object> GetSingleton(SingletonHandle singleton) { in GetSingleton() argument 414 DCHECK(Exists(singleton)); in GetSingleton() 415 return Get(singleton_handles_[singleton]); in GetSingleton() 419 inline bool Exists(SingletonHandle singleton) { in Exists() argument 420 return singleton_handles_[singleton] != kInvalidIndex; in Exists() 426 SingletonHandle singleton) { in CreateSingleton() argument 427 Create(isolate, object, &singleton_handles_[singleton]); in CreateSingleton() 428 return Get(singleton_handles_[singleton]); in CreateSingleton()
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_mutex.cc | 167 atomic_uintptr_t *singleton = (atomic_uintptr_t *)param; in singleton_thread() local 169 int *val = (int *)atomic_load(singleton, memory_order_acquire); in singleton_thread() 170 __tsan_acquire(singleton); in singleton_thread() 189 atomic_uintptr_t singleton; in TEST() local 190 __tsan_release(&singleton); in TEST() 191 atomic_store(&singleton, (uintptr_t)&val, memory_order_release); in TEST() 195 pthread_create(&threads[t], 0, singleton_thread, &singleton); in TEST()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
D | ImageFactory.java | 12 private static ImageFactory singleton ; field in ImageFactory 15 if(singleton == null) singleton = new ImageFactory(); in getSingleton() 16 return singleton; in getSingleton()
|
/external/clang/test/SemaCXX/ |
D | vtable-instantiation.cpp | 58 static GMG* Method() { return &singleton; } // expected-note{{in instantiation of}} in Method() 59 static GMG singleton; member 63 GMG<Type> GMG<Type>::singleton; // expected-note{{requested here}} member in PR10020::GMG<Type>
|
/external/guice/extensions/spring/test/com/google/inject/spring/ |
D | SpringIntegrationTest.java | 43 RootBeanDefinition singleton in testBindFromSpring() local 45 beanFactory.registerBeanDefinition("singleton", singleton); in testBindFromSpring() 74 RootBeanDefinition singleton in testBindAll() local 76 beanFactory.registerBeanDefinition("singleton", singleton); in testBindAll()
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | ICUTaglet.java | 233 private static ICUTaglet singleton; field in ICUTaglet.ICUIgnoreTaglet 236 if (singleton == null) { in register() 237 singleton = new ICUIgnoreTaglet(); in register() 239 taglets.put("bug", singleton); in register() 240 taglets.put("test", singleton); in register() 241 taglets.put("summary", singleton); in register()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingDequeTest.java | 62 forward.addAll(Collections.singleton("asdf")); in testAddAll_Collection() 77 forward.containsAll(Collections.singleton("asdf")); in testContainsAll_Collection() 197 forward.removeAll(Collections.singleton("asdf")); in testRemoveAll_Collection() 202 forward.retainAll(Collections.singleton("asdf")); in testRetainAll_Collection()
|
D | ForwardingQueueTest.java | 151 forward.addAll(Collections.singleton("asdf")); in testAddAll_Collection() 166 forward.containsAll(Collections.singleton("asdf")); in testContainsAll_Collection() 211 forward.removeAll(Collections.singleton("asdf")); in testRemoveAll_Collection() 216 forward.retainAll(Collections.singleton("asdf")); in testRetainAll_Collection()
|
D | AbstractImmutableSetTest.java | 69 assertEquals(Collections.singleton("a"), set); in testCreation_oneElement() 117 assertEquals(Collections.singleton("a"), set); in testCopyOf_arrayOfOneElement() 148 assertEquals(Collections.singleton("a"), set); in testCopyOf_collection_oneElement() 154 assertEquals(Collections.singleton("a"), set); in testCopyOf_collection_oneElementRepeated() 184 assertEquals(Collections.singleton("a"), set); in testCopyOf_iterator_oneElement() 190 assertEquals(Collections.singleton("a"), set); in testCopyOf_iterator_oneElementRepeated() 241 assertEquals(Collections.singleton("a"), copyOf(c)); in testCopyOf_shortcut_singleton() 257 new IteratorTester<String>(5, UNMODIFIABLE, Collections.singleton("a"), in testIterator_oneElement()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | langtagRegex.txt | 17 $x = x ; # private use singleton 18 $singleton = [a-w y-z] ; # other singleton 37 $extension = $singleton (?: $s $alphanum{2,8} )+ ; # singleton 1*("-" (2*8alphanum))
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | langtagRegex.txt | 17 $x = x ; # private use singleton 18 $singleton = [a-w y-z] ; # other singleton 37 $extension = $singleton (?: $s $alphanum{2,8} )+ ; # singleton 1*("-" (2*8alphanum))
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractImmutableSetTest.java | 65 assertEquals(Collections.singleton("a"), set); in testCreation_oneElement() 113 assertEquals(Collections.singleton("a"), set); in testCopyOf_arrayOfOneElement() 144 assertEquals(Collections.singleton("a"), set); in testCopyOf_collection_oneElement() 150 assertEquals(Collections.singleton("a"), set); in testCopyOf_collection_oneElementRepeated() 180 assertEquals(Collections.singleton("a"), set); in testCopyOf_iterator_oneElement() 186 assertEquals(Collections.singleton("a"), set); in testCopyOf_iterator_oneElementRepeated() 237 assertEquals(Collections.singleton("a"), copyOf(c)); in testCopyOf_shortcut_singleton()
|
D | TreeBasedTableTest.java | 201 assertEquals(Collections.singleton("bar"), set); in testRowKeySetHeadSet() 204 assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet()); in testRowKeySetHeadSet() 210 assertEquals(Collections.singleton("foo"), set); in testRowKeySetTailSet() 213 assertEquals(Collections.singleton("bar"), sortedTable.rowKeySet()); in testRowKeySetTailSet() 220 assertEquals(Collections.singleton("dog"), set); in testRowKeySetSubSet() 253 assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet()); in testRowKeyMapHeadMap() 264 assertEquals(Collections.singleton("bar"), sortedTable.rowKeySet()); in testRowKeyMapTailMap()
|
/external/guice/extensions/spring/src/com/google/inject/spring/ |
D | SpringIntegration.java | 88 boolean singleton; field in SpringIntegration.SpringProvider 107 singleton = beanFactory.isSingleton(name); in initialize() 111 return singleton ? getSingleton() : type.cast(beanFactory.getBean(name)); in get()
|
/external/skia/src/core/ |
D | SkDataTable.cpp | 81 static SkDataTable* singleton; in MakeEmpty() local 83 once([]{ singleton = new SkDataTable(); }); in MakeEmpty() 84 return sk_ref_sp(singleton); in MakeEmpty()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAccountManager.java | 35 private static AccountManager singleton; field in ShadowAccountManager 43 if (singleton == null) { in get() 44 singleton = Robolectric.newInstanceOf(AccountManager.class); in get() 46 return singleton; in get()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | ReportStructureTestDriver.java | 89 Collections.singleton(classCoverage), in ReportStructureTestDriver() 90 Collections.singleton(sourceFileCoverage)); in ReportStructureTestDriver() 92 Collections.singleton(packageCoverage)); in ReportStructureTestDriver()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | InternalLocaleBuilder.java | 142 …public InternalLocaleBuilder setExtension(char singleton, String value) throws LocaleSyntaxExcepti… in setExtension() argument 144 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton); in setExtension() 145 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) { in setExtension() 146 throw new LocaleSyntaxException("Ill-formed extension key: " + singleton); in setExtension() 150 CaseInsensitiveChar key = new CaseInsensitiveChar(singleton); in setExtension() 218 String singleton = s; in setExtensions() local 219 StringBuilder sb = new StringBuilder(singleton); in setExtensions() 234 … throw new LocaleSyntaxException("Incomplete extension '" + singleton + "'", start); in setExtensions()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
D | InternalLocaleBuilder.java | 142 …public InternalLocaleBuilder setExtension(char singleton, String value) throws LocaleSyntaxExcepti… in setExtension() argument 144 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton); in setExtension() 145 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) { in setExtension() 146 throw new LocaleSyntaxException("Ill-formed extension key: " + singleton); in setExtension() 150 CaseInsensitiveChar key = new CaseInsensitiveChar(singleton); in setExtension() 218 String singleton = s; in setExtensions() local 219 StringBuilder sb = new StringBuilder(singleton); in setExtensions() 234 … throw new LocaleSyntaxException("Incomplete extension '" + singleton + "'", start); in setExtensions()
|