Home
last modified time | relevance | path

Searched refs:singleton_ (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/python/lib/core/
Dpy_exception_registry.cc25 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()
Dpy_exception_registry.h65 static PyExceptionRegistry* singleton_;
/external/openscreen/tools/cddl/
Dlogging.cc36 return Logger::singleton_; in Get()
40 Logger* Logger::singleton_ = new Logger(); member in Logger
Dlogging.h63 static Logger* singleton_; variable
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/
Dreservation_offset_table.cc12 PA_CONSTINIT ReservationOffsetTable ReservationOffsetTable::singleton_; member in partition_alloc::internal::ReservationOffsetTable
Dreservation_offset_table.h113 PA_CONSTINIT static ReservationOffsetTable singleton_; in PA_COMPONENT_EXPORT() local
123 return ReservationOffsetTable::singleton_.tables[handle - 1].offsets; in GetReservationOffsetTable()
Daddress_pool_manager.h205 PA_CONSTINIT static AddressPoolManager singleton_; in PA_COMPONENT_EXPORT() local
Daddress_pool_manager.cc29 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/
Dreservation_offset_table.cc12 PA_CONSTINIT ReservationOffsetTable ReservationOffsetTable::singleton_; member in partition_alloc::internal::ReservationOffsetTable
Dreservation_offset_table.h113 PA_CONSTINIT static ReservationOffsetTable singleton_; in PA_COMPONENT_EXPORT() local
123 return ReservationOffsetTable::singleton_.tables[handle - 1].offsets; in GetReservationOffsetTable()
Daddress_pool_manager.h205 PA_CONSTINIT static AddressPoolManager singleton_; in PA_COMPONENT_EXPORT() local
Daddress_pool_manager.cc29 PA_CONSTINIT AddressPoolManager AddressPoolManager::singleton_; member in partition_alloc::internal::AddressPoolManager
33 return singleton_; in GetInstance()
/external/executorch/runtime/executor/test/
Dkernel_integration_test.cpp121 return &singleton_; in singleton()
167 static KernelControl singleton_; member
171 KernelControl KernelControl::singleton_; member in KernelControl
Dbackend_integration_test.cpp138 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/
Djit_type_base.h287 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/
Dutil.h114 static GlobalStateManager singleton_; in singleton() local
115 return singleton_; in singleton()
/external/pytorch/c10/test/util/
Dintrusive_ptr_test.cpp73 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/
DCONTRIBUTING.md1102 static A singleton_;
1104 return &singleton_;