Searched refs:InodeResult (Results 1 – 4 of 4) sorted by relevance
/system/iorap/src/inode2filename/ |
D | search_directories.h | 28 struct InodeResult { struct 38 static InodeResult makeSuccess(Inode inode, std::string filename) { in makeSuccess() argument 39 return InodeResult{inode, std::move(filename)}; in makeSuccess() 42 static InodeResult makeFailure(Inode inode, int err_no) { in makeFailure() argument 43 return InodeResult{inode, iorap::unexpected{err_no}}; in makeFailure() 100 rxcpp::observable<InodeResult> 126 std::pair<rxcpp::observable<InodeResult>, std::unique_ptr<RxAnyConnectable>>
|
D | search_directories.cc | 820 return InodeResult::makeSuccess(search_match.inode, std::move(search_match.filename)); in SearchDirectoriesForMatchingInodes() 833 return InodeResult::makeFailure(inode, InodeResult::kCouldNotFindFilename); in SearchDirectoriesForMatchingInodes() 852 rxcpp::observable<InodeResult> SearchDirectories::FindFilenamesFromInodes( in FindFilenamesFromInodes() 897 std::pair<rxcpp::observable<InodeResult>, std::unique_ptr<SearchDirectories::RxAnyConnectable>>
|
D | main.cc | 133 inode_results.subscribe([&return_code](const InodeResult& result) { in main()
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 2680 std::vector<InodeResult> expected_results; 2742 std::vector<InodeResult> actual; 2743 std::vector<InodeResult> expected; 2766 std::vector<InodeResult> results; in MakeAllFailInodes() 2768 results.push_back(InodeResult::makeFailure(inode, InodeResult::kCouldNotFindFilename)); in MakeAllFailInodes() 2790 std::vector<InodeResult> results; in MakeAllPassInodes() 2804 results.push_back(InodeResult::makeSuccess(inode, path)); in MakeAllPassInodes()
|