Home
last modified time | relevance | path

Searched defs:StatusAdapter (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/utils/base/
Dstatus_macros.h31 explicit StatusAdapter(const Status& s) : s_(s) {} in StatusAdapter() function
32 explicit StatusAdapter(Status&& s) : s_(std::move(s)) {} in StatusAdapter() function
34 explicit StatusAdapter(const StatusOr<T>& s) : s_(s.status()) {} in StatusAdapter() function
36 explicit StatusAdapter(StatusOr<T>&& s) : s_(std::move(s).status()) {} in StatusAdapter() function
/external/icing/icing/text_classifier/lib3/utils/base/
Dstatus_macros.h29 explicit StatusAdapter(const Status& s) : s_(s) {} in StatusAdapter() function
30 explicit StatusAdapter(Status&& s) : s_(std::move(s)) {} in StatusAdapter() function
32 explicit StatusAdapter(const StatusOr<T>& s) : s_(s.status()) {} in StatusAdapter() function
34 explicit StatusAdapter(StatusOr<T>&& s) : s_(std::move(s).status()) {} in StatusAdapter() function