Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/example/
DClientServiceWithFactories.java48 public static void setInstance(Service service) { in setInstance() method in ClientServiceWithFactories.ServiceFactory
65 ServiceFactory.setInstance(mock); in testClient()
71 ServiceFactory.setInstance(previous); in testClient()
/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-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/swiftshader/third_party/LLVM/lib/Support/
DThreadLocal.cpp28 void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);} in setInstance() function in llvm::ThreadLocalImpl
59 void ThreadLocalImpl::setInstance(const void* d) { in setInstance() function in llvm::ThreadLocalImpl
72 setInstance(0); in removeInstance()
/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/include/llvm/Support/
DThreadLocal.h29 void setInstance(const void* d);
46 void set(T* d) { setInstance(d); } in set()
/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/include/llvm/Support/
DThreadLocal.h38 void setInstance(const void* d);
55 void set(T* d) { setInstance(d); } in set()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DThreadLocal.inc23 void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
25 void ThreadLocalImpl::removeInstance() { setInstance(0); }
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DThreadLocal.inc43 void ThreadLocalImpl::setInstance(const void* d){
51 setInstance(0);
/external/llvm/lib/Support/Windows/
DThreadLocal.inc42 void ThreadLocalImpl::setInstance(const void* d){
50 setInstance(0);
/external/libmojo/base/android/java/src/org/chromium/base/
DCommandLine.java128 setInstance(new JavaCommandLine(args)); in init()
148 setInstance(null); in reset()
231 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/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.java947 static synchronized void setInstance(PhoneNumberUtil util) {
977 setInstance(createInstance(MetadataManager.DEFAULT_METADATA_LOADER));