Lines Matching defs:status
60 // Change the value/error code of the status object directly.
82 // Returns true if the status object contains valid value for type T.
110 // Status<void> status = bar();
111 // if(!status)
112 // return status.error_status();
118 // The message is the same as the string returned by strerror(status.error()).
133 // Specialization for status containing no other value but the error code.
169 inline int ReturnStatusOrError(const Status<void>& status) {
170 return status ? 0 : -status.error();
173 inline int ReturnStatusOrError(const Status<int>& status) {
174 return status ? status.get() : -status.error();