/external/libchrome/base/test/metrics/ |
D | histogram_tester.h | 47 HistogramBase::Count expected_count) const; 51 HistogramBase::Count expected_count) const { in ExpectUniqueSample() argument 53 expected_count); in ExpectUniqueSample() 61 HistogramBase::Count expected_count) const; 65 HistogramBase::Count expected_count) const { in ExpectBucketCount() argument 67 expected_count); in ExpectBucketCount() 140 Histogram::Count expected_count, 147 Histogram::Count expected_count,
|
D | histogram_tester.cc | 35 HistogramBase::Count expected_count) const { in ExpectUniqueSample() 42 CheckBucketCount(name, sample, expected_count, *samples); in ExpectUniqueSample() 43 CheckTotalCount(name, expected_count, *samples); in ExpectUniqueSample() 50 HistogramBase::Count expected_count) const { in ExpectBucketCount() 57 CheckBucketCount(name, sample, expected_count, *samples); in ExpectBucketCount() 197 HistogramBase::Count expected_count, in CheckBucketCount() argument 202 EXPECT_EQ(expected_count, actual_count) in CheckBucketCount() 204 << "\" does not have the right number of samples (" << expected_count in CheckBucketCount() 210 HistogramBase::Count expected_count, in CheckTotalCount() argument 217 EXPECT_EQ(expected_count, actual_count) in CheckTotalCount() [all …]
|
/external/perfetto/test/trace_processor/python/ |
D | api_integrationtest.py | 43 expected_count = next(qr_iterator).cnt 44 self.assertGreater(expected_count, 0) 48 self.assertEqual(count, expected_count)
|
/external/autotest/client/site_tests/touch_StylusTaps/ |
D | touch_StylusTaps.py | 25 for (filename, expected_count) in cases: 32 if actual_count is not expected_count: 35 actual_count, expected_count))
|
/external/rust/crates/ring/tests/ |
D | digest_tests.rs | 149 let mut expected_count: isize = -1; in run_monte_carlo_test() localVariable 155 if expected_count == -1 { in run_monte_carlo_test() 157 expected_count = 0; in run_monte_carlo_test() 161 assert!(expected_count >= 0); in run_monte_carlo_test() 163 assert_eq!(expected_count as usize, actual_count); in run_monte_carlo_test() 164 expected_count += 1; in run_monte_carlo_test() 188 assert_eq!(expected_count, 100); in run_monte_carlo_test()
|
/external/mesa3d/src/util/ |
D | rb_tree_test.c | 72 validate_tree_order(struct rb_tree *tree, unsigned expected_count) in validate_tree_order() argument 93 assert(count == expected_count); in validate_tree_order() 114 assert(count == expected_count); in validate_tree_order() 135 assert(count == expected_count); in validate_tree_order() 156 assert(count == expected_count); in validate_tree_order()
|
/external/pigweed/pw_trace_tokenized/ |
D | trace_buffer_test.cc | 121 size_t expected_count = 1; // skip first (since it was lost) in TEST() local 129 expected_count); in TEST() 130 expected_count++; in TEST() 133 EXPECT_EQ(count, expected_count); in TEST()
|
/external/googletest/googletest/test/ |
D | googletest-failfast-unittest.py | 191 for expected_count, callback in [(1, 'OnTestSuiteStart'), 197 expected_count, txt.count(callback), 199 (expected_count, callback, txt)) 204 for expected_count, callback in [(1, 'OnTestSuiteStart'), 210 expected_count, txt.count(callback), 212 (expected_count, callback, txt))
|
/external/webrtc/modules/desktop_capture/ |
D | desktop_region_unittest.cc | 123 int expected_count; in TEST() member 226 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST() 234 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST() 295 int expected_count; in TEST() member 341 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST() 348 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST() 436 int expected_count; in TEST() member 458 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST() 468 int expected_count; in TEST() member 518 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST() [all …]
|
/external/autotest/client/site_tests/touch_TapSettings/ |
D | touch_TapSettings.py | 32 expected_count = 1 if expected else 0 37 if actual_count is not expected_count: 40 % (expected_count, actual_count))
|
/external/autotest/client/site_tests/audio_CrasPinnedStream/ |
D | audio_CrasPinnedStream.py | 25 def wait_for_active_stream_count(expected_count): argument 29 lambda: cras_utils.get_active_stream_count() == expected_count, 32 expected_count))
|
/external/pdfium/fxbarcode/pdf417/ |
D | BC_PDF417HighLevelEncoder_unittest.cpp | 166 int expected_count; in TEST() member 202 EXPECT_EQ(testcase.expected_count, actual_count) in TEST() 211 int expected_count; in TEST() member 262 EXPECT_EQ(testcase.expected_count, actual_count) in TEST()
|
/external/autotest/client/site_tests/audio_WebRtcAudioLoopback/ |
D | audio_WebRtcAudioLoopback.py | 72 def wait_for_active_stream_count(expected_count): argument 78 lambda: cras_utils.get_active_stream_count() == expected_count, 82 expected_count, cras_utils.get_active_stream_count())))
|
/external/autotest/client/site_tests/audio_CRASFormatConversion/ |
D | audio_CRASFormatConversion.py | 44 def wait_for_active_stream_count(self, expected_count): argument 55 lambda: cras_utils.get_active_stream_count() == expected_count, 58 expected_count),
|
/external/tensorflow/tensorflow/core/kernels/ |
D | eigen_pooling_test.cc | 282 int expected_count = 0; in TEST() local 287 expected_count++; in TEST() 291 const float expected = expected_sum / expected_count; in TEST() 344 int expected_count = 0; in TEST() local 349 expected_count++; in TEST() 353 const float expected = expected_sum / expected_count; in TEST() 416 int expected_count = 0; in TEST() local 426 expected_count++; in TEST() 431 const float expected = expected_sum / expected_count; in TEST() 494 int expected_count = 0; in TEST() local [all …]
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | prng_test.cc | 46 double UniformChiSquared(int32 range_size, int32 expected_count, 147 double PrngTest::UniformChiSquared(int32 range_size, int32 expected_count, in UniformChiSquared() argument 149 int32 sample_size = range_size * expected_count; in UniformChiSquared() 164 sum += Square(static_cast<int64>(counts[i] - expected_count)); in UniformChiSquared() 166 return static_cast<double>(sum) / expected_count; in UniformChiSquared()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/ |
D | remove_all.pass.cpp | 141 const std::size_t expected_count = sizeof(all_files) / sizeof(all_files[0]); in TEST_CASE() local 144 TEST_CHECK(remove_all(dir, ec) == expected_count); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/ |
D | remove_all.pass.cpp | 142 const std::size_t expected_count = sizeof(all_files) / sizeof(all_files[0]); in TEST_CASE() local 145 TEST_CHECK(remove_all(dir, ec) == expected_count); in TEST_CASE()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | bindings_perftest.cc | 169 base::TimeDelta Serve(uint32_t expected_count) { in Serve() argument 172 expected_count_ = expected_count; in Serve()
|
/external/crosvm/devices/src/virtio/ |
D | net.rs | 229 let expected_count = reader.available_bytes(); in process_tx() localVariable 230 match reader.read_to(&mut self.tap, expected_count) { in process_tx() 234 if count != expected_count { in process_tx() 237 count, expected_count in process_tx()
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | automatic_outside_compilation_test.py | 175 expected_count): argument 183 self.assertEqual(summary_dict[key], expected_count)
|
/external/webrtc/rtc_base/deprecated/ |
D | recursive_critical_section_unittest.cc | 299 PerfTestData(int expected_count, Event* event) in PerfTestData() argument 302 expected_count_(expected_count), in PerfTestData()
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_test.py | 358 expected_count = x_dim * y_dim * keep_prob * num_iter 359 rel_error = math.fabs(final_count - expected_count) / expected_count 385 expected_count = x_dim * y_dim * keep_prob * num_iter 386 rel_error = math.fabs(final_count - expected_count) / expected_count 430 expected_count = x_dim * y_dim * keep_prob * num_iter 431 rel_error = math.fabs(final_count - expected_count) / expected_count 466 expected_count = x_dim * y_dim * keep_prob * num_iter 467 rel_error = math.fabs(final_count - expected_count) / expected_count
|
/external/freetype/src/otvalid/ |
D | otvcommn.c | 43 FT_Int expected_count ) in otv_Coverage_validate() argument 126 if ( expected_count != -1 && (FT_UInt)expected_count != total ) in otv_Coverage_validate()
|
/external/zlib/google/ |
D | zip_unittest.cc | 230 size_t expected_count = 0; in TestUnzipFile() local 234 ++expected_count; in TestUnzipFile() 237 EXPECT_EQ(expected_count, count); in TestUnzipFile()
|