Home
last modified time | relevance | path

Searched refs:Dir (Results 1 – 12 of 12) sorted by relevance

/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/
H A DSysFiles.pm692 if(my $Dir = getDirname($LPaths->{$Name})) {
693 $Dirs{$Dir} = 1;
1235 my ($Dir, $Name) = sepPath($Path);
1238 if(getFilename($Dir) eq "libc" and $GlibcHeader{$Name})
1245 if($Dir eq "/usr/include" and $GlibcHeader{$Name})
1255 my $Dir = $_[0];
1256 my ($OutDir, $Name) = sepPath($Dir);
1418 foreach my $Dir (@DefaultIncPaths,
1423 if(not $Dir) {
1426 if(-f $Dir."/".$Header) {
[all …]
H A DSysCheck.pm1958 my $Dir = getDirname($Path);
1959 if(defined $SymbolDirs{$Dir} or $Dir eq "/usr/include") {
2060 my $Dir = getDirname($HRelPath);
2061 $DirsHeaders{$Dir}{$HRelPath} = 1;
2063 if($Dir=~/\/\Q$LName_Shortest\E(\/|\Z)/i
2064 or $Dir=~/\/\Q$LName_Short\E(\/|\Z)/i)
2066 if(getFilename($Dir) ne "include")
2068 $MainDirs{$Dir} += 1;
2079 foreach my $Dir (keys(%DirsHeaders))
2081 if(keys(%MainDirs) and not defined $MainDirs{$Dir})
[all …]
H A DABIDump.pm209 my ($Dir, $Name) = sepPath($_);
211 if(not grep {$Dir eq $_} (@{$In::Opt{"SysPaths"}{"lib"}})) {
212 $Dirs{escapeArg($Dir)} = 1;
221 foreach my $Dir (sort {$b cmp $a} keys(%Dirs))
223 $LibString = " -L".escapeArg($Dir).$LibString;
863 my ($Dir, $LVer) = @_;
864 if(grep {$_ eq $Dir} @{$In::Opt{"SysPaths"}{"lib"}})
868 if($RegisteredObj_Dir{$LVer}{$Dir})
872 foreach my $Path (findLibs($Dir,"",1))
882 $RegisteredObj_Dir{$LVer}{$Dir} = 1;
[all …]
H A DBasic.pm49 if(my $Dir = getDirname($Path)) {
50 mkpath($Dir);
62 if(my $Dir = getDirname($Path)) {
63 mkpath($Dir);
H A DFilter.pm497 foreach my $Dir (keys(%{$In::Desc{$LVer}{"SkipLibs"}{"Path"}}))
499 if($Path=~/\Q$Dir\E([\/\\]|\Z)/) {
735 my $Dir = getDirname($Path);
775 return 1 if($Dir=~/(\A|[\/\\])(|[^\/\\]+[._-])($DIRs)(|[._-][^\/\\]+)([\/\\]|\Z)/i);
/petsc/config/BuildSystem/config/packages/
H A Dp4est.py55 Dir = self.getDir()
60 …self.executeShellCommand([self.sourceControl.git, 'submodule', 'update', '--init'], cwd=Dir, log=s…
61 if os.path.isfile(os.path.join(Dir,'sc','README')):
62 self.libsc = os.path.join(Dir,'sc')
H A DGLVis.py25 Dir = self.getDir()
30 …self.executeShellCommand([self.sourceControl.git, 'submodule', 'update', '--init'], cwd=Dir, log=s…
32 if os.path.isfile(os.path.join(Dir,'mfem','README')):
33 self.mfem = os.path.join(Dir,'mfem')
/petsc/src/ts/tutorials/
H A Dex20opt_ic.c29 Vec Dir; /* direction vector */ member
245 PetscCall(VecGetArray(user_ptr->Dir, &x_ptr)); in FormHessian()
248 PetscCall(VecRestoreArray(user_ptr->Dir, &x_ptr)); in FormHessian()
254 PetscCall(VecGetArray(user_ptr->Dir, &x_ptr)); in FormHessian()
257 PetscCall(VecRestoreArray(user_ptr->Dir, &x_ptr)); in FormHessian()
298 PetscCall(TSSetCostHessianProducts(ts, 1, ctx->Lambda2, NULL, ctx->Dir)); in Adjoint2()
387 PetscCall(VecCopy(svec, user_ptr->Dir)); in HessianProductMat()
434 PetscCall(MatCreateVecs(user.A, &user.Dir, NULL)); in main()
490 PetscCall(VecGetArray(user.Dir, &x_ptr)); in main()
493 PetscCall(VecRestoreArray(user.Dir, &x_ptr)); in main()
[all …]
H A Dex20opt_p.c32 Vec Dir; /* direction vector */ member
414 PetscCall(MatCreateVecs(user.Jacp, &user.Dir, NULL)); in main()
505 PetscCall(VecDestroy(&user.Dir)); in main()
607 PetscCall(VecGetArray(ctx->Dir, &x_ptr)); in Adjoint2()
609 PetscCall(VecRestoreArray(ctx->Dir, &x_ptr)); in Adjoint2()
622 PetscCall(TSSetCostHessianProducts(ts, 1, ctx->Lambda2, ctx->Mup2, ctx->Dir)); in Adjoint2()
/petsc/src/ts/tutorials/optimal_control/
H A Dex1.c12 Vec U, Lambda[1], Mup[1], Lambda2[1], Mup2[1], Dir; member
322 PetscCall(MatCreateVecs(aircraft.Jacp, &aircraft.Dir, NULL)); in main()
408 PetscCall(VecDestroy(&aircraft.Dir)); in main()
494 Vec Dir; in FormObjHessian() local
512 PetscCall(VecDuplicate(P, &Dir)); in FormObjHessian()
515 PetscCall(VecSet(Dir, 0.0)); in FormObjHessian()
516 PetscCall(VecSetValues(Dir, 1, ind, &one, INSERT_VALUES)); in FormObjHessian()
517 PetscCall(VecAssemblyBegin(Dir)); in FormObjHessian()
518 PetscCall(VecAssemblyEnd(Dir)); in FormObjHessian()
519 PetscCall(ComputeObjHessianWithSOA(Dir, harr, actx)); in FormObjHessian()
[all …]
/petsc/config/BuildSystem/config/
H A Dpackage.py894 Dir = []
900 Dir.append(gitpkg)
902 Dir.append(hgpkg)
906 Dir.append(d)
908 if len(Dir) > 1:
909 …raise RuntimeError('Located multiple directories with package '+self.package+' '+str(Dir)+'\nDelet…
911 if Dir:
912 self.logPrint('Found a copy of '+self.PACKAGE+' in '+str(Dir[0]))
913 return os.path.join(packages, Dir[0])
/petsc/lib/petsc/bin/maint/abi-compliance-checker/
H A Dabi-compliance-checker.pl9120 my $Dir;
9125 $Dir = "compat_reports/".$In::Opt{"TargetLib"}."/V1_to_V2";
9129 …$Dir = "compat_reports/".$In::Opt{"TargetLib"}."/".$In::Desc{1}{"Version"}."_to_".$In::Desc{2}{"Ve…
9144 return $Dir."/abi_compat_report.".$In::Opt{"ReportFormat"};
9159 return $Dir."/src_compat_report.".$In::Opt{"ReportFormat"};
9170 return $Dir."/compat_report.".$In::Opt{"ReportFormat"};
9193 my $Dir = getDirname(getReportPath($Level));
9195 writeFile($Dir."/abi_affected.txt", $List);
9198 writeFile($Dir."/src_affected.txt", $List);
9299 my ($Dir, $FileName) = sepPath($Path);
[all …]