Home
last modified time | relevance | path

Searched refs:singleton_ (Results 1 – 4 of 4) 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