Home
last modified time | relevance | path

Searched refs:unexpected (Results 1 – 15 of 15) sorted by relevance

/system/libbase/include/android-base/
Dexpected.h57 class unexpected; variable
59 unexpected(E) -> unexpected<E>;
90 using unexpected_type = unexpected<E>;
117 else var_ = unexpected(rhs.error()); in expected()
136 else var_ = unexpected(rhs.error()); in expected()
156 else var_ = unexpected(std::move(rhs.error())); in expected()
175 else var_ = unexpected(std::move(rhs.error())); in expected()
182 !std::is_same_v<unexpected<E>, std::remove_cv_t<std::remove_reference_t<U>>> &&
192 !std::is_same_v<unexpected<E>, std::remove_cv_t<std::remove_reference_t<U>>> &&
203 constexpr expected(const unexpected<G>& e) in expected()
[all …]
Dresult.h95 return android::base::unexpected(ResultError(message_, code_));
128 return android::base::unexpected(ResultError(str(), errno_));
/system/libbase/
Dexpected_test.cpp26 using android::base::unexpected;
164 exp_int::unexpected_type unexp = unexpected(10); in TEST()
167 exp_double::unexpected_type unexp2 = unexpected(10.5f); in TEST()
170 exp_string::unexpected_type unexp3 = unexpected(std::string("error")); in TEST()
173 exp_void::unexpected_type unexp4 = unexpected(10); in TEST()
187 exp_int e = unexpected(10); in TEST()
188 exp_double e2 = unexpected(10.5f); in TEST()
189 exp_string e3 = unexpected(std::string("error")); in TEST()
190 exp_void e4 = unexpected(10); in TEST()
248 exp_void e5 = unexpected(10); in TEST()
[all …]
/system/iorap/src/common/
Dexpected.h259 struct unexpected;
274 constexpr expected(unexpected<G> const& u) : expected{u.value()} {}
277 constexpr expected(unexpected<G>&& u) : expected{std::move(u.value())} {}
352 struct unexpected {
353 unexpected() = delete;
354 constexpr explicit unexpected(const E& error) : error_{error} {}
355 constexpr explicit unexpected(E&& error) : error_{std::move(error)} {}
365 constexpr bool operator==(const unexpected<E>& x, const unexpected<E>& y) {
370 constexpr bool operator!=(const unexpected<E>& x, const unexpected<E>& y) {
/system/tools/hidl/test/error_test/no_leading_comma_argument_list/1.0/
Drequired_error1 syntax error, unexpected ','
/system/tools/hidl/test/error_test/no_leading_comma_result_list/1.0/
Drequired_error1 syntax error, unexpected ','
/system/tools/hidl/test/error_test/bad_character/1.0/
Drequired_error1 syntax error, unexpected unknown character
/system/iorap/include/binder/
Dapp_launch_event.h170 return unexpected(res); in ReadProto()
181 return unexpected(::android::NO_MEMORY); in ReadProto()
185 return unexpected(::android::BAD_VALUE); in ReadProto()
202 return unexpected(res); in ReadNullableProto()
/system/iorap/src/inode2filename/
Dsearch_directories.h43 return InodeResult{inode, iorap::unexpected{err_no}}; in makeFailure()
Dsearch_directories.cc657 return iorap::unexpected(StatError{errno, path_name}); in Stat()
/system/netd/libnetdutils/
DThreadUtilTest.cpp30 return android::base::unexpected(ret); in getThreadName()
/system/core/adb/
DOVERVIEW.TXT134 unexpected transport disconnections (e.g. when a device is physically
/system/timezone/
DREADME.android92 isolate unexpected changes to behavior.
/system/sepolicy/public/
Dinit.te616 # unexpected side effects. (b/140789528)
/system/sepolicy/prebuilts/api/30.0/public/
Dinit.te614 # unexpected side effects. (b/140789528)