Home
last modified time | relevance | path

Searched refs:kVectorSize (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/src/common_audio/signal_processing/
Dsignal_processing_unittest.cc145 const int kVectorSize = 4; in TEST_F() local
147 WebRtc_UWord8 b8[kVectorSize]; in TEST_F()
148 WebRtc_Word16 b16[kVectorSize]; in TEST_F()
149 WebRtc_Word32 b32[kVectorSize]; in TEST_F()
151 WebRtc_UWord8 bTmp8[kVectorSize]; in TEST_F()
152 WebRtc_Word16 bTmp16[kVectorSize]; in TEST_F()
153 WebRtc_Word32 bTmp32[kVectorSize]; in TEST_F()
155 WebRtcSpl_MemSetW16(b16, 3, kVectorSize); in TEST_F()
156 for (int kk = 0; kk < kVectorSize; ++kk) { in TEST_F()
159 EXPECT_EQ(kVectorSize, WebRtcSpl_ZerosArrayW16(b16, kVectorSize)); in TEST_F()
[all …]
/external/protobuf/gtest/test/
Dgtest_unittest.cc632 static const int kVectorSize = 20; member in __anonca9e36500111::VectorShuffleTest
635 for (int i = 0; i < kVectorSize; i++) { in VectorShuffleTest()
641 if (kVectorSize != static_cast<int>(vector.size())) { in VectorIsCorrupt()
645 bool found_in_vector[kVectorSize] = { false }; in VectorIsCorrupt()
648 if (e < 0 || e >= kVectorSize || found_in_vector[e]) { in VectorIsCorrupt()
689 const int VectorShuffleTest::kVectorSize; member in __anonca9e36500111::VectorShuffleTest
698 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
703 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
708 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
720 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
[all …]
/external/gtest/test/
Dgtest_unittest.cc839 static const int kVectorSize = 20; member in __anona8d7a1d00111::VectorShuffleTest
842 for (int i = 0; i < kVectorSize; i++) { in VectorShuffleTest()
848 if (kVectorSize != static_cast<int>(vector.size())) { in VectorIsCorrupt()
852 bool found_in_vector[kVectorSize] = { false }; in VectorIsCorrupt()
855 if (e < 0 || e >= kVectorSize || found_in_vector[e]) { in VectorIsCorrupt()
896 const int VectorShuffleTest::kVectorSize; member in __anona8d7a1d00111::VectorShuffleTest
905 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
910 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
915 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
927 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc766 static const int kVectorSize = 20; member in __anona73f14e70111::VectorShuffleTest
769 for (int i = 0; i < kVectorSize; i++) { in VectorShuffleTest()
775 if (kVectorSize != static_cast<int>(vector.size())) { in VectorIsCorrupt()
779 bool found_in_vector[kVectorSize] = { false }; in VectorIsCorrupt()
782 if (e < 0 || e >= kVectorSize || found_in_vector[e]) { in VectorIsCorrupt()
823 const int VectorShuffleTest::kVectorSize; member in __anona73f14e70111::VectorShuffleTest
832 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
837 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
842 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
854 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
[all …]