Searched refs:unexpected (Results 1 – 15 of 15) sorted by relevance
/system/libbase/include/android-base/ |
D | expected.h | 57 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 …]
|
D | result.h | 95 return android::base::unexpected(ResultError(message_, code_)); 128 return android::base::unexpected(ResultError(str(), errno_));
|
/system/libbase/ |
D | expected_test.cpp | 26 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/ |
D | expected.h | 259 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/ |
D | required_error | 1 syntax error, unexpected ','
|
/system/tools/hidl/test/error_test/no_leading_comma_result_list/1.0/ |
D | required_error | 1 syntax error, unexpected ','
|
/system/tools/hidl/test/error_test/bad_character/1.0/ |
D | required_error | 1 syntax error, unexpected unknown character
|
/system/iorap/include/binder/ |
D | app_launch_event.h | 170 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/ |
D | search_directories.h | 43 return InodeResult{inode, iorap::unexpected{err_no}}; in makeFailure()
|
D | search_directories.cc | 657 return iorap::unexpected(StatError{errno, path_name}); in Stat()
|
/system/netd/libnetdutils/ |
D | ThreadUtilTest.cpp | 30 return android::base::unexpected(ret); in getThreadName()
|
/system/core/adb/ |
D | OVERVIEW.TXT | 134 unexpected transport disconnections (e.g. when a device is physically
|
/system/timezone/ |
D | README.android | 92 isolate unexpected changes to behavior.
|
/system/sepolicy/public/ |
D | init.te | 616 # unexpected side effects. (b/140789528)
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | init.te | 614 # unexpected side effects. (b/140789528)
|