Home
last modified time | relevance | path

Searched defs:StatusOr (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dstatusor_test.cc71 TEST(StatusOr, TestDefaultCtor) { in TEST() argument
77 TEST(StatusOr, TestStatusCtor) { in TEST() argument
83 TEST(StatusOr, TestValueCtor) { in TEST() argument
90 TEST(StatusOr, TestCopyCtorStatusOk) { in TEST() argument
98 TEST(StatusOr, TestCopyCtorStatusNotOk) { in TEST() argument
104 TEST(StatusOr, TestCopyCtorStatusOKConverting) { in TEST() argument
112 TEST(StatusOr, TestCopyCtorStatusNotOkConverting) { in TEST() argument
118 TEST(StatusOr, TestAssignmentStatusOk) { in TEST() argument
127 TEST(StatusOr, TestAssignmentStatusNotOk) { in TEST() argument
134 TEST(StatusOr, TestAssignmentStatusOKConverting) { in TEST() argument
[all …]
Dstatusor.h100 template<typename U> friend class StatusOr; variable
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor.h81 class TF_MUST_USE_RESULT StatusOr; variable
90 friend class StatusOr; variable
209 StatusOr<T>::StatusOr() : Base(Status(tensorflow::error::UNKNOWN, "")) {} in StatusOr() function
212 StatusOr<T>::StatusOr(const T& value) : Base(value) {} in StatusOr() function
215 StatusOr<T>::StatusOr(const Status& status) : Base(status) {} in StatusOr() function
224 StatusOr<T>::StatusOr(T&& value) : Base(std::move(value)) {} in StatusOr() function
227 StatusOr<T>::StatusOr(Status&& status) : Base(std::move(status)) {} in StatusOr() function
238 inline StatusOr<T>::StatusOr(const StatusOr<U>& other) in StatusOr() function
255 inline StatusOr<T>::StatusOr(StatusOr<U>&& other) in StatusOr() function
Dstatusor_test.cc73 TEST(StatusOr, ElementType) { in TEST() argument
78 TEST(StatusOr, NullPointerStatusOr) { in TEST() argument
86 TEST(StatusOr, TestNoDefaultConstructorInitialization) { in TEST() argument
98 TEST(StatusOr, TestMoveOnlyInitialization) { in TEST() argument
110 TEST(StatusOr, TestMoveOnlyStatusCtr) { in TEST() argument
115 TEST(StatusOr, TestMoveOnlyValueExtraction) { in TEST() argument
126 TEST(StatusOr, TestMoveOnlyConversion) { in TEST() argument
139 TEST(StatusOr, TestMoveOnlyVector) { in TEST() argument
149 TEST(StatusOr, TestMoveWithValuesAndErrors) { in TEST() argument
180 TEST(StatusOr, TestCopyWithValuesAndErrors) { in TEST() argument
[all …]
/external/libtextclassifier/native/utils/base/
Dstatusor.h136 friend class StatusOr; variable
153 inline StatusOr<T>::StatusOr() : status_(StatusCode::UNKNOWN, "") {} in StatusOr() function
156 inline StatusOr<T>::StatusOr(const Status& status) : status_(status) { in StatusOr() function
164 inline StatusOr<T>::StatusOr(const T& value) : value_(value) {} in StatusOr() function
167 inline StatusOr<T>::StatusOr(T&& value) : value_(std::move(value)) {} in StatusOr() function
170 inline StatusOr<T>::StatusOr(const StatusOr& other) in StatusOr() function
174 inline StatusOr<T>::StatusOr(StatusOr&& other) in StatusOr() function
184 inline StatusOr<T>::StatusOr(const StatusOr<U>& other) in StatusOr() function
193 inline StatusOr<T>::StatusOr(StatusOr<U>&& other) in StatusOr() function
203 inline StatusOr<T>::StatusOr(const U& value) : StatusOr(T(value)) {} in StatusOr() function
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dstatusor.h25 using StatusOr = ::stream_executor::port::StatusOr<T>; variable
/external/clang/test/SemaCXX/
Dwarn-unused-result.cpp88 class [[clang::warn_unused_result]] StatusOr { class