Home
last modified time | relevance | path

Searched refs:arraysize (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/external/webrtc/webrtc/common_audio/
Dsparse_fir_filter_unittest.cc37 float output[arraysize(kInput)]; in TEST()
39 filter.Filter(kInput, arraysize(kInput), output); in TEST()
49 float low_sparsity_output[arraysize(kInput)]; in TEST()
50 float high_sparsity_output[arraysize(kInput)]; in TEST()
59 low_sparsity_filter.Filter(kInput, arraysize(kInput), low_sparsity_output); in TEST()
60 high_sparsity_filter.Filter(kInput, arraysize(kInput), high_sparsity_output); in TEST()
69 float output[arraysize(kInput)]; in TEST()
71 filter.Filter(kInput, arraysize(kInput), output); in TEST()
75 EXPECT_FLOAT_EQ(50.f, output[arraysize(kInput) - 1]); in TEST()
83 float output[arraysize(kInput)]; in TEST()
[all …]
/external/v8/src/ia32/
Dinterface-descriptors-ia32.cc94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
101 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
109 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
128 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
135 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
142 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
149 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
156 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
163 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
170 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/mips/
Dinterface-descriptors-mips.cc89 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
96 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
122 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
129 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
136 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
143 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
150 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
157 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
164 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/x87/
Dinterface-descriptors-x87.cc94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
101 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
109 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
128 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
135 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
142 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
149 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
156 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
163 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
170 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/ppc/
Dinterface-descriptors-ppc.cc89 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
96 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
122 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
129 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
136 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
143 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
150 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
157 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
164 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/arm/
Dinterface-descriptors-arm.cc91 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
98 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
105 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
124 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
131 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
138 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
145 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
152 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
159 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
166 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/x64/
Dinterface-descriptors-x64.cc89 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
96 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
111 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
130 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
137 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
144 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
151 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
158 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
165 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/mips64/
Dinterface-descriptors-mips64.cc89 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
96 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
122 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
129 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
136 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
143 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
150 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
157 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
164 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/arm64/
Dinterface-descriptors-arm64.cc90 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
98 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
106 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
126 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
133 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
144 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
154 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
165 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
174 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
184 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_nalu_unittest.cc35 AnnexBBufferReader reader(annex_b_test_data, arraysize(annex_b_test_data)); in TEST()
38 EXPECT_EQ(arraysize(annex_b_test_data), reader.BytesRemaining()); in TEST()
55 AnnexBBufferReader reader(annex_b_test_data, arraysize(annex_b_test_data)); in TEST()
73 AnnexBBufferReader reader(annex_b_test_data, arraysize(annex_b_test_data)); in TEST()
76 EXPECT_EQ(arraysize(annex_b_test_data), reader.BytesRemaining()); in TEST()
97 EXPECT_FALSE(writer.WriteNalu(NALU_TEST_DATA_0, arraysize(NALU_TEST_DATA_0))); in TEST()
99 memcmp(expected_buffer, buffer.get(), arraysize(expected_buffer))); in TEST()
106 const size_t buffer_size = arraysize(NALU_TEST_DATA_0) + 4; in TEST()
110 EXPECT_TRUE(writer.WriteNalu(NALU_TEST_DATA_0, arraysize(NALU_TEST_DATA_0))); in TEST()
112 EXPECT_FALSE(writer.WriteNalu(NALU_TEST_DATA_1, arraysize(NALU_TEST_DATA_1))); in TEST()
[all …]
/external/v8/test/unittests/base/platform/
Dplatform-unittest.cc42 for (size_t i = 0; i < arraysize(keys_); ++i) { in ThreadLocalStorageTest()
47 for (size_t i = 0; i < arraysize(keys_); ++i) { in ~ThreadLocalStorageTest()
53 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
56 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
59 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
62 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
66 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
67 Thread::SetThreadLocal(keys_[i], GetValue(arraysize(keys_) - i - 1)); in Run()
69 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
72 for (size_t i = 0; i < arraysize(keys_); i++) { in Run()
[all …]
/external/libbrillo/brillo/
Dflag_helper_unittest.cc44 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
48 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); in TEST_F()
106 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
110 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); in TEST_F()
166 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
170 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); in TEST_F()
195 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
199 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDuplicateSetvalue"); in TEST_F()
209 base::CommandLine command_line(arraysize(argv), argv); in TEST_F()
213 brillo::FlagHelper::Init(arraysize(argv), argv, "TestFlagTerminator"); in TEST_F()
[all …]
/external/libweave/third_party/chromium/base/strings/
Dstring_number_conversions_unittest.cc53 for (size_t i = 0; i < arraysize(int_tests); ++i) { in TEST()
58 for (size_t i = 0; i < arraysize(int64_tests); ++i) { in TEST()
76 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
99 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
135 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
145 std::string input_string(input, arraysize(input) - 1); in TEST()
184 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
194 std::string input_string(input, arraysize(input) - 1); in TEST()
239 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
249 std::string input_string(input, arraysize(input) - 1); in TEST()
[all …]
/external/v8/test/unittests/wasm/
Dmodule-decoder-unittest.cc25 ModuleResult result = DecodeModule(data, data + arraysize(data)); \
33 ModuleResult result = DecodeModule(data, data + arraysize(data)); \
77 ModuleResult result = DecodeModule(data, data + arraysize(data)); in TEST_F()
93 for (size_t size = 1; size < arraysize(data); size++) { in TEST_F()
106 ModuleResult result = DecodeModule(data, data + arraysize(data)); in TEST_F()
138 buffer.insert(buffer.end(), data, data + arraysize(data)); in TEST_F()
200 ModuleResult result = DecodeModule(data, data + arraysize(data)); in TEST_F()
222 for (size_t size = 1; size < arraysize(data); size++) { in TEST_F()
254 ModuleResult result = DecodeModule(data, data + arraysize(data)); in TEST_F()
268 for (size_t size = 1; size < arraysize(data); size++) { in TEST_F()
[all …]
/external/libchrome/base/threading/
Dplatform_thread_unittest.cc55 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
57 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
59 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
61 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
63 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
159 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
161 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
164 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
166 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
169 for (size_t n = 0; n < arraysize(thread); n++) { in TEST()
[all …]
/external/v8/test/cctest/compiler/
Dtest-run-properties.cc19 for (size_t i = 0; i < arraysize(kValues); ++i) { in TypedArrayLoadHelper()
39 SNPrintF(source_buffer, source, array_type, arraysize(kValues), in TypedArrayLoadHelper()
40 values_buffer.start(), array_type, arraysize(kValues), in TypedArrayLoadHelper()
46 for (size_t i = 0; i < arraysize(kValues); ++i) { in TypedArrayLoadHelper()
47 for (size_t j = 0; j < arraysize(kValues); ++j) { in TypedArrayLoadHelper()
81 for (size_t i = 0; i < arraysize(kValues); ++i) { in TypedArrayStoreHelper()
107 SNPrintF(source_buffer, source, array_type, arraysize(kValues), in TypedArrayStoreHelper()
108 values_buffer.start(), array_type, arraysize(kValues), in TypedArrayStoreHelper()
114 for (size_t i = 0; i < arraysize(kValues); ++i) { in TypedArrayStoreHelper()
115 for (size_t j = 0; j < arraysize(kValues); ++j) { in TypedArrayStoreHelper()
Dtest-basic-block-profiler.cc52 m.Expect(arraysize(expected), expected); in TEST()
58 m.Expect(arraysize(expected), expected); in TEST()
66 m.Expect(arraysize(expected), expected); in TEST()
72 m.Expect(arraysize(expected), expected); in TEST()
98 m.Expect(arraysize(expected), expected); in TEST()
102 for (size_t i = 0; i < arraysize(runs); i++) { in TEST()
106 m.Expect(arraysize(expected), expected); in TEST()
/external/libchrome/base/strings/
Dstring_number_conversions_unittest.cc53 for (size_t i = 0; i < arraysize(int_tests); ++i) { in TEST()
60 for (size_t i = 0; i < arraysize(int64_tests); ++i) { in TEST()
80 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
103 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
139 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
154 std::string input_string(input, arraysize(input) - 1); in TEST()
203 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
218 std::string input_string(input, arraysize(input) - 1); in TEST()
273 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
288 std::string input_string(input, arraysize(input) - 1); in TEST()
[all …]
Dutf_string_conversions_unittest.cc52 for (size_t i = 0; i < arraysize(kConvertRoundtripCases); ++i) { in TEST()
100 for (size_t i = 0; i < arraysize(convert_cases); i++) { in TEST()
200 memcpy(WriteInto(&multistring16, arraysize(multi16)), multi16, in TEST()
202 EXPECT_EQ(arraysize(multi16) - 1, multistring16.length()); in TEST()
204 memcpy(WriteInto(&expected, arraysize(multi)), multi, sizeof(multi)); in TEST()
205 EXPECT_EQ(arraysize(multi) - 1, expected.length()); in TEST()
207 EXPECT_EQ(arraysize(multi) - 1, converted.length()); in TEST()
/external/v8/test/cctest/
Dtest-parsing.cc88 for (int j = 0; j < static_cast<int>(arraysize(chars_to_append)); ++j) { in TEST()
277 for (unsigned i = 0; i < arraysize(good_code); i++) { in TEST()
1047 for (unsigned j = 0; j < arraysize(surroundings); ++j) { in TEST()
1048 for (unsigned i = 0; i < arraysize(source_data); ++i) { in TEST()
1807 TestParserSync("%DebugPrint(123)", flags3, arraysize(flags3)); in TEST()
1859 flags_len = arraysize(default_flags); in RunParserSyncTest()
1963 arraysize(always_flags)); in TEST()
2081 arraysize(always_flags)); in TEST()
2083 arraysize(always_flags)); in TEST()
2289 arraysize(always_flags)); in TEST()
[all …]
/external/webrtc/webrtc/base/
Durlencode_unittest.cc23 ASSERT_EQ(0, UrlEncode(source, dest, arraysize(dest))); in TEST()
34 ASSERT_EQ(3, UrlEncode(source, dest, arraysize(dest))); in TEST()
44 ASSERT_EQ(2, UrlEncode(source, dest, arraysize(dest))); in TEST()
53 ASSERT_EQ(0, UrlEncode(source, dest, arraysize(dest))); in TEST()
60 ASSERT_EQ(5, UrlEncode(source, dest, arraysize(dest))); in TEST()
68 arraysize(dest))); in TEST()
Dwin32filesystem.cc201 if (!::GetTempPath(arraysize(buffer), buffer)) in GetTemporaryFolder()
204 !::GetLongPathName(buffer, buffer, arraysize(buffer))) in GetTemporaryFolder()
208 len += strcpyn(buffer + len, arraysize(buffer) - len, L"\\"); in GetTemporaryFolder()
210 if (len >= arraysize(buffer) - 1) in GetTemporaryFolder()
299 if (!::GetTempPath(arraysize(buffer), buffer)) in IsTemporaryPath()
302 !::GetLongPathName(buffer, buffer, arraysize(buffer))) in IsTemporaryPath()
341 if (0 == ::GetModuleFileName(NULL, buffer, arraysize(buffer))) in GetAppPathname()
355 !::GetLongPathName(buffer, buffer, arraysize(buffer))) in GetAppDataFolder()
357 size_t len = strcatn(buffer, arraysize(buffer), __T("\\")); in GetAppDataFolder()
358 len += strcpyn(buffer + len, arraysize(buffer) - len, in GetAppDataFolder()
[all …]
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer_unittest.cc57 static_assert(arraysize(kTestCenterFreqs) == arraysize(kTestFilterBank),
65 static_assert(arraysize(kTestCenterFreqs) == arraysize(kTestZeroVar),
71 static_assert(arraysize(kTestCenterFreqs) ==
72 arraysize(kTestNonZeroVarLambdaTop),
152 ASSERT_EQ(arraysize(kTestCenterFreqs), enh_->bank_size_); in TEST_F()
155 ASSERT_EQ(arraysize(kTestFilterBank[0]), enh_->freqs_); in TEST_F()
/external/v8/src/
Dinterface-descriptors.cc105 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
121 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
130 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
135 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
168 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
187 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
194 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
201 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
208 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/webrtc/webrtc/sound/
Dautomaticallychosensoundsystem_unittest.cc117 arraysize(kSingleSystemFailingCreators)> sound_system; in TEST()
128 arraysize(kSingleSystemSucceedingCreators)> sound_system; in TEST()
141 arraysize(kFailedFirstSystemResultsInUsingSecondCreators)> sound_system; in TEST()
153 arraysize(kEarlierEntriesHavePriorityCreators)> sound_system; in TEST()
174 arraysize(kManySoundSystemsCreators)> sound_system; in TEST()
187 arraysize(kDeletesAllCreatedSoundSystemsCreators)> TestSoundSystem; in TEST()

12345678910>>...13