Searched refs:unexpected (Results 1 – 18 of 18) 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/serialize/ |
D | protobuf_io.cc | 107 return unexpected{err}; in WriteFully() 122 return unexpected{EDOM}; in WriteFully() 130 return unexpected{err}; in WriteFully() 143 return unexpected{err}; in WriteFully() 153 return unexpected{EXFULL}; in WriteFully() 160 return unexpected{err}; in WriteFully()
|
/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())} {} 358 struct unexpected { 359 unexpected() = delete; 360 constexpr explicit unexpected(const E& error) : error_{error} {} 361 constexpr explicit unexpected(E&& error) : error_{std::move(error)} {} 371 constexpr bool operator==(const unexpected<E>& x, const unexpected<E>& y) { 376 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/src/inode2filename/ |
D | inode_result.h | 51 return InodeResult{inode, iorap::unexpected{err_no}}; in makeFailure()
|
D | search_directories.cc | 719 return iorap::unexpected(StatError{errno, path_name}); in Stat()
|
/system/iorap/include/binder/ |
D | app_launch_event.h | 210 return unexpected(res); in ReadProto() 221 return unexpected(::android::NO_MEMORY); in ReadProto() 225 return unexpected(::android::BAD_VALUE); in ReadProto() 242 return unexpected(res); in ReadNullableProto()
|
/system/netd/libnetdutils/ |
D | ThreadUtilTest.cpp | 30 return android::base::unexpected(ret); in getThreadName()
|
/system/extras/simpleperf/ |
D | ETMDecoder.cpp | 794 return android::base::unexpected(ss.str()); in Init() 816 return android::base::unexpected("no segments"); in Init()
|
/system/timezone/ |
D | README.android | 92 isolate unexpected changes to behavior.
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | init.te | 614 # unexpected side effects. (b/140789528)
|
/system/sepolicy/public/ |
D | init.te | 639 # unexpected side effects. (b/140789528)
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | init.te | 639 # unexpected side effects. (b/140789528)
|
/system/chre/doc/ |
D | nanoapp_developer_guide.md | 337 To help catch programming errors or other unexpected conditions, nanoapps can
|