Home
last modified time | relevance | path

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

/scripts/coccinelle/misc/
Darray_size.cocci1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
4 //# where there is a division of sizeof the array by the sizeof its first
Dbadty.cocci1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
/scripts/dtc/
Ddtc-parser.tab.c_shipped159 } array;
395 /* The size of an array large to enough to hold all stacks, each with
1668 (yyval.data) = data_merge((yyvsp[-2].data), (yyvsp[-1].array).data);
1769 (yyval.array).data = empty_data;
1770 (yyval.array).bits = bits;
1778 (yyval.array).data = empty_data;
1779 (yyval.array).bits = 32;
1787 if ((yyvsp[-1].array).bits < 64) {
1788 uint64_t mask = (1ULL << (yyvsp[-1].array).bits) - 1;
1799 " %d-bit array element", (yyvsp[-1].array).bits);
[all …]
Ddtc-parser.y48 } array; member
81 %type <array> arrayprefix
Ddtc-parser.tab.h_shipped88 } array;
Ddtc-lexer.lex.c_shipped104 * integer for use as an array index. If the signed char is negative,
253 static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
1510 /* Extend the array by 50%, plus the number we really need. */
/scripts/
Dcheckpatch.pl189 my @array = split(/,/, join(',', @$arrayRef));
190 foreach my $word (@array) {
3399 my $array = $1;
3400 …if ($line =~ m@\b(sizeof\s*\(\s*\Q$array\E\s*\)\s*/\s*sizeof\s*\(\s*\Q$array\E\s*\[\s*0\s*\]\s*\))…
3403 "Prefer ARRAY_SIZE($array)\n" . $herecurr) &&
3405 $fixed[$fixlinenr] =~ s/\Q$array_div\E/ARRAY_SIZE($array)/;
/scripts/genksyms/
Dlex.lex.c_shipped114 * integer for use as an array index. If the signed char is negative,
254 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
1161 /* Extend the array by 50%, plus the number we really need. */
Dparse.tab.c_shipped405 /* The size of an array large to enough to hold all stacks, each with
/scripts/kconfig/
Dzconf.lex.c_shipped134 * integer for use as an array index. If the signed char is negative,
282 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
1641 /* Extend the array by 50%, plus the number we really need. */
Dzconf.tab.c_shipped384 /* The size of an array large to enough to hold all stacks, each with