Lines Matching refs:ErrorOr
77 ErrorOr<Dummy> error_or1(Error(Error::Code::kCborParsing, "Parse Error")); in TEST()
78 const ErrorOr<Dummy> error_or2(Error::Code::kCborParsing); in TEST()
79 ErrorOr<Dummy> error_or3(Error::Code::kCborParsing, "Parse Error Again"); in TEST()
99 const ErrorOr<Dummy> error_or4(std::move(error_or1)); in TEST()
100 const ErrorOr<Dummy> error_or5 = std::move(error_or3); in TEST()
116 const ErrorOr<int> error_or_integer(1337); in TEST()
124 ErrorOr<Dummy> error_or1(Dummy("Winterfell")); in TEST()
125 ErrorOr<Dummy> error_or2(Dummy("Riverrun")); in TEST()
137 const ErrorOr<Dummy> error_or3(std::move(error_or1)); in TEST()
138 ErrorOr<Dummy> error_or4 = std::move(error_or2); in TEST()
155 const ErrorOr<int> e1(7); in TEST()
156 const ErrorOr<int> e2(7); in TEST()
157 const ErrorOr<int> e3(2); in TEST()
158 const ErrorOr<int> e4(10); in TEST()
160 const ErrorOr<int> e5(Error::Code::kAgain); in TEST()
161 const ErrorOr<int> e6(Error::Code::kCborParsing); in TEST()
162 const ErrorOr<int> e7(Error::Code::kCborEncoding); in TEST()
163 const ErrorOr<int> e8(Error::Code::kCborEncoding); in TEST()
165 const ErrorOr<int> e9(Error::Code::kAgain, "foo"); in TEST()
166 const ErrorOr<int> e10(Error::Code::kAgain, "bar"); in TEST()