/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | SampleBundleClass.java | 27 private static SampleBundleClass singleton; field in class:SampleBundleClass 32 if (singleton != null) { 35 singleton = this;
|
H A D | AbstractMapTest.java | 396 Set<Object> setOfNull = Collections.singleton(null);
|
H A D | CollectionsTest.java | 670 * @tests java.util.Collections#singleton(java.lang.Object) 674 // java.util.Collections.singleton(java.lang.Object) 676 Set single = Collections.singleton(o); 680 assertFalse("null nCopies contains", Collections.singleton(null) 682 assertTrue("null nCopies contains null", Collections.singleton(null) 686 fail("Allowed modification of singleton"); 1874 mySet = Collections.unmodifiableSet(Collections.singleton(null));
|
/external/icu4c/common/ |
H A D | mutex.h | 96 * Returns the singleton instance, or NULL if it could not be created. 106 * Resets the fields. The caller must have deleted the singleton instance. 123 SimpleSingletonWrapper(SimpleSingleton &s) : singleton(s) {} 125 delete (T *)singleton.fInstance; 126 singleton.reset(); 131 T *instance=(T *)singleton.getInstance(instantiator, context, duplicate, errorCode); 136 SimpleSingleton &singleton; member in class:SimpleSingletonWrapper 151 * Returns the singleton instance, or NULL if it could not be created. 156 * The singleton creation is only attempted once. If it fails, 157 * the singleton wil 193 TriStateSingleton &singleton; member in class:TriStateSingletonWrapper [all...] |
H A D | utrie2.h | 662 UTrie2Singleton(SimpleSingleton &s) : singleton(s) {} 664 utrie2_close((UTrie2 *)singleton.fInstance); 665 singleton.reset(); 670 SimpleSingleton &singleton; member in class:UTrie2Singleton
|
H A D | normalizer2impl.cpp | 1739 singleton(s), impl(ni), errorCode(ec) {} 1743 (CanonIterData *)singleton.getInstance(createInstance, this, duplicate, errorCode); 1756 SimpleSingleton &singleton; member in class:CanonIterDataSingleton
|
H A D | utrie2.cpp | 733 UTrie2 *instance=(UTrie2 *)singleton.getInstance(instantiator, context, duplicate, errorCode);
|
/external/bluetooth/glib/tests/gobject/ |
H A D | singleton.c | 73 MySingleton *singleton, *obj; local 75 /* create the singleton */ 76 singleton = g_object_new (MY_TYPE_SINGLETON, NULL); 77 g_assert (singleton != NULL); 80 g_assert (singleton == obj); 83 g_object_unref (singleton);
|
/external/clang/test/SemaCXX/ |
H A D | vtable-instantiation.cc | 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; member in class:PR10020::GMG
|
/external/webkit/Tools/android/flex-2.5.4a/ |
H A D | parse.y | 522 series : series singleton 530 | singleton 534 singleton : singleton '*' label 541 | singleton '+' 547 | singleton '?' 553 | singleton '{' NUMBER ',' NUMBER '}' 581 | singleton '{' NUMBER ',' '}' 595 | singleton '{' NUMBER '}' 597 /* The singleton coul [all...] |
/external/protobuf/src/google/protobuf/ |
H A D | message.cc | 198 static GeneratedMessageFactory* singleton(); 232 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon7815::GeneratedMessageFactory 302 return GeneratedMessageFactory::singleton(); 307 GeneratedMessageFactory::singleton()->RegisterFile(filename, 313 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
H A D | CompilingClassLoader.java | 24 import static java.util.Collections.singleton; 154 fileManager, diagnosticListener, options, null, singleton(javaFile));
|
/external/v8/test/mjsunit/ |
H A D | json.js | 267 var singleton = []; variable 268 var multiOccurrence = [singleton, singleton, singleton];
|
/external/libpcap/ |
H A D | pcap.c | 120 struct singleton { struct 129 struct singleton *sp = (struct singleton *)userData; 137 struct singleton s;
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
H A D | PKIXNameConstraintValidator.java | 396 return Collections.singleton(ipWithSubnetMask(ip, subnetmask));
|
/external/protobuf/gtest/test/ |
H A D | gtest_unittest.cc | 588 // Calls PushFront() on a singleton Vector. 637 // Inserts at the beginning of a singleton Vector. 654 // Prepares a singleton Vector. 658 // Inserts at the end of a singleton Vector. 724 // Clones a singleton. 726 scoped_ptr<Vector<int> > singleton(a.Clone()); 727 ASSERT_EQ(1, singleton->size()); 728 EXPECT_EQ(42, singleton->GetElement(0)); 749 // Tests erasing from a singleton vector.
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | SerializationStressTest4.java | 1087 objToSave = java.util.Collections.singleton(new Byte((byte) 107));
|
/external/jdiff/ |
H A D | xerces.jar | META-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/apache/ org/apache/html/ ... |
/external/valgrind/tsan/ |
H A D | thread_sanitizer.cc | 918 // first is singleton, second is not 924 // second is singleton, first is not 4914 VTS *singleton = VTS::CreateSingleton(child_tid); 4915 *vts = VTS::Join(singleton, info.vts); 4916 VTS::Unref(singleton); 6870 // *** CASE 01 ***: rd_ssid == 0, wr_ssid == singleton 6906 // *** CASE 10 ***: rd_ssid == singleton, wr_ssid == 0 6933 // *** CASE 11 ***: rd_ssid == singleton, wr_ssid == singleton 7047 // singleton segmen [all...] |