| /external/tensorflow/tensorflow/python/lib/core/ |
| D | py_exception_registry.cc | 25 PyExceptionRegistry* PyExceptionRegistry::singleton_ = nullptr; member in tensorflow::PyExceptionRegistry 28 CHECK(singleton_ == nullptr) << "PyExceptionRegistry::Init() already called"; in Init() 29 singleton_ = new PyExceptionRegistry; in Init() 36 singleton_->exc_types_.emplace(static_cast<TF_Code>(PyLong_AsLong(key)), in Init() 60 CHECK(singleton_->exc_types_.find(code) != singleton_->exc_types_.end()) in Init() 67 CHECK(singleton_ != nullptr) << "Must call PyExceptionRegistry::Init() " in Lookup() 70 auto it = singleton_->exc_types_.find(code); in Lookup() 71 CHECK(it != singleton_->exc_types_.end()) in Lookup()
|
| D | py_exception_registry.h | 65 static PyExceptionRegistry* singleton_;
|
| /external/openscreen/tools/cddl/ |
| D | logging.cc | 36 return Logger::singleton_; in Get() 40 Logger* Logger::singleton_ = new Logger(); member in Logger
|
| D | logging.h | 63 static Logger* singleton_; variable
|
| /external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/ |
| D | reservation_offset_table.cc | 12 PA_CONSTINIT ReservationOffsetTable ReservationOffsetTable::singleton_; member in partition_alloc::internal::ReservationOffsetTable
|
| D | reservation_offset_table.h | 113 PA_CONSTINIT static ReservationOffsetTable singleton_; in PA_COMPONENT_EXPORT() local 123 return ReservationOffsetTable::singleton_.tables[handle - 1].offsets; in GetReservationOffsetTable()
|
| D | address_pool_manager.h | 205 PA_CONSTINIT static AddressPoolManager singleton_; in PA_COMPONENT_EXPORT() local
|
| D | address_pool_manager.cc | 29 PA_CONSTINIT AddressPoolManager AddressPoolManager::singleton_; member in partition_alloc::internal::AddressPoolManager 33 return singleton_; in GetInstance()
|
| /external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/ |
| D | reservation_offset_table.cc | 12 PA_CONSTINIT ReservationOffsetTable ReservationOffsetTable::singleton_; member in partition_alloc::internal::ReservationOffsetTable
|
| D | reservation_offset_table.h | 113 PA_CONSTINIT static ReservationOffsetTable singleton_; in PA_COMPONENT_EXPORT() local 123 return ReservationOffsetTable::singleton_.tables[handle - 1].offsets; in GetReservationOffsetTable()
|
| D | address_pool_manager.h | 205 PA_CONSTINIT static AddressPoolManager singleton_; in PA_COMPONENT_EXPORT() local
|
| D | address_pool_manager.cc | 29 PA_CONSTINIT AddressPoolManager AddressPoolManager::singleton_; member in partition_alloc::internal::AddressPoolManager 33 return singleton_; in GetInstance()
|
| /external/executorch/runtime/executor/test/ |
| D | kernel_integration_test.cpp | 121 return &singleton_; in singleton() 167 static KernelControl singleton_; member 171 KernelControl KernelControl::singleton_; member in KernelControl
|
| D | backend_integration_test.cpp | 138 return executorch::runtime::register_backend({name, &singleton_}); in register_singleton() 147 return singleton_; in singleton() 152 static StubBackend singleton_; member in StubBackend 161 StubBackend StubBackend::singleton_; member in StubBackend
|
| /external/pytorch/aten/src/ATen/core/ |
| D | jit_type_base.h | 287 singletonRepr_.singleton_ = static_cast<T*>(rhs.rawRepr().first); 297 singletonRepr_.singleton_ = static_cast<T*>(rhs.rawRepr().first); 317 singletonRepr_.singleton_ = static_cast<T*>(rhs.rawRepr().first); 338 singletonRepr_.singleton_ = static_cast<T*>(rhs.rawRepr().first); 348 explicit SingletonRepr(T* s) : singleton_(s) {} 349 T* singleton_;
|
| /external/pytorch/torch/csrc/profiler/ |
| D | util.h | 114 static GlobalStateManager singleton_; in singleton() local 115 return singleton_; in singleton()
|
| /external/pytorch/c10/test/util/ |
| D | intrusive_ptr_test.cpp | 73 static SomeClass singleton_; member in __anond7492b7c0111::NullType1 77 return &singleton_; in singleton() 80 SomeClass NullType1::singleton_; member in __anond7492b7c0111::NullType1 82 static SomeClass singleton_; member in __anond7492b7c0111::NullType2 86 return &singleton_; in singleton() 89 SomeClass NullType2::singleton_; member in __anond7492b7c0111::NullType2
|
| /external/pytorch/ |
| D | CONTRIBUTING.md | 1102 static A singleton_; 1104 return &singleton_;
|