Home
last modified time | relevance | path

Searched refs:kTestBufferSize (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_processing/transient/
Dwpd_tree_unittest.cc26 const size_t kTestBufferSize = 100; in TEST() local
30 float test_buffer[kTestBufferSize]; in TEST()
31 memset(test_buffer, 0.f, kTestBufferSize * sizeof(*test_buffer)); in TEST()
35 WPDTree tree(kTestBufferSize, test_coefficients, test_coefficients, in TEST()
57 EXPECT_EQ(0, tree.Update(test_buffer, kTestBufferSize)); in TEST()
58 EXPECT_EQ(-1, tree.Update(NULL, kTestBufferSize)); in TEST()
59 EXPECT_EQ(-1, tree.Update(test_buffer, kTestBufferSize - 1)); in TEST()
74 const size_t kTestBufferSize = 160; in TEST() local
77 const size_t kLeavesSamples = kTestBufferSize >> kLevels; in TEST()
79 WPDTree tree(kTestBufferSize, kDaubechies8HighPassCoefficients, in TEST()
[all …]
/external/libchrome/base/
Drand_util_unittest.cc160 const size_t kTestBufferSize = 1 * 1024 * 1024; in TEST() local
162 std::unique_ptr<uint8_t[]> buffer(new uint8_t[kTestBufferSize]); in TEST()
165 base::RandBytes(buffer.get(), kTestBufferSize); in TEST()
168 LOG(INFO) << "RandBytes(" << kTestBufferSize << ") took: " in TEST()
/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer_test.cc310 constexpr size_t kTestBufferSize = variable
314 static pw::Vector<byte, kTestBufferSize> actual_result;
319 byte test_buffer[kTestBufferSize]; in DeringTest()
343 pw::Vector<byte, kTestBufferSize> expected_result; in DeringTest()
431 byte test_buffer[kTestBufferSize]; in TEST()
462 byte test_buffer[kTestBufferSize]; in TEST()
523 byte test_buffer[kTestBufferSize]; in TEST()
562 byte test_buffer[kTestBufferSize]; in TEST()
602 byte test_buffer[kTestBufferSize]; in TEST()