Home
last modified time | relevance | path

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

12345678910>>...14

/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/
Dinterface-descriptors.cc67 data->InitializePlatformIndependent(arraysize(machine_types), 0, in InitializePlatformIndependent()
74 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
80 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
94 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
107 data->InitializePlatformIndependent(arraysize(machine_types), 0, in InitializePlatformIndependent()
114 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
122 data->InitializePlatformIndependent(arraysize(machine_types), 0, in InitializePlatformIndependent()
129 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
137 data->InitializePlatformIndependent(arraysize(machine_types), 0, in InitializePlatformIndependent()
144 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/arm64/
Dinterface-descriptors-arm64.cc20 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
71 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
80 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
91 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
101 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
121 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
131 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
139 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
145 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/x64/
Dinterface-descriptors-x64.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
69 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
75 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
85 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
92 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
99 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
106 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
113 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
120 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
126 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/x87/
Dinterface-descriptors-x87.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
69 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
75 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
81 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
87 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
97 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
104 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
111 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
118 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
125 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/ia32/
Dinterface-descriptors-ia32.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
69 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
78 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
85 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
92 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
99 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
106 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
113 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
120 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
126 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/mips/
Dinterface-descriptors-mips.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
68 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
77 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
91 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
105 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
119 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
125 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/ppc/
Dinterface-descriptors-ppc.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
67 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
77 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
91 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
98 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
105 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
119 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
125 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/arm/
Dinterface-descriptors-arm.cc20 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
70 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
79 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
86 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
93 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
100 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
107 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
114 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
121 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
127 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/mips64/
Dinterface-descriptors-mips64.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
68 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
77 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
91 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
98 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); in InitializePlatformSpecific()
105 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
118 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
124 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/s390/
Dinterface-descriptors-s390.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
65 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
74 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
80 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
86 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
92 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
98 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
104 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
110 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
116 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/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/libchrome/base/threading/
Dplatform_thread_unittest.cc57 PlatformThreadHandle handle[arraysize(thread)]; 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()
65 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
84 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
86 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
88 for (size_t n = 0; n < arraysize(thread); n++) { in TEST()
92 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
190 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
[all …]
/external/libchrome/base/strings/
Dstring_number_conversions_unittest.cc54 for (size_t i = 0; i < arraysize(int_tests); ++i) { in TEST()
61 for (size_t i = 0; i < arraysize(int64_tests); ++i) { in TEST()
81 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
104 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
140 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
155 std::string input_string(input, arraysize(input) - 1); in TEST()
204 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
220 std::string input_string(input, arraysize(input) - 1); in TEST()
275 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
290 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/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/v8/src/compiler/
Dgraph.h72 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
76 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
80 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
85 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
90 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
95 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
100 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
105 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
110 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
116 return NewNode(op, arraysize(nodes), nodes); in NON_EXPORTED_BASE()
[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/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()
/external/libcxx/utils/google-benchmark/src/
Dstring_util.cc23 static_assert(arraysize(kBigSIUnits) == arraysize(kBigIECUnits),
25 static_assert(arraysize(kSmallSIUnits) == arraysize(kBigSIUnits),
28 static const int64_t kUnitsSize = arraysize(kBigSIUnits);
52 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa()
66 for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) { in ToExponentAndMantissa()
/external/google-benchmark/src/
Dstring_util.cc23 static_assert(arraysize(kBigSIUnits) == arraysize(kBigIECUnits),
25 static_assert(arraysize(kSmallSIUnits) == arraysize(kBigSIUnits),
28 static const int64_t kUnitsSize = arraysize(kBigSIUnits);
54 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa()
69 for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) { in ToExponentAndMantissa()
/external/webrtc/talk/media/base/
Dstreamparams_unittest.cc58 for (size_t i = 0; i < arraysize(ssrc_groups); ++i) { in TEST()
59 for (size_t j = 0; j < arraysize(ssrc_groups); ++j) { in TEST()
96 CreateStreamParamsWithSsrcGroup("XYZ", kSsrcs2, arraysize(kSsrcs2)); in TEST()
111 CreateStreamParamsWithSsrcGroup("XYZ", kSsrcs2, arraysize(kSsrcs2)); in TEST()
120 CreateStreamParamsWithSsrcGroup("ABC", kSsrcs1, arraysize(kSsrcs1)); in TEST()
122 CreateStreamParamsWithSsrcGroup("ABC", kSsrcs2, arraysize(kSsrcs2)); in TEST()
124 CreateStreamParamsWithSsrcGroup("Abc", kSsrcs2, arraysize(kSsrcs2)); in TEST()
126 CreateStreamParamsWithSsrcGroup("abc", kSsrcs2, arraysize(kSsrcs2)); in TEST()
129 for (size_t i = 0; i < arraysize(sps); ++i) { in TEST()
130 for (size_t j = 0; j < arraysize(sps); ++j) { in TEST()
[all …]
/external/regex-re2/re2/testing/
Dparse_test.cc233 TestParse(tests, arraysize(tests), kTestFlags, "simple"); in TEST()
250 TestParse(foldcase_tests, arraysize(foldcase_tests), Regexp::FoldCase, "foldcase"); in TEST()
259 TestParse(literal_tests, arraysize(literal_tests), Regexp::Literal, "literal"); in TEST()
272 TestParse(matchnl_tests, arraysize(matchnl_tests), Regexp::MatchNL, "with MatchNL"); in TEST()
284 TestParse(nomatchnl_tests, arraysize(nomatchnl_tests), Regexp::NoParseFlags, "without MatchNL"); in TEST()
306 TestParse(prefix_tests, arraysize(prefix_tests), Regexp::PerlX, "prefix"); in TEST()
358 for (int i = 0; i < arraysize(badtests); i++) { in TEST()
364 for (int i = 0; i < arraysize(only_posix); i++) { in TEST()
371 for (int i = 0; i < arraysize(only_perl); i++) { in TEST()
382 for (int i = 0; i < arraysize(tests); i++) { in TEST()

12345678910>>...14