Home | History | Annotate | Download | only in abi-compliance-checker

Lines Matching full:"$ value"

2191             my $Value = $Constants{$Version}{$Constant}{"Value"};
2192 if(defined $EnumConstants{$Version}{$Value}) {
2193 $Constants{$Version}{$Constant}{"Value"} = $EnumConstants{$Version}{$Value}{"Value"};
3180 elsif((my $Value = getTreeValue($CstId)) ne "")
3182 if($Value eq "0")
3191 elsif($Value eq "1")
3201 return $Value;
4677 sub add_substitution($$$)
4678 {
4679 my ($Value, $Repl, $Rec) = @_;
4680 my @Subs = ($Value);
4681 while($Value=~s/\A(R|P|K)//) {
4682 push(@Subs, $Value);
4689 return if($Value=~/\AS(\d*)_\Z/);
4690 $Value=~s/\AN(.+)E\Z/$1/g;
4691 return if(defined $Repl->{$Value});
4692 return if(length($Value)<=1);
4693 return if($StdcxxMangling{$Value});
4695 my $Base = $Value;
4704 $Repl->{$Value} = $OldNum;
4709 $Repl->{$Value} = $Repls[0]+1;
4712 $Repl->{$Value} = -1;
4716 $Base = $Value;
4723 $Repl->{$Base} = $Repl->{$Value};
14142 sub rmQuals($$)
14143 {
14144 my ($Value, $Qual) = @_;
14144 return $Value;
14150 while($Value=~s/\b$Qual\b//) {
14151 $Value = formatName($Value, "T");
14153 return $Value;
14212 sub getQualModel($$)
14213 {
14214 my ($Value, $Qual) = @_;
14214 return $Value;
14218 while($Value=~/(\w+)/)
14223 $Value=~s/\b$W\b/\@/g;
14226 $Value=~s/\b$W\b//g;
14230 $Value=~s/\@/$Qual/g;
14231 $Value=~s/[^\*\&\w]+//g;
14237 my @Elems = split(/[\*\&]/, $Value);
14266 sub showVal($$$)
14267 {
14268 my ($Value, $TypeId, $LibVersion) = @_;
14269 if(substr($Value, 0, 2) eq "_Z")
14271 if(my $Unmangled = $tr_name{$Value}) {
14277 return "\"$Value\"";
14281 return "\'$Value\'";
14283 if($Value eq "")
14287 return $Value;
15573 my ($Name, $Value) = ($1, $2);
15574 $Attributes{$Name} = $Value;
16874 my $Value = $Problem->{$Attr};
16875 if(not defined $Value
16876 or $Value eq "") {
16886 and $Value=~/\s\(/ and $Value!~/['"]/)
16888 $Value=~s/\s*\[[\w\-]+\]//g; # remove quals
16889 $Value=~s/\s[a-z]\w*(\)|,)/$1/ig; # remove parameter names
16890 $Value = black_name($Value);
16892 elsif($Value=~/\s/) {
16893 $Value = "<span class='value'>".htmlSpecChars($Value)."</span>";
16895 elsif($Value=~/\A\d+\Z/
16898 if($Value % $BYTE_SIZE)
16900 if($Value==1) {
16901 $Value = "<b>".$Value."</b> bit";
16904 $Value = "<b>".$Value."</b> bits";
16909 $Value /= $BYTE_SIZE;
16910 if($Value==1) {
16911 $Value = "<b>".$Value."</b> byte";
16914 $Value = "<b>".$Value."</b> bytes";
16920 $Value = "<b>".htmlSpecChars($Value)."</b>";
16922 $Content=~s/\Q$Macro\E/$Value/g;
18146 my ($Name, $Value) = ($1, $2);
18150 $Constants{$Version}{$Name}{"Value"} = $Value;
18213 my $Value = $Constants{$LibVersion}{$Constant}{"Value"};
18214 if(defined $Constants{$LibVersion}{$Value})
18217 my $Uncovered = uncoverConstant($LibVersion, $Value);
18219 $Value = $Uncovered;
18224 # FIXME: uncover $Value using all the enum constants
18226 return ($Cache{"uncoverConstant"}{$LibVersion}{$Constant} = $Value);
18233 sub simpleConstant($$)
18234 {
18235 my ($LibVersion, $Value) = @_;
18234 if($Value=~/\W/)
18236 my $Value_Copy = $Value;
18240 if($Value!~/$Word\s*\(/)
18245 $Value=~s/\b$Word\b/$Val/g;
18250 return $Value;
18255 sub computeValue($)
18256 {
18257 my $Value = $_[0];
18257 if($Value=~/\A\((-?[\d]+)\)\Z/) {
18261 if($Value=~/\A[\d\-\+()]+\Z/) {
18262 return eval($Value);
18265 return $Value;
18319 sub constantFilter($$$)
18320 {
18321 my ($Name, $Value, $Level) = @_;
18345 if($Value=~/\A('|"|)[\/\\]\w+([\/\\]|:|('|"|)\Z)/ or $Value=~/[\/\\]\w+[\/\\]\w+/)
18350 if($Value=~/\A["'].*['"]/i)
18355 if($Value=~/\A[({]*\s*[a-z_]+\w*(\s+|[\|,])/i)
18362 if($Value=~/\w+\s*\(/i)
18366 if($Value=~/\A[a-z_]+\w*\Z/i)
18507 sub convert_integer($)
18508 {
18509 my $Value = $_[0];
18508 if($Value=~/\A0x[a-f0-9]+\Z/)
18510 return hex($Value);
18512 elsif($Value=~/\A0[0-7]+\Z/)
18514 return oct($Value);
18516 elsif($Value=~/\A0b[0-1]+\Z/)
18518 return oct($Value);
18521 return $Value;
19433 if(my ($Value, $Size, $Type, $Bind, $Vis, $Ndx, $Symbol) = readline_ELF($_))
19476 $Interface_Value{$LibVersion}{$Symbol} = $Value;
19477 $Value_Interface{$LibVersion}{$Value}{$Symbol} = 1;
19518 if(my $Value = $Interface_Value{$LibVersion}{$Symbol})
19520 foreach my $Symbol_SameValue (keys(%{$Value_Interface{$LibVersion}{$Value}}))
20105 sub isCyclical($$)
20106 {
20107 my ($Stack, $Value) = @_;
20106 return (grep {$_ eq $Value} @{$Stack});
21874 if(my $Value = parseTag(\$Rule, lc($Prop)))
21876 $Value=~s/\n[ ]*//;
21877 $CompatRules{$Kind}{$RId}{$Prop} = $Value;