/dports/www/moodle311/moodle/lib/classes/lock/ |
H A D | file_lock_factory.php | 148 $filehandle = fopen($lockfilename, "wb"); 151 if (!$filehandle) { 158 $locked = flock($filehandle, LOCK_EX | LOCK_NB, $wouldblock); 166 fclose($filehandle); 170 fwrite($filehandle, $this->get_debug_info()); 172 return new lock($filehandle, $this);
|
/dports/www/moodle310/moodle/lib/classes/lock/ |
H A D | file_lock_factory.php | 148 $filehandle = fopen($lockfilename, "wb"); 151 if (!$filehandle) { 158 $locked = flock($filehandle, LOCK_EX | LOCK_NB, $wouldblock); 166 fclose($filehandle); 170 fwrite($filehandle, $this->get_debug_info()); 172 return new lock($filehandle, $this);
|
/dports/lang/parrot/parrot-8.1.0/lib/Parrot/Test/ |
H A D | Util.pm | 54 my ($filehandle, $filename, $winfixup); 56 ($filehandle, $filename) = tempfile('UNLINK' => 0, 'OPEN' => 0); 59 ($filehandle, $filename) = &tempfile; 70 return ($filehandle, $filename);
|
/dports/mail/cyrus-imapd30/cyrus-imapd-3.0.16/perl/sieve/scripts/ |
H A D | sieveshell.pl | 84 my $filehandle; 88 $filehandle = tempfile(); 90 if (!$filehandle) { die "unable to open tmp file: $?"; } 92 print $filehandle $ex; 93 seek $filehandle, 0, 0; # rewind file 96 $filehandle = *STDIN; 177 while(defined($_ = ($interactive ? $term->readline('> ') : <$filehandle>))){
|
/dports/biology/p5-BioPerl/BioPerl-1.7.7/examples/ |
H A D | make_primers.pl | 132 my $filehandle = $_[0]; 140 open $filehandle,'<', $filename or die "Could not read file '$filename': $!\n"; 141 $filehandle = ''; 147 my $filehandle = $_[0]; 162 else { open $filehandle, '>', $filename or die "Could nott write file '$filename': $!\n"; } 164 else { open $filehandle, '>', $filename or die "Could not write file '$filename': $!\n"; } 165 $filehandle = '';
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/tools/blinkpy/common/ |
H A D | read_checksum_from_png_unittest.py | 35 filehandle = StringIO.StringIO( 37 checksum = read_checksum_from_png.read_checksum(filehandle) 41 filehandle = StringIO.StringIO( 43 checksum = read_checksum_from_png.read_checksum(filehandle)
|
/dports/games/excido/excido-0.1.5c/src/ |
H A D | Mesh.cpp | 43 PHYSFS_file* filehandle=NULL; in Load() local 54 filehandle=PHYSFS_openRead(meshfile); in Load() 56 if(!filehandle){ in Load() 63 filelength=PHYSFS_fileLength(filehandle); in Load() 69 filelength=PHYSFS_read(filehandle,wholefile,1,filelength); in Load() 79 if(!PHYSFS_close(filehandle)) in Load()
|
/dports/devel/p5-Perl6-Slurp/Perl6-Slurp-0.051005/t/ |
H A D | lexfilehandle.t | 25 TEST "scalar slurp from lexical filehandle "; 31 TEST "list slurp from lexical filehandle "; 38 TEST "scalar slurp from '$mode', lexical filehandle "; 42 TEST "scalar slurp from empty lexical filehandle"; 48 TEST "list slurp from '$mode', lexical filehandle "; 52 TEST "list slurp from empty lexical filehandle";
|
/dports/multimedia/p5-FLV-Info/FLV-Info-0.24/lib/FLV/ |
H A D | File.pm | 73 $self->{filehandle} = undef; 79 $self->{filehandle} = $input; 87 $self->{filehandle} = $fh; 102 $self->{filehandle} = undef; # implicitly close the filehandle 275 my $filehandle = shift || croak 'Please specify a filehandle'; 282 my $headersize = $self->{header}->serialize($filehandle); 284 return $self->{body}->serialize($filehandle, $headersize); 399 my $fh = $self->{filehandle}; 448 my $fh = $self->{filehandle};
|
/dports/audio/splay/splay-0.9.5.2/libs/ |
H A D | rawtofile.cc | 20 close(filehandle); in ~Rawtofile() 25 if(filename==NULL)filehandle=1; in initialize() 26 else if((filehandle=creat(filename,0644))==-1) in initialize() 43 return (write(filehandle,buffer,size)==size); in putblock()
|
/dports/cad/fritzing/fritzing-parts-0.9.2b/parts/part-gen-scripts/misc_scripts/ |
H A D | fpgrabber.py | 67 filehandle = None 69 filehandle = urllib2.urlopen(url) 74 if (not filehandle): 85 filehandle.close() 88 for lines in filehandle.readlines(): 92 filehandle.close()
|
/dports/biology/mothur/mothur-1.46.1/source/datastructures/ |
H A D | proteindb.cpp | 24 ProteinDB::ProteinDB(ifstream& filehandle) : StorageDatabase() { in ProteinDB() argument 28 while (!filehandle.eof()) { in ProteinDB() 30 Protein newProteinSequence(filehandle); util.gobble(filehandle); in ProteinDB() 39 filehandle.close(); in ProteinDB()
|
/dports/archivers/dpkg/dpkg-1.19.7/scripts/Dpkg/Compression/ |
H A D | FileHandle.pm | 394 my $filehandle; 400 *$self->{compressor}->compress(from_pipe => \$filehandle, 403 CORE::open($filehandle, '>', $self->get_filename) 407 *$self->{file} = $filehandle; 412 my $filehandle; 418 *$self->{compressor}->uncompress(to_pipe => \$filehandle, 422 CORE::open($filehandle, '<', $self->get_filename) 426 *$self->{file} = $filehandle;
|
/dports/textproc/p5-YAML-PP/YAML-PP-0.020/lib/YAML/PP/Writer/ |
H A D | File.pm | 16 $self->{filehandle} = $self->{output}; 21 $self->{filehandle} = $fh; 27 my $fh = $self->{filehandle}; 43 close $self->{filehandle};
|
/dports/net/ip2location/IP2Location-C-Library-8.0.9/libIP2Location/ |
H A D | IP2Location.c | 84 loc->filehandle = f; in IP2Location_open() 107 return IP2Location_DB_set_memory_cache(loc->filehandle); in IP2Location_open_mem() 111 return IP2Location_DB_set_shared_memory(loc->filehandle); in IP2Location_open_mem() 123 IP2Location_DB_close(loc->filehandle); in IP2Location_close() 139 loc->databasetype = IP2Location_read8(loc->filehandle, 1); in IP2Location_initialize() 140 loc->databasecolumn = IP2Location_read8(loc->filehandle, 2); in IP2Location_initialize() 142 loc->databasemonth = IP2Location_read8(loc->filehandle, 4); in IP2Location_initialize() 143 loc->databaseday = IP2Location_read8(loc->filehandle, 5); in IP2Location_initialize() 379 FILE *handle = loc->filehandle; in IP2Location_read_record() 671 FILE *handle = loc->filehandle; in IP2Location_get_ipv6_record() [all …]
|
/dports/devel/monotone/monotone-1.1/src/win32/ |
H A D | inodeprint.cc | 62 …HANDLE filehandle = CreateFile(file.c_str(), GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_… in inodeprint_file() local 63 if (filehandle == INVALID_HANDLE_VALUE) in inodeprint_file() 67 if (GetFileTime(filehandle, &create, NULL, &write) == 0) in inodeprint_file() 69 CloseHandle(filehandle); in inodeprint_file() 82 if (CloseHandle(filehandle) == 0) in inodeprint_file()
|
/dports/textproc/p5-Spreadsheet-WriteExcel/Spreadsheet-WriteExcel-2.40/lib/Spreadsheet/WriteExcel/Chart/ |
H A D | External.pm | 58 my $filehandle = FileHandle->new( $filename ) 61 binmode( $filehandle ); 63 $self->{_filehandle} = $filehandle; 64 $self->{_datasize} = -s $filehandle;
|
/dports/science/gramps/gramps-5.1.4/gramps/gen/plug/ |
H A D | utils.py | 402 self.filehandle = None 409 self.filehandle = sys.stdout 411 self.filehandle = open(self.filename, 'w', encoding=self.encoding, 413 return self.filehandle 416 if self.filehandle and self.filename != '-': 417 self.filehandle.close() 430 self.filehandle = None 435 self.filehandle = sys.stdin 439 self.filehandle = open(self.filename, self.mode) 440 return self.filehandle [all …]
|
/dports/www/p5-Pod-Site/Pod-Site-0.56/lib/Pod/ |
H A D | Site.pm | 816 $ps->start_nav($filehandle); 822 $ps->start_toc($filehandle); 825 $filehandle. 829 $ps->output($filehandle, $tree); 832 $filehandle. The $tree argument contains the tree. This method is called 837 $ps->output_bin($filehandle); 840 $filehandle. 844 $ps->finish_nav($filehandle); 847 $filehandle. 851 $ps->finish_toc($filehandle); [all …]
|
/dports/games/pioneer/pioneer-20210723/src/win32/ |
H A D | FileSystemWin32.cpp | 161 …HANDLE filehandle = CreateFileW(wfullpath.c_str(), GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING… in ReadFile() local 162 if (filehandle == INVALID_HANDLE_VALUE) in ReadFile() 165 const Time::DateTime modtime = file_modtime_for_handle(filehandle); in ReadFile() 168 if (!GetFileSizeEx(filehandle, &large_size)) { in ReadFile() 170 CloseHandle(filehandle); in ReadFile() 179 CloseHandle(filehandle); in ReadFile() 185 CloseHandle(filehandle); in ReadFile() 190 BOOL ret = ::ReadFile(filehandle, static_cast<LPVOID>(data), (DWORD)size, &read_size, 0); in ReadFile() 193 CloseHandle(filehandle); in ReadFile() 201 CloseHandle(filehandle); in ReadFile()
|
/dports/mail/p5-Sisimai/Sisimai-v4.25.11/lib/Sisimai/Mail/ |
H A D | Mbox.pm | 47 my $filehandle = $self->{'handle'}; 60 seek($filehandle, $seekoffset, 0); 62 while( my $r = <$filehandle> ) { 69 $filehandle->close unless $seekoffset < $self->{'size'};
|
/dports/lang/perl5.34/perl-5.34.0/t/lib/warnings/ |
H A D | pp_hot | 3 print() on unopened filehandle abc [pp_print] 12 print() on closed filehandle %s [pp_print] 61 print() on unopened filehandle abc at - line 4. 69 print() on unopened filehandle a\0b at - line 4. 70 print() on unopened filehandle \0b at - line 5. 134 print() on closed filehandle STDIN at - line 4. 135 print() on closed filehandle STDIN at - line 6. 160 print() on closed filehandle $fh1 at - line 5. 161 print() on closed filehandle $fh2 at - line 7. 162 print() on closed filehandle $fh3 at - line 9. [all …]
|
/dports/lang/perl5.30/perl-5.30.3/t/lib/warnings/ |
H A D | pp_hot | 3 print() on unopened filehandle abc [pp_print] 12 print() on closed filehandle %s [pp_print] 61 print() on unopened filehandle abc at - line 4. 69 print() on unopened filehandle a\0b at - line 4. 70 print() on unopened filehandle \0b at - line 5. 134 print() on closed filehandle STDIN at - line 4. 135 print() on closed filehandle STDIN at - line 6. 160 print() on closed filehandle $fh1 at - line 5. 161 print() on closed filehandle $fh2 at - line 7. 162 print() on closed filehandle $fh3 at - line 9. [all …]
|
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/t/lib/warnings/ |
H A D | pp_hot | 3 print() on unopened filehandle abc [pp_print] 12 print() on closed filehandle %s [pp_print] 61 print() on unopened filehandle abc at - line 4. 69 print() on unopened filehandle a\0b at - line 4. 70 print() on unopened filehandle \0b at - line 5. 134 print() on closed filehandle STDIN at - line 4. 135 print() on closed filehandle STDIN at - line 6. 160 print() on closed filehandle $fh1 at - line 5. 161 print() on closed filehandle $fh2 at - line 7. 162 print() on closed filehandle $fh3 at - line 9. [all …]
|
/dports/lang/perl5.32/perl-5.32.1/t/lib/warnings/ |
H A D | pp_hot | 3 print() on unopened filehandle abc [pp_print] 12 print() on closed filehandle %s [pp_print] 61 print() on unopened filehandle abc at - line 4. 69 print() on unopened filehandle a\0b at - line 4. 70 print() on unopened filehandle \0b at - line 5. 134 print() on closed filehandle STDIN at - line 4. 135 print() on closed filehandle STDIN at - line 6. 160 print() on closed filehandle $fh1 at - line 5. 161 print() on closed filehandle $fh2 at - line 7. 162 print() on closed filehandle $fh3 at - line 9. [all …]
|