Home
last modified time | relevance | path

Searched refs:ResultError (Results 1 – 3 of 3) sorted by relevance

/system/core/init/
Dresult.h83 struct ResultError { struct
85 ResultError(T&& error_string, int error_errno) in ResultError() argument
92 inline std::ostream& operator<<(std::ostream& os, const ResultError& t) { argument
97 inline std::ostream& operator<<(std::ostream& os, ResultError&& t) {
113 Error&& operator<<(const ResultError& result_error) {
119 Error&& operator<<(ResultError&& result_error) {
166 Result(const ResultError& result_error) in Result()
169 Result(ResultError&& result_error) in Result()
182 const ResultError& error() const & { return std::get<1>(contents_); } in error()
183 ResultError&& error() && { return std::get<1>(std::move(contents_)); } in error()
[all …]
Dsubcontext.cpp323 return ResultError(failure.error_string(), failure.error_errno()); in Execute()
347 return ResultError(failure.error_string(), failure.error_errno()); in ExpandArgs()
Dresult_test.cpp296 return Result<Success>(ResultError("failure string", 6)); in TEST()