Home
last modified time | relevance | path

Searched refs:setInstance (Results 1 – 22 of 22) sorted by relevance

/external/guice/core/test/com/google/inject/example/
DClientServiceWithFactories.java47 public static void setInstance(Service service) { in setInstance() method in ClientServiceWithFactories.ServiceFactory
64 ServiceFactory.setInstance(mock); in testClient()
69 ServiceFactory.setInstance(previous); in testClient()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DThreadLocal.inc43 void ThreadLocalImpl::setInstance(const void* d) {
56 setInstance(nullptr);
65 void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
67 void ThreadLocalImpl::removeInstance() { setInstance(0); }
/external/llvm/lib/Support/Unix/
DThreadLocal.inc43 void ThreadLocalImpl::setInstance(const void* d) {
56 setInstance(nullptr);
65 void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
67 void ThreadLocalImpl::removeInstance() { setInstance(0); }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DThreadLocal.inc44 void ThreadLocalImpl::setInstance(const void* d) {
57 setInstance(nullptr);
66 void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
68 void ThreadLocalImpl::removeInstance() { setInstance(0); }
/external/llvm-project/llvm/lib/Support/Unix/
DThreadLocal.inc44 void ThreadLocalImpl::setInstance(const void* d) {
57 setInstance(nullptr);
66 void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
68 void ThreadLocalImpl::removeInstance() { setInstance(0); }
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DTestMetadataTestCase.java51 PhoneNumberUtil.setInstance(phoneUtil); in setUp()
56 PhoneNumberUtil.setInstance(null); in tearDown()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreadLocal.cpp28 void ThreadLocalImpl::setInstance(const void* d) { in setInstance() function in llvm::ThreadLocalImpl
38 setInstance(nullptr); in removeInstance()
/external/llvm-project/llvm/lib/Support/
DThreadLocal.cpp28 void ThreadLocalImpl::setInstance(const void* d) { in setInstance() function in llvm::ThreadLocalImpl
38 setInstance(nullptr); in removeInstance()
/external/llvm/lib/Support/
DThreadLocal.cpp29 void ThreadLocalImpl::setInstance(const void* d) { in setInstance() function in llvm::ThreadLocalImpl
39 setInstance(nullptr); in removeInstance()
/external/llvm-project/llvm/include/llvm/Support/
DThreadLocal.h37 void setInstance(const void* d);
54 void set(T* d) { setInstance(d); } in set()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DThreadLocal.h37 void setInstance(const void* d);
54 void set(T* d) { setInstance(d); } in set()
/external/llvm/include/llvm/Support/
DThreadLocal.h38 void setInstance(const void* d);
55 void set(T* d) { setInstance(d); } in set()
/external/llvm/lib/Support/Windows/
DThreadLocal.inc42 void ThreadLocalImpl::setInstance(const void* d){
50 setInstance(0);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DThreadLocal.inc40 void sys::ThreadLocalImpl::setInstance(const void* d){
48 setInstance(0);
/external/llvm-project/llvm/lib/Support/Windows/
DThreadLocal.inc40 void sys::ThreadLocalImpl::setInstance(const void* d){
48 setInstance(0);
/external/libchrome/base/android/java/src/org/chromium/base/
DCommandLine.java127 setInstance(new JavaCommandLine(args)); in init()
146 setInstance(null); in reset()
221 private static void setInstance(CommandLine commandLine) { in setInstance() method in CommandLine
/external/conscrypt/libcore-stub/src/main/java/libcore/net/
DNetworkSecurityPolicy.java37 public static void setInstance(NetworkSecurityPolicy policy) { in setInstance() method in NetworkSecurityPolicy
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DClockProvider.java39 public static void setInstance(Supplier<Long> nanoSecondSupplier) { in setInstance() method in ClockProvider
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DLogger.java13 public static void setInstance(LottieLogger instance) { in setInstance() method in Logger
/external/autotest/frontend/client/src/autotest/tko/
DCommonPanel.java125 public static void setInstance(CommonPanel panel) { in setInstance() method in CommonPanel
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java972 static synchronized void setInstance(PhoneNumberUtil util) {
1100 setInstance(createInstance(MetadataManager.DEFAULT_METADATA_LOADER));
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java1005 static synchronized void setInstance(PhoneNumberUtil util) {
1134 setInstance(createInstance(MetadataManager.DEFAULT_METADATA_LOADER));