Searched refs:array (Results 1 – 11 of 11) sorted by relevance
| /scripts/coccinelle/misc/ |
| D | array_size.cocci | 1 /// 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
|
| D | badty.cocci | 1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
|
| /scripts/dtc/ |
| D | dtc-parser.tab.c_shipped | 159 } 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 …]
|
| D | dtc-parser.y | 48 } array; member 81 %type <array> arrayprefix
|
| D | dtc-parser.tab.h_shipped | 88 } array;
|
| D | dtc-lexer.lex.c_shipped | 104 * 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/ |
| D | checkpatch.pl | 189 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/ |
| D | lex.lex.c_shipped | 114 * 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. */
|
| D | parse.tab.c_shipped | 405 /* The size of an array large to enough to hold all stacks, each with
|
| /scripts/kconfig/ |
| D | zconf.lex.c_shipped | 134 * 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. */
|
| D | zconf.tab.c_shipped | 384 /* The size of an array large to enough to hold all stacks, each with
|