Searched refs:is_ok (Results 1 – 9 of 9) sorted by relevance
75 bool is_ok() const;99 return is_ok();104 CHECK(is_ok()) << "Result<T>::operator* called in ERROR state";110 CHECK(is_ok()) << "Result<T>::operator* called in ERROR state";116 CHECK(is_ok()) << "Result<T>::operator-> called in ERROR state";122 CHECK(is_ok()) << "Result<T>::operator-> called in ERROR state";128 CHECK(!is_ok()) << "Result<T>::GetErrorMessage called in OK state"; in GetErrorMessage()134 CHECK(!is_ok()) << "Result<T>::GetError called in OK state"; in GetError()139 inline bool Result<T>::is_ok() const { in is_ok() function
53 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok() function54 operator bool() const { return is_ok(); }
36 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok() function37 operator bool() const { return is_ok(); }
49 if (!Create(file_path, file_size, max_piece_size, &ret, progress).is_ok()) { in Create()67 if (!status.is_ok()) { in Create()107 if (!status.is_ok()) { in Create()
468 if (!status.is_ok()) { in AllocateFile()642 if (!Open(file_path, file_size, &ret, create, progress).is_ok()) { in Open()724 if (!status.is_ok()) { in Open()
44 if (!status.is_ok()) { in DetermineMaximumFileSize()
543 ASSERT_FALSE(status.is_ok()); in TEST_F()548 ASSERT_FALSE(status.is_ok()); in TEST_F()
168 if (!status.is_ok()) { in CreateBackingImage()210 if (!res.is_ok()) { in CreateBackingImage()
3282 if (!ret.is_ok()) return ret; in CreateUpdateSnapshots()3293 if (!ret.is_ok()) return ret; in CreateUpdateSnapshots()3499 if (!ret.is_ok()) return AddRequiredSpace(ret, *all_snapshot_status); in CreateUpdateSnapshotsInternal()3564 if (!ret.is_ok()) { in InitializeUpdateSnapshots()