Home
last modified time | relevance | path

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

/scripts/coccinelle/misc/
Dflexible_array.cocci5 /// Flexible-array members should be used instead.
27 identifier name, array;
35 * T array@p[\(0\|1\)];
40 * T array@p[\(0\|1\)];
45 * T array@p[\(0\|1\)];
50 * T array@p[\(0\|1\)];
55 identifier name, array;
62 T array[0];
66 T array[0];
71 identifier name, array;
[all …]
Darray_size.cocci2 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
5 //# where there is a division of sizeof the array by the sizeof its first
/scripts/
DMakefile.ubsan6 ubsan-cflags-$(CONFIG_UBSAN_ARRAY_BOUNDS) += -fsanitize=array-bounds
DMakefile.extrawarn28 KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds
Dcheckpatch.pl402 my @array = split(/,/, join(',', @$arrayRef));
403 foreach my $word (@array) {
4742 my $array = $1;
4743 …if ($line =~ m@\b(sizeof\s*\(\s*\Q$array\E\s*\)\s*/\s*sizeof\s*\(\s*\Q$array\E\s*\[\s*0\s*\]\s*\))…
4746 "Prefer ARRAY_SIZE($array)\n" . $herecurr) &&
4748 $fixed[$fixlinenr] =~ s/\Q$array_div\E/ARRAY_SIZE($array)/;
/scripts/dtc/
Ddtc-parser.y43 } array; member
78 %type <array> arrayprefix
/scripts/gendwarfksyms/
Ddwarf.c935 PROCESS_TYPE(array) in process_type()