Searched refs:status_or (Results 1 – 4 of 4) sorted by relevance
150 StatusOr<string> status_or(string(1000, '0')); in TEST() local156 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 …]
39 auto status_or = ConvertToMlirTensorType(shape, dtype, &b); in ConvertToMlirString() local42 status_or.ValueOrDie().print(os); in ConvertToMlirString()
147 const auto status_or = hlo_pass->Run(module); in RunHloPass() local148 if (status_or.status().ok()) { in RunHloPass()150 if (!status_or.ValueOrDie()) { in RunHloPass()155 return status_or; in RunHloPass()
805 uint32_t status_and = ~0, status_or = 0; in _hb_coretext_shape() local825 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()