Home
last modified time | relevance | path

Searched refs:include_message (Results 1 – 3 of 3) sorted by relevance

/system/core/libutils/include/utils/
DErrorsMacros.h168 template <bool include_message>
169 bool operator==(const base::ResultError<StatusT, include_message>& l, const status_t& r) {
172 template <bool include_message>
173 bool operator==(const status_t& l, const base::ResultError<StatusT, include_message>& r) {
177 template <bool include_message>
178 bool operator!=(const base::ResultError<StatusT, include_message>& l, const status_t& r) {
181 template <bool include_message>
182 bool operator!=(const status_t& l, const base::ResultError<StatusT, include_message>& r) {
/system/libbase/include/android-base/
Dresult.h131 template <typename E = Errno, bool include_message = true>
213 template <typename E = Errno, bool include_message = true,
236 static_assert(include_message, "<< not supported when include_message = false");
251 static_assert(include_message, "str() not supported when include_message = false");
278 std::conditional_t<include_message, std::stringstream, internal::DoNothingStream> ss_;
320 template <typename T, typename E = Errno, bool include_message = true>
321 using Result = android::base::expected<T, ResultError<E, include_message>>;
401 template <typename T, typename E, bool include_message>
402 struct OkOrFail<Result<T, E, include_message>>
403 : public impl::NumericConversions<Result<T, E, include_message>> {
[all …]
/system/libbase/
Dresult_test.cpp730 constexpr bool include_message = false; in TEST() local
731 Result<void, Errno, include_message> res = Error<Errno, include_message>(10); in TEST()