Home
last modified time | relevance | path

Searched refs:expected_count (Results 1 – 25 of 33) sorted by relevance

12

/external/libchrome/base/test/metrics/
Dhistogram_tester.h47 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,
Dhistogram_tester.cc35 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/
Dapi_integrationtest.py43 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/
Dtouch_StylusTaps.py25 for (filename, expected_count) in cases:
32 if actual_count is not expected_count:
35 actual_count, expected_count))
/external/rust/crates/ring/tests/
Ddigest_tests.rs149 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/
Drb_tree_test.c72 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/
Dtrace_buffer_test.cc121 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/
Dgoogletest-failfast-unittest.py191 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/
Ddesktop_region_unittest.cc123 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/
Dtouch_TapSettings.py32 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/
Daudio_CrasPinnedStream.py25 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/
DBC_PDF417HighLevelEncoder_unittest.cpp166 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/
Daudio_WebRtcAudioLoopback.py72 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/
Daudio_CRASFormatConversion.py44 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/
Deigen_pooling_test.cc282 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/
Dprng_test.cc46 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/
Dremove_all.pass.cpp141 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/
Dremove_all.pass.cpp142 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/
Dbindings_perftest.cc169 base::TimeDelta Serve(uint32_t expected_count) { in Serve() argument
172 expected_count_ = expected_count; in Serve()
/external/crosvm/devices/src/virtio/
Dnet.rs229 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/
Dautomatic_outside_compilation_test.py175 expected_count): argument
183 self.assertEqual(summary_dict[key], expected_count)
/external/webrtc/rtc_base/deprecated/
Drecursive_critical_section_unittest.cc299 PerfTestData(int expected_count, Event* event) in PerfTestData() argument
302 expected_count_(expected_count), in PerfTestData()
/external/tensorflow/tensorflow/python/ops/
Dnn_test.py358 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/
Dotvcommn.c43 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/
Dzip_unittest.cc230 size_t expected_count = 0; in TestUnzipFile() local
234 ++expected_count; in TestUnzipFile()
237 EXPECT_EQ(expected_count, count); in TestUnzipFile()

12