Home
last modified time | relevance | path

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

/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/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/autotest/server/site_tests/firmware_Cr50DeepSleepStress/
Dfirmware_Cr50DeepSleepStress.py42 def check_cr50_state(self, expected_count, expected_version): argument
49 expected_count, count)
52 if count != expected_count:
54 (expected_count, count))
/external/u-boot/drivers/tpm/
Dtpm_tis_lpc.c307 u32 expected_count = len; in tis_readresponse() local
332 while (burst-- && (offset < expected_count)) { in tis_readresponse()
348 expected_count = be32_to_cpu(real_length); in tis_readresponse()
350 if ((expected_count < offset) || in tis_readresponse()
351 (expected_count > len)) { in tis_readresponse()
354 expected_count); in tis_readresponse()
369 if (offset == expected_count) in tis_readresponse()
/external/autotest/client/site_tests/audio_CrasLoopback/
Daudio_CrasLoopback.py22 def wait_for_active_stream_count(expected_count): argument
24 lambda: cras_utils.get_active_stream_count() == expected_count,
27 expected_count))
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_region_unittest.cc114 int expected_count; in TEST() member
201 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST()
209 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST()
266 int expected_count; in TEST() member
302 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST()
309 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST()
379 int expected_count; in TEST() member
398 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST()
408 int expected_count; in TEST() member
443 CompareRegion(r, cases[i].expected_rects, cases[i].expected_count); in TEST()
[all …]
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417HighLevelEncoder_unittest.cpp126 int expected_count; in TEST() member
163 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; in TEST()
172 int expected_count; in TEST() member
224 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; in TEST()
/external/tensorflow/tensorflow/contrib/training/python/training/
Dresample_test.py127 expected_count = count * n
129 expected_count, weight_sum, delta=(rtol * expected_count))
216 expected_count = expected_counts[i]
219 expected_count, actual_count, delta=(stddevs[i] * tol + abs_delta))
/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_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.py43 def wait_for_active_stream_count(self, expected_count): argument
54 lambda: cras_utils.get_active_stream_count() == expected_count,
57 expected_count),
/external/autotest/client/site_tests/policy_AudioOutputAllowed/
Dpolicy_AudioOutputAllowed.py36 def wait_for_active_stream_count(self, expected_count): argument
47 lambda: cras_utils.get_active_stream_count() == expected_count,
50 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,
140 double PrngTest::UniformChiSquared(int32 range_size, int32 expected_count, in UniformChiSquared() argument
142 int32 sample_size = range_size * expected_count; in UniformChiSquared()
157 sum += Square(static_cast<int64>(counts[i] - expected_count)); in UniformChiSquared()
159 return static_cast<double>(sum) / expected_count; in UniformChiSquared()
/external/perfetto/src/tracing/core/
Dstartup_trace_writer_unittest.cc72 void VerifyPackets(size_t expected_count) { in VerifyPackets() argument
114 EXPECT_EQ(expected_count, total_packets_count); in VerifyPackets()
144 EXPECT_EQ(expected_count, num_packets_read); in VerifyPackets()
/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/tensorflow/tensorflow/python/ops/
Dnn_test.py328 expected_count = x_dim * y_dim * keep_prob * num_iter
329 rel_error = math.fabs(final_count - expected_count) / expected_count
355 expected_count = x_dim * y_dim * keep_prob * num_iter
356 rel_error = math.fabs(final_count - expected_count) / expected_count
400 expected_count = x_dim * y_dim * keep_prob * num_iter
401 rel_error = math.fabs(final_count - expected_count) / expected_count
434 expected_count = x_dim * y_dim * keep_prob * num_iter
435 rel_error = math.fabs(final_count - expected_count) / expected_count
/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/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()
Dotvcommn.h249 FT_Int expected_count );
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py116 for method_name, expected_count in expected_counts.items():
119 expected_count,
121 method_name, expected_count, counter.method_counts[method_name]))
/external/autotest/client/site_tests/firmware_TouchMTB/
Dvalidators.py986 expected_count = int(self.criteria_str.split('==')[-1].strip())
990 return expected_count
/external/vixl/test/aarch64/
Dtest-disasm-aarch64.cc2237 const int expected_count = sizeof(expected) / sizeof(expected[0]); in TEST() local
2238 VIXL_STATIC_ASSERT((1 << ImmPrefetchOperation_width) == expected_count); in TEST()
2268 const int expected_count = sizeof(expected) / sizeof(expected[0]); in TEST() local
2269 VIXL_STATIC_ASSERT((1 << ImmPrefetchOperation_width) == expected_count); in TEST()
/external/expat/tests/
Druntests.c1186 const int expected_count = sizeof(expected) / sizeof(StructDataEntry); in START_TEST() local
1196 StructData_CheckItems(&storage, expected, expected_count); in START_TEST()