/external/tensorflow/tensorflow/compiler/xla/service/ |
pattern_matcher_gmock_test.cc | 36 string Explain(
|
hlo_matchers_test.cc | 35 string Explain(const T& t, const M& m) { 56 EXPECT_THAT(Explain(add.get(), op::Parameter()), Eq("")); 57 EXPECT_THAT(Explain(add.get(), op::Add(op::Parameter())), 60 Explain(add.get(), op::Add(op::Parameter(), op::Parameter())), 66 Explain(add.get(), 101 EXPECT_THAT(Explain(call.get(), op::CustomCall("bar")), 135 EXPECT_THAT(Explain(p0.get(), op::Shape(ShapeUtil::MakeShape(F32, {7, 5}))), 139 Explain(p0.get(), op::ShapeWithLayout(ShapeUtil::MakeShapeWithLayout( 176 EXPECT_THAT(Explain(p0.get(), op::Sharding(HloSharding::AssignDevice(1))), 179 EXPECT_THAT(Explain(p1.get(), op::NoSharding()) [all...] |
/external/tensorflow/tensorflow/compiler/jit/ |
node_matchers_test.cc | 42 string Explain(const T& t, const M& m) { 64 EXPECT_EQ(Explain(placeholder.node(), NodeWith(Op("Add"))), 66 EXPECT_EQ(Explain(placeholder.node(), NodeWith(Name("add"))), 68 EXPECT_EQ(Explain(placeholder.node(), NodeWith(Inputs(Out(NodeWith())))), 86 EXPECT_EQ(Explain(add.node(), NodeWith(Inputs())), 89 Explain(add.node(), NodeWith(Inputs(Out(NodeWith(Name("blah"))), _))), 93 Explain(add.node(), NodeWith(Inputs(_, Out(NodeWith(Name("blah")))))), 121 Explain(placeholder_c.node(), NodeWith(CtrlDeps())), 123 EXPECT_EQ(Explain(placeholder_d.node(), NodeWith(CtrlDeps(NodeWith()))), 141 EXPECT_EQ(Explain(placeholder.node(), NodeWith(ConstantValue(42))) [all...] |
/external/google-breakpad/src/testing/test/ |
gmock-generated-matchers_test.cc | 100 string Explain(const MatcherType& m, const Value& x) { 219 Explain(m, make_tuple(false, 42, 42))); 221 Explain(m, make_tuple(false, 42, 43))); 248 Explain(m, make_tuple('a', 42, 42))); 250 Explain(m, make_tuple('\0', 42, 43))); 330 EXPECT_EQ("", Explain(m, test_list)); // No need to explain anything. 341 Explain(m, test_vector)); 348 // No need to explain when the container is empty. 349 EXPECT_EQ("", Explain(m, test_list)) [all...] |
gmock-matchers_test.cc | 198 string Explain(const MatcherType& m, const Value& x) { 277 EXPECT_EQ("value % 2 == 0", Explain(m, 2)); 278 EXPECT_EQ("value % 2 == 1", Explain(m, 3)); 451 EXPECT_EQ("% 2 == 0", Explain(m1, 42)); 462 EXPECT_EQ("% 2 == 0", Explain(m2, '\x42')); 1033 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), n), 1037 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), m), [all...] |
/external/googletest/googlemock/test/ |
gmock-generated-matchers_test.cc | 111 std::string Explain(const MatcherType& m, const Value& x) { 190 EXPECT_EQ("", Explain(m, test_list)); // No need to explain anything. 201 Explain(m, test_vector)); 208 // No need to explain when the container is empty. 209 EXPECT_EQ("", Explain(m, test_list)); 212 EXPECT_EQ("which has 1 element", Explain(m, test_list)); 221 EXPECT_EQ("whose element #0 doesn't match", Explain(m, v)); 225 Explain(m, v)); 594 EXPECT_EQ("", Explain(m, 6)) [all...] |
gmock-matchers_test.cc | 160 std::string Explain(const MatcherType& m, const Value& x) { 247 EXPECT_EQ("value % 2 == 0", Explain(m, 2)); 248 EXPECT_EQ("value % 2 == 1", Explain(m, 3)); 555 EXPECT_EQ("% 2 == 0", Explain(m1, 42)); 566 EXPECT_EQ("% 2 == 0", Explain(m2, '\x42')); [all...] |