Home
last modified time | relevance | path

Searched refs:realfile (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/dports/graphics/gimp-app/gimp-2.10.30/pdb/
H A Dutil.pl31 my $realfile = basename($file);
32 $realfile =~ s/$FILE_EXT$//;
33 $realfile = "$destdir/$realfile";
35 if (-e $realfile) {
36 if (cmp($realfile, $file)) {
37 cp($realfile, "$realfile~") if $DEBUG_OUTPUT;
38 cp($file, $realfile);
39 print "Wrote $realfile\n";
42 print "No changes to $realfile\n";
47 rename $file, $realfile;
[all …]
/dports/net/pecl-smbclient/smbclient-1.0.6/tests/
H A DWriteTest.php13 private $realfile; variable in WriteTest
19 $this->realfile = SMB_LOCAL.'/writetest.txt';
26 @unlink($this->realfile);
44 $this->assertFileExists($this->realfile);
45 $this->assertEquals(filesize($this->realfile), $ret);
65 $this->assertFileExists($this->realfile);
66 $this->assertEquals(filesize($this->realfile), $ret);
84 $this->assertFileExists($this->realfile);
85 $this->assertEquals(filesize($this->realfile), $ret);
105 $this->assertFileExists($this->realfile);
[all …]
H A DCreateTest.php9 $realfile = SMB_LOCAL . '/writetest.txt';
15 $this->assertFileExists($realfile);
16 unlink($realfile);
23 $realfile = SMB_LOCAL . '/ex%%%ample.txt';
29 $this->assertFileExists($realfile);
H A DLseekTest.php9 private $realfile; variable in LseekTest
13 $this->realfile = SMB_LOCAL.'/lseektest.txt';
30 $this->assertStringEqualsFile($this->realfile, 'abcfoogh');
45 $this->assertStringEqualsFile($this->realfile, sprintf('%c%c%c%s', 0, 0, 0, 'foo'));
61 $this->assertStringEqualsFile($this->realfile, sprintf('%s%c%c%c%s', 'abcdefgh', 0, 0, 0, 'foo'));
H A DStreamsTest.php7 private $realfile; variable in StreamsTest
20 $this->realfile = SMB_LOCAL . '/streamfile.txt';
29 @unlink($this->realfile);
77 $this->assertFileExists($this->realfile);
89 $this->assertFileExists($this->realfile);
103 $this->assertFileExists($this->realfile);
105 $this->assertFileNotExists($this->realfile);
123 $this->assertFileExists($this->realfile.'2');
185 $this->assertFileExists($this->realfile);
H A DReadTest.php13 private $realfile; variable in ReadTest
19 $this->realfile = SMB_LOCAL.'/readtest.txt';
21 file_put_contents($this->realfile, $this->testdata);
27 @unlink($this->realfile);
/dports/sysutils/munin-common/munin-2.0.67/node/lib/Munin/Node/Configure/
H A DPluginList.pm113 my $realfile;
117 unless ($realfile = readlink($path)) {
122 next unless ($realfile =~ /^$self->{libdir}\//);
126 $realfile = fileparse($realfile);
127 unless ($self->{plugins}{$realfile}) {
128 DEBUG("\tCorresponds to an ignored plugin ($realfile). Skipping.");
132 $self->{plugins}{$realfile}->add_instance($service);
/dports/sysutils/munin-node/munin-2.0.67/node/lib/Munin/Node/Configure/
H A DPluginList.pm113 my $realfile;
117 unless ($realfile = readlink($path)) {
122 next unless ($realfile =~ /^$self->{libdir}\//);
126 $realfile = fileparse($realfile);
127 unless ($self->{plugins}{$realfile}) {
128 DEBUG("\tCorresponds to an ignored plugin ($realfile). Skipping.");
132 $self->{plugins}{$realfile}->add_instance($service);
/dports/sysutils/munin-master/munin-2.0.67/node/lib/Munin/Node/Configure/
H A DPluginList.pm113 my $realfile;
117 unless ($realfile = readlink($path)) {
122 next unless ($realfile =~ /^$self->{libdir}\//);
126 $realfile = fileparse($realfile);
127 unless ($self->{plugins}{$realfile}) {
128 DEBUG("\tCorresponds to an ignored plugin ($realfile). Skipping.");
132 $self->{plugins}{$realfile}->add_instance($service);
/dports/net/kippo/kippo-0.9/kippo/core/
H A Dfs.py95 def update_realfile(self, f, realfile): argument
96 if not f[A_REALFILE] and os.path.exists(realfile) and \
97 not os.path.islink(realfile) and os.path.isfile(realfile) and \
99 print 'Updating realfile to %s' % realfile
100 f[A_REALFILE] = realfile
102 def realfile(self, f, path): member in HoneyPotFilesystem
134 realfile = self.realfile(f, '%s/%s' % \
136 if realfile:
137 return file(realfile, 'rb').read()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/overlayfs/
H A Dreaddir.c57 struct file *realfile; member
301 if (IS_ERR(realfile)) in ovl_dir_read()
317 fput(realfile); in ovl_dir_read()
856 struct file *old, *realfile = od->realfile; in ovl_dir_real_file() local
866 if (!realfile) { in ovl_dir_real_file()
872 return realfile; in ovl_dir_real_file()
876 fput(realfile); in ovl_dir_real_file()
877 realfile = old; in ovl_dir_real_file()
882 return realfile; in ovl_dir_real_file()
914 fput(od->realfile); in ovl_dir_release()
[all …]
H A Dfile.c43 struct file *realfile; in ovl_open_realfile() local
55 realfile = ERR_PTR(err); in ovl_open_realfile()
67 realfile, IS_ERR(realfile) ? 0 : realfile->f_flags); in ovl_open_realfile()
69 return realfile; in ovl_open_realfile()
146 struct file *realfile; in ovl_open() local
157 if (IS_ERR(realfile)) in ovl_open()
158 return PTR_ERR(realfile); in ovl_open()
160 file->private_data = realfile; in ovl_open()
423 struct file *realfile = file->private_data; in ovl_mmap() local
427 if (!realfile->f_op->mmap) in ovl_mmap()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/fs/overlayfs/
H A Dreaddir.c57 struct file *realfile; member
301 if (IS_ERR(realfile)) in ovl_dir_read()
317 fput(realfile); in ovl_dir_read()
856 struct file *old, *realfile = od->realfile; in ovl_dir_real_file() local
866 if (!realfile) { in ovl_dir_real_file()
872 return realfile; in ovl_dir_real_file()
876 fput(realfile); in ovl_dir_real_file()
877 realfile = old; in ovl_dir_real_file()
882 return realfile; in ovl_dir_real_file()
914 fput(od->realfile); in ovl_dir_release()
[all …]
H A Dfile.c43 struct file *realfile; in ovl_open_realfile() local
55 realfile = ERR_PTR(err); in ovl_open_realfile()
67 realfile, IS_ERR(realfile) ? 0 : realfile->f_flags); in ovl_open_realfile()
69 return realfile; in ovl_open_realfile()
146 struct file *realfile; in ovl_open() local
157 if (IS_ERR(realfile)) in ovl_open()
158 return PTR_ERR(realfile); in ovl_open()
160 file->private_data = realfile; in ovl_open()
423 struct file *realfile = file->private_data; in ovl_mmap() local
427 if (!realfile->f_op->mmap) in ovl_mmap()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/overlayfs/
H A Dreaddir.c57 struct file *realfile; member
301 if (IS_ERR(realfile)) in ovl_dir_read()
317 fput(realfile); in ovl_dir_read()
856 struct file *old, *realfile = od->realfile; in ovl_dir_real_file() local
866 if (!realfile) { in ovl_dir_real_file()
872 return realfile; in ovl_dir_real_file()
876 fput(realfile); in ovl_dir_real_file()
877 realfile = old; in ovl_dir_real_file()
882 return realfile; in ovl_dir_real_file()
914 fput(od->realfile); in ovl_dir_release()
[all …]
H A Dfile.c43 struct file *realfile; in ovl_open_realfile() local
55 realfile = ERR_PTR(err); in ovl_open_realfile()
67 realfile, IS_ERR(realfile) ? 0 : realfile->f_flags); in ovl_open_realfile()
69 return realfile; in ovl_open_realfile()
146 struct file *realfile; in ovl_open() local
157 if (IS_ERR(realfile)) in ovl_open()
158 return PTR_ERR(realfile); in ovl_open()
160 file->private_data = realfile; in ovl_open()
423 struct file *realfile = file->private_data; in ovl_mmap() local
427 if (!realfile->f_op->mmap) in ovl_mmap()
[all …]
/dports/textproc/p5-Text-FillIn/Text-FillIn-0.05/
H A DFillIn.pm46 my $realfile;
48 $realfile = $file;
52 $realfile = "$dir/$file";
58 unless ($realfile and -f $realfile) {
63 my $fh = new FileHandle($realfile);
65 warn ("Can't open $realfile: $!");
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/misc/
H A Dphysfsx.cpp585 std::array<char, PATH_MAX> realfile; in PHYSFSX_addArchiveContent() local
586 PHYSFSX_getRealPath(i,realfile); in PHYSFSX_addArchiveContent()
587 if (PHYSFS_mount(realfile.data(), nullptr, 0)) in PHYSFSX_addArchiveContent()
602 std::array<char, PATH_MAX> realfile; in PHYSFSX_addArchiveContent() local
603 PHYSFSX_getRealPath(demofile,realfile); in PHYSFSX_addArchiveContent()
628 std::array<char, PATH_MAX> realfile; in PHYSFSX_removeArchiveContent() local
629 PHYSFSX_getRealPath(i, realfile); in PHYSFSX_removeArchiveContent()
630 PHYSFS_unmount(realfile.data()); in PHYSFSX_removeArchiveContent()
640 std::array<char, PATH_MAX> realfile; in PHYSFSX_removeArchiveContent() local
641 PHYSFSX_getRealPath(demofile,realfile); in PHYSFSX_removeArchiveContent()
[all …]
/dports/net-mgmt/phpweathermap/weathermap/
H A Deditor.inc.php90 $realfile=$mapdir . DIRECTORY_SEPARATOR . $file;
93 if ( (is_file($realfile)) && (is_readable($realfile)) && (!preg_match("/^\./",$file) ) ) {
94 if (!is_writable($realfile)) {
98 $fd=fopen($realfile, "r");
336 $realfile=$imagedir . DIRECTORY_SEPARATOR . $file;
339 if (is_file($realfile) && ( preg_match('/\.(gif|jpg|png)$/i',$file) )) {
/dports/science/py-rmf/rmf-1.3.1/cmake_modules/
H A DInstallDeref.cmake9 get_filename_component(realfile "${src}/${relfile}" REALPATH)
12 if(IS_DIRECTORY ${realfile})
18 AND NOT "${realfile}" MATCHES "\\.svn")
19 install(FILES ${realfile} RENAME ${filename}
/dports/science/rmf/rmf-1.3.1/cmake_modules/
H A DInstallDeref.cmake9 get_filename_component(realfile "${src}/${relfile}" REALPATH)
12 if(IS_DIRECTORY ${realfile})
18 AND NOT "${realfile}" MATCHES "\\.svn")
19 install(FILES ${realfile} RENAME ${filename}
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/scripts/
H A Dcheckpatch.pl1317 my $realfile = '';
1463 $realfile = $1;
1464 $realfile =~ s@^([^/]*)/@@ if (!$file);
1467 $realfile = $1;
1468 $realfile =~ s@^([^/]*)/@@ if (!$file);
1601 $realfile =~ /^docs\/.+\.md/) {
1637 next if ($realfile !~ /$SrcFile/);
1669 next if ($realfile =~ /\.(s|S)$/);
2281 if ($realfile =~ /\.cpp|\.h$/) {
2513 if ($realfile !~ m@/vmlinux.lds.h$@ &&
[all …]
/dports/emulators/qemu/qemu-6.2.0/scripts/
H A Dcheckpatch.pl1317 my $realfile = '';
1463 $realfile = $1;
1464 $realfile =~ s@^([^/]*)/@@ if (!$file);
1467 $realfile = $1;
1468 $realfile =~ s@^([^/]*)/@@ if (!$file);
1601 $realfile =~ /^docs\/.+\.md/) {
1637 next if ($realfile !~ /$SrcFile/);
1669 next if ($realfile =~ /\.(s|S)$/);
2281 if ($realfile =~ /\.cpp|\.h$/) {
2513 if ($realfile !~ m@/vmlinux.lds.h$@ &&
[all …]
/dports/emulators/qemu60/qemu-6.0.0/scripts/
H A Dcheckpatch.pl1312 my $realfile = '';
1458 $realfile = $1;
1459 $realfile =~ s@^([^/]*)/@@ if (!$file);
1462 $realfile = $1;
1595 $realfile =~ /^docs\/.+\.md/) {
1631 next if ($realfile !~ /$SrcFile/);
1663 next if ($realfile =~ /\.(s|S)$/);
1673 next if ($realfile !~ /\.(h|c|cpp)$/);
2275 if ($realfile =~ /\.cpp|\.h$/) {
2507 if ($realfile !~ m@/vmlinux.lds.h$@ &&
[all …]
/dports/games/ultimatestunts/ultimatestunts-srcdata-0771/ultimatestunts/
H A Dsndsample.cpp283 CString realfile = f.useExtern(); in load() local
285 CString extension = realfile.mid(realfile.length() - 4); in load()
293 loadOgg(realfile); in load()
297 loadMP3(realfile); in load()
301 loadOther(realfile); in load()

12345678910>>...13