Home
last modified time | relevance | path

Searched refs:temppath (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/dports/games/gltron/gltron-0.70/nebu/filesystem/
H A Dfindpath.c42 char temppath[PATH_MAX]; in goto_installpath() local
51 strncpy(temppath, argv0, PATH_MAX); in goto_installpath()
52 if ( ! strrchr(temppath, '/') ) { in goto_installpath()
61 temppath[0] = '\0'; in goto_installpath()
70 strcpy(temppath, home); in goto_installpath()
76 strncat(temppath, path, (last-path)); in goto_installpath()
77 strcat(temppath, "/"); in goto_installpath()
79 strcat(temppath, "./"); in goto_installpath()
80 strcat(temppath, argv0); in goto_installpath()
83 if (access(temppath, X_OK) == 0) { in goto_installpath()
[all …]
/dports/math/pdal/PDAL-2.3.0/test/unit/apps/
H A DTranslateTest.cpp61 std::string out = Support::temppath("out.las"); in TEST()
80 std::string out = Support::temppath("out.las"); in TEST()
198 std::string out = Support::temppath("out.las"); in TEST()
199 std::string meta = Support::temppath("meta.json"); in TEST()
214 FileUtils::deleteFile(Support::temppath("out1.las")); in TEST()
215 FileUtils::deleteFile(Support::temppath("out2.las")); in TEST()
216 FileUtils::deleteFile(Support::temppath("out3.las")); in TEST()
217 FileUtils::deleteFile(Support::temppath("out4.las")); in TEST()
221 std::string out = Support::temppath("out#.las"); in TEST()
232 EXPECT_TRUE(FileUtils::fileExists(Support::temppath("out1.las"))); in TEST()
[all …]
H A DTileTest.cpp48 std::string t(Support::temppath("tile/out" + in checkFile()
73 std::string outSpec(Support::temppath("tile/out#.txt")); in TEST()
78 FileUtils::deleteDirectory(Support::temppath("tile")); in TEST()
79 FileUtils::createDirectory(Support::temppath("tile")); in TEST()
96 std::string file1(Support::temppath("tile/file1.las")); in TEST()
97 std::string file2(Support::temppath("tile/file2.las")); in TEST()
98 std::string file3(Support::temppath("tile/file3.las")); in TEST()
100 FileUtils::deleteDirectory(Support::temppath("tile")); in TEST()
101 FileUtils::createDirectory(Support::temppath("tile")); in TEST()
120 std::string inSpec(Support::temppath("tile/file*.las")); in TEST()
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/windows/
H A Dwin_tempfile.ps110 $temppath = $null in New-TempFile() variable
18 $temppath = (Join-Path -Path $path -ChildPath "$prefix$randomname$suffix") in New-TempFile() variable
20 $file = New-Item -Path $temppath -ItemType $type -WhatIf:$checkmode in New-TempFile()
23 $temppath = $file.FullName in New-TempFile() variable
26 $temppath = [System.IO.Path]::GetFullPath($temppath) in New-TempFile() variable
29 $temppath = $null in New-TempFile() variable
32 } until (($null -ne $temppath) -or ($attempt -ge 5)) in New-TempFile()
35 if ($null -eq $temppath) { in New-TempFile()
39 return $temppath.ToString() in New-TempFile()
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ansible/windows/plugins/modules/
H A Dwin_tempfile.ps110 $temppath = $null in New-TempFile() variable
18 $temppath = (Join-Path -Path $path -ChildPath "$prefix$randomname$suffix") in New-TempFile() variable
20 $file = New-Item -Path $temppath -ItemType $type -WhatIf:$checkmode in New-TempFile()
23 $temppath = $file.FullName in New-TempFile() variable
26 $temppath = [System.IO.Path]::GetFullPath($temppath) in New-TempFile() variable
29 $temppath = $null in New-TempFile() variable
32 } until (($null -ne $temppath) -or ($attempt -ge 5)) in New-TempFile()
35 if ($null -eq $temppath) { in New-TempFile()
39 return $temppath.ToString() in New-TempFile()
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/support/windows-integration/plugins/modules/
H A Dwin_tempfile.ps110 $temppath = $null in New-TempFile() variable
18 $temppath = (Join-Path -Path $path -ChildPath "$prefix$randomname$suffix") in New-TempFile() variable
20 $file = New-Item -Path $temppath -ItemType $type -WhatIf:$checkmode in New-TempFile()
23 $temppath = $file.FullName in New-TempFile() variable
26 $temppath = [System.IO.Path]::GetFullPath($temppath) in New-TempFile() variable
29 $temppath = $null in New-TempFile() variable
32 } until (($null -ne $temppath) -or ($attempt -ge 5)) in New-TempFile()
35 if ($null -eq $temppath) { in New-TempFile()
39 return $temppath.ToString() in New-TempFile()
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/support/windows-integration/plugins/modules/
H A Dwin_tempfile.ps110 $temppath = $null in New-TempFile() variable
18 $temppath = (Join-Path -Path $path -ChildPath "$prefix$randomname$suffix") in New-TempFile() variable
20 $file = New-Item -Path $temppath -ItemType $type -WhatIf:$checkmode in New-TempFile()
23 $temppath = $file.FullName in New-TempFile() variable
26 $temppath = [System.IO.Path]::GetFullPath($temppath) in New-TempFile() variable
29 $temppath = $null in New-TempFile() variable
32 } until (($null -ne $temppath) -or ($attempt -ge 5)) in New-TempFile()
35 if ($null -eq $temppath) { in New-TempFile()
39 return $temppath.ToString() in New-TempFile()
/dports/sysutils/radmind/radmind-1.15.4/
H A Dretr.c139 perror( temppath ); in retr()
143 perror( temppath ); in retr()
147 perror( temppath ); in retr()
165 perror( temppath ); in retr()
219 unlink( temppath ); in retr()
338 perror( temppath ); in retr_applefile()
343 perror( temppath ); in retr_applefile()
347 perror( temppath ); in retr_applefile()
493 perror( temppath ); in retr_applefile()
508 perror( temppath ); in retr_applefile()
[all …]
/dports/games/minetest/minetest-5.4.1/builtin/mainmenu/
H A Dpkgmgr.lua37 temppath = ""
40 temppath = temppath .. "_"
42 temppath = temppath .. parts[i]
46 temppath = ""
49 temppath = temppath .. "_"
51 temppath = temppath .. parts[i]
55 temppath = ""
58 temppath = temppath .. ""
60 temppath = temppath .. parts[i]
67 temppath = temppath
[all …]
/dports/games/freeminer/freeminer-0.4.10.4/builtin/common/
H A Dmisc_helpers.lua235 temppath = ""
238 temppath = temppath .. "_"
240 temppath = temppath .. parts[i]
244 temppath = ""
247 temppath = temppath .. "_"
249 temppath = temppath .. parts[i]
253 temppath = ""
256 temppath = temppath .. ""
258 temppath = temppath .. parts[i]
265 temppath = temppath
[all …]
/dports/www/tikiwiki/tiki-21.2/lib/metadata/
H A Dmetadatalib.php49 $temppath = $this->temppathFromContent($file);
51 if (! $temppath) {
54 $this->filesize = @filesize($temppath);
56 $this->currname = $temppath;
63 $temppath = $file;
74 if (! $temppath) {
95 $type_charset = $finfo->file($temppath);
131 unlink($temppath);
216 if (! is_writeable($temppath)) {
219 $temphandle = fopen($temppath, 'w');
[all …]
/dports/science/py-rmf/rmf-1.3.1/src/backend/deprecated_avro/
H A Davro_schema_io.h73 std::string temppath = path + ".new"; in write() local
75 RMF_TRACE("Writing file " << temppath); in write()
77 internal_avro::DataFileWriter<Data> wr(temppath.c_str(), schema); in write()
82 RMF_THROW(Message(e.what()) << Component(temppath), IOException); in write()
85 RMF_RENAME(temppath, path); in write()
91 std::string temppath = path + ".new"; in write_text() local
96 internal_avro::fileOutputStream(temppath.c_str()); in write_text()
104 RMF_THROW(Message(e.what()) << Component(temppath), IOException); in write_text()
107 RMF_RENAME(temppath, path); in write_text()
/dports/science/rmf/rmf-1.3.1/src/backend/deprecated_avro/
H A Davro_schema_io.h73 std::string temppath = path + ".new"; in write() local
75 RMF_TRACE("Writing file " << temppath); in write()
77 internal_avro::DataFileWriter<Data> wr(temppath.c_str(), schema); in write()
82 RMF_THROW(Message(e.what()) << Component(temppath), IOException); in write()
85 RMF_RENAME(temppath, path); in write()
91 std::string temppath = path + ".new"; in write_text() local
96 internal_avro::fileOutputStream(temppath.c_str()); in write_text()
104 RMF_THROW(Message(e.what()) << Component(temppath), IOException); in write_text()
107 RMF_RENAME(temppath, path); in write_text()
/dports/editors/libreoffice/libreoffice-7.2.6.2/setup_native/scripts/
H A Dadmin.pl956 my $temppath = "";
964 $temppath = $temppath . $separator . $globaltempdirname;
965 $temppath = mkdtemp($temppath);
967 my $dirsave = $temppath;
969 $temppath = $temppath . $separator . "a";
970 $temppath = create_pid_directory($temppath);
976 $temppath =~ s/\\/\\\\/g;
977 chomp( $temppath = qx{cygpath -w "$temppath"} );
980 $savetemppath = $temppath;
987 return $temppath;
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/setup_native/scripts/
H A Dadmin.pl956 my $temppath = "";
964 $temppath = $temppath . $separator . $globaltempdirname;
965 $temppath = mkdtemp($temppath);
967 my $dirsave = $temppath;
969 $temppath = $temppath . $separator . "a";
970 $temppath = create_pid_directory($temppath);
976 $temppath =~ s/\\/\\\\/g;
977 chomp( $temppath = qx{cygpath -w "$temppath"} );
980 $savetemppath = $temppath;
987 return $temppath;
[all …]
/dports/devel/py-pyinstaller/PyInstaller-3.5/bootloader/src/
H A Dpyi_main.c133 strncpy(archive_status->temppath, extractionpath, PATH_MAX); in pyi_main()
134 if (archive_status->temppath[PATH_MAX-1] != '\0') { in pyi_main()
143 strcpy(archive_status->mainpath, archive_status->temppath); in pyi_main()
156 VS("LOADER: temppath is %s\n", archive_status->temppath); in pyi_main()
165 archive_status->temppath[0] != in pyi_main()
166 0 ? archive_status->temppath : homepath); in pyi_main()
185 pyi_remove_temp_path(archive_status->temppath); in pyi_main()
/dports/www/gallery-dl/gallery-dl-1.21.0/gallery_dl/
H A Dpath.py141 return open(self.temppath, mode)
195 self.temppath = self.prefix = ""
288 if not self.temppath:
289 self.temppath = self.realpath
294 self.temppath += ".part"
298 self.temppath = os.path.join(
300 os.path.basename(self.temppath),
306 return os.stat(self.temppath).st_size
315 os.unlink(self.temppath)
318 if self.temppath != self.realpath:
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/solenv/bin/modules/installer/
H A Dparameter.pm368 $installer::globals::temppath = $ENV{'TMPDIR'};
370 $installer::globals::temppath .= $installer::globals::separator . 'ooopackagingXXXXXX';
371 $installer::globals::temppath = mkdtemp($installer::globals::temppath);
373 my $dirsave = $installer::globals::temppath;
377 chmod 0777, $installer::globals::temppath;
380 …$installer::globals::temppath = $installer::globals::temppath . $installer::globals::separator . "…
381 …$installer::globals::temppath = installer::systemactions::create_pid_directory($installer::globals…
382 push(@installer::globals::removedirs, $installer::globals::temppath);
386 …$installer::globals::temppath = $installer::globals::temppath . $installer::globals::separator . $…
387 installer::systemactions::create_directory($installer::globals::temppath);
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/solenv/bin/modules/installer/
H A Dparameter.pm368 $installer::globals::temppath = $ENV{'TMPDIR'};
370 $installer::globals::temppath .= $installer::globals::separator . 'ooopackagingXXXXXX';
371 $installer::globals::temppath = mkdtemp($installer::globals::temppath);
373 my $dirsave = $installer::globals::temppath;
377 chmod 0777, $installer::globals::temppath;
380 …$installer::globals::temppath = $installer::globals::temppath . $installer::globals::separator . "…
381 …$installer::globals::temppath = installer::systemactions::create_pid_directory($installer::globals…
382 push(@installer::globals::removedirs, $installer::globals::temppath);
386 …$installer::globals::temppath = $installer::globals::temppath . $installer::globals::separator . $…
387 installer::systemactions::create_directory($installer::globals::temppath);
[all …]
/dports/math/pdal/PDAL-2.3.0/test/unit/io/
H A DGDALWriterTest.cpp193 std::string outfile = Support::temppath("tmp.tif"); in TEST()
214 std::string outfile = Support::temppath("tmp.tif"); in TEST()
249 std::string outfile = Support::temppath("tmp.tif"); in TEST()
272 std::string outfile = Support::temppath("tmp.tif"); in TEST()
294 std::string outfile = Support::temppath("tmp.tif"); in TEST()
317 std::string outfile = Support::temppath("tmp.tif"); in TEST()
339 std::string outfile = Support::temppath("tmp.tif"); in TEST()
362 std::string outfile = Support::temppath("tmp.tif"); in TEST()
473 std::string outfile(Support::temppath("out.tif")); in TEST()
536 std::string outfile = Support::temppath("tmp.bt"); in TEST()
[all …]
/dports/astro/gpstk/GPSTk-8.0.0/core/lib/FileDirProc/
H A DFileUtils.hpp88 std::string temppath = path; in makeDir() local
91 std::replace(temppath.begin(), temppath.end(), '\\', '/'); in makeDir()
94 while ((i = temppath.find('/',i+1)) != std::string::npos) in makeDir()
96 std::string thispath(temppath.substr(0,i)); in makeDir()
102 _mkdir(temppath.c_str()); in makeDir()
/dports/math/vtk8/VTK-8.2.0/Utilities/Maintenance/
H A DSourceTarball.bash101 local temppath="$path.tmp$$"
102 readonly temppath
109 if wget "$url" -O "$temppath" >&2; then
110 mv "$temppath" "$path"
113 rm -f "$temppath"
285 local temppath="$output.tmp$$"
286 readonly temppath
289 $compress > "$temppath"
290 mv "$temppath" "$output"
/dports/math/vtk9/VTK-9.1.0/Utilities/Maintenance/
H A DSourceTarball.bash84 local temppath="$path.tmp$$"
85 readonly temppath
92 if wget --no-verbose "$url" -O "$temppath" >&2; then
93 mv "$temppath" "$path"
96 rm -f "$temppath"
285 local temppath="$output.tmp$$"
286 readonly temppath
289 $compress > "$temppath"
290 mv "$temppath" "$output"
/dports/sysutils/aptly/aptly-1.4.0/http/
H A Ddownload.go133 var temppath string
135 temppath, err = downloader.download(req, url, destination, expected, ignoreMismatch)
150 err = os.Rename(temppath, destination)
152 os.Remove(temppath)
177 temppath := destination + ".down"
179 outfile, err := os.Create(temppath)
196 os.Remove(temppath)
219 os.Remove(temppath)
228 return temppath, nil
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-chroot.c37 static char temppath[PATH_MAX]; variable
87 do_chroot(temppath, &ret1, &ret2, &errno1, &errno2); in stress_chroot_test1()
95 args->name, temppath, errno1, strerror(errno1)); in stress_chroot_test1()
100 args->name, temppath, errno2, strerror(errno2)); in stress_chroot_test1()
284 (void)stress_temp_dir_args(args, temppath, sizeof(temppath));
286 if (mkdir(temppath, S_IRWXU) < 0) {
288 args->name, temppath, errno, strerror(errno));
345 (void)rmdir(temppath);

12345678910>>...14