• Home
  • Raw
  • Download

Lines Matching refs:var

2075 	my $var = '_' x length($stream);
2228 substr($var, length($res), 1, $av_pend_colon);
2250 substr($var, length($res), 1, $variant);
2268 return ($res, $var);
4476 my $var = $1;
4477 …if ($line =~ /^\+\s*(?:$Declare)?$var\s*=\s*(?:$var|\*\s*\(?\s*&\s*\(?\s*$var\s*\)?\s*\)?)\s*[;,]/…
4498 my $var = $2;
4499 $var = "" if (!defined $var);
4513 $decl = rtrim($decl) if ($var eq "");
4514 $fixed[$fixlinenr] =~ s@\b$sign\s*\Q$pointer\E\s*$var\b@$decl$var@;
5490 my $var = $1;
5492 "Unnecessary parentheses around $var\n" . $herecurr) &&
5494 $fixed[$fixlinenr] =~ s/\(\s*\Q$var\E\s*\)/$var/;
5502 my $var = $2;
5504 "Unnecessary parentheses around function pointer $var\n" . $herecurr) &&
5506 my $var2 = deparenthesize($var);
5508 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;
5837 my $var = $1;
5840 if ($var !~ /^$Constant$/ &&
5841 $var =~ /[A-Z][a-z]|[a-z][A-Z]/ &&
5843 $var !~ /^(?:[A-Z]+_){1,5}[A-Z]{1,3}[a-z]/ &&
5845 $var !~ /^(?:Clear|Set|TestClear|TestSet|)Page[A-Z]/ &&
5847 $var !~ /^ETHTOOL_LINK_MODE_/ &&
5850 $var !~ /^(?:[a-z0-9_]*|[A-Z0-9_]*)?_?[a-z][A-Z](?:_[a-z0-9_]+|_[A-Z0-9_]+)?$/ &&
5852 $var !~ /^(?:[a-z_]*?)_?(?:[KMGT]iB|[KMGT]?Hz)(?:_[a-z_]+)?$/) {
5853 while ($var =~ m{\b($Ident)}g) {
6514 my $var = $2;
6517 "$attr should be placed after $var\n" . $herecurr)) ||
6520 "$attr should be placed after $var\n" . $herecurr))) &&
7518 my $var = $1;
7523 if ($show =~ /^${var}_show$/ &&
7524 $store =~ /^${var}_store$/ &&
7529 …d[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*$store\s*\)/DEVICE…
7531 } elsif ($show =~ /^${var}_show$/ &&
7537 …ed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*NULL\s*\)/DEVICE_…
7540 $store =~ /^${var}_store$/ &&
7545 …d[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*NULL\s*,\s*$store\s*\)/DEVICE_…
7551 $newshow = "${var}_show" if ($show ne "NULL" && $show ne "${var}_show");
7553 $newstore = "${var}_store" if ($store ne "NULL" && $store ne "${var}_store");