Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DThreadLocal.inc45 void ThreadLocalImpl::setInstance(const void* d) {
58 setInstance(nullptr);
67 void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);}
69 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/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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DThreadLocal.cpp29 void ThreadLocalImpl::setInstance(const void* d) { in setInstance() function in llvm::ThreadLocalImpl
39 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/include/llvm/Support/
DThreadLocal.h38 void setInstance(const void* d);
55 void set(T* d) { setInstance(d); } in set()
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DThreadLocal.inc41 void sys::ThreadLocalImpl::setInstance(const void* d){
49 setInstance(0);
/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/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.java953 static synchronized void setInstance(PhoneNumberUtil util) {
1081 setInstance(createInstance(MetadataManager.DEFAULT_METADATA_LOADER));
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java986 static synchronized void setInstance(PhoneNumberUtil util) {
1115 setInstance(createInstance(MetadataManager.DEFAULT_METADATA_LOADER));