Lines Matching refs:var

1831 	my $var = '_' x length($stream);
1984 substr($var, length($res), 1, $av_pend_colon);
2006 substr($var, length($res), 1, $variant);
2024 return ($res, $var);
3969 my $var = $1;
3970 if ($line =~ /^\+\s*(?:$Declare)?$var\s*=\s*(?:$var|\*\s*\(?\s*&\s*\(?\s*$var\s*\)?\s*\)?)\s*[;,]/) {
3991 my $var = $2;
3992 $var = "" if (!defined $var);
4006 $decl = rtrim($decl) if ($var eq "");
4007 $fixed[$fixlinenr] =~ s@\b$sign\s*\Q$pointer\E\s*$var\b@$decl$var@;
4964 my $var = $1;
4966 "Unnecessary parentheses around $var\n" . $herecurr) &&
4968 $fixed[$fixlinenr] =~ s/\(\s*\Q$var\E\s*\)/$var/;
4976 my $var = $2;
4978 "Unnecessary parentheses around function pointer $var\n" . $herecurr) &&
4980 my $var2 = deparenthesize($var);
4982 $fixed[$fixlinenr] =~ s/\Q$var\E/$var2/;
5293 my $var = $1;
5296 if ($var !~ /^$Constant$/ &&
5297 $var =~ /[A-Z][a-z]|[a-z][A-Z]/ &&
5299 $var !~ /^(?:Clear|Set|TestClear|TestSet|)Page[A-Z]/ &&
5302 $var !~ /^(?:[a-z0-9_]*|[A-Z0-9_]*)?_?[a-z][A-Z](?:_[a-z0-9_]+|_[A-Z0-9_]+)?$/ &&
5304 $var !~ /^(?:[a-z_]*?)_?(?:[KMGT]iB|[KMGT]?Hz)(?:_[a-z_]+)?$/) {
5305 while ($var =~ m{($Ident)}g) {
5928 my $var = $2;
5931 "$attr should be placed after $var\n" . $herecurr)) ||
5934 "$attr should be placed after $var\n" . $herecurr))) &&
6832 my $var = $1;
6837 if ($show =~ /^${var}_show$/ &&
6838 $store =~ /^${var}_store$/ &&
6843 $fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*$store\s*\)/DEVICE_ATTR_RW(${var})/;
6845 } elsif ($show =~ /^${var}_show$/ &&
6851 $fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*NULL\s*\)/DEVICE_ATTR_RO(${var})/;
6854 $store =~ /^${var}_store$/ &&
6859 $fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*NULL\s*,\s*$store\s*\)/DEVICE_ATTR_WO(${var})/;
6865 $newshow = "${var}_show" if ($show ne "NULL" && $show ne "${var}_show");
6867 $newstore = "${var}_store" if ($store ne "NULL" && $store ne "${var}_store");