Searched refs:singleton_ (Results 1 – 4 of 4) sorted by relevance
25 PyExceptionRegistry* PyExceptionRegistry::singleton_ = nullptr; member in tensorflow::PyExceptionRegistry28 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()
65 static PyExceptionRegistry* singleton_;
36 return Logger::singleton_; in Get()40 Logger* Logger::singleton_ = new Logger(); member in Logger
63 static Logger* singleton_; variable