Lines Matching refs:Descriptor
80 my ($Help, $ShowVersion, %Descriptor, $TargetLibraryName,
190 "d1|old|o=s" => \$Descriptor{1}{"Path"},
191 "d2|new|n=s" => \$Descriptor{2}{"Path"},
360 Descriptor of 1st (old) library version.
363 1. XML-descriptor (VERSION.xml file):
387 If you are using an 2-4 descriptor types then you should
394 Descriptor of 2nd (new) library version.
397 Create library ABI dump for the input XML descriptor. You can
398 transfer it anywhere and pass instead of the descriptor. Also
419 of the XML-descriptor should point to static libraries location.
435 Specify 1st library version outside the descriptor. This option is needed
436 if you have preferred an alternative descriptor type (see -d1 option).
438 In general case you should specify it in the XML-descriptor:
444 Specify 2nd library version outside the descriptor.
448 of the input XML descriptor will be overwritten in this case.
460 in the XML-descriptor:
517 -dump-system DESCRIPTOR.xml
518 The same as the previous option but takes an XML descriptor of the target
688 Replace {RELPATH} macros to PATH in the XML-descriptor used
692 Replace {RELPATH} macros to PATH in the 1st XML-descriptor (-d1).
695 Replace {RELPATH} macros to PATH in the 2nd XML-descriptor (-d2).
786 of the XML descriptor that cannot be found. This is useful if
787 you are trying to use the same descriptor for different targets.
1839 my $DName = $DumpAPI?"descriptor":"descriptor \"d$LibVersion\"";
1844 exitStatus("Error", "incorrect descriptor (see -d1 option)");
1849 $Descriptor{$LibVersion}{"Version"} = parseTag(\$Content, "version");
1851 $Descriptor{$LibVersion}{"Version"} = $TargetVersion{$LibVersion};
1853 if(not $Descriptor{$LibVersion}{"Version"}) {
1873 { # append the descriptor headers list
1874 if($Descriptor{$LibVersion}{"Headers"})
1876 $Descriptor{$LibVersion}{"Headers"} .= "\n".$DHeaders;
1879 $Descriptor{$LibVersion}{"Headers"} = $DHeaders;
1896 { # append the descriptor libraries list
1897 if($Descriptor{$LibVersion}{"Libs"})
1899 $Descriptor{$LibVersion}{"Libs"} .= "\n".$DObjects;
1902 $Descriptor{$LibVersion}{"Libs"} .= $DObjects;
1943 $Descriptor{$LibVersion}{"IncludePaths"} = [] if(not defined $Descriptor{$LibVersion}{"IncludePaths"}); # perl 5.8 doesn't support //=
1951 push(@{$Descriptor{$LibVersion}{"IncludePaths"}}, $Path);
1953 $Descriptor{$LibVersion}{"AddIncludePaths"} = [] if(not defined $Descriptor{$LibVersion}{"AddIncludePaths"});
1961 push(@{$Descriptor{$LibVersion}{"AddIncludePaths"}}, $Path);
1978 $Descriptor{$LibVersion}{"GccOptions"} = parseTag(\$Content, "gcc_options");
1979 foreach my $Option (split(/\s*\n\s*/, $Descriptor{$LibVersion}{"GccOptions"}))
1986 $Descriptor{$LibVersion}{"SkipHeaders"} = parseTag(\$Content, "skip_headers");
1987 foreach my $Path (split(/\s*\n\s*/, $Descriptor{$LibVersion}{"SkipHeaders"}))
1994 $Descriptor{$LibVersion}{"SkipLibs"} = parseTag(\$Content, "skip_libs");
1995 foreach my $Path (split(/\s*\n\s*/, $Descriptor{$LibVersion}{"SkipLibs"}))
2002 if($Descriptor{$LibVersion}{"Defines"})
2004 $Descriptor{$LibVersion}{"Defines"} .= "\n".$DDefines;
2007 $Descriptor{$LibVersion}{"Defines"} = $DDefines;
2037 if($Descriptor{$LibVersion}{"IncludePreamble"})
2039 $Descriptor{$LibVersion}{"IncludePreamble"} .= "\n".$DIncPreamble;
2042 $Descriptor{$LibVersion}{"IncludePreamble"} = $DIncPreamble;
6438 foreach my $Path (@{$Descriptor{$LibVersion}{"IncludePaths"}},
6439 @{$Descriptor{$LibVersion}{"AddIncludePaths"}})
6458 if(grep {$IPath eq $_} @{$Descriptor{$LibVersion}{"AddIncludePaths"}}) {
6471 foreach my $Path (split(/\s*\n\s*/, $Descriptor{$LibVersion}{"Headers"}))
6502 foreach my $Dest (split(/\s*\n\s*/, $Descriptor{$LibVersion}{"Headers"}))
6546 if(my $HList = $Descriptor{$LibVersion}{"IncludePreamble"})
6596 { # ordering headers according to descriptor
6624 exitStatus("Error", "header files are not found in the ".$Descriptor{$LibVersion}{"Version"});
8438 if(my $AddDefines = $Descriptor{$Version}{"Defines"})
9055 { # specified in the XML-descriptor
9152 printMsg("INFO", "checking header(s) ".$Descriptor{$Version}{"Version"}." ...");
9234 exitStatus("Empty_Set", "the set of public symbols is empty (".$Descriptor{$LibVersion}{"Version"}.")");
9237 exitStatus("Empty_Intersection", "the sets of public symbols in headers and libraries have empty intersection (".$Descriptor{$LibVersion}{"Version"}.")");
15687 my $V1 = $Descriptor{1}{"Version"};
15688 my $V2 = $Descriptor{2}{"Version"};
16074 $TestInfo .= " <number>".$Descriptor{1}{"Version"}."</number>\n";
16085 $TestInfo .= " <number>".$Descriptor{2}{"Version"}."</number>\n";
16230 $TestInfo .= "<tr><th>Version #1</th><td>".$Descriptor{1}{"Version"}.(@VInf1?" (".join(", ", reverse(@VInf1)).")":"")."</td></tr>\n";
16231 $TestInfo .= "<tr><th>Version #2</th><td>".$Descriptor{2}{"Version"}.(@VInf2?" (".join(", ", reverse(@VInf2)).")":"")."</td></tr>\n";
17941 my $Title = $TargetTitle.": ".$Descriptor{1}{"Version"}." to ".$Descriptor{2}{"Version"}." compatibility report";
17943 my $Description = "API/ABI compatibility report for the $TargetTitle $TargetComponent between ".$Descriptor{1}{"Version"}." and ".$Descriptor{2}{"Version"}." versions";
17962 my $Title = $TargetTitle.": ".$Descriptor{1}{"Version"}." to ".$Descriptor{2}{"Version"}." ".lc($Level)." compatibility report";
17964 my $Description = "$Level compatibility report for the ".$TargetTitle." ".$TargetComponent." between ".$Descriptor{1}{"Version"}." and ".$Descriptor{2}{"Version"}." versions";
18537 exitStatus("Error", "$SLIB_TYPE libraries are not found in ".$Descriptor{$LibVersion}{"Version"});
19655 foreach my $Dest (split(/\s*\n\s*/, $Descriptor{$LibVersion}{"Libs"}))
20055 { # you have specified /usr/lib as the search directory (<libs>) in the XML descriptor
20496 $Descriptor{$LibVersion}{"Version"} = $V;
20499 $Descriptor{$LibVersion}{"Version"} = $ABI->{"LibraryVersion"};
20851 $Descriptor{$LibVersion}{"Dump"} = 1;
20911 $Descriptor{$LibVersion}{"Libs"} = "OK";
20921 $Descriptor{$LibVersion}{"Headers"} = "OK";
20931 $Descriptor{$LibVersion}{"Sources"} = "OK";
20972 { # standard XML-descriptor
21001 { # standard XML-descriptor
21145 { # <search_headers> section of the XML descriptor
21150 { # <search_libs> section of the XML descriptor
21892 my $Dir = "compat_reports/$TargetLibraryName/".$Descriptor{1}{"Version"}."_to_".$Descriptor{2}{"Version"};
22088 if(not $Descriptor{1}{"Version"})
22090 $Descriptor{1}{"Version"} = "N";
22096 my $DumpPath = defaultDumpPath($TargetLibraryName, $Descriptor{1}{"Version"});
22125 if(not $Descriptor{1}{"Dump"})
22136 if(not $Descriptor{1}{"Dump"})
22138 if($Descriptor{1}{"Headers"}) {
22200 "LibraryVersion" => $Descriptor{1}{"Version"},
22282 # printMsg("INFO", "you can transfer this dump everywhere and use instead of the ".$Descriptor{1}{"Version"}." version descriptor");
22292 # and don't change version in the XML descriptor (and dumps)
22294 if($Descriptor{1}{"Path"} eq $Descriptor{2}{"Path"}
22295 or -s $Descriptor{1}{"Path"} == -s $Descriptor{2}{"Path"})
22297 my $FilePath1 = $Descriptor{1}{"Path"};
22298 my $FilePath2 = $Descriptor{2}{"Path"};
22393 $Descriptor{1}{"Version"} = $TargetVersion{1}?$TargetVersion{1}:$ABIdump->{"LibraryVersion"};
22394 $Descriptor{2}{"Version"} = $TargetVersion{2}?$TargetVersion{2}:$ABIdump->{"LibraryVersion"};
22396 if(not defined $Descriptor{1}{"Version"}) {
22397 $Descriptor{1}{"Version"} = "X";
22400 if(not defined $Descriptor{2}{"Version"}) {
22401 $Descriptor{2}{"Version"} = "Y";
22423 my ($LOG_DIR, $LOG_FILE) = ("logs/$TargetLibraryName/".$Descriptor{$LibVersion}{"Version"}, "log.txt");
22434 $DEBUG_PATH{$LibVersion} = "debug/$TargetLibraryName/".$Descriptor{$LibVersion}{"Version"};
22492 if(not $Descriptor{1}{"Path"}) {
22495 if(not -e $Descriptor{1}{"Path"}) {
22496 exitStatus("Access_Error", "can't access \'".$Descriptor{1}{"Path"}."\'");
22499 if(not $Descriptor{2}{"Path"}) {
22502 if(not -e $Descriptor{2}{"Path"}) {
22503 exitStatus("Access_Error", "can't access \'".$Descriptor{2}{"Path"}."\'");
22510 if(isDump($Descriptor{1}{"Path"})
22511 and isDump($Descriptor{2}{"Path"}))
22519 if(isDump($Descriptor{1}{"Path"})) {
22520 read_ABI_Dump(1, $Descriptor{1}{"Path"});
22523 readDescriptor(1, createDescriptor(1, $Descriptor{1}{"Path"}));
22526 if(isDump($Descriptor{2}{"Path"})) {
22527 read_ABI_Dump(2, $Descriptor{2}{"Path"});
22530 readDescriptor(2, createDescriptor(2, $Descriptor{2}{"Path"}));
22533 if(not $Descriptor{1}{"Version"})
22535 $Descriptor{1}{"Version"} = "X";
22539 if(not $Descriptor{2}{"Version"})
22541 $Descriptor{2}{"Version"} = "Y";
22554 if(not $Descriptor{1}{"Headers"}) {
22555 exitStatus("Error", "can't find header files info in descriptor d1");
22557 if(not $Descriptor{2}{"Headers"}) {
22558 exitStatus("Error", "can't find header files info in descriptor d2");
22563 if(not $Descriptor{1}{"Libs"}) {
22564 exitStatus("Error", "can't find libraries info in descriptor d1");
22566 if(not $Descriptor{2}{"Libs"}) {
22567 exitStatus("Error", "can't find libraries info in descriptor d2");
22574 my $DumpPath1 = defaultDumpPath($TargetLibraryName, $Descriptor{1}{"Version"});
22575 my $DumpPath2 = defaultDumpPath($TargetLibraryName, $Descriptor{2}{"Version"});
22583 my @PARAMS = ("-dump", $Descriptor{1}{"Path"}, "-l", $TargetLibraryName);
22638 my @PARAMS = ("-dump", $Descriptor{2}{"Path"}, "-l", $TargetLibraryName);
22745 if(not $Descriptor{1}{"Dump"}
22746 or not $Descriptor{2}{"Dump"})
22751 if(not $Descriptor{1}{"Dump"})
22762 if(not $Descriptor{2}{"Dump"})
22793 if($Descriptor{1}{"Dump"})
22797 if($Descriptor{2}{"Dump"})
22805 if($Descriptor{1}{"Headers"}
22806 and not $Descriptor{1}{"Dump"}) {
22809 if($Descriptor{2}{"Headers"}
22810 and not $Descriptor{2}{"Dump"}) {
23173 { # system XML descriptor
23237 cmpSystems($Descriptor{1}{"Path"}, $Descriptor{2}{"Path"}, getSysOpts());