Home | History | Annotate | Download | only in core

Lines Matching defs:OK

50   static Status OK() { return Status(); }
53 bool ok() const { return (state_ == NULL); }
56 return ok() ? tensorflow::error::OK : state_->code;
60 return ok() ? empty_string() : state_->msg;
66 /// \brief If `ok()`, stores `new_status` into `*this`. If `!ok()`,
72 /// `if (overall_status.ok()) overall_status = new_status`
78 /// printing. Returns the string `"OK"` for success.
92 // OK status has a `NULL` state_. Otherwise, `state_` points to
104 // and the common case where both s and *this are ok.
126 if (v.ok()) return nullptr;
143 while (false && (::tensorflow::Status::OK() == (val))) LOG(FATAL)