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

1 2 3

  /libcore/luni/src/test/java/tests/api/java/util/
SampleBundleClass.java 27 private static SampleBundleClass singleton; field in class:SampleBundleClass
32 if (singleton != null) {
35 singleton = this;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
SampleBundleClass.java 27 private static SampleBundleClass singleton; field in class:SampleBundleClass
32 if (singleton != null) {
35 singleton = this;
  /external/icu4c/common/
mutex.h 85 * Singleton struct with shared instantiation/mutexing code.
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
140 * Singleton struct with shared instantiation/mutexing code.
151 * Returns the singleton instance, or NULL if it could not be created
193 TriStateSingleton &singleton; member in class:TriStateSingletonWrapper
    [all...]
utrie2.h 662 UTrie2Singleton(SimpleSingleton &s) : singleton(s) {}
664 utrie2_close((UTrie2 *)singleton.fInstance);
665 singleton.reset();
670 SimpleSingleton &singleton; member in class:UTrie2Singleton
    [all...]
  /external/bluetooth/glib/tests/gobject/
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/
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
  /frameworks/compile/linkloader/utils/
raw_ostream.cpp 25 static llvm::raw_ostream &singleton = llvm::outs(); local
26 return singleton;
  /frameworks/base/media/java/android/drm/mobile1/
DrmRightsManager.java 64 private static DrmRightsManager singleton = null; field in class:DrmRightsManager
79 if (singleton == null) {
80 singleton = new DrmRightsManager();
83 return singleton;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryCollection.java 42 mDictionaries.removeAll(Collections.singleton(null));
48 mDictionaries.removeAll(Collections.singleton(null));
  /frameworks/base/keystore/java/android/security/
Credentials.java 109 private static Credentials singleton; field in class:Credentials
112 if (singleton == null) {
113 singleton = new Credentials();
115 return singleton;
  /external/webkit/Tools/android/flex-2.5.4a/
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 could be something like "(foo)"
    [all...]
  /external/protobuf/src/google/protobuf/
message.cc 198 static GeneratedMessageFactory* singleton();
232 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon9296::GeneratedMessageFactory
302 return GeneratedMessageFactory::singleton();
307 GeneratedMessageFactory::singleton()->RegisterFile(filename,
313 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
  /cts/tools/signature-tools/test/signature/converter/dex/
DexTestConverter.java 43 return converter.convertApi("Dex Tests", Collections.singleton(dexFile), visibility);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/
ResourceNameValidatorTest.java 43 assertTrue(ResourceNameValidator.create(true, Collections.singleton("foo"),
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
CompilingClassLoader.java 24 import static java.util.Collections.singleton;
154 fileManager, diagnosticListener, options, null, singleton(javaFile));
  /libcore/luni/src/test/java/libcore/java/security/cert/
OldPKIXParametersTest.java 113 Set<TrustAnchor> taSet2 = Collections.singleton(new TrustAnchor(
142 Set<TrustAnchor> taSet2 = Collections.singleton(new TrustAnchor(
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/address/
Builder.java 49 private static Builder singleton = new Builder(); field in class:Builder
52 return singleton;
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSourceToDexUtil.java 44 return getAllFrom(Collections.singleton(source));
  /external/libpcap/
pcap.c 120 struct singleton { struct
129 struct singleton *sp = (struct singleton *)userData;
137 struct singleton s;
  /hardware/msm7k/libcamera/
QualcommCameraHardware.h 72 static wp<QualcommCameraHardware> singleton; member in class:android::QualcommCameraHardware
  /device/samsung/crespo/libcamera/
SecCamera.h 285 static SecCamera singleton; local
286 return &singleton;
  /external/v8/test/mjsunit/
json.js 267 var singleton = []; variable
268 var multiOccurrence = [singleton, singleton, singleton];
  /frameworks/base/media/java/android/media/
Metadata.java 211 public static final Set<Integer> MATCH_ALL = Collections.singleton(ANY);
  /libcore/luni/src/main/java/javax/xml/validation/
SchemaFactoryFinder.java 296 return Collections.singleton(classLoader.getResource(SERVICE_ID));
  /libcore/luni/src/main/java/javax/xml/xpath/
XPathFactoryFinder.java 330 return Collections.singleton(resource);

Completed in 984 milliseconds

1 2 3