Home
last modified time | relevance | path

Searched refs:array (Results 1 – 2 of 2) sorted by relevance

/kvm-unit-tests/x86/
H A Drealmode.c1469 static unsigned array[] = { 0x12345678, 0, 0, 0, 0x87654321 }; in test_ss_base_for_esp_ebp() local
1471 init_inregs(&(struct regs){ .ebx = 1, .ebp = (unsigned)array }); in test_ss_base_for_esp_ebp()
1477 inregs.ebp = (unsigned)array; in test_ss_base_for_esp_ebp()
/kvm-unit-tests/scripts/
H A Dcheckpatch.pl406 my @array = split(/,/, join(',', @$arrayRef));
407 foreach my $word (@array) {
4761 my $array = $1;
4762 …if ($line =~ m@\b(sizeof\s*\(\s*\Q$array\E\s*\)\s*/\s*sizeof\s*\(\s*\Q$array\E\s*\[\s*0\s*\]\s*\))…
4765 "Prefer ARRAY_SIZE($array)\n" . $herecurr) &&
4767 $fixed[$fixlinenr] =~ s/\Q$array_div\E/ARRAY_SIZE($array)/;