Home
last modified time | relevance | path

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

/external/webrtc/webrtc/common_audio/signal_processing/
Dsignal_processing_unittest.cc160 const size_t kVectorSize = 4; in TEST_F() local
162 int16_t b16[kVectorSize]; in TEST_F()
163 int32_t b32[kVectorSize]; in TEST_F()
165 int16_t bTmp16[kVectorSize]; in TEST_F()
166 int32_t bTmp32[kVectorSize]; in TEST_F()
168 WebRtcSpl_MemSetW16(b16, 3, kVectorSize); in TEST_F()
169 for (size_t kk = 0; kk < kVectorSize; ++kk) { in TEST_F()
172 WebRtcSpl_ZerosArrayW16(b16, kVectorSize); in TEST_F()
173 for (size_t kk = 0; kk < kVectorSize; ++kk) { in TEST_F()
176 WebRtcSpl_MemSetW32(b32, 3, kVectorSize); in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtensor_utils_test.cc28 constexpr int kVectorSize = 10; in TEST() local
30 static float input[kVectorSize] = {0.0, -0.5, 1.0, -1.5, 2.0, in TEST()
32 std::vector<float> output(kVectorSize); in TEST()
33 ClipVector(input, kVectorSize, kAbsLimit, output.data()); in TEST()
40 constexpr int kVectorSize = 29; in TEST() local
41 static int8_t input[kVectorSize]; in TEST()
46 std::vector<float> output(kVectorSize, 0.0f); in TEST()
47 VectorScalarMultiply(input, kVectorSize, scale, output.data()); in TEST()
56 constexpr int kVectorSize = 21; in TEST() local
57 static float zeros[kVectorSize] = {0.0}; in TEST()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc766 static const int kVectorSize = 20; member in __anone21fdd500111::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 __anone21fdd500111::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 …]
/external/googletest/googletest/test/
Dgtest_unittest.cc902 static const int kVectorSize = 20; member in __anon963337bb0111::VectorShuffleTest
905 for (int i = 0; i < kVectorSize; i++) { in VectorShuffleTest()
911 if (kVectorSize != static_cast<int>(vector.size())) { in VectorIsCorrupt()
915 bool found_in_vector[kVectorSize] = { false }; in VectorIsCorrupt()
918 if (e < 0 || e >= kVectorSize || found_in_vector[e]) { in VectorIsCorrupt()
959 const int VectorShuffleTest::kVectorSize; member in __anon963337bb0111::VectorShuffleTest
968 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
973 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
978 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
990 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
[all …]