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

Lines Matching refs:Cache

1313 my %Cache;
1702 if(defined $Cache{"get_CmdPath"}{$Name}) {
1703 return $Cache{"get_CmdPath"}{$Name};
1753 return ($Cache{"get_CmdPath"}{$Name}=$Path);
1760 if(defined $Cache{"search_Cmd"}{$Name}) {
1761 return $Cache{"search_Cmd"}{$Name};
1764 return ($Cache{"search_Cmd"}{$Name} = $DefaultPath);
1774 return ($Cache{"search_Cmd"}{$Name} = $CmdPath);
1777 return ($Cache{"search_Cmd"}{$Name} = "");
1783 if(defined $Cache{"get_CmdPath_Default"}{$_[0]}) {
1784 return $Cache{"get_CmdPath_Default"}{$_[0]};
1786 return ($Cache{"get_CmdPath_Default"}{$_[0]} = get_CmdPath_Default_I($_[0]));
2114 # clean cache
2115 delete($Cache{"getTypeAttr"});
2116 delete($Cache{"getTypeDeclId"});
2384 if(defined $Cache{"getTypeDeclId"}{$Version}{$_[0]}) {
2385 return $Cache{"getTypeDeclId"}{$Version}{$_[0]};
2390 return ($Cache{"getTypeDeclId"}{$Version}{$_[0]} = $1);
2394 return ($Cache{"getTypeDeclId"}{$Version}{$_[0]} = 0);
2694 delete($Cache{"getTypeAttr"}{$Version});
2784 elsif($Cache{"getTypeAttr"}{$Version}{$TypeId})
2788 $Cache{"getTypeAttr"}{$Version}{$TypeId} = 1;
4219 if($Cache{"modelUnmangled"}{$Version}{$Compiler}{$InfoId}) {
4220 return $Cache{"modelUnmangled"}{$Version}{$Compiler}{$InfoId};
4302 return ($Cache{"modelUnmangled"}{$Version}{$Compiler}{$InfoId} = formatName($PureSignature, "S"));
4309 if($Cache{"mangle_symbol"}{$LibVersion}{$InfoId}{$Compiler}) {
4310 return $Cache{"mangle_symbol"}{$LibVersion}{$InfoId}{$Compiler};
4319 return ($Cache{"mangle_symbol"}{$LibVersion}{$InfoId}{$Compiler} = $Mangled);
4810 if(defined $Cache{"uncover_typedefs"}{$LibVersion}{$TypeName}) {
4811 return $Cache{"uncover_typedefs"}{$LibVersion}{$TypeName};
4849 return ($Cache{"uncover_typedefs"}{$LibVersion}{$TypeName} = $TypeName_New);
6632 if($Cache{"detect_real_includes"}{$LibVersion}{$AbsPath}
6636 $Cache{"detect_real_includes"}{$LibVersion}{$AbsPath}=1;
6663 if(defined $Cache{"detect_header_includes"}{$LibVersion}{$Path}) {
6666 $Cache{"detect_header_includes"}{$LibVersion}{$Path}=1;
6863 if(defined $Cache{"find_in_framework"}{$LibVersion}{$Framework}{$Header}) {
6864 return $Cache{"find_in_framework"}{$LibVersion}{$Framework}{$Header};
6870 return ($Cache{"find_in_framework"}{$LibVersion}{$Framework}{$Header} = get_dirname($Dependency));
6873 return ($Cache{"find_in_framework"}{$LibVersion}{$Framework}{$Header} = "");
6880 if(defined $Cache{"find_in_defaults"}{$Header}) {
6881 return $Cache{"find_in_defaults"}{$Header};
6890 return ($Cache{"find_in_defaults"}{$Header}=$Dir);
6893 return ($Cache{"find_in_defaults"}{$Header}="");
7093 { # cache function
7094 if(defined $Cache{"selectSystemHeader"}{$_[1]}{$_[0]}) {
7095 return $Cache{"selectSystemHeader"}{$_[1]}{$_[0]};
7097 return ($Cache{"selectSystemHeader"}{$_[1]}{$_[0]} = selectSystemHeader_I(@_));
7150 if(not defined $Cache{"checkSystemFiles"})
7196 { # cache function
7202 if(defined $Cache{"identifyHeader"}{$LibVersion}{$Header}) {
7203 return $Cache{"identifyHeader"}{$LibVersion}{$Header};
7205 return ($Cache{"identifyHeader"}{$LibVersion}{$Header} = identifyHeader_I($Header, $LibVersion));
7517 if($Cache{"get_Signature"}{$LibVersion}{$Symbol}) {
7518 return $Cache{"get_Signature"}{$LibVersion}{$Symbol};
7622 return ($Cache{"get_Signature"}{$LibVersion}{$Symbol} = $Signature);
7684 if(defined $Cache{"formatName"}{$_[1]}{$_[0]}) {
7685 return $Cache{"formatName"}{$_[1]}{$_[0]};
7719 return ($Cache{"formatName"}{$_[1]}{$_[0]} = $N);
7726 if(defined $Cache{"get_HeaderDeps"}{$LibVersion}{$AbsPath}) {
7727 return @{$Cache{"get_HeaderDeps"}{$LibVersion}{$AbsPath}};
7786 $Cache{"get_HeaderDeps"}{$LibVersion}{$AbsPath} = sortIncPaths([keys(%IncDir)], $LibVersion);
7787 return @{$Cache{"get_HeaderDeps"}{$LibVersion}{$AbsPath}};
8483 # clean cache
8484 delete($Cache{"identifyHeader"});
8485 delete($Cache{"detect_header_includes"});
8486 delete($Cache{"selectSystemHeader"});
10576 if(defined $Cache{"cmpVTables_Real"}{$Strong}{$ClassName}) {
10577 return $Cache{"cmpVTables_Real"}{$Strong}{$ClassName};
10583 return ($Cache{"cmpVTables_Real"}{$Strong}{$ClassName} = -1);
10590 return ($Cache{"cmpVTables_Real"}{$Strong}{$ClassName} = $Strong);
10595 return ($Cache{"cmpVTables_Real"}{$Strong}{$ClassName} = ($Strong or $Entry1!~/__cxa_pure_virtual/));
10630 return ($Cache{"cmpVTables_Real"}{$Strong}{$ClassName} = 1);
10633 return ($Cache{"cmpVTables_Real"}{$Strong}{$ClassName} = 0);
11570 if(defined $Cache{"mergeTypes"}{$Level}{$Type1_Id}{$Type2_Id})
11572 return $Cache{"mergeTypes"}{$Level}{$Type1_Id}{$Type2_Id};
11589 return ($Cache{"mergeTypes"}{$Level}{$Type1_Id}{$Type2_Id} = {});
11617 return ($Cache{"mergeTypes"}{$Level}{$Type1_Id}{$Type2_Id} = \%SubProblems);
11719 return ($Cache{"mergeTypes"}{$Level}{$Type1_Id}{$Type2_Id} = {});
11767 return ($Cache{"mergeTypes"}{$Level}{$Type1_Id}{$Type2_Id} = \%SubProblems);
12452 return ($Cache{"mergeTypes"}{$Level}{$Type1_Id}{$Type2_Id} = \%SubProblems);
12476 if(defined $Cache{"goToFirst"}{$TypeId}{$LibVersion}{$Type_Type}) {
12477 return %{$Cache{"goToFirst"}{$TypeId}{$LibVersion}{$Type_Type}};
12487 $Cache{"goToFirst"}{$TypeId}{$LibVersion}{$Type_Type} = \%Type;
12506 if(defined $Cache{"get_PureType"}{$TypeId}{$Info}) {
12507 return %{$Cache{"get_PureType"}{$TypeId}{$Info}};
12514 $Cache{"get_PureType"}{$TypeId}{$Info} = \%Type;
12522 if(defined $Cache{"get_PLevel"}{$TypeId}{$LibVersion}) {
12523 return $Cache{"get_PLevel"}{$TypeId}{$LibVersion};
12534 $Cache{"get_PLevel"}{$TypeId}{$LibVersion} = $PLevel;
12542 if(defined $Cache{"get_BaseType"}{$TypeId}{$LibVersion}) {
12543 return %{$Cache{"get_BaseType"}{$TypeId}{$LibVersion}};
12549 $Cache{"get_BaseType"}{$TypeId}{$LibVersion} = \%Type;
12906 if(defined $Cache{"checkDump"}{$LibVersion}{$V}) {
12907 return $Cache{"checkDump"}{$LibVersion}{$V};
12909 return ($Cache{"checkDump"}{$LibVersion}{$V} = (not $UsedDump{$LibVersion}{"V"} or cmpVersions($UsedDump{$LibVersion}{"V"}, $V)>=0));
14714 if(defined $Cache{"diffTypes"}{$_[2]}{$_[0]}{$_[1]}) {
14715 return $Cache{"diffTypes"}{$_[2]}{$_[0]}{$_[1]};
14726 return ($Cache{"diffTypes"}{$_[2]}{$_[0]}{$_[1]} = $Diff);
15190 if(defined $Cache{"differentDumps"}{$Check}) {
15191 return $Cache{"differentDumps"}{$Check};
15199 return ($Cache{"differentDumps"}{$Check}=1);
15207 return ($Cache{"differentDumps"}{$Check}=1);
15211 return ($Cache{"differentDumps"}{$Check}=0);
15518 if(defined $Cache{"get_filename"}{$_[0]}) {
15519 return $Cache{"get_filename"}{$_[0]};
15522 return ($Cache{"get_filename"}{$_[0]}=$1);
15524 return ($Cache{"get_filename"}{$_[0]}="");
15529 if(defined $Cache{"get_dirname"}{$_[0]}) {
15530 return $Cache{"get_dirname"}{$_[0]};
15533 return ($Cache{"get_dirname"}{$_[0]}=$1);
15535 return ($Cache{"get_dirname"}{$_[0]}="");
18207 if(defined $Cache{"uncoverConstant"}{$LibVersion}{$Constant}) {
18208 return $Cache{"uncoverConstant"}{$LibVersion}{$Constant};
18226 return ($Cache{"uncoverConstant"}{$LibVersion}{$Constant} = $Value);
18228 return ($Cache{"uncoverConstant"}{$LibVersion}{$Constant} = "");
18695 if(defined $Cache{"find_SymbolLibs"}{$SymbolPrefix}) {
18696 return @{$Cache{"find_SymbolLibs"}{$SymbolPrefix}};
18749 $Cache{"find_SymbolLibs"}{$SymbolPrefix} = \@Paths;
19122 if(defined $Cache{"get_LibPath"}{$LibVersion}{$Name}) {
19123 return $Cache{"get_LibPath"}{$LibVersion}{$Name};
19125 return ($Cache{"get_LibPath"}{$LibVersion}{$Name} = get_LibPath_I($LibVersion, $Name));
19161 if(not defined $Cache{"checkSystemFiles"}) {
19604 $Cache{"checkSystemFiles"} = 1;
19803 if(defined $Cache{"skipHeader"}{$Path}) {
19804 return $Cache{"skipHeader"}{$Path};
19809 return ($Cache{"skipHeader"}{$Path} = 1);
19815 return ($Cache{"skipHeader"}{$Path} = skipHeader_I(@_));
20012 if(defined $Cache{"getSONAME"}{$Path}) {
20013 return $Cache{"getSONAME"}{$Path};
20029 return ($Cache{"getSONAME"}{$Path} = $1);
20032 return ($Cache{"getSONAME"}{$Path}="");
20135 if(defined $Cache{"getArch_GCC"}{$LibVersion}) {
20136 return $Cache{"getArch_GCC"}{$LibVersion};
20188 return ($Cache{"getArch_GCC"}{$LibVersion} = $Arch);
21396 if($Cache{"get_dumpversion"}{$Cmd}) {
21397 return $Cache{"get_dumpversion"}{$Cmd};
21401 return ($Cache{"get_dumpversion"}{$Cmd} = $V);
21408 if($Cache{"get_dumpmachine"}{$Cmd}) {
21409 return $Cache{"get_dumpmachine"}{$Cmd};
21413 return ($Cache{"get_dumpmachine"}{$Cmd} = $Machine);
21438 if(defined $Cache{"check_gcc"}{$Cmd}{$ReqVer}) {
21439 return $Cache{"check_gcc"}{$Cmd}{$ReqVer};
21445 return ($Cache{"check_gcc"}{$Cmd}{$ReqVer} = $Cmd);
21448 return ($Cache{"check_gcc"}{$Cmd}{$ReqVer} = "");
21453 if(defined $Cache{"get_depth"}{$_[0]}) {
21454 return $Cache{"get_depth"}{$_[0]};
21456 return ($Cache{"get_depth"}{$_[0]} = ($_[0]=~tr![\/\\]|\:\:!!));
21461 return if($Cache{"registerGccHeaders"}); # this function should be called once
21476 $Cache{"registerGccHeaders"} = 1;
21481 return if($Cache{"registerCppHeaders"}); # this function should be called once
21496 $Cache{"registerCppHeaders"} = 1;
21502 if(defined $Cache{"parse_libname"}{$_[2]}{$_[1]}{$_[0]}) {
21503 return $Cache{"parse_libname"}{$_[2]}{$_[1]}{$_[0]};
21505 return ($Cache{"parse_libname"}{$_[2]}{$_[1]}{$_[0]} = parse_libname_I(@_));
22891 $Cache{"mergeTypes"} = (); # free memory