Home
last modified time | relevance | path

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

12345678910>>...63

/external/chromium_org/gpu/command_buffer/service/
Dgles2_cmd_validation_implementation_autogen.h381 : attachment(valid_attachment_table, arraysize(valid_attachment_table)), in Validators()
383 arraysize(valid_backbuffer_attachment_table)), in Validators()
384 blit_filter(valid_blit_filter_table, arraysize(valid_blit_filter_table)), in Validators()
386 arraysize(valid_buffer_parameter_table)), in Validators()
388 arraysize(valid_buffer_target_table)), in Validators()
390 arraysize(valid_buffer_usage_table)), in Validators()
391 capability(valid_capability_table, arraysize(valid_capability_table)), in Validators()
393 arraysize(valid_cmp_function_table)), in Validators()
395 draw_mode(valid_draw_mode_table, arraysize(valid_draw_mode_table)), in Validators()
397 arraysize(valid_dst_blend_factor_table)), in Validators()
[all …]
/external/chromium_org/net/http/
Dhttp_chunked_decoder_unittest.cc63 RunTest(inputs, arraysize(inputs), "hello hello", true, 0); in TEST()
70 RunTest(inputs, arraysize(inputs), "hello", false, 0); in TEST()
80 RunTest(inputs, arraysize(inputs), "hello world", true, 0); in TEST()
97 RunTest(inputs, arraysize(inputs), "hello", true, 0); in TEST()
111 RunTest(inputs, arraysize(inputs), "hello", true, 0); in TEST()
124 RunTest(inputs, arraysize(inputs), "hello world", true, 0); in TEST()
132 RunTest(inputs, arraysize(inputs), "hello", true, 0); in TEST()
143 RunTest(inputs, arraysize(inputs), "hello", true, 0); in TEST()
152 RunTest(inputs, arraysize(inputs), "hello", false, 0); in TEST()
163 RunTestUntilFailure(inputs, arraysize(inputs), 0); in TEST()
[all …]
Dhttp_proxy_client_socket_pool_unittest.cc33 const int kAuthHeadersSize = arraysize(kAuthHeaders) / 2;
313 arraysize(kAuthChallenge), in TEST_P()
320 Initialize(reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
321 spdy_reads, arraysize(spdy_reads), spdy_writes, in TEST_P()
322 arraysize(spdy_writes)); in TEST_P()
363 Initialize(reads, arraysize(reads), writes, arraysize(writes), NULL, 0, in TEST_P()
399 Initialize(reads, arraysize(reads), writes, arraysize(writes), in TEST_P()
400 spdy_reads, arraysize(spdy_reads), spdy_writes, in TEST_P()
401 arraysize(spdy_writes)); in TEST_P()
439 spdy_reads, arraysize(spdy_reads), in TEST_P()
[all …]
/external/chromium_org/gpu/command_buffer/common/
Dgles2_cmd_utils_implementation_autogen.h2366 string_table, arraysize(string_table), value); in GetStringAttachment()
2376 string_table, arraysize(string_table), value); in GetStringBackbufferAttachment()
2384 string_table, arraysize(string_table), value); in GetStringBlitFilter()
2392 string_table, arraysize(string_table), value); in GetStringBufferParameter()
2401 string_table, arraysize(string_table), value); in GetStringBufferTarget()
2411 string_table, arraysize(string_table), value); in GetStringBufferUsage()
2427 string_table, arraysize(string_table), value); in GetStringCapability()
2442 string_table, arraysize(string_table), value); in GetStringCmpFunction()
2460 string_table, arraysize(string_table), value); in GetStringDrawMode()
2481 string_table, arraysize(string_table), value); in GetStringDstBlendFactor()
[all …]
/external/chromium_org/chrome/browser/ui/webui/options/
Dpepper_flash_content_settings_utils_unittest.cc95 ConvertAndSort(exceptions_1, arraysize(exceptions_1)), in TEST()
97 ConvertAndSort(exceptions_2, arraysize(exceptions_2)), in TEST()
102 ConvertAndSort(exceptions_2, arraysize(exceptions_2)), in TEST()
104 ConvertAndSort(exceptions_1, arraysize(exceptions_1)), in TEST()
110 ConvertAndSort(exceptions_1, arraysize(exceptions_1)), in TEST()
112 ConvertAndSort(exceptions_2, arraysize(exceptions_2)), in TEST()
134 ConvertAndSort(exceptions_1, arraysize(exceptions_1)), in TEST()
136 ConvertAndSort(exceptions_2, arraysize(exceptions_2)), in TEST()
141 ConvertAndSort(exceptions_1, arraysize(exceptions_1)), in TEST()
143 ConvertAndSort(exceptions_2, arraysize(exceptions_2)), in TEST()
[all …]
/external/chromium_org/net/quic/
Dquic_unacked_packet_map_test.cc92 VerifyUnackedPackets(unacked, arraysize(unacked)); in TEST_F()
108 VerifyUnackedPackets(unacked, arraysize(unacked)); in TEST_F()
109 VerifyPendingPackets(unacked, arraysize(unacked)); in TEST_F()
110 VerifyRetransmittablePackets(unacked, arraysize(unacked)); in TEST_F()
113 VerifyUnackedPackets(unacked, arraysize(unacked)); in TEST_F()
114 VerifyPendingPackets(unacked, arraysize(unacked)); in TEST_F()
118 VerifyUnackedPackets(unacked, arraysize(unacked)); in TEST_F()
119 VerifyPendingPackets(unacked, arraysize(unacked)); in TEST_F()
137 VerifyUnackedPackets(unacked, arraysize(unacked)); in TEST_F()
138 VerifyPendingPackets(unacked, arraysize(unacked)); in TEST_F()
[all …]
/external/chromium_org/net/spdy/
Dspdy_frame_reader_test.cc22 arraysize(kFrameData) * sizeof(uint16)); in TEST()
42 arraysize(kFrameData) * sizeof(uint32)); in TEST()
67 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
92 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
111 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
124 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
144 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
163 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
183 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
202 SpdyFrameReader frame_reader(kFrameData, arraysize(kFrameData)); in TEST()
[all …]
Dspdy_proxy_client_socket_unittest.cc398 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
419 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
440 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
461 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
492 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
516 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
542 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
579 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
605 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
636 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_P()
[all …]
/external/chromium_org/media/cast/audio_sender/
Daudio_encoder_unittest.cc222 TestScenario(kOneCall_3Millis, arraysize(kOneCall_3Millis)),
223 TestScenario(kOneCall_10Millis, arraysize(kOneCall_10Millis)),
224 TestScenario(kOneCall_13Millis, arraysize(kOneCall_13Millis)),
225 TestScenario(kOneCall_20Millis, arraysize(kOneCall_20Millis)),
226 TestScenario(kTwoCalls_3Millis, arraysize(kTwoCalls_3Millis)),
227 TestScenario(kTwoCalls_10Millis, arraysize(kTwoCalls_10Millis)),
228 TestScenario(kTwoCalls_Mixed1, arraysize(kTwoCalls_Mixed1)),
229 TestScenario(kTwoCalls_Mixed2, arraysize(kTwoCalls_Mixed2)),
230 TestScenario(kTwoCalls_Mixed3, arraysize(kTwoCalls_Mixed3)),
231 TestScenario(kTwoCalls_Mixed4, arraysize(kTwoCalls_Mixed4)),
[all …]
/external/chromium_org/cc/surfaces/
Dsurface_unittest.cc103 first_frame_ids, arraysize(first_frame_ids), &surface); in TEST()
121 arraysize(expected_returned_counts), in TEST()
134 first_frame_ids, arraysize(first_frame_ids), &surface); in TEST()
156 first_frame_ids, release_counts, arraysize(first_frame_ids), &surface); in TEST()
163 arraysize(expected_returned_counts), in TEST()
176 first_frame_ids, arraysize(first_frame_ids), &surface); in TEST()
183 first_frame_ids, arraysize(first_frame_ids), &surface); in TEST()
211 first_frame_ids, arraysize(first_frame_ids), &surface); in TEST()
219 second_frame_ids, arraysize(second_frame_ids), &surface); in TEST()
242 UnrefResources(ids_to_unref, counts, arraysize(ids_to_unref), &surface); in TEST()
[all …]
Dsurface_aggregator_unittest.cc78 test::Pass passes[] = {test::Pass(quads, arraysize(quads))}; in TEST_F()
80 SubmitFrame(passes, arraysize(passes), &root_surface_); in TEST_F()
82 AggregateAndVerify(passes, arraysize(passes)); in TEST_F()
90 test::Pass passes[] = {test::Pass(quads[0], arraysize(quads[0])), in TEST_F()
91 test::Pass(quads[1], arraysize(quads[1]))}; in TEST_F()
93 SubmitFrame(passes, arraysize(passes), &root_surface_); in TEST_F()
95 AggregateAndVerify(passes, arraysize(passes)); in TEST_F()
109 test::Pass(embedded_quads, arraysize(embedded_quads))}; in TEST_F()
111 SubmitFrame(embedded_passes, arraysize(embedded_passes), &embedded_surface); in TEST_F()
117 test::Pass root_passes[] = {test::Pass(root_quads, arraysize(root_quads))}; in TEST_F()
[all …]
/external/chromium_org/remoting/host/
Dcapture_scheduler_unittest.cc14 const int kTestResults[][arraysize(kTestInputs)] = { in TEST()
21 for (size_t i = 0; i < arraysize(kTestResults); ++i) { in TEST()
22 for (size_t j = 0; j < arraysize(kTestInputs); ++j) { in TEST()
38 const int kTestResults[][arraysize(kTestInputs)] = { in TEST()
45 for (size_t i = 0; i < arraysize(kTestResults); ++i) { in TEST()
46 for (size_t j = 0; j < arraysize(kTestInputs); ++j) { in TEST()
55 kTestInputs[arraysize(kTestInputs) - 1 - j])); in TEST()
63 const int kTestResults[][arraysize(kTestInputs)] = { in TEST()
70 for (size_t i = 0; i < arraysize(kTestResults); ++i) { in TEST()
75 for (size_t j = 0; j < arraysize(kTestInputs); ++j) { in TEST()
[all …]
/external/chromium_org/media/cdm/
Djson_web_key_unittest.cc34 GenerateJWKSet(data1, arraysize(data1), data1, arraysize(data1))); in TEST_F()
37 GenerateJWKSet(data2, arraysize(data2), data2, arraysize(data2))); in TEST_F()
39 GenerateJWKSet(data1, arraysize(data1), data2, arraysize(data2))); in TEST_F()
41 GenerateJWKSet(data2, arraysize(data2), data1, arraysize(data1))); in TEST_F()
45 GenerateJWKSet(data3, arraysize(data3), data3, arraysize(data3))); in TEST_F()
/external/chromium_org/net/socket/
Dsocks5_client_socket_unittest.cc130 MockWrite(ASYNC, kOkRequest, arraysize(kOkRequest)), in TEST_F()
137 user_sock_ = BuildMockSocket(data_reads, arraysize(data_reads), in TEST_F()
138 data_writes, arraysize(data_writes), in TEST_F()
194 std::string request(kSOCKS5DomainRequest, arraysize(kSOCKS5DomainRequest)); in TEST_F()
209 user_sock_ = BuildMockSocket(data_reads, arraysize(data_reads), in TEST_F()
210 data_writes, arraysize(data_writes), in TEST_F()
231 user_sock_ = BuildMockSocket(data_reads, arraysize(data_reads), in TEST_F()
232 data_writes, arraysize(data_writes), in TEST_F()
261 MockWrite(ASYNC, arraysize(partial1)), in TEST_F()
262 MockWrite(ASYNC, partial2, arraysize(partial2)), in TEST_F()
[all …]
Dsocks_client_socket_unittest.cc141 MockWrite(ASYNC, kSOCKSOkRequest, arraysize(kSOCKSOkRequest)), in TEST_F()
144 MockRead(ASYNC, kSOCKSOkReply, arraysize(kSOCKSOkReply)), in TEST_F()
148 user_sock_ = BuildMockSocket(data_reads, arraysize(data_reads), in TEST_F()
149 data_writes, arraysize(data_writes), in TEST_F()
218 MockWrite(SYNCHRONOUS, kSOCKSOkRequest, arraysize(kSOCKSOkRequest)) }; in TEST_F()
221 arraysize(tests[i].fail_reply)) }; in TEST_F()
224 user_sock_ = BuildMockSocket(data_reads, arraysize(data_reads), in TEST_F()
225 data_writes, arraysize(data_writes), in TEST_F()
255 MockWrite(ASYNC, kSOCKSOkRequest, arraysize(kSOCKSOkRequest)) }; in TEST_F()
257 MockRead(ASYNC, kSOCKSPartialReply1, arraysize(kSOCKSPartialReply1)), in TEST_F()
[all …]
Ddeterministic_socket_data_unittest.cc18 static const int kLen1 = arraysize(kMsg1);
20 static const int kLen2 = arraysize(kMsg2);
22 static const int kLen3 = arraysize(kMsg3);
202 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
218 Initialize(reads, arraysize(reads), writes, arraysize(writes)); in TEST_F()
231 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
249 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
268 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
285 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
308 Initialize(reads, arraysize(reads), NULL, 0); in TEST_F()
[all …]
/external/chromium_org/components/variations/
Dstudy_filtering_unittest.cc40 bool channel_added[arraysize(channels)] = { 0 }; in TEST()
46 for (size_t i = 0; i <= arraysize(channels); ++i) { in TEST()
47 for (size_t j = 0; j < arraysize(channels); ++j) { in TEST()
53 if (i < arraysize(channels)) { in TEST()
62 for (size_t i = 0; i <= arraysize(channels); ++i) { in TEST()
63 for (size_t j = 0; j < arraysize(channels); ++j) { in TEST()
69 if (i < arraysize(channels)) { in TEST()
70 const int index = arraysize(channels) - i - 1; in TEST()
85 static_cast<int>(arraysize(form_factors))); in TEST()
87 bool form_factor_added[arraysize(form_factors)] = { 0 }; in TEST()
[all …]
/external/chromium_org/base/threading/
Dplatform_thread_unittest.cc42 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
44 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
46 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
48 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
50 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
99 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
101 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
103 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
105 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
107 for (size_t n = 0; n < arraysize(thread); n++) { in TEST()
/external/chromium_org/chrome/installer/util/
Dlanguage_selector.cc107 &kLanguageOffsetPairs[arraysize(kLanguageOffsetPairs)], in ValidateMappings()
113 &kLanguageToOffsetExceptions[arraysize(kLanguageToOffsetExceptions)], in ValidateMappings()
119 &kLanguageToOffsetWildcards[arraysize(kLanguageToOffsetWildcards)], in ValidateMappings()
167 &kLanguageOffsetPairs[arraysize(kLanguageOffsetPairs)], in GetLanguageOffset()
171 &kLanguageToOffsetExceptions[arraysize(kLanguageToOffsetExceptions)], in GetLanguageOffset()
184 &kLanguageToOffsetWildcards[arraysize(kLanguageToOffsetWildcards)], in MatchLanguageOffset()
211 : offset_(arraysize(kLanguageOffsetPairs)) { in LanguageSelector()
222 : offset_(arraysize(kLanguageOffsetPairs)) { in LanguageSelector()
235 DCHECK_LT(static_cast<size_t>(offset), arraysize(kLanguageOffsetPairs)); in GetLanguageName()
240 &kLanguageOffsetPairs[arraysize(kLanguageOffsetPairs)], in GetLanguageName()
[all …]
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_url_provider_unittest.cc261 for (size_t i = 0; i < arraysize(test_db); ++i) { in FillData()
317 arraysize(expected_nonsynth)); in TEST_F()
325 arraysize(expected_synth)); in TEST_F()
339 expected_synthesisa, arraysize(expected_synthesisa)); in TEST_F()
346 expected_synthesisb, arraysize(expected_synthesisb)); in TEST_F()
356 expected_combine, arraysize(expected_combine))); in TEST_F()
370 short_1, arraysize(short_1)); in TEST_F()
381 arraysize(short_2)); in TEST_F()
383 arraysize(short_2)); in TEST_F()
395 arraysize(short_3)); in TEST_F()
[all …]
/external/chromium_org/base/containers/
Dlinked_list_unittest.cc82 ExpectListContents(list, arraysize(expected), expected); in TEST()
92 ExpectListContents(list, arraysize(expected), expected); in TEST()
102 ExpectListContents(list, arraysize(expected), expected); in TEST()
125 ExpectListContents(list, arraysize(expected), expected); in TEST()
135 ExpectListContents(list, arraysize(expected), expected); in TEST()
145 ExpectListContents(list, arraysize(expected), expected); in TEST()
155 ExpectListContents(list, arraysize(expected), expected); in TEST()
177 ExpectListContents(list, arraysize(expected), expected); in TEST()
196 ExpectListContents(list, arraysize(expected), expected); in TEST()
205 ExpectListContents(list, arraysize(expected), expected); in TEST()
[all …]
/external/chromium_org/chrome/common/mac/
Dmock_launchd.cc132 COMPILE_ASSERT(arraysize(keys) == arraysize(values), array_sizes_must_match); in CopyExports()
136 arraysize(keys), in CopyExports()
158 COMPILE_ASSERT(arraysize(keys) == arraysize(values), array_sizes_must_match); in CopyJobDictionary()
162 arraysize(keys), in CopyJobDictionary()
180 COMPILE_ASSERT(arraysize(keys) == arraysize(values), in CopyDictionaryByCheckingIn()
185 arraysize(keys), in CopyDictionaryByCheckingIn()
233 COMPILE_ASSERT(arraysize(socket_keys) == arraysize(socket_values), in CopyDictionaryByCheckingIn()
239 arraysize(socket_keys), in CopyDictionaryByCheckingIn()
244 COMPILE_ASSERT(arraysize(keys) == arraysize(values), array_sizes_must_match); in CopyDictionaryByCheckingIn()
248 arraysize(keys), in CopyDictionaryByCheckingIn()
/external/chromium_org/components/autofill/core/browser/
Dvalidation_unittest.cc101 for (size_t i = 0; i < arraysize(kValidNumbers); ++i) { in TEST()
106 for (size_t i = 0; i < arraysize(kInvalidNumbers); ++i) { in TEST()
118 for (size_t i = 0; i < arraysize(kValidCreditCardExpirationDate); ++i) { in TEST()
127 for (size_t i = 0; i < arraysize(kInvalidCreditCardExpirationDate); ++i) { in TEST()
143 for (size_t i = 0; i < arraysize(kValidCreditCardIntExpirationDate); ++i) { in TEST()
150 for (size_t i = 0; i < arraysize(kInvalidCreditCardIntExpirationDate); ++i) { in TEST()
159 for (size_t i = 0; i < arraysize(kValidCreditCardSecurityCode); ++i) { in TEST()
165 for (size_t i = 0; i < arraysize(kInvalidCreditCardSecurityCode); ++i) { in TEST()
174 for (size_t i = 0; i < arraysize(kValidEmailAddress); ++i) { in TEST()
179 for (size_t i = 0; i < arraysize(kInvalidEmailAddress); ++i) { in TEST()
/external/chromium_org/chrome/browser/
Dexternal_extension_browsertest.cc109 COMPILE_ASSERT(arraysize(test_hosts) == arraysize(expected_results), in IN_PROC_BROWSER_TEST_F()
111 IsSearchProviderTestData test_data[2 * arraysize(test_hosts)]; in IN_PROC_BROWSER_TEST_F()
114 for (size_t i = 0; i < arraysize(test_hosts); ++i) { in IN_PROC_BROWSER_TEST_F()
122 for (size_t i = 0; i < arraysize(test_hosts); ++i) { in IN_PROC_BROWSER_TEST_F()
123 test_data[i + arraysize(test_hosts)] = StartIsSearchProviderInstalledTest( in IN_PROC_BROWSER_TEST_F()
125 FinishIsSearchProviderInstalledTest(test_data[i + arraysize(test_hosts)]); in IN_PROC_BROWSER_TEST_F()
135 for (size_t i = 0; i < arraysize(test_data); ++i) { in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/net/base/
Dmime_sniffer.cc418 arraysize(kSniffableTags)); in SniffForHTML()
422 kSniffableTags, arraysize(kSniffableTags), in SniffForHTML()
438 arraysize(kMagicNumbers)); in SniffForMagicNumbers()
441 kMagicNumbers, arraysize(kMagicNumbers), in SniffForMagicNumbers()
458 kOfficeMagicNumbers, arraysize(kOfficeMagicNumbers), in SniffForOfficeDocs()
463 for (size_t i = 0; i < arraysize(kOfficeExtensionTypes); ++i) { in SniffForOfficeDocs()
561 kOfficeMagicNumbers, arraysize(kOfficeMagicNumbers), in SniffForInvalidOfficeDocs()
607 arraysize(kMagicXML)); in SniffXML()
627 kMagicXML, arraysize(kMagicXML), in SniffXML()
693 arraysize(kByteOrderMark)); in SniffBinary()
[all …]

12345678910>>...63