Searched refs:StatusAdapter (Results 1 – 3 of 3) sorted by relevance
29 class StatusAdapter {31 explicit StatusAdapter(const Status& s) : s_(s) {} in StatusAdapter() function32 explicit StatusAdapter(Status&& s) : s_(std::move(s)) {} in StatusAdapter() function34 explicit StatusAdapter(const StatusOr<T>& s) : s_(s.status()) {} in StatusAdapter() function36 explicit StatusAdapter(StatusOr<T>&& s) : s_(std::move(s).status()) {} in StatusAdapter() function70 if (::libtextclassifier3::StatusAdapter adapter{expr}) { \
27 class StatusAdapter {29 explicit StatusAdapter(const Status& s) : s_(s) {} in StatusAdapter() function30 explicit StatusAdapter(Status&& s) : s_(std::move(s)) {} in StatusAdapter() function32 explicit StatusAdapter(const StatusOr<T>& s) : s_(s.status()) {} in StatusAdapter() function34 explicit StatusAdapter(StatusOr<T>&& s) : s_(std::move(s).status()) {} in StatusAdapter() function68 if (::libtextclassifier3::StatusAdapter adapter{expr}) { \
297 libtextclassifier3::StatusAdapter adapter(arg);320 libtextclassifier3::StatusAdapter adapter(arg);333 libtextclassifier3::StatusAdapter adapter(arg);