Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/utf8/
Dunilib-javaicu.h120 StatusOr<std::string> status_or_result = in Text() local
122 if (!status_or_result.ok()) { in Text()
126 return status_or_result.ValueOrDie(); in Text()
Dunilib-javaicu.cc430 StatusOr<std::string> status_or_result = in Group() local
432 if (!status_or_result.ok()) { in Group()
437 return UTF8ToUnicodeText(status_or_result.ValueOrDie(), /*do_copy=*/true); in Group()
465 StatusOr<std::string> status_or_result = in Group() local
467 if (!status_or_result.ok()) { in Group()
472 return UTF8ToUnicodeText(status_or_result.ValueOrDie(), /*do_copy=*/true); in Group()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_parser.cc4816 auto status_or_result = StringToHloOpcode(val); in ParseOpcode() local
4817 if (!status_or_result.ok()) { in ParseOpcode()
4819 status_or_result.status().error_message())); in ParseOpcode()
4821 *result = status_or_result.ValueOrDie(); in ParseOpcode()
4858 auto status_or_result = StringToComparisonDirection(val); in ParseComparisonDirection() local
4859 if (!status_or_result.ok()) { in ParseComparisonDirection()
4863 *result = status_or_result.ValueOrDie(); in ParseComparisonDirection()
4874 auto status_or_result = StringToComparisonType(val); in ParseComparisonType() local
4875 if (!status_or_result.ok()) { in ParseComparisonType()
4878 *result = status_or_result.ValueOrDie(); in ParseComparisonType()
[all …]