Home
last modified time | relevance | path

Searched refs:kTests (Results 1 - 25 of 123) sorted by relevance

12345

/third_party/vixl/test/aarch32/
H A Dtest-simulator-cond-rd-operand-const-a32.cc195 const TestLoopData kTests[] = {{{eq, r0, 0x000000ab}, member
470 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
474 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
476 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
478 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
481 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
482 results[i]->output_size = kTests[i].input_size; in TestHelper()
484 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
495 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-operand-imm16-t32.cc189 const TestLoopData kTests[] = {{{eq, r0, 0x0}, member
423 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
427 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
429 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
431 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
434 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
435 results[i]->output_size = kTests[i].input_size; in TestHelper()
437 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
448 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-rdlow-rnlow-operand-immediate-zero-t32.cc94 const TestData kTests[] = member
181 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
183 Condition cond = kTests[i].operands.cond; in TestHelper()
184 Register rd = kTests[i].operands.rd; in TestHelper()
185 Register rn = kTests[i].operands.rn; in TestHelper()
186 int32_t immediate = kTests[i].operands.immediate; in TestHelper()
194 if (kTests[i].in_it_block) { in TestHelper()
195 masm.it(kTests[i].it_condition); in TestHelper()
210 kTests[i].identifier); in TestHelper()
221 if (kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-rdlow-rnlow-rmlow-t32.cc94 const TestData kTests[] = member
181 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
183 Condition cond = kTests[i].operands.cond; in TestHelper()
184 Register rd = kTests[i].operands.rd; in TestHelper()
185 Register rn = kTests[i].operands.rn; in TestHelper()
186 Register rm = kTests[i].operands.rm; in TestHelper()
193 if (kTests[i].in_it_block) { in TestHelper()
194 masm.it(kTests[i].it_condition); in TestHelper()
209 kTests[i].identifier); in TestHelper()
220 if (kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-operand-const-t32.cc195 const TestLoopData kTests[] = {{{eq, r0, 0xabababab}, member
585 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
589 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
591 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
593 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
596 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
597 results[i]->output_size = kTests[i].input_size; in TestHelper()
599 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
610 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-dt-drt-drd-drn-drm-float-f32-only-a32.cc105 const TestData kTests[] = member
238 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
240 DataType dt = kTests[i].operands.dt; in TestHelper()
241 DRegister rd = kTests[i].operands.rd; in TestHelper()
242 DRegister rn = kTests[i].operands.rn; in TestHelper()
243 DRegister rm = kTests[i].operands.rm; in TestHelper()
250 if (kTests[i].in_it_block) { in TestHelper()
251 masm.it(kTests[i].it_condition); in TestHelper()
266 kTests[i].identifier); in TestHelper()
277 if (kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-dt-drt-drd-drn-drm-float-f32-only-t32.cc105 const TestData kTests[] = member
238 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
240 DataType dt = kTests[i].operands.dt; in TestHelper()
241 DRegister rd = kTests[i].operands.rd; in TestHelper()
242 DRegister rn = kTests[i].operands.rn; in TestHelper()
243 DRegister rm = kTests[i].operands.rm; in TestHelper()
250 if (kTests[i].in_it_block) { in TestHelper()
251 masm.it(kTests[i].it_condition); in TestHelper()
266 kTests[i].identifier); in TestHelper()
277 if (kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-dt-drt-drd-drn-drm-float-not-f16-a32.cc96 const TestData kTests[] = member
220 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
222 DataType dt = kTests[i].operands.dt; in TestHelper()
223 DRegister rd = kTests[i].operands.rd; in TestHelper()
224 DRegister rn = kTests[i].operands.rn; in TestHelper()
225 DRegister rm = kTests[i].operands.rm; in TestHelper()
232 if (kTests[i].in_it_block) { in TestHelper()
233 masm.it(kTests[i].it_condition); in TestHelper()
248 kTests[i].identifier); in TestHelper()
259 if (kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-dt-drt-drd-drn-drm-float-not-f16-t32.cc96 const TestData kTests[] = member
220 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
222 DataType dt = kTests[i].operands.dt; in TestHelper()
223 DRegister rd = kTests[i].operands.rd; in TestHelper()
224 DRegister rn = kTests[i].operands.rn; in TestHelper()
225 DRegister rm = kTests[i].operands.rm; in TestHelper()
232 if (kTests[i].in_it_block) { in TestHelper()
233 masm.it(kTests[i].it_condition); in TestHelper()
248 kTests[i].identifier); in TestHelper()
259 if (kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-rd-rn-operand-rm-rn-is-sp-in-it-block-t32.cc94 const TestData kTests[] = member
229 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
231 Condition cond = kTests[i].operands.cond; in TestHelper()
232 Register rd = kTests[i].operands.rd; in TestHelper()
233 Register rn = kTests[i].operands.rn; in TestHelper()
234 Register rm = kTests[i].operands.rm; in TestHelper()
242 if (kTests[i].in_it_block) { in TestHelper()
243 masm.it(kTests[i].it_condition); in TestHelper()
258 kTests[i].identifier); in TestHelper()
269 if (kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-sp-sp-operand-imm7-t32.cc96 const TestData kTests[] = member
248 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
250 Condition cond = kTests[i].operands.cond; in TestHelper()
251 Register rd = kTests[i].operands.rd; in TestHelper()
252 Register rn = kTests[i].operands.rn; in TestHelper()
253 uint32_t immediate = kTests[i].operands.immediate; in TestHelper()
261 if (kTests[i].in_it_block) { in TestHelper()
262 masm.it(kTests[i].it_condition); in TestHelper()
277 kTests[i].identifier); in TestHelper()
288 if (kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-operand-rn-a32.cc309 const TestLoopData kTests[] = { member
506 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
510 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
512 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
514 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
517 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
518 results[i]->output_size = kTests[i].input_size; in TestHelper()
520 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
531 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-operand-rn-t32.cc309 const TestLoopData kTests[] = { member
506 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
510 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
512 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
514 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
517 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
518 results[i]->output_size = kTests[i].input_size; in TestHelper()
520 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
531 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-rd-operand-rn-identical-low-registers-in-it-block-t32.cc93 const TestData kTests[] = {{{eq, r0, r0}, true, eq, "eq r0 r0", "eq_r0_r0"}, member
226 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
228 Condition cond = kTests[i].operands.cond; in TestHelper()
229 Register rd = kTests[i].operands.rd; in TestHelper()
230 Register rn = kTests[i].operands.rn; in TestHelper()
238 if (kTests[i].in_it_block) { in TestHelper()
239 masm.it(kTests[i].it_condition); in TestHelper()
254 kTests[i].identifier); in TestHelper()
265 if (kTests[i].in_it_block) { in TestHelper()
267 kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-rd-rn-operand-rm-rd-is-rn-is-sp-in-it-block-t32.cc94 const TestData kTests[] = member
327 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
329 Condition cond = kTests[i].operands.cond; in TestHelper()
330 Register rd = kTests[i].operands.rd; in TestHelper()
331 Register rn = kTests[i].operands.rn; in TestHelper()
332 Register rm = kTests[i].operands.rm; in TestHelper()
340 if (kTests[i].in_it_block) { in TestHelper()
341 masm.it(kTests[i].it_condition); in TestHelper()
356 kTests[i].identifier); in TestHelper()
367 if (kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-rn-rm-ge-a32.cc377 const TestLoopData kTests[] = {{{al, r12, r0, r10}, member
422 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
426 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
428 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
430 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
433 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
434 results[i]->output_size = kTests[i].input_size; in TestHelper()
436 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
447 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-rn-rm-ge-t32.cc377 const TestLoopData kTests[] = {{{al, r12, r0, r10}, member
422 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
426 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
428 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
430 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
433 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
434 results[i]->output_size = kTests[i].input_size; in TestHelper()
436 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
447 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-rn-rm-q-a32.cc369 const TestLoopData kTests[] = {{{al, r0, r9, r10}, member
406 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
410 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
412 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
414 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
417 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
418 results[i]->output_size = kTests[i].input_size; in TestHelper()
420 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
431 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-rn-rm-q-t32.cc369 const TestLoopData kTests[] = {{{al, r0, r9, r10}, member
406 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
410 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
412 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
414 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
417 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
418 results[i]->output_size = kTests[i].input_size; in TestHelper()
420 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
431 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-rn-rm-sel-a32.cc365 const TestLoopData kTests[] = {{{al, r9, r2, r10}, member
399 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
403 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
405 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
407 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
410 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
411 results[i]->output_size = kTests[i].input_size; in TestHelper()
413 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
424 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-rn-rm-sel-t32.cc365 const TestLoopData kTests[] = {{{al, r9, r2, r10}, member
399 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
403 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
405 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
407 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
410 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
411 results[i]->output_size = kTests[i].input_size; in TestHelper()
413 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
424 Condition cond = kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-rd-operand-rn-t32.cc107 const TestData kTests[] = member
367 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
369 Condition cond = kTests[i].operands.cond; in TestHelper()
370 Register rd = kTests[i].operands.rd; in TestHelper()
371 Register rn = kTests[i].operands.rn; in TestHelper()
379 if (kTests[i].in_it_block) { in TestHelper()
380 masm.it(kTests[i].it_condition); in TestHelper()
395 kTests[i].identifier); in TestHelper()
406 if (kTests[i].in_it_block) { in TestHelper()
408 kTests[ in TestHelper()
[all...]
H A Dtest-assembler-cond-rd-rn-t32.cc100 const TestData kTests[] = member
351 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
353 Condition cond = kTests[i].operands.cond; in TestHelper()
354 Register rd = kTests[i].operands.rd; in TestHelper()
355 Register rn = kTests[i].operands.rn; in TestHelper()
362 if (kTests[i].in_it_block) { in TestHelper()
363 masm.it(kTests[i].it_condition); in TestHelper()
378 kTests[i].identifier); in TestHelper()
389 if (kTests[i].in_it_block) { in TestHelper()
391 kTests[ in TestHelper()
[all...]
H A Dtest-simulator-cond-rd-operand-rn-ror-amount-a32.cc321 const TestLoopData kTests[] = {{{eq, r0, r0, ROR, 0}, member
569 TestResult* results[ARRAY_SIZE(kTests)]; in TestHelper()
573 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; in TestHelper()
575 // Generate a loop for each element in `kTests`. Each loop tests one specific in TestHelper()
577 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { in TestHelper()
580 results[i]->outputs = new Inputs[kTests[i].input_size]; in TestHelper()
581 results[i]->output_size = kTests[i].input_size; in TestHelper()
583 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; in TestHelper()
594 Condition cond = kTests[ in TestHelper()
[all...]
/third_party/skia/tests/
H A DPDFJpegEmbedTest.cpp116 } kTests[] = {{"images/CMYK.jpg", false, SkJFIFInfo::kGrayscale}, in DEF_TEST() local
121 for (size_t i = 0; i < SK_ARRAY_COUNT(kTests); ++i) { in DEF_TEST()
122 sk_sp<SkData> data(load_resource(r, "JpegIdentification", kTests[i].path)); in DEF_TEST()
128 if (isJfif != kTests[i].isJfif) { in DEF_TEST()
129 ERRORF(r, "%s failed isJfif test", kTests[i].path); in DEF_TEST()
135 if (kTests[i].type != info.fType) { in DEF_TEST()
136 ERRORF(r, "%s failed jfif type test", kTests[i].path); in DEF_TEST()
139 INFOF(r, "\nJpegIdentification: %s [%d x %d]\n", kTests[i].path, in DEF_TEST()

Completed in 18 milliseconds

12345