Searched defs:Result (Results 1 - 5 of 5) sorted by relevance

/system/netd/server/dns/
H A DDnsTlsQueryMap.h47 typedef DnsTlsServer::Result Result; typedef in class:android::net::DnsTlsQueryMap
50 QueryFuture(Query query, std::future<Result> result) :
54 std::future<Result> result;
89 std::promise<Result> result;
H A DDnsTlsServer.h40 struct Result { struct in struct:android::net::DnsTlsServer
H A DDnsTlsTransport.h51 typedef DnsTlsServer::Result Result; typedef in class:android::net::DnsTlsTransport
54 std::future<Result> query(const netdutils::Slice query) EXCLUDES(mLock);
/system/core/init/
H A Dresult.h23 // Result<T> either contains a member of type T that can be accessed using similar semantics as
25 // Result<T>::error().
31 // Success is a typedef that aids in creating Result<T> that do not contain a return value.
32 // Result<Success> is the correct return type for a function that either returns successfully or
33 // returns an error value. Returning Success() from a function that returns Result<Success> is the
36 // A successful Result<T> is constructed implicitly from any type that can be implicitly converted
38 // a function that returns Result<T>.
40 // Error and ErrnoError are used to construct a Result<T> that has failed. The Error class takes
41 // an ostream as an input and are implicitly cast to a Result<T> containing that failure.
46 // ResultError can be used in the ostream when using Error to construct a Result<
154 class Result { class in namespace:android::init
156 Result() {} function in class:android::init::Result
161 Result(U&& result, V&&... results) function in class:android::init::Result
165 Result(Error&& error) : contents_(std::in_place_index_t<1>(), error.str(), error.get_errno()) {} function in class:android::init::Result
166 Result(const ResultError& result_error) function in class:android::init::Result
169 Result(ResultError&& result_error) function in class:android::init::Result
[all...]
/system/update_engine/
H A Domaha_request_action.h71 // The Result values correspond to EVENT_RESULT values of Omaha.
72 enum Result { enum in struct:chromeos_update_engine::OmahaEvent
86 OmahaEvent(Type in_type, Result in_result, ErrorCode in_error_code)
92 Result result;

Completed in 3984 milliseconds