Searched refs:unexpected (Results 1 – 12 of 12) sorted by relevance
/system/libbase/include/android-base/ |
D | expected.h | 55 class unexpected; variable 57 unexpected(E) -> unexpected<E>; 121 struct is_unexpected<unexpected<E>> : std::true_type {}; 138 !std::is_constructible_v<unexpected<E>, expected<U, G>&> && 139 !std::is_constructible_v<unexpected<E>, expected<U, G>> && 140 !std::is_constructible_v<unexpected<E>, const expected<U, G>&> && 141 !std::is_constructible_v<unexpected<E>, const expected<U, G>>; 192 using unexpected_type = unexpected<E>; 246 _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected<G>&, ) 248 _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected<G>&&, std::move) [all …]
|
D | result.h | 145 return android::base::unexpected(std::move(*this)); 151 return android::base::unexpected(*this); 174 return android::base::unexpected(ResultError<E, false>(code_)); 225 return android::base::unexpected(ResultError<P>(str(), static_cast<P>(code_))); 231 return android::base::unexpected(ResultError<P, false>(static_cast<P>(code_))); 344 operator T() const& { return unexpected(error_); } 345 operator T() && { return unexpected(std::move(error_)); } 363 operator expected<type, ErrorType<T>>() const& { return unexpected(this->error_); } \ 364 operator expected<type, ErrorType<T>>()&& { return unexpected(std::move(this->error_)); } 436 return unexpected(this->error_); [all …]
|
/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.5); 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.5); 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/extras/simpleperf/ |
D | ETMRecorder.cpp | 40 using android::base::unexpected; 119 return unexpected("etm event type isn't supported on device"); in CheckEtmSupport() 122 return unexpected("etm devices are not available"); in CheckEtmSupport() 126 return unexpected("etm device version is less than 4.0"); in CheckEtmSupport() 129 return unexpected("etm device doesn't support contextID"); in CheckEtmSupport() 132 return unexpected("etm device isn't enabled by the bootloader"); in CheckEtmSupport() 144 return unexpected("can't find etr device, which moves etm data to memory"); in CheckEtmSupport()
|
D | ETMDecoder.cpp | 865 return android::base::unexpected(ss.str()); in Init() 887 return android::base::unexpected("no segments"); in Init()
|
/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/core/libutils/include/utils/ |
D | ErrorsMacros.h | 62 return unexpected(*this); 83 return unexpected(*this);
|
/system/timezone/ |
D | README.android | 88 isolate unexpected changes to behavior.
|
/system/chre/doc/ |
D | nanoapp_developer_guide.md | 337 To help catch programming errors or other unexpected conditions, nanoapps can
|
/system/sepolicy/private/ |
D | init.te | 806 # unexpected side effects. (b/140789528)
|