/external/webrtc/common_audio/ |
D | wav_file_unittest.cc | 39 static const size_t kNumSamples = 3; in TEST() local 45 w.WriteSamples(kSamples, kNumSamples); in TEST() 46 EXPECT_EQ(kNumSamples, w.num_samples()); in TEST() 81 kPcmWavHeaderSize + kNumSamples * sizeof(int16_t) + sizeof(kMetadata); in TEST() 95 EXPECT_EQ(kNumSamples, r.num_samples()); in TEST() 97 float samples[kNumSamples]; in TEST() 98 EXPECT_EQ(kNumSamples, r.ReadSamples(kNumSamples, samples)); in TEST() 100 EXPECT_EQ(0u, r.ReadSamples(kNumSamples, samples)); in TEST() 108 constexpr size_t kNumSamples = 3 * kSampleRate * kNumChannels; in TEST() local 116 float samples[kNumSamples]; in TEST() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | multinomial_test.cc | 103 const int kNumSamples = 1000; in TYPED_TEST() local 107 kNumSamples, {tflite::GetTTEnum<Int>(), {}}); in TYPED_TEST() 114 EXPECT_EQ(output.size(), kNumSamples * 3); in TYPED_TEST() 120 EXPECT_EQ(c0 + c1 + c2, 3 * kNumSamples); in TYPED_TEST() 133 const int kNumSamples = 1000; in TYPED_TEST() local 137 kNumSamples, {tflite::GetTTEnum<Int>(), {}}); in TYPED_TEST() 145 EXPECT_EQ(output.size(), kNumSamples); in TYPED_TEST() 150 EXPECT_EQ(c0 + c1 + c2, kNumSamples); in TYPED_TEST() 157 const int kNumSamples = 1000; in TYPED_TEST() local 161 kNumSamples, {tflite::GetTTEnum<Int>(), {}}); in TYPED_TEST() [all …]
|
/external/webrtc/modules/audio_coding/neteq/ |
D | dtmf_tone_generator_unittest.cc | 31 const int kNumSamples = 10; member in webrtc::DtmfToneGeneratorTest 43 EXPECT_EQ(kNumSamples, tone_gen_.Generate(kNumSamples, &signal)); in TestAllTones() 49 for (int n = 0; n < kNumSamples; ++n) { in TestAllTones() 73 EXPECT_EQ(kNumSamples, tone_gen_.Generate(kNumSamples, &ref_signal)); in TestAmplitudes() 81 EXPECT_EQ(kNumSamples, tone_gen_.Generate(kNumSamples, &signal)); in TestAmplitudes() 82 for (int n = 0; n < kNumSamples; ++n) { in TestAmplitudes() 150 const int kNumSamples = 10; in TEST() local 155 tone_gen.Generate(kNumSamples, &signal)); in TEST() 177 tone_gen.Generate(kNumSamples, NULL)); in TEST()
|
/external/webrtc/rtc_base/ |
D | timestamp_aligner_unittest.cc | 154 const int kNumSamples = 3; in TEST() local 155 const int64_t kCaptureTimeUs[kNumSamples] = {0, 80000, 90001}; in TEST() 156 const int64_t kSystemTimeUs[kNumSamples] = {0, 10000, 20000}; in TEST() 157 const int64_t expected_offset_us[kNumSamples] = {0, -35000, -46667}; in TEST() 168 for (int i = 0; i < kNumSamples; i++) { in TEST() 192 constexpr int kNumSamples = 4; in TEST() local 193 constexpr int64_t kCaptureTimeUs[kNumSamples] = {0, 80000, 90001, 100000}; in TEST() 194 constexpr int64_t kSystemTimeUs[kNumSamples] = {0, 10000, 20000, 30000}; in TEST() 195 constexpr int64_t kQueryCaptureTimeOffsetUs[kNumSamples] = {0, 123, -321, in TEST() 198 for (int i = 0; i < kNumSamples; i++) { in TEST()
|
/external/adhd/cras/src/tests/ |
D | mix_unittest.cc | 18 static const size_t kNumSamples = kBufferFrames * kNumChannels; variable 111 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 117 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 119 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 128 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 132 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 141 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 150 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 159 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() 168 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F() [all …]
|
/external/webrtc/audio/ |
D | null_audio_poller.cc | 29 constexpr size_t kNumSamples = kSamplesPerSecond / 100; // 10ms of samples variable 49 int16_t buffer[kNumSamples * kNumChannels]; in OnMessage() 54 audio_transport_->NeedMorePlayData(kNumSamples, sizeof(int16_t), kNumChannels, in OnMessage()
|
/external/webrtc/video/ |
D | send_delay_stats_unittest.cc | 112 const int kNumSamples = kMinRequiredPeriodicSamples * kProcessIntervalMs / in TEST_F() local 117 for (int i = 0; i < kNumSamples; ++i) { in TEST_F()
|
/external/angle/src/compiler/translator/tree_util/ |
D | DriverUniform.cpp | 34 constexpr const char kNumSamples[] = "numSamples"; variable 81 {kViewport, kClipDistancesEnabled, kXfbActiveUnpaused, kXfbVerticesPerInstance, kNumSamples, in createUniformFields() 257 return createDriverUniformRef(kNumSamples); in getNumSamplesRef()
|
/external/webrtc/system_wrappers/source/ |
D | metrics_unittest.cc | 90 const int kNumSamples = 10; in TEST_F() local 92 for (int i = 1; i <= kNumSamples; ++i) { in TEST_F()
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | nonsecure_base_test.cc | 164 const size_t kNumSamples = 128; in TEST() local 169 for (size_t i = 0; i < kNumSamples; i++) { in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | nonsecure_base_test.cc | 164 const size_t kNumSamples = 128; in TEST() local 169 for (size_t i = 0; i < kNumSamples; i++) { in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | nonsecure_base_test.cc | 164 const size_t kNumSamples = 128; in TEST() local 169 for (size_t i = 0; i < kNumSamples; i++) { in TEST()
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | nonsecure_base_test.cc | 164 const size_t kNumSamples = 128; in TEST() local 169 for (size_t i = 0; i < kNumSamples; i++) { in TEST()
|
/external/abseil-cpp/absl/random/internal/ |
D | nonsecure_base_test.cc | 164 const size_t kNumSamples = 128; in TEST() local 169 for (size_t i = 0; i < kNumSamples; i++) { in TEST()
|
/external/angle/third_party/abseil-cpp/absl/random/internal/ |
D | nonsecure_base_test.cc | 164 const size_t kNumSamples = 128; in TEST() local 169 for (size_t i = 0; i < kNumSamples; i++) { in TEST()
|