Home
last modified time | relevance | path

Searched refs:is_ok (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/cmds/idmap2/include/idmap2/
H A DResult.h75 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
/aosp14/system/core/fs_mgr/libfiemap/include/libfiemap/
H A Dfiemap_status.h53 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok() function
54 operator bool() const { return is_ok(); }
/aosp14/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dreturn.h36 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok() function
37 operator bool() const { return is_ok(); }
/aosp14/system/core/fs_mgr/libfiemap/
H A Dsplit_fiemap_writer.cpp49 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()
H A Dfiemap_writer.cpp468 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()
H A Dutility.cpp44 if (!status.is_ok()) { in DetermineMaximumFileSize()
H A Dfiemap_writer_test.cpp543 ASSERT_FALSE(status.is_ok()); in TEST_F()
548 ASSERT_FALSE(status.is_ok()); in TEST_F()
H A Dimage_manager.cpp168 if (!status.is_ok()) { in CreateBackingImage()
210 if (!res.is_ok()) { in CreateBackingImage()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot.cpp3282 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()