/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_processor_unittest.cc | 73 std::vector<int64_t> expected_results{1, 2, 3, 4}; in TEST() local 74 ASSERT_EQ(result.size(), expected_results.size()); in TEST() 75 for (size_t i = 0; i < expected_results.size(); i++) { in TEST() 76 EXPECT_EQ(result[i].log_time_ms(), expected_results[i]); in TEST() 91 std::vector<int64_t> expected_results{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in TEST() local 92 ASSERT_EQ(result.size(), expected_results.size()); in TEST() 93 for (size_t i = 0; i < expected_results.size(); i++) { in TEST() 94 EXPECT_EQ(result[i].log_time_ms(), expected_results[i]); in TEST() 109 std::vector<int64_t> expected_results{1, 1, 2, 2, 3, 3, 4, 4, 5, 5}; in TEST() local 110 ASSERT_EQ(result.size(), expected_results.size()); in TEST() [all …]
|
/external/autotest/client/cros/graphics/ |
D | graphics_utils_unittest.py | 30 expected_results = {'bytes': 249675776, 'objects': 274} 32 self.assertEqual(expected_results, 51 expected_results = {'bytes': 100163584, 'objects': 557} 53 self.assertEqual(expected_results, 67 expected_results = {'bytes': 99713024, 'objects': 470} 69 self.assertEqual(expected_results,
|
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/ |
D | publish.cpp | 57 std::vector<int> expected_results; variable 58 expected_results.push_back(0); 59 expected_results.push_back(1); 60 expected_results.push_back(2); 61 expected_results.push_back(3); 63 CHECK(results == expected_results); 83 std::vector<long> expected_results; variable 85 expected_results.push_back(i); 87 CHECK(results == expected_results); 125 std::vector<long> expected_results; variable [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | logcat_monitor_test.py | 131 expected_results = [('7890', '0987', 'V', 'LogcatMonitorTest', 144 self.assertIterEqual(iter(expected_results), actual_results) 154 expected_results = [] 156 self.assertIterEqual(iter(expected_results), actual_results) 168 expected_results = [('1234', '4321', 'E', 'LogcatMonitorTest', 170 self.assertIterEqual(iter(expected_results), actual_results) 182 expected_results = [('9012', '2109', 'I', 'LogcatMonitorTest', 184 self.assertIterEqual(iter(expected_results), actual_results) 196 expected_results = [('8901', '1098', 'D', 'LogcatMonitorTest', 200 self.assertIterEqual(iter(expected_results), actual_results) [all …]
|
/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_cl_khr_spirv_no_integer_wrap_decoration.cpp | 35 std::vector<T> expected_results(num); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() local 117 expected_results[i] = h_lhs[i] + h_rhs[i]; in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 119 expected_results[i] = h_lhs[i] - h_rhs[i]; in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 121 expected_results[i] = h_lhs[i] * h_rhs[i]; in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 123 expected_results[i] = h_lhs[i] << h_rhs[i]; in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 125 expected_results[i] = 0 - h_lhs[i]; in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 158 if (expected_results[i] != h_ref[i]) { in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 159 …rror("Values do not match at index %d expected = %d got = %d\n", i, expected_results[i], h_ref[i]); in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 192 if (expected_results[i] != h_res[i]) { in test_ext_cl_khr_spirv_no_integer_wrap_decoration() 193 …r("Values do not match at location %d expected = %d got = %d\n", i, expected_results[i], h_res[i]); in test_ext_cl_khr_spirv_no_integer_wrap_decoration()
|
/external/tensorflow/tensorflow/compiler/mlir/tfr/integration/ |
D | tfr_decompose_ctx_test.cc | 119 std::vector<NodeAndType> expected_results{{"Identity", DT_FLOAT}}; in TEST_F() local 121 ElementsAreArray(expected_results)); in TEST_F() 137 std::vector<NodeAndType> expected_results{{"RiscAddDummy", DT_FLOAT}, in TEST_F() local 140 ElementsAreArray(expected_results)); in TEST_F() 155 std::vector<NodeAndType> expected_results{{"RiscAddDummy", DT_INT32}, in TEST_F() local 158 ElementsAreArray(expected_results)); in TEST_F()
|
/external/autotest/site_utils/ |
D | test_push_common.py | 55 def summarize_push(test_views, expected_results, ignored_tests=[]): argument 57 test_push_errors = _match_test_results(test_views, expected_results, 62 def _match_test_results(test_views, expected_results, ignored_tests): argument 84 for test_name_pattern, expected_result in expected_results.items(): 97 missing_tests = set(expected_results.keys()) - found_keys
|
D | test_push.py | 327 def test_suite(suite_name, expected_results, arguments, use_shard=False, argument 349 verify_test_results(suite_job_id, expected_results) 352 def verify_test_results(job_id, expected_results): argument 361 summary = test_push_common.summarize_push(test_views, expected_results, 375 def test_suite_wrapper(queue, suite_name, expected_results, arguments, argument 389 test_suite(suite_name, expected_results, arguments, use_shard,
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_select_reuseport.c | 33 static enum result expected_results[NR_RESULTS]; variable 318 if (results[i] != expected_results[i]) { in check_results() 335 printf("%u", expected_results[0]); in check_results() 337 printf(", %u", expected_results[i]); in check_results() 340 CHECK(expected_results[broken] != results[broken], in check_results() 432 expected_results[DROP_ERR_INNER_MAP]++; in test_err_inner_map() 440 expected_results[DROP_ERR_SKB_DATA]++; in test_err_skb_data() 453 expected_results[DROP_ERR_SK_SELECT_REUSEPORT]++; in test_err_sk_select_port() 466 expected_results[PASS]++; in test_pass() 489 expected_results[PASS] += 2; in test_syncookie() [all …]
|
/external/pigweed/pw_arduino_build/py/ |
D | file_operations_test.py | 91 expected_results): argument 98 self.assertSequenceEqual(expected_results, result)
|
/external/tensorflow/tensorflow/python/distribute/ |
D | custom_training_loop_gradient_test.py | 45 def assert_equal_flattened(self, expected_results, actual_results): argument 55 self.assertEqual(len(expected_results), len(actual_results)) 57 for i, expected_result in enumerate(expected_results):
|
D | custom_training_loop_input_test.py | 56 def assert_equal_flattened(self, expected_results, actual_results): argument 66 self.assertEqual(len(expected_results), len(actual_results)) 68 for i, expected_result in enumerate(expected_results): 370 expected_results = [[25., 36.], [49.]] 371 self.assertEqual(len(expected_results), len(results)) 375 for i, expected_result in enumerate(expected_results):
|
/external/toolchain-utils/crosperf/ |
D | generate_report_unittest.py | 51 expected_results = [('foo', 4), ('bar', 0), ('baz', 3)] 52 self.assertCountEqual(expected_results, results)
|
/external/python/cpython3/Lib/test/ |
D | test_multiprocessing_main_handling.py | 159 expected_results = "%s -> [1, 4, 9]" % self.start_method 160 self.assertEqual(out.decode('utf-8').strip(), expected_results)
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderSubroutineTests.cpp | 3683 const GLchar** uniform_names, const Utils::vec4<GLfloat> expected_results[5], in testDraw() 3718 …gl.uniform4f(input_data_location, expected_results[0].m_x, expected_results[0].m_y, expected_resul… in testDraw() 3719 expected_results[0].m_w); in testDraw() 3768 result = result && (results[i] == expected_results[i]); in testDraw() 3794 expected_results[i].log(message); in testDraw() 4845 Utils::vec4<glw::GLfloat> expected_results[7]; in testDraw() local 4846 …calculate(combination, left, right, indices, expected_results[0], expected_results[1], expected_re… in testDraw() 4847 expected_results[3], expected_results[4], expected_results[5], expected_results[6]); in testDraw() 4906 results[i] = (vec4_results[i] == expected_results[i]); in testDraw() 4915 …logError(combination, left, right, indices, expected_results, vec4_results, array_length, results); in testDraw() [all …]
|
D | gl4cShaderSubroutineTests.hpp | 720 bool testAtomicDraw(glw::GLuint subourinte_index, const glw::GLuint expected_results[3]) const; 729 bool testSSBODraw(glw::GLuint subourinte_index, const glw::GLuint expected_results[4]) const;
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | conv_ops_3d_test.py | 171 expected_results = [] 183 expected_results.append(expected) 187 expected_values = self.evaluate(expected_results)
|
/external/tensorflow/tensorflow/c/ |
D | c_api_function_test.cc | 90 const std::vector<std::vector<int32_t>>& expected_results) { in RunT() argument 102 for (int i = 0; i < expected_results.size(); ++i) { in RunT() 107 CompareInt32Tensor(expected_results[i], out); in RunT() 115 const std::vector<int32_t>& expected_results) { in Run() argument 125 for (int i = 0; i < expected_results.size(); ++i) { in Run() 132 EXPECT_EQ(expected_results[i], *output_contents); in Run()
|
/external/autotest/frontend/afe/ |
D | moblab_rpc_interface_unittest.py | 415 expected_results = ['dummy/R60-9500.0.0', 'dummy/R60-9497.0.0', 423 self.assertEquals(expected_results, actual_results)
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics_test.py | 1118 self.expected_results = np.log((np.exp(error) + np.exp(-error)) / 2) 1136 expected_result = np.sum(self.expected_results) / self.batch_size 1147 expected_result = np.multiply(self.expected_results, sample_weight) 1160 self.expected_results = y_pred - np.multiply(y_true, np.log(y_pred)) 1182 expected_result = np.sum(self.expected_results) / self.batch_size 1193 expected_result = np.multiply(self.expected_results, sample_weight) 1206 self.expected_results = np.multiply(y_true, np.log(y_true / y_pred)) 1228 expected_result = np.sum(self.expected_results) / self.batch_size 1240 expected_result = np.multiply(self.expected_results, sample_weight)
|
/external/deqp-deps/glslang/gtests/ |
D | HexFloat.cpp | 730 std::pair<int16_t, bool> expected_results; member 743 EXPECT_EQ(GetParam().expected_results.first, in TEST_P() 746 EXPECT_EQ(carry_bit, GetParam().expected_results.second); in TEST_P()
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 776 std::pair<int16_t, bool> expected_results; member 788 EXPECT_EQ(GetParam().expected_results.first, in TEST_P() 791 EXPECT_EQ(carry_bit, GetParam().expected_results.second); in TEST_P()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 776 std::pair<int16_t, bool> expected_results; member 788 EXPECT_EQ(GetParam().expected_results.first, in TEST_P() 791 EXPECT_EQ(carry_bit, GetParam().expected_results.second); in TEST_P()
|
/external/rust/crates/rand/src/seq/ |
D | mod.rs | 1330 let expected_results = [4167, 4167, 1666]; in test_multiple_weighted_distributions() localVariable 1355 .zip(&expected_results) in test_multiple_weighted_distributions()
|
/external/tensorflow/tensorflow/python/training/ |
D | input_test.py | 551 expected_results = np.arange(i * batch_size, (i + 1) * batch_size) 552 max_len = expected_results[-1] 553 self.assertAllEqual(results[0], expected_results) 555 for rep in expected_results]
|