Lines Matching refs:fixed

1025 my @fixed = ();
1100 @fixed = ();
2391 push(@fixed, $rawline) if ($fix);
2694 $fixed[$fixlinenr] =
2702 $fixed[$fixlinenr] =
2711 $fixed[$fixlinenr] =
2960 $fixed[$fixlinenr] =~ s/(^|[^A-Za-z@])($typo)($|[^A-Za-z@])/$1$typo_fix$3/;
2985 $fixed[$fixlinenr] =~ s/[\s\015]+$//;
2992 $fixed[$fixlinenr] =~ s/\s+$//;
3069 $fixed[$fixlinenr] =~ s/^(\+[A-Z]):\s*/$1:\t/;
3201 …$fixed[$fixlinenr] =~ s/SPDX-License-Identifier: .*/SPDX-License-Identifier: (GPL-2.0-only OR BSD-…
3303 $fixed[$fixlinenr] =~ s/^\+([ \t]+)/"\+" . tabify($1)/e;
3325 $fixed[$fixlinenr] =~ s/\b$first $second\b/$first/;
3337 $fixed[$fixlinenr] =~ s/(\+\s*\*\s*)$last_word /$1/;
3349 while ($fixed[$fixlinenr] =~
3351 while ($fixed[$fixlinenr] =~
3376 $fixed[$fixlinenr] =~ s@(^\+\t+) +@$1 . "\t" x ($indent/$tabsize)@e;
3404 $fixed[$fixlinenr] =~
3423 $fixed[$fixlinenr] =~
3567 $fixed[$fixlinenr] =~ s/^\+([ \t]+)/"\+" . tabify($1)/e;
3925 $fixed[$fixlinenr] =~ s@\b$sign\s*\Q$pointer\E\s*$var\b@$decl$var@;
3992 my $line = $fixed[$fixlinenr];
3995 $fixed[$fixlinenr] =~ s@\/\/(.*)$@/\* $comment \*/@;
4053 $fixed[$fixlinenr] =~ s/(^.$Type\s*$Ident(?:\s+$Modifier)*)\s*=\s*$zero_initializer\s*;/$1;/;
4062 $fixed[$fixlinenr] =~ s/(\bstatic\s.*?)\s*=\s*$zero_initializer\s*;/$1;/;
4089 $fixed[$fixlinenr] =~ s/\b\Q$type\E\b/$new_type/;
4105 $fixed[$fixlinenr] =~ s/(^.\s*)const\b/${1}static const/;
4143 $fixed[$fixlinenr] =~ s/\Q$array_div\E/ARRAY_SIZE($array)/;
4153 $fixed[$fixlinenr] =~ s/(\b($Type)\s+($Ident))\s*\(\s*\)/$2 $3(void)/;
4192 $fixed[$fixlinenr] =~
4220 $fixed[$fixlinenr] =~
4286 $fixed[$fixlinenr] =~ s/\bENOTSUPP\b/EOPNOTSUPP/;
4335 $fixed[$fixlinenr] =~
4405 $fixed[$fixlinenr] =~
4425 $fixed[$fixlinenr] =~
4460 $fixed[$fixlinenr] =~
4777 if ($fix && $line_fixed && $fixed_line ne $fixed[$fixlinenr]) {
4778 $fixed[$fixlinenr] = $fixed_line;
4789 1 while $fixed[$fixlinenr] =~
4822 $fixed[$fixlinenr] =~ s/^(\+.*(?:do|else|\)))\{/$1 {/;
4840 $fixed[$fixlinenr] =~
4850 $fixed[$fixlinenr] =~
4858 $fixed[$fixlinenr] =~
4869 $fixed[$fixlinenr] =~
4879 $fixed[$fixlinenr] =~
4892 $fixed[$fixlinenr] =~ s/\(\s*\Q$var\E\s*\)/$var/;
4906 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;
4946 $fixed[$fixlinenr] =~
5020 $fixed[$fixlinenr] =~ s/\(\s*\Q$const\E\s*$Compare\s*\Q$to\E\s*\)/($to $newcomp $const)/;
5041 $fixed[$fixlinenr] =~
5250 $fixed[$fixlinenr] =~ s/\s+$//;
5654 $fixed[$fixlinenr] =~ s/^(\+.*\".*)\s+\\n/$1\\n/;
5666 $fixed[$fixlinenr] =~ s/\Q$extracted_string\E([A-Za-z0-9_])/$extracted_string $1/;
5667 $fixed[$fixlinenr] =~ s/([A-Za-z0-9_])\Q$extracted_string\E/$1 $extracted_string/;
5679 $fixed[$fixlinenr] =~ s/\Q$extracted_string\E\s*"/substr($extracted_string, 0, -1)/e;
5754 $fixed[$fixlinenr] =~ s/^\+$new_leading_tabs/\+$leading_tabs/;
5785 $fixed[$fixlinenr] =~ s/\s*$level\s*//;
5812 $fixed[$fixlinenr] =~ s/\b\Q$val\E\s*(?:==|\!=)\s*NULL\b/$equal$val/;
5830 …$fixed[$fixlinenr] =~ s/(\bstatic\s+(?:const\s+)?)(?:$attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+…
5844 $fixed[$fixlinenr] =~
5855 my $lead = $fixed[$fixlinenr] =~
5860 $fixed[$fixlinenr] =~ s/(^\+\s*(?:static\s+))/$lead/;
5870 $fixed[$fixlinenr] =~ s/\s+__read_mostly\b//;
5883 $fixed[$fixlinenr] =~ s/\b$constant_func\b/$func/g;
5933 $fixed[$fixlinenr] =~
6036 $fixed[$fixlinenr] =~ s/\b(__inline__|__inline)\b/inline/;
6063 …$fixed[$fixlinenr] =~ s/\b__attribute__\s*\(\s*\(\s*_*section_*\s*\(\s*\Q$old\E\s*\)\s*\)\s*\)/__s…
6073 …$fixed[$fixlinenr] =~ s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf\s*,\s*(.*)\)\s*\)\s*\)/"_…
6084 …$fixed[$fixlinenr] =~ s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*scanf\s*,\s*(.*)\)\s*\)\s*\)/"__…
6110 $fixed[$fixlinenr] =~ s/\b$type\b/$kernel_type/;
6131 $fixed[$fixlinenr] =~ s/\Q$cast\E$const\b/$newconst$suffix/;
6146 …$fixed[$fixlinenr] =~ s/\bsizeof\s+((?:\*\s*|)$Lval|$Type(?:\s+$Lval|))/"sizeof(" . trim($1) . ")"…
6164 $fixed[$fixlinenr] =~ s/\bseq_printf\b/seq_puts/;
6357 $fixed[$fixlinenr] =~ s/(.*)\bextern\b\s*(.*)/$1$2/;
6475 …$fixed[$fixlinenr] =~ s/\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*…
6499 $fixed[$fixlinenr] =~ s/(\s*;\s*){2,}$/;/g;
6511 $fixed[$fixlinenr] =~ s/\(?\s*1\s*[ulUL]*\s*<<\s*(\d+|$Ident)\s*\)?/BIT${ull}($1)/;
6534 $fixed[$fixlinenr] = "\+#if IS_ENABLED($config)";
6554 $fixed[$fixlinenr] =~ s/\b__FUNCTION__\b/__func__/g;
6727 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*$store\s*\)/D…
6735 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*NULL\s*\)/DEV…
6743 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*NULL\s*,\s*$store\s*\)/DE…
6814 $fixed[$fixlinenr] =~ s/\Q$oval\E/$octal/;
6905 ("@rawlines" ne "@fixed" ||
6912 @fixed = fix_inserted_deleted_lines(\@fixed, \@fixed_inserted, \@fixed_deleted);
6916 foreach my $fixed_line (@fixed) {