/external/webrtc/modules/audio_processing/aec3/ |
D | decimator_unittest.cc | 40 constexpr size_t kNumBlocks = 1000; variable 47 float input[kBlockSize * kNumBlocks]; in ProduceDecimatedSinusoidalOutputPower() 51 for (size_t k = 0; k < kBlockSize * kNumBlocks; ++k) { in ProduceDecimatedSinusoidalOutputPower() 57 std::vector<float> output(sub_block_size * kNumBlocks); in ProduceDecimatedSinusoidalOutputPower() 59 for (size_t k = 0; k < kNumBlocks; ++k) { in ProduceDecimatedSinusoidalOutputPower() 69 ASSERT_GT(kNumBlocks, kNumStartupBlocks); in ProduceDecimatedSinusoidalOutputPower() 72 (kNumBlocks - kNumStartupBlocks) * kBlockSize); in ProduceDecimatedSinusoidalOutputPower() 75 (kNumBlocks - kNumStartupBlocks) * sub_block_size); in ProduceDecimatedSinusoidalOutputPower()
|
D | block_processor_unittest.cc | 140 constexpr size_t kNumBlocks = 310; in TEST() local 152 .Times(kNumBlocks) in TEST() 158 .Times(kNumBlocks + 1) in TEST() 173 for (size_t k = 0; k < kNumBlocks; ++k) { in TEST() 184 constexpr size_t kNumBlocks = 310; in TEST() local 202 .Times(kNumBlocks - 1) in TEST() 205 .Times(kNumBlocks); in TEST() 208 .Times(kNumBlocks) in TEST() 211 .Times(kNumBlocks); in TEST() 213 .Times(kNumBlocks); in TEST() [all …]
|
/external/abseil-cpp/absl/random/internal/ |
D | salted_seed_seq_test.cc | 109 const size_t kNumBlocks = 16; in TEST() local 111 uint32_t seed_material[kNumBlocks]; in TEST() 125 uint32_t outputs[kNumBlocks]; in TEST() 126 uint32_t salted_outputs[kNumBlocks]; in TEST() 136 const size_t kNumBlocks = 4; in TEST() local 140 uint32_t expected[kNumBlocks]; in TEST() 145 unsigned long seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 150 unsigned int seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 157 uint64_t seed_material[kNumBlocks]; in TEST() 162 int64_t seed_material[kNumBlocks]; in TEST()
|
D | explicit_seed_seq_test.cc | 71 const size_t kNumBlocks = 128; in TEST() local 73 uint32_t outputs[kNumBlocks]; in TEST() 75 seq.generate(outputs, &outputs[kNumBlocks]); in TEST() 83 const size_t kNumBlocks = 128; in TEST() local 85 uint32_t seed_material[kNumBlocks]; in TEST() 91 &seed_material[kNumBlocks]); in TEST() 95 const size_t kNumGenerated = kNumBlocks / 2; in TEST() 106 const size_t kNumGenerated = kNumBlocks; in TEST() 116 const size_t kNumGenerated = kNumBlocks * 2; in TEST() 120 EXPECT_EQ(outputs[i], seed_material[i % kNumBlocks]); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/random/internal/ |
D | salted_seed_seq_test.cc | 109 const size_t kNumBlocks = 16; in TEST() local 111 uint32_t seed_material[kNumBlocks]; in TEST() 125 uint32_t outputs[kNumBlocks]; in TEST() 126 uint32_t salted_outputs[kNumBlocks]; in TEST() 136 const size_t kNumBlocks = 4; in TEST() local 140 uint32_t expected[kNumBlocks]; in TEST() 145 unsigned long seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 150 unsigned int seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 157 uint64_t seed_material[kNumBlocks]; in TEST() 162 int64_t seed_material[kNumBlocks]; in TEST()
|
D | explicit_seed_seq_test.cc | 71 const size_t kNumBlocks = 128; in TEST() local 73 uint32_t outputs[kNumBlocks]; in TEST() 75 seq.generate(outputs, &outputs[kNumBlocks]); in TEST() 83 const size_t kNumBlocks = 128; in TEST() local 85 uint32_t seed_material[kNumBlocks]; in TEST() 91 &seed_material[kNumBlocks]); in TEST() 95 const size_t kNumGenerated = kNumBlocks / 2; in TEST() 106 const size_t kNumGenerated = kNumBlocks; in TEST() 116 const size_t kNumGenerated = kNumBlocks * 2; in TEST() 120 EXPECT_EQ(outputs[i], seed_material[i % kNumBlocks]); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | salted_seed_seq_test.cc | 109 const size_t kNumBlocks = 16; in TEST() local 111 uint32_t seed_material[kNumBlocks]; in TEST() 125 uint32_t outputs[kNumBlocks]; in TEST() 126 uint32_t salted_outputs[kNumBlocks]; in TEST() 136 const size_t kNumBlocks = 4; in TEST() local 140 uint32_t expected[kNumBlocks]; in TEST() 145 unsigned long seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 150 unsigned int seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 157 uint64_t seed_material[kNumBlocks]; in TEST() 162 int64_t seed_material[kNumBlocks]; in TEST()
|
D | explicit_seed_seq_test.cc | 71 const size_t kNumBlocks = 128; in TEST() local 73 uint32_t outputs[kNumBlocks]; in TEST() 75 seq.generate(outputs, &outputs[kNumBlocks]); in TEST() 83 const size_t kNumBlocks = 128; in TEST() local 85 uint32_t seed_material[kNumBlocks]; in TEST() 91 &seed_material[kNumBlocks]); in TEST() 95 const size_t kNumGenerated = kNumBlocks / 2; in TEST() 106 const size_t kNumGenerated = kNumBlocks; in TEST() 116 const size_t kNumGenerated = kNumBlocks * 2; in TEST() 120 EXPECT_EQ(outputs[i], seed_material[i % kNumBlocks]); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | salted_seed_seq_test.cc | 109 const size_t kNumBlocks = 16; in TEST() local 111 uint32_t seed_material[kNumBlocks]; in TEST() 125 uint32_t outputs[kNumBlocks]; in TEST() 126 uint32_t salted_outputs[kNumBlocks]; in TEST() 136 const size_t kNumBlocks = 4; in TEST() local 140 uint32_t expected[kNumBlocks]; in TEST() 145 unsigned long seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 150 unsigned int seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 157 uint64_t seed_material[kNumBlocks]; in TEST() 162 int64_t seed_material[kNumBlocks]; in TEST()
|
D | explicit_seed_seq_test.cc | 71 const size_t kNumBlocks = 128; in TEST() local 73 uint32_t outputs[kNumBlocks]; in TEST() 75 seq.generate(outputs, &outputs[kNumBlocks]); in TEST() 83 const size_t kNumBlocks = 128; in TEST() local 85 uint32_t seed_material[kNumBlocks]; in TEST() 91 &seed_material[kNumBlocks]); in TEST() 95 const size_t kNumGenerated = kNumBlocks / 2; in TEST() 106 const size_t kNumGenerated = kNumBlocks; in TEST() 116 const size_t kNumGenerated = kNumBlocks * 2; in TEST() 120 EXPECT_EQ(outputs[i], seed_material[i % kNumBlocks]); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | salted_seed_seq_test.cc | 109 const size_t kNumBlocks = 16; in TEST() local 111 uint32_t seed_material[kNumBlocks]; in TEST() 125 uint32_t outputs[kNumBlocks]; in TEST() 126 uint32_t salted_outputs[kNumBlocks]; in TEST() 136 const size_t kNumBlocks = 4; in TEST() local 140 uint32_t expected[kNumBlocks]; in TEST() 145 unsigned long seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 150 unsigned int seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 157 uint64_t seed_material[kNumBlocks]; in TEST() 162 int64_t seed_material[kNumBlocks]; in TEST()
|
D | explicit_seed_seq_test.cc | 71 const size_t kNumBlocks = 128; in TEST() local 73 uint32_t outputs[kNumBlocks]; in TEST() 75 seq.generate(outputs, &outputs[kNumBlocks]); in TEST() 83 const size_t kNumBlocks = 128; in TEST() local 85 uint32_t seed_material[kNumBlocks]; in TEST() 91 &seed_material[kNumBlocks]); in TEST() 95 const size_t kNumGenerated = kNumBlocks / 2; in TEST() 106 const size_t kNumGenerated = kNumBlocks; in TEST() 116 const size_t kNumGenerated = kNumBlocks * 2; in TEST() 120 EXPECT_EQ(outputs[i], seed_material[i % kNumBlocks]); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | salted_seed_seq_test.cc | 109 const size_t kNumBlocks = 16; in TEST() local 111 uint32_t seed_material[kNumBlocks]; in TEST() 125 uint32_t outputs[kNumBlocks]; in TEST() 126 uint32_t salted_outputs[kNumBlocks]; in TEST() 136 const size_t kNumBlocks = 4; in TEST() local 140 uint32_t expected[kNumBlocks]; in TEST() 145 unsigned long seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 150 unsigned int seed_material[kNumBlocks]; // NOLINT(runtime/int) in TEST() 157 uint64_t seed_material[kNumBlocks]; in TEST() 162 int64_t seed_material[kNumBlocks]; in TEST()
|
D | explicit_seed_seq_test.cc | 71 const size_t kNumBlocks = 128; in TEST() local 73 uint32_t outputs[kNumBlocks]; in TEST() 75 seq.generate(outputs, &outputs[kNumBlocks]); in TEST() 83 const size_t kNumBlocks = 128; in TEST() local 85 uint32_t seed_material[kNumBlocks]; in TEST() 91 &seed_material[kNumBlocks]); in TEST() 95 const size_t kNumGenerated = kNumBlocks / 2; in TEST() 106 const size_t kNumGenerated = kNumBlocks; in TEST() 116 const size_t kNumGenerated = kNumBlocks * 2; in TEST() 120 EXPECT_EQ(outputs[i], seed_material[i % kNumBlocks]); in TEST()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_quarantine_test.cpp | 124 const uptr kNumBlocks = QuarantineBatch::kSize - 1; in TEST() local 129 for (uptr i = 0; i < kNumBlocks; ++i) { in TEST() 134 ASSERT_EQ(kBlockSize * kNumBlocks * 2 + in TEST() 141 ASSERT_EQ(kBlockSize * kNumBlocks * 2 + in TEST() 150 const uptr kNumBlocks = QuarantineBatch::kSize * kNumBatchesAfterMerge; in TEST() local 151 const uptr kNumBatchesBeforeMerge = kNumBlocks; in TEST() 155 for (uptr i = 0; i < kNumBlocks; ++i) { in TEST() 161 ASSERT_EQ(kBlockSize * kNumBlocks + in TEST() 168 ASSERT_EQ(kBlockSize * kNumBlocks + in TEST()
|
/external/libvpx/libvpx/test/ |
D | quantize_test.cc | 33 const int kNumBlocks = 25; variable 88 for (int i = 0; i < kNumBlocks * kNumBlockEntries; ++i) { in FillCoeffConstant() 94 for (int i = 0; i < kNumBlocks * kNumBlockEntries; ++i) { in FillCoeffRandom() 101 sizeof(*macroblockd_dst_->qcoeff) * kNumBlocks * in CheckOutput() 105 sizeof(*macroblockd_dst_->dqcoeff) * kNumBlocks * in CheckOutput() 109 sizeof(*macroblockd_dst_->eobs) * kNumBlocks)) in CheckOutput() 135 for (int i = 0; i < kNumBlocks; ++i) { in RunComparison()
|
/external/openscreen/cast/streaming/ |
D | rtcp_common_unittest.cc | 157 constexpr int kNumBlocks = 5; in TEST() local 169 uint8_t buffer[kRtcpReportBlockSize * kNumBlocks]; in TEST() 170 absl::Span<uint8_t> buffer_span(buffer, kRtcpReportBlockSize * kNumBlocks); in TEST() 171 for (int i = 0; i < kNumBlocks; ++i) { in TEST() 188 const auto parsed = RtcpReportBlock::ParseOne(buffer, kNumBlocks, kSsrc); in TEST()
|
/external/libaom/libaom/test/ |
D | noise_model_test.cc | 841 const int kNumBlocks = kWidth * kHeight / kBlockSize / kBlockSize; in TYPED_TEST_P() local 842 EXPECT_EQ(kNumBlocks, model.latest_state[0].strength_solver.num_equations); in TYPED_TEST_P() 843 EXPECT_EQ(kNumBlocks, model.latest_state[1].strength_solver.num_equations); in TYPED_TEST_P() 844 EXPECT_EQ(kNumBlocks, model.latest_state[2].strength_solver.num_equations); in TYPED_TEST_P() 845 EXPECT_EQ(kNumBlocks, model.combined_state[0].strength_solver.num_equations); in TYPED_TEST_P() 846 EXPECT_EQ(kNumBlocks, model.combined_state[1].strength_solver.num_equations); in TYPED_TEST_P() 847 EXPECT_EQ(kNumBlocks, model.combined_state[2].strength_solver.num_equations); in TYPED_TEST_P() 859 EXPECT_EQ(kNumBlocks, model.latest_state[c].strength_solver.num_equations); in TYPED_TEST_P() 863 EXPECT_EQ(2 * kNumBlocks, in TYPED_TEST_P() 882 EXPECT_EQ(kNumBlocks, model.latest_state[0].strength_solver.num_equations); in TYPED_TEST_P() [all …]
|
/external/webrtc/common_audio/resampler/ |
D | push_sinc_resampler_unittest.cc | 137 const size_t kNumBlocks = static_cast<size_t>(kTestDurationSecs * 100); in ResampleTest() local 176 for (size_t i = 0; i < kNumBlocks; ++i) { in ResampleTest() 186 for (size_t i = 0; i < kNumBlocks; ++i) { in ResampleTest()
|
/external/webp/src/enc/ |
D | quant_enc.c | 982 const int kNumBlocks = 16; in PickBestIntra16() local 1009 is_flat = IsFlat(rd_cur->y_ac_levels[0], kNumBlocks, FLATNESS_LIMIT_I16); in PickBestIntra16() 1069 const int kNumBlocks = 1; in PickBestIntra4() local 1097 if (mode > 0 && IsFlat(tmp_levels, kNumBlocks, FLATNESS_LIMIT_I4)) { in PickBestIntra4() 1098 rd_tmp.R = FLATNESS_PENALTY * kNumBlocks; in PickBestIntra4() 1147 const int kNumBlocks = 8; in PickBestUV() local 1170 if (mode > 0 && IsFlat(rd_uv.uv_levels[0], kNumBlocks, FLATNESS_LIMIT_UV)) { in PickBestUV() 1171 rd_uv.R += FLATNESS_PENALTY * kNumBlocks; in PickBestUV()
|
/external/skqp/tools/debugger/ |
D | SkDrawCommand.cpp | 335 static const int kNumBlocks = 8; in render_bitmap() local 339 canvas->imageInfo().width()/kNumBlocks, in render_bitmap() 340 canvas->imageInfo().height()/kNumBlocks in render_bitmap() 342 for (int y = 0; y < kNumBlocks; ++y) { in render_bitmap() 343 for (int x = 0; x < kNumBlocks; ++x) { in render_bitmap()
|