| /petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/ |
| H A D | Descriptor.pm | 27 my ($Path, $LVer) = @_; 29 if(not -e $Path) { 33 if(-d $Path) 41 $Path 45 $Path 50 if($Path=~/\.(xml|desc)\Z/i) 52 return readFile($Path); 54 elsif(isHeaderFile($Path)) 63 $Path 71 return readFile($Path); [all …]
|
| H A D | Path.pm | 28 my $Path = shift(@_); 34 $Path=~s/[\/\\]+\.?\Z//g; 37 $Path=~s/\//\\/g; 38 $Path = lc($Path); 42 $Path=~s/\\/\//g; 45 $Path=~s/[\/\\]+\Z//g; 47 return $Path; 53 my $Path = $_[0]; 54 if(not isAbsPath($Path)) { 55 $Path = abs_path($Path); [all …]
|
| H A D | SysFiles.pm | 240 foreach my $Path (@Paths) 242 if(-f join_P($Path, $Name)) { 243 return join_P($Path, $Name); 247 my $Candidate = join_P($Path, $CrossPrefix."-".$Name); 279 my $Path = searchTool($Name); 280 if(not $Path and $In::Opt{"OS"} eq "windows") { 281 $Path = searchTool($Name.".exe"); 284 if(not $Path and $BinUtils{$Name}) 287 $Path = searchCommand($CrossPrefix."-".$Name); 291 if(not $Path and $BinUtils{$Name}) [all …]
|
| H A D | Utils.pm | 65 my ($Path, $Type, $Name, $MaxDepth, $UseRegex) = (); 67 $Path = shift(@_); 85 $Path = getAbsPath($Path); 86 my $Cmd = "cmd /C dir \"$Path\" /B /O"; 111 $File = join_P($Path, $File); 120 push(@AbsPaths, $Path); 130 $Path = getAbsPath($Path); 131 if(-d $Path and -l $Path 132 and $Path!~/\/\Z/) 134 $Path.="/"; [all …]
|
| H A D | Basic.pm | 47 my ($Path, $Content) = @_; 49 if(my $Dir = getDirname($Path)) { 53 open(FILE, ">>", $Path) || die ("can't open file \'$Path\': $!\n"); 60 my ($Path, $Content) = @_; 62 if(my $Dir = getDirname($Path)) { 66 open(FILE, ">", $Path) || die ("can't open file \'$Path\': $!\n"); 73 my $Path = $_[0]; 75 open(FILE, $Path); 80 if($Path!~/\.(tu|class|abi)\Z/) { 122 my ($Path, $Num) = @_; [all …]
|
| H A D | Filter.pm | 430 my ($Path, $LVer) = @_; 432 if(defined $Cache{"skipHeader"}{$LVer}{$Path}) { 433 return $Cache{"skipHeader"}{$LVer}{$Path}; 439 if(skipAlienHeader($Path)) { 440 return ($Cache{"skipHeader"}{$LVer}{$Path} = 1); 446 return ($Cache{"skipHeader"}{$LVer}{$Path} = skipHeader_I(@_)); 453 my ($Path, $LVer) = @_; 454 my $Name = getFilename($Path); 461 if(index($Path, $D)!=-1) 463 if($Path=~/\Q$D\E([\/\\]|\Z)/) { [all …]
|
| H A D | ElfTools.pm | 88 my $Path = $_[0]; 90 if(defined $Cache{"getSONAME"}{$Path}) { 91 return $Cache{"getSONAME"}{$Path}; 98 my $SonameCmd = "$Objdump -x \"$Path\" 2>$TmpDir/null"; 108 return ($Cache{"getSONAME"}{$Path} = $1); 111 return ($Cache{"getSONAME"}{$Path}=""); 116 my $Path = $_[0]; 142 my $Cmd = $DumpbinCmd." /headers \"$Path\""; 160 my $Cmd = $OtoolCmd." -hv -arch all \"$Path\""; 178 my $Cmd = $ObjdumpCmd." -f \"$Path\" 2>$TmpDir/null";
|
| H A D | ABIDump.pm | 195 foreach my $Path (find_SymbolLibs($LVer, $Symbol)) { 196 $UndefinedLibs{$Path} = 1; 642 my $Path = $_[0]; 653 open(APP, "$NM -g \"$Path\" 2>\"$TmpDir/null\" |"); 668 open(APP, "$DumpBinCmd /IMPORTS \"$Path\" 2>\"$TmpDir/null\" |"); 683 open(APP, "$ReadelfCmd -Ws \"$Path\" 2>\"$TmpDir/null\" |"); 798 my ($Path, $LVer) = @_; 799 if(skipLib($Path, $LVer)) { 805 if(-f $Path) 807 if(not libPart($Path, "name")) { [all …]
|
| H A D | SysCheck.pm | 959 foreach my $Path (split(/\s*\n\s*/, parseTag(\$Content, "libs"))) 961 if(not -e $Path) { 962 exitStatus("Access_Error", "can't access \'$Path\'"); 964 $Path = getAbsPath($Path); 965 $SysDesc{"Libs"}{$Path} = 1; 967 foreach my $Path (split(/\s*\n\s*/, parseTag(\$Content, "search_libs"))) 969 if(not -d $Path) { 970 exitStatus("Access_Error", "can't access directory \'$Path\'"); 972 $Path = getAbsPath($Path); 973 $SysDesc{"SearchLibs"}{$Path} = 1; [all …]
|
| H A D | TUDump.pm | 435 my $Path = $Headers[$Num]; 436 if(not grep {$Path eq $_} (@{$In::Desc{$LVer}{"Include_Preamble"}})) 438 push_U($In::Desc{$LVer}{"Include_Preamble"}, $Path); 439 …printMsg("INFO", "Adding \'".$AddHeaders->{$Path}{"Header"}."\' preamble header for \'".$AddHeader… 539 if(my $Path = identifyHeader($Header, $LVer)) 541 if(skipHeader($Path, $LVer)) { 544 $Path = pathFmt($Path); 545 $AddHeaders{$Path}{"Type"} = $Type; 546 $AddHeaders{$Path}{"Header"} = $Header; 559 my ($Path, $LVer) = @_; [all …]
|
| /petsc/systems/Apple/OSX/bin/ |
| H A D | makedocs | 35 <Path>manualpages</Path> 40 <Path>manualpages/TS</Path> 45 <Path>manualpages/SNES</Path> 50 <Path>manualpages/KSP</Path> 55 <Path>manualpages/PC</Path> 60 <Path>manualpages/SemiLagrange</Path> 65 <Path>manualpages/DM</Path> 70 <Path>manualpages/Mat</Path> 75 <Path>manualpages/MatFD</Path> 80 <Path>manualpages/MatOrderings</Path> [all …]
|
| /petsc/systems/Apple/iOS/bin/ |
| H A D | makedocs | 35 <Path>manualpages</Path> 40 <Path>manualpages/TS</Path> 45 <Path>manualpages/SNES</Path> 50 <Path>manualpages/KSP</Path> 55 <Path>manualpages/PC</Path> 60 <Path>manualpages/SemiLagrange</Path> 65 <Path>manualpages/DM</Path> 70 <Path>manualpages/Mat</Path> 75 <Path>manualpages/MatFD</Path> 80 <Path>manualpages/MatOrderings</Path> [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _path.py | 24 _PathType = type(pathlib.Path()) 26 class Path(_PathType): class 30 def append_suffix(self, suffix: str) -> Path: 46 path: Path = self.with_suffix(f'{self.suffix}{dotstring}{suffix}') 49 def append_name(self, name: str) -> Path: 62 path: Path = self.with_name(f'{self.stem}{name}')
|
| H A D | __init__.py | 6 from ._path import Path
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/ |
| H A D | Makefile.pl | 30 use File::Path qw(mkpath rmtree); 254 foreach my $Path (sort keys(%Files)) 256 if($Path=~/Targets\//) 260 my $Inst = $Path; 262 if(-d $Path) 269 copy($Path, $Inst); 276 my $Path = $_[0]; 278 open(FILE, $Path) || die ("can't open file \'$Path\': $!\n"); 288 my ($Path, $Content) = @_; 290 open(FILE, ">".$Path) || die ("can't open file \'$Path\': $!\n");
|
| H A D | abi-compliance-checker.pl | 56 use File::Path qw(mkpath rmtree); 967 my $Path = $MODULES_DIR."/Internals/$Name.pm"; 968 if(not -f $Path) 970 print STDERR "can't access \'$Path\'\n"; 973 require $Path; 980 my $Path = $MODULES_DIR."/Internals/$Module/".$Name; 981 if(not -f $Path) { 982 exitStatus("Module_Error", "can't access \'$Path\'"); 984 return readFile($Path); 6353 foreach my $Path (keys(%{$In::ABI{$LVer}{"Headers"}})) [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | test_main.py | 15 from .classes._path import Path 23 def __init__(self, fname: Path) -> None: argument 29 self.temp_path = Path(self.tmp.name).resolve(strict=True) 40 def orig_file(self) -> Path: 43 def rej_file(self) -> Path: 47 petsc_dir: Path, argument 48 test_path: Path, argument 49 output_dir: Path, argument 80 def test(generated_output: list[str], reference_file: Path) -> str: argument 103 def rename_patch_file_target(text: str, new_path: Path) -> str: argument [all …]
|
| H A D | main.py | 35 def __sanitize_petsc_dir(petsc_dir: StrPathLike) -> Path: 36 petsc_dir = pl.Path(petsc_dir).resolve(strict=True) 41 def __sanitize_src_path(petsc_dir: Path, src_path: Optional[Union[StrPathLike, Iterable[StrPathLike… argument 44 elif isinstance(src_path, pl.Path): 46 elif isinstance(src_path, (str, pathlib.Path)): 47 src_path = [pl.Path(src_path)] 49 src_path = list(map(pl.Path, src_path)) 55 return [p.resolve(strict=True) for p in TYPE_CAST(List[pl.Path], src_path)] 57 def __sanitize_patch_dir(petsc_dir: Path, patch_dir: Optional[StrPathLike]) -> Path: argument 58 patch_dir = petsc_dir / 'petscLintPatches' if patch_dir is None else pl.Path(patch_dir).resolve() [all …]
|
| H A D | _typing.py | 55 from .classes._path import Path 66 PathLike: TypeAlias = Union[pathlib.Path, Path] 72 PathDiffPair: TypeAlias = Tuple[Path, str] 73 CondensedDiags: TypeAlias = Dict[Path, List[str]]
|
| H A D | queue_main.py | 13 from .classes._path import Path 69 assert isinstance(filename, Path)
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _utility.py | 139 from ..classes._path import Path 143 clang_lib = Path(clang_lib).resolve() 146 clang_dir = Path(clang_dir).resolve() 152 def try_to_find_libclang_dir() -> Optional[Path]: 163 from ..classes._path import Path 188 return Path(llvm_lib_dir).resolve(strict=True) 190 def get_petsc_extra_includes(petsc_dir: Path, petsc_arch: str) -> list[str]: argument 254 from ..classes._path import Path 262 def build_compiler_flags(petsc_dir: Path, petsc_arch: str, extra_compiler_flags: Optional[list[str]… argument 336 …def from_flags(cls, petsc_dir: Path, compiler_flags: list[str], extra_header_includes: Optional[li… argument [all …]
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | boost.py | 4 from pathlib import Path 25 conffile = Path(self.packageDir) / (self.package + '.petscconf') 32 boostIncludeDir = Path(self.installDir) / self.includedir / 'boost' 46 if not (Path(sysconfig.get_paths()['include']) / 'pyconfig.h').is_file(): 67 jamfile = Path(self.packageDir) / 'user-config.jam'
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | check_header_guard.py | 27 path: pathlib.Path 29 def __init__(self, verbose: bool, path: pathlib.Path) -> None: argument 345 def replace_in_file(path: pathlib.Path, opts: argparse.Namespace, ReplacerCls: type[_T]) -> list[st… argument 433 dirpath = pathlib.Path(dirname) 458 parser.add_argument('paths', nargs='+', type=pathlib.Path, help='paths to check/convert')
|
| /petsc/src/ksp/ksp/tests/output/ |
| H A D | ex3_caliper.out | 1 Path Min time/rank Max time/rank Avg time/rank Time %
|
| /petsc/lib/petsc/bin/ |
| H A D | petscnagfor | 7 from pathlib import Path 51 Path(os.path.join(os.path.dirname(__file__),'..','..','..','naglicenseproblem')).touch()
|