/external/tensorflow/tensorflow/tools/compatibility/ |
D | tf_upgrade_v2_test.py | 571 expected_text = ns + "(loss_reduction=tf.compat.v1.losses.Reduction.SUM)" 573 self.assertEqual(expected_text, new_text) 576 expected_text = ns + "(loss_reduction=TEST)" 580 expected_text = ( 585 self.assertEqual(expected_text, new_text) 588 expected_text = ("tf.estimator.BaselineClassifier(" + 592 self.assertEqual(expected_text, new_text) 600 expected_text = "tf.compat.v1.estimator." + c + suffix 602 self.assertEqual(new_text, expected_text) 616 expected_text = "tf.compat.v1.estimator." + c + suffix [all …]
|
/external/u-boot/test/py/tests/ |
D | test_efi_loader.py | 125 expected_text = 'Bytes transferred = ' 128 expected_text += '%d' % sz 129 assert expected_text in output 154 expected_text = 'Hello, world' 155 assert expected_text in output 156 expected_text = '## Application terminated, r = 0' 157 assert expected_text in output 168 expected_text = 'Hello, world' 169 assert expected_text in output
|
D | test_net.py | 153 expected_text = 'Bytes transferred = ' 156 expected_text += '%d' % sz 157 assert expected_text in output 193 expected_text = 'Bytes transferred = ' 196 expected_text += '%d' % sz 197 assert expected_text in output
|
/external/swiftshader/third_party/SPIRV-Tools/test/reduce/ |
D | reduce_test_util.cpp | 35 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument 40 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual() 44 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument 48 CheckEqual(env, expected_text, actual_binary); in CheckEqual()
|
D | reduce_test_util.h | 51 void CheckEqual(spv_target_env env, const std::string& expected_text, 56 void CheckEqual(spv_target_env env, const std::string& expected_text,
|
/external/deqp-deps/SPIRV-Tools/test/reduce/ |
D | reduce_test_util.cpp | 35 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument 40 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual() 44 void CheckEqual(const spv_target_env env, const std::string& expected_text, in CheckEqual() argument 48 CheckEqual(env, expected_text, actual_binary); in CheckEqual()
|
D | reduce_test_util.h | 51 void CheckEqual(spv_target_env env, const std::string& expected_text, 56 void CheckEqual(spv_target_env env, const std::string& expected_text,
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface_unittest.cc | 144 void ExpectErrorText(const string& expected_text); 155 void ExpectCapturedStdout(const string& expected_text); 398 void CommandLineInterfaceTest::ExpectErrorText(const string& expected_text) { in Run() argument 400 EXPECT_EQ(StringReplace(expected_text, "$tmpdir", temp_directory_, true), in Run() 483 const string& expected_text) { in Run() argument 484 EXPECT_EQ(expected_text, captured_stdout_); in Run() 1755 void ExpectStdoutMatchesText(const string& expected_text) { in Run() argument 1756 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stdout_)); in Run() 1759 void ExpectStderrMatchesText(const string& expected_text) { in Run() argument 1760 EXPECT_EQ(StripCR(expected_text), StripCR(captured_stderr_)); in Run()
|
/external/swiftshader/third_party/SPIRV-Tools/test/comp/ |
D | markv_codec_test.cpp | 101 std::string expected_text; in TestEncodeDecode() local 102 Disassemble(expected_binary, &expected_text); in TestEncodeDecode() 103 ASSERT_FALSE(expected_text.empty()); in TestEncodeDecode() 134 EXPECT_EQ(expected_text, decoded_text) << encoder_comments.str(); in TestEncodeDecode()
|
/external/deqp-deps/SPIRV-Tools/test/comp/ |
D | markv_codec_test.cpp | 101 std::string expected_text; in TestEncodeDecode() local 102 Disassemble(expected_binary, &expected_text); in TestEncodeDecode() 103 ASSERT_FALSE(expected_text.empty()); in TestEncodeDecode() 134 EXPECT_EQ(expected_text, decoded_text) << encoder_comments.str(); in TestEncodeDecode()
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io.cc | 111 Status ExpectText(const string& data, const string& expected_text, in ExpectText() argument 115 IncrementOffset(*offset, expected_text.size(), data.size(), &new_offset)); in ExpectText() 117 if (found_text != expected_text) { in ExpectText() 118 return errors::InvalidArgument("Header mismatch: Expected ", expected_text, in ExpectText()
|
D | wav_io_test.cc | 31 Status ExpectText(const string& data, const string& expected_text, int* offset);
|
/external/python/cpython3/Lib/test/ |
D | test_pydoc.py | 443 expected_text = expected_text_pattern % ( 447 self.assertEqual(expected_text, result) 551 expected_text = expected_help_pattern % ( 557 self.assertEqual(expected_text, result) 1090 expected_text = expected_dynamicattribute_pattern % ( 1093 self.assertEqual(expected_text, result) 1112 expected_text = expected_virtualattribute_pattern1 % __name__ 1114 self.assertEqual(expected_text, result) 1175 expected_text = expected_missingattribute_pattern % __name__ 1177 self.assertEqual(expected_text, result)
|
D | test_argparse.py | 3015 expected_text = getattr(tester, self.func_suffix) 3016 expected_text = textwrap.dedent(expected_text) 3017 tester.assertEqual(expected_text, parser_text)
|
D | test_enum.py | 2887 expected_text = expected_help_output_without_docs % __name__ 2889 expected_text = expected_help_output_with_docs % __name__ 2894 self.assertEqual(result, expected_text)
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | metadata_test.cc | 183 const string& expected_text) { in AnnotationMatchesSubstring() argument 189 return file_content.substr(begin, end - begin) == expected_text; in AnnotationMatchesSubstring()
|
/external/autotest/client/common_lib/ |
D | logging_manager_test.py | 198 def _compare_logs(self, log_buffer, expected_text): argument 200 expected_lines = expected_text.splitlines()
|
/external/python/cpython2/Lib/test/ |
D | test_pydoc.py | 336 expected_text = expected_text_pattern % ( 339 if result != expected_text: 340 print_diffs(expected_text, result)
|
D | test_argparse.py | 2868 expected_text = getattr(tester, self.func_suffix) 2869 expected_text = textwrap.dedent(expected_text) 2870 if expected_text != parser_text: 2871 print(repr(expected_text)) 2873 for char1, char2 in zip(expected_text, parser_text): 2877 tester.assertEqual(expected_text, parser_text)
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | cpp_interface_test.cpp | 271 std::string expected_text = Header() + in TEST() local 275 CheckOptimization(original_text, expected_text, o); in TEST()
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | cpp_interface_test.cpp | 271 std::string expected_text = Header() + in TEST() local 275 CheckOptimization(original_text, expected_text, o); in TEST()
|
/external/protobuf/src/google/protobuf/ |
D | map_test.cc | 2706 string expected_text; in TEST() local 2711 &expected_text, true)); in TEST() 2713 EXPECT_EQ(message.DebugString(), expected_text); in TEST() 2719 EXPECT_EQ(message2.DebugString(), expected_text); in TEST()
|
/external/libchrome/ipc/ |
D | ipc_sync_channel_unittest.cc | 875 const std::string& expected_text, in QueuedReplyClient() argument 879 expected_text_(expected_text) { in QueuedReplyClient()
|