/external/tensorflow/tensorflow/core/framework/ |
D | op_def_builder_test.cc | 43 void ExpectSuccess(const OpDefBuilder& builder, StringPiece proto, in ExpectSuccess() function in tensorflow::__anonf06401700111::OpDefBuilderTest 88 ExpectSuccess(b().Attr("a:string"), "attr: { name: 'a' type: 'string' }"); in TEST_F() 89 ExpectSuccess(b().Attr("A: int"), "attr: { name: 'A' type: 'int' }"); in TEST_F() 90 ExpectSuccess(b().Attr("a1 :float"), "attr: { name: 'a1' type: 'float' }"); in TEST_F() 91 ExpectSuccess(b().Attr("a_a : bool"), "attr: { name: 'a_a' type: 'bool' }"); in TEST_F() 92 ExpectSuccess(b().Attr("aB : type"), "attr: { name: 'aB' type: 'type' }"); in TEST_F() 93 ExpectSuccess(b().Attr("aB_3\t: shape"), in TEST_F() 95 ExpectSuccess(b().Attr("t: tensor"), "attr: { name: 't' type: 'tensor' }"); in TEST_F() 96 ExpectSuccess(b().Attr("XYZ\t:\tlist(type)"), in TEST_F() 98 ExpectSuccess(b().Attr("f: func"), "attr { name: 'f' type: 'func'}"); in TEST_F() [all …]
|
D | node_def_builder_test.cc | 51 void ExpectSuccess(const NodeDefBuilder& builder, in ExpectSuccess() function in tensorflow::__anon44d0fdd70111::NodeDefBuilderTest 119 ExpectSuccess(Builder().Input("x", 0, DT_INT32), {DT_INT32}, {DT_FLOAT}, in TEST_F() 123 ExpectSuccess(Builder().Input("y", 2, DT_INT32), {DT_INT32}, {DT_FLOAT}, in TEST_F() 127 ExpectSuccess(Builder().Input(FakeInput()), {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F() 130 ExpectSuccess(Builder().Input(FakeInput(DT_INT32)), {DT_INT32}, {DT_FLOAT}, in TEST_F() 134 ExpectSuccess(Builder().Input(FakeInput(DT_INT32_REF)), {DT_INT32}, in TEST_F() 138 ExpectSuccess( in TEST_F() 144 ExpectSuccess(Builder().Input(FakeInput()).Device("ddd"), {DT_INT32}, in TEST_F() 162 ExpectSuccess(builder, {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F() 172 ExpectSuccess(builder, {DT_INT32}, {DT_FLOAT}, R"proto( in TEST_F() [all …]
|
D | op_compatibility_test.cc | 50 void ExpectSuccess(const OpDef& old_op_def) { in ExpectSuccess() function in tensorflow::__anon6bac2c150111::OpCompatibilityTest 210 ExpectSuccess(*RegisteredOpDef()); in TEST_F() 226 ExpectSuccess(old_op.op_def); in TEST_F() 243 ExpectSuccess(old_op.op_def); in TEST_F() 261 ExpectSuccess(old_op.op_def); in TEST_F() 281 ExpectSuccess(old_op.op_def); in TEST_F() 302 ExpectSuccess(old_op.op_def); in TEST_F() 324 ExpectSuccess(old_op.op_def); in TEST_F() 347 ExpectSuccess(old_op.op_def); in TEST_F() 369 ExpectSuccess(old_op.op_def); in TEST_F() [all …]
|
D | op_kernel_test.cc | 156 void ExpectSuccess(const string& op_type, DeviceType device_type, in ExpectSuccess() function in tensorflow::__anon843475bc0111::OpKernelTest 192 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT, DT_INT32}, {DT_UINT8}); in TEST_F() 193 ExpectSuccess("Test1", DEVICE_CPU, {DT_FLOAT_REF, DT_INT32}, {DT_UINT8}); in TEST_F() 198 ExpectSuccess("Test2", DEVICE_GPU, {DT_INT32}, {DT_INT32}); in TEST_F() 203 ExpectSuccess("Test3", DEVICE_CPU, {DT_INT8, DT_INT8}, {}); in TEST_F() 204 ExpectSuccess("Test3", DEVICE_GPU, {DT_FLOAT, DT_FLOAT}, {}); in TEST_F() 423 std::unique_ptr<OpKernel> ExpectSuccess(const string& op_type, in ExpectSuccess() function in tensorflow::__anon843475bc0111::OpKernelBuilderTest 522 ExpectSuccess("BuildCPU", DEVICE_CPU, {}); in TEST_F() 533 ExpectSuccess("BuildGPU", DEVICE_GPU, {}); in TEST_F() 541 ExpectSuccess("BuildBoth", DEVICE_CPU, {}); in TEST_F() [all …]
|
D | node_def_util_test.cc | 52 void ExpectSuccess(const NodeDef& good, const OpDef& op_def) { in ExpectSuccess() function 82 ExpectSuccess(node_def, op); in TEST() 126 ExpectSuccess(node_def, op); in TEST() 147 ExpectSuccess(node_def, op); in TEST() 167 ExpectSuccess(node_def, op); in TEST() 174 ExpectSuccess(good, op); in TEST() 194 ExpectSuccess(node_def, op); in TEST() 224 ExpectSuccess(node_def, op); in TEST() 248 ExpectSuccess(node_def1, op_def1); in TEST() 255 ExpectSuccess(node_def2, op_def2); in TEST()
|
/external/skqp/tests/ |
D | PathOpsExtendedTest.cpp | 73 enum class ExpectSuccess { enum 487 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status() 489 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status() 490 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status() 563 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify() 581 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify() 591 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify() 616 return inner_simplify(reporter, path, filename, ExpectSuccess::kYes, SkipAssert::kNo, in testSimplify() 621 return inner_simplify(reporter, path, filename, ExpectSuccess::kFlaky, SkipAssert::kYes, in testSimplifyFuzz() 628 ExpectSuccess::kYes : ExpectSuccess::kNo, SkipAssert::kNo, ExpectMatch::kNo); in testSimplifyCheck() [all …]
|
/external/skia/tests/ |
D | PathOpsExtendedTest.cpp | 73 enum class ExpectSuccess { enum 487 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status() 489 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status() 490 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status() 563 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify() 581 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify() 591 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify() 616 return inner_simplify(reporter, path, filename, ExpectSuccess::kYes, SkipAssert::kNo, in testSimplify() 621 return inner_simplify(reporter, path, filename, ExpectSuccess::kFlaky, SkipAssert::kYes, in testSimplifyFuzz() 628 ExpectSuccess::kYes : ExpectSuccess::kNo, SkipAssert::kNo, ExpectMatch::kNo); in testSimplifyCheck() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_extensions_test.cpp | 47 ExpectSuccess, ValidateKnownExtensions, 71 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument 218 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument 230 INSTANTIATE_TEST_CASE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_extensions_test.cpp | 47 ExpectSuccess, ValidateKnownExtensions, 71 TEST_P(ValidateKnownExtensions, ExpectSuccess) { in TEST_P() argument 218 TEST_P(ValidateAMDShaderBallotCapabilities, ExpectSuccess) { in TEST_P() argument 230 INSTANTIATE_TEST_CASE_P(ExpectSuccess, ValidateAMDShaderBallotCapabilities,
|
/external/libbrillo/brillo/streams/ |
D | stream_utils_unittest.cc | 184 void ExpectSuccess() { in ExpectSuccess() function in brillo::CopyStreamDataTest 208 ExpectSuccess(); in TEST_F() 228 ExpectSuccess(); in TEST_F() 246 ExpectSuccess(); in TEST_F() 266 ExpectSuccess(); in TEST_F()
|
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ |
D | increment.pass.cpp | 370 bool ExpectSuccess; in TEST_CASE() member 387 if (TC.ExpectSuccess) { in TEST_CASE() 454 bool ExpectSuccess; in TEST_CASE() member 476 if (TC.ExpectSuccess) { in TEST_CASE()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 378 …void ExpectSuccess(VkDebugReportFlagsEXT const message_flag_mask = VK_DEBUG_REPORT_ERROR_BIT_EXT) { in ExpectSuccess() function in ErrorMonitor 6634 m_errorMonitor->ExpectSuccess(); in TEST_F() 7263 m_errorMonitor->ExpectSuccess(); in TEST_F() 7309 m_errorMonitor->ExpectSuccess(); in TEST_F() 7320 m_errorMonitor->ExpectSuccess(); in TEST_F() 7393 m_errorMonitor->ExpectSuccess(); in TEST_F() 7439 m_errorMonitor->ExpectSuccess(); in TEST_F() 7519 m_errorMonitor->ExpectSuccess(); in TEST_F() 7711 m_errorMonitor->ExpectSuccess(); in TEST_F() 7721 m_errorMonitor->ExpectSuccess(); in TEST_F() [all …]
|