Home
last modified time | relevance | path

Searched refs:status_or (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor_test.cc150 StatusOr<string> status_or(string(1000, '0')); in TEST() local
156 ASSERT_TRUE(status_or.ok()); in TEST()
157 EXPECT_EQ(string(1000, '0'), status_or.ValueOrDie()); in TEST()
160 status_or = std::move(value1); in TEST()
161 ASSERT_TRUE(status_or.ok()); in TEST()
162 EXPECT_EQ(string(1000, '1'), status_or.ValueOrDie()); in TEST()
165 status_or = std::move(error1); in TEST()
166 ASSERT_FALSE(status_or.ok()); in TEST()
167 EXPECT_EQ("error1", status_or.status().error_message()); in TEST()
170 status_or = std::move(error2); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_type_test.cc39 auto status_or = ConvertToMlirTensorType(shape, dtype, &b); in ConvertToMlirString() local
42 status_or.ValueOrDie().print(os); in ConvertToMlirString()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dhlo_test_base.cc147 const auto status_or = hlo_pass->Run(module); in RunHloPass() local
148 if (status_or.status().ok()) { in RunHloPass()
150 if (!status_or.ValueOrDie()) { in RunHloPass()
155 return status_or; in RunHloPass()
/external/harfbuzz_ng/src/
Dhb-coretext.cc805 uint32_t status_and = ~0, status_or = 0; in _hb_coretext_shape() local
825 status_or |= run_status; in _hb_coretext_shape()
1060 assert (bool (status_or & kCTRunStatusRightToLeft) == backward); in _hb_coretext_shape()
1097 if (count > 1 && (status_or & kCTRunStatusNonMonotonic)) in _hb_coretext_shape()