Home
last modified time | relevance | path

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

12345678910>>...12

/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.cc23 STATIC_ASSERT(arraysize(default_stub_registers) == kMaxBuiltinRegisterParams); in DefaultInitializePlatformSpecific()
25 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
36 arraysize(default_stub_registers)); in InitializePlatformSpecific()
39 arraysize(default_stub_registers)); in InitializePlatformSpecific()
78 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
92 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
102 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
111 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
120 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/x64/
Dinterface-descriptors-x64.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
29 arraysize(default_stub_registers)); in InitializePlatformSpecific()
32 arraysize(default_stub_registers)); in InitializePlatformSpecific()
68 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
78 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
86 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
96 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
105 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
114 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
122 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/arm/
Dinterface-descriptors-arm.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
28 arraysize(default_stub_registers)); in InitializePlatformSpecific()
31 arraysize(default_stub_registers)); in InitializePlatformSpecific()
70 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
76 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
94 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
120 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/s390/
Dinterface-descriptors-s390.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
28 arraysize(default_stub_registers)); in InitializePlatformSpecific()
31 arraysize(default_stub_registers)); in InitializePlatformSpecific()
69 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
75 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
83 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
93 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
102 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
111 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
119 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/ppc/
Dinterface-descriptors-ppc.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
28 arraysize(default_stub_registers)); in InitializePlatformSpecific()
31 arraysize(default_stub_registers)); in InitializePlatformSpecific()
70 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
76 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
94 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
120 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/mips64/
Dinterface-descriptors-mips64.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
28 arraysize(default_stub_registers)); in InitializePlatformSpecific()
31 arraysize(default_stub_registers)); in InitializePlatformSpecific()
70 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
76 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
94 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
120 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/mips/
Dinterface-descriptors-mips.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
28 arraysize(default_stub_registers)); in InitializePlatformSpecific()
31 arraysize(default_stub_registers)); in InitializePlatformSpecific()
70 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
76 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
84 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
94 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
103 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
112 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
120 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
[all …]
/external/v8/src/arm64/
Dinterface-descriptors-arm64.cc18 arraysize(default_stub_registers)); in DefaultInitializePlatformSpecific()
28 arraysize(default_stub_registers)); in InitializePlatformSpecific()
31 arraysize(default_stub_registers)); in InitializePlatformSpecific()
70 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
77 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
85 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
95 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
104 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
113 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
121 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/perf_data_converter/src/quipper/
Dbinary_data_utils_test.cc39 for (size_t i = 0; i < arraysize(hex_number); ++i) hex_number[i] = i << i; in TEST()
41 RawDataToHexString(hex_number, arraysize(hex_number))); in TEST()
45 hex_number[arraysize(hex_number) - 1] = 0x64; in TEST()
47 RawDataToHexString(hex_number, arraysize(hex_number))); in TEST()
54 for (size_t i = 0; i < arraysize(expected); ++i) expected[i] = i << i; in TEST()
56 HexStringToRawData("0002081840a08080", output, arraysize(output))); in TEST()
57 for (size_t i = 0; i < arraysize(expected); ++i) in TEST()
61 expected[arraysize(expected) - 1] = 0x64; in TEST()
63 arraysize(output))); in TEST()
64 for (size_t i = 0; i < arraysize(expected); ++i) in TEST()
/external/v8/src/
Dinterface-descriptors.cc104 arraysize(default_js_stub_registers)); in JSDefaultInitializePlatformSpecific()
132 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
139 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
149 data->InitializePlatformSpecific(arraysize(registers), registers); in InterpreterCEntryDescriptor_InitializePlatformSpecific()
167 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
173 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
188 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
194 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
200 data->InitializePlatformSpecific(arraysize(registers), registers); in InitializePlatformSpecific()
207 int len = arraysize(registers) - kStackArgumentsCount; in InitializePlatformSpecific()
[all …]
/external/libchrome/base/strings/
Dstring_number_conversions_unittest.cc54 for (size_t i = 0; i < arraysize(int_tests); ++i) { in TEST()
62 for (size_t i = 0; i < arraysize(int64_tests); ++i) { in TEST()
83 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
106 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
142 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
157 std::string input_string(input, arraysize(input) - 1); in TEST()
206 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
222 std::string input_string(input, arraysize(input) - 1); in TEST()
277 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
292 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/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()
82 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
84 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
86 for (size_t n = 0; n < arraysize(thread); n++) { in TEST()
90 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
188 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
[all …]
/external/autotest/client/site_tests/security_Libcontainer/src/
Dlibcontainer_target_unittest.cc112 arraysize(stdio_fds))); in TEST_F()
120 kPreChrootArgv, arraysize(kPreChrootArgv), &stdin_fd, in TEST_F()
131 arraysize(kProgramArgv))); in TEST_F()
147 arraysize(stdio_fds))); in TEST_F()
155 arraysize(kProgramArgv))); in TEST_F()
165 kPreExecveArgv, arraysize(kPreExecveArgv), nullptr, nullptr, in TEST_F()
175 kPreChrootArgv, arraysize(kPreChrootArgv), nullptr, nullptr, in TEST_F()
192 arraysize(stdio_fds))); in TEST_F()
198 arraysize(kProgramArgv))); in TEST_F()
207 kPreExecveArgv, arraysize(kPreExecveArgv), nullptr, nullptr, in TEST_F()
/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/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/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/gflags/test/
Dgflags_unittest.cc1225 EXPECT_EQ(2, ParseTestFlag(true, arraysize(argv) - 1, argv)); in TEST()
1226 EXPECT_EQ(2, ParseTestFlag(false, arraysize(argv) - 1, argv)); in TEST()
1237 EXPECT_EQ(2, ParseTestFlag(true, arraysize(argv) - 1, argv)); in TEST()
1238 EXPECT_EQ(2, ParseTestFlag(false, arraysize(argv) - 1, argv)); in TEST()
1250 EXPECT_EQ(2, ParseTestFlag(true, arraysize(argv) - 1, argv)); in TEST()
1251 EXPECT_EQ(2, ParseTestFlag(false, arraysize(argv) - 1, argv)); in TEST()
1263 EXPECT_EQ(3, ParseTestFlag(true, arraysize(argv) - 1, argv)); in TEST()
1264 EXPECT_EQ(3, ParseTestFlag(false, arraysize(argv) - 1, argv)); in TEST()
1277 EXPECT_EQ(3, ParseTestFlag(true, arraysize(argv) - 1, argv)); in TEST()
1278 EXPECT_EQ(3, ParseTestFlag(false, arraysize(argv) - 1, argv)); in TEST()
[all …]
/external/libchrome/base/memory/
Dshared_memory_helper.cc133 memset(buf, 0, arraysize(buf)); in PrepareMapFile()
134 memset(fd_path, 0, arraysize(fd_path)); in PrepareMapFile()
135 snprintf(fd_path, arraysize(fd_path) - 1, "/proc/self/fd/%d", i); in PrepareMapFile()
136 ssize_t count = readlink(fd_path, buf, arraysize(buf) - 1); in PrepareMapFile()
142 if (crash_ptr + count + 1 < crash_buffer + arraysize(crash_buffer)) { in PrepareMapFile()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dh264_sps_parser_unittest.cc125 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); in TEST()
137 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); in TEST()
149 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); in TEST()
158 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); in TEST()
167 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); in TEST()

12345678910>>...12