/trunk/main/solenv/bin/modules/installer/ |
H A D | download.pm | 89 my ( $filename ) = @_; 92 $filename = $filename . $installer::globals::downloadfileextension; 97 return $filename; 160 my ($filename) = @_; 220 my ($filename, $getuidlibrary) = @_; 243 $sumoutput =~ s/\s+$filename\s$//; 724 my $filename = "version.info"; 727 if ( -f $filename ) 773 return $filename; 1462 my ( $filename ) = @_; [all …]
|
H A D | epmfile.pm | 442 my $filename = $onefile->{'Name'}; 443 if ( $filename eq $readmefilename ) 968 my ($file, $insertline, $filename) = @_; 1030 $filename, 1219 my ($changefile, $filename) = @_; 2002 my $filename = $1 . "\n"; 2003 $filename =~ s/^\s*\Q$prefix\E//; 2014 my $filename = $1 . "\n"; 2073 my $filename = ""; 2082 $filename = $packagename . ".pkginfo"; [all …]
|
H A D | upx.pm | 40 my ( $filename, $onefile ) = @_; 44 if (( $filename =~ /\.so\s*$/ ) || 45 ( $filename =~ /\.dll\s*$/ ) || 46 ( $filename =~ /\.exe\s*$/ ) || 47 ( $filename =~ /\.bin\s*$/ )) 63 my ( $filename ) = @_; 66 my $systemcall = $installer::globals::upxfile . " -" . $compression . " " . $filename; 75 $infoline = "WARNING: Could not successfully upx $filename! Using original file.\n"; 80 $infoline = "SUCCESS: upx $filename!\n";
|
/trunk/main/l10ntools/java/jpropex/java/ |
H A D | JPropEx.java | 138 private SdfEntity prepareSdfObj( String filename ) in prepareSdfObj() argument 140 String path = makeAbs( filename ).trim(); in prepareSdfObj() 171 private Vector readFileList( String filename ) in readFileList() argument 190 int type = detectFormat( filename ); in mergeFile() 201 SdfEntity dolly = prepareSdfObj( filename ); in mergeFile() 244 int filenameIdx = filename.lastIndexOf( "/" ) > 0 ? filename.lastIndexOf( "/" )+1 : 0 ; in writeSinglePropertiesFile() 310 private int detectFormat( String filename ) in detectFormat() argument 316 else if( filename.endsWith( ".properties" ) ) in detectFormat() 353 …return new StringBuffer().append( filename.substring( filenameIdx , filename.lastIndexOf( "_en_US.… in formatFilename() 360 …return new StringBuffer().append( filename.substring( filenameIdx , filename.lastIndexOf( "_en_us.… in formatFilename() [all …]
|
H A D | SdfData.java | 30 private String filename; field in SdfData 40 public SdfData( String filename ) in SdfData() argument 43 this.filename = filename; in SdfData() 67 … in = new BufferedReader( new InputStreamReader( new FileInputStream( filename ), "UTF-8" ) ); in read() 83 System.out.println("Warning: can not read file " + filename); in read() 86 public void write( String filename ) in write() argument 91 out = new FileWriter( filename , true ); // Always append in write() 100 System.out.println("Error: Can't write to file " + filename); in write()
|
/trunk/main/l10ntools/java/receditor/java/transex3/model/ |
H A D | SdfString.java | 31 private String filename = null; field in SdfString 54 if( filename == null ) in addSourceString() 55 filename = aSdfEntity.getSource_file(); in addSourceString() 69 if( filename == null ) in addLanguageString() 107 return filename; in getFileName() 110 public void setFileName(String filename) { in setFileName() argument 111 this.filename = filename; in setFileName() 126 return filename; in getRealFileName() 129 String filename = getRealFileName(); in removeFile() local 130 File aFile = new File( filename ); in removeFile() [all …]
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/ |
H A D | _XSimpleFileAccess.java | 71 String filename = dirname+"XSimpleFileAccess.txt"; in _copy() local 77 oObj.copy(filename,copiedFile); in _copy() 101 String filename = dirname+"XSimpleFileAccess.txt"; in _move() local 107 oObj.copy(filename,copiedFile); in _move() 108 filename = copiedFile; in _move() 110 oObj.move(filename,copiedFile); in _move() 139 oObj.copy(filename,copiedFile); in _kill() 196 oObj.copy(filename, readonlyCopy); in _isReadOnly() 242 oObj.copy(filename, readonlyCopy); in _setReadOnly() 295 int fSize = oObj.getSize(filename); in _getSize() [all …]
|
/trunk/main/javainstaller2/src/Properties/ |
H A D | create_property.pl | 128 my ($filename) = @_; 130 open( IN, "<$filename" ) || die "cannot open $filename"; 256 my $filename = $template_file_name; 262 $filename =~ s/_template\./$onelanguage\./; 266 $filename =~ s/_template//; 269 return $filename; 287 my ($outputpath, $filename, $filecontent) = @_; 289 $filename = $outputpath . $separator . $filename; 291 if ( open( OUT, ">$filename" ) ) 297 push(@allnewpropertyfiles, $filename); [all …]
|
/trunk/main/rsc/source/rscpp/ |
H A D | cpp2.c | 432 openinclude(char* filename, int searchlocal) in openinclude() argument 459 if (filename[0] != '/' in openinclude() 461 strcat(tmpname, filename); in openinclude() 463 strcpy(tmpname, filename); in openinclude() 466 if (!hasdirectory(filename, tmpname) in openinclude() 468 strcat(tmpname, filename); in openinclude() 470 strcpy(tmpname, filename); in openinclude() 485 if (filename[0] == '/') in openinclude() 486 strcpy(tmpname, filename); in openinclude() 491 if (filename[0] == '\\') in openinclude() [all …]
|
H A D | cpp3.c | 51 openfile(char* filename) in openfile() argument 59 if ((fp = fopen(filename, "r")) == NULL) { in openfile() 62 perror(filename); in openfile() 68 fprintf(stderr, "Reading from \"%s\"\n", filename); in openfile() 70 addfile(fp, filename); in openfile() 74 void addfile(FILE* fp, char* filename) in addfile() argument 87 file = getfile(NBUFF, filename); in addfile() 363 readoptions(char* filename, char*** pfargv) argument 375 filename++; 376 if ((fp = fopen(filename, "r")) == NULL) { [all …]
|
/trunk/main/sal/textenc/generate/ |
H A D | big5hkscs2001.pl | 136 $filename = "BIG5.TXT"; 137 open IN, ("input/" . $filename) or die "Cannot read " . $filename; 166 $filename = "CP950.TXT"; 167 open IN, ("input/" . $filename) or die "Cannot read " . $filename; 180 print "WARNING! In ", $filename, ", both ", 301 $filename = "big5-iso.txt"; 302 open IN, ("input/" . $filename) or die "Cannot read " . $filename; 419 $filename = lc($id) . ".tab"; 420 open OUT, ("> " . $filename) or die "Cannot write " . $filename; 423 $filename = lc($id). ".pl"; [all …]
|
H A D | cns116431992.pl | 114 $filename = "Unihan.txt"; 115 open IN, ("input/" . $filename) or die "Cannot read " . $filename; 197 $filename = "CNS11643.TXT"; 198 open IN, ("input/" . $filename) or die "Cannot read " . $filename; 244 $filename = "Uni2CNS"; 245 open IN, ("input/" . $filename) or die "Cannot read " . $filename; 400 $filename = lc($id) . ".tab"; 401 open OUT, ("> " . $filename) or die "Cannot write " . $filename; 404 $filename = lc($id). ".pl"; 405 open IN, $filename or die "Cannot read ". $filename;
|
H A D | gb180302000.pl | 65 $filename = "gb-18030-2000.xml"; 66 open IN, ("input/" . $filename) or die "Cannot read " . $filename; 191 $filename = lc($id) . ".tab"; 192 open OUT, ("> " . $filename) or die "Cannot write " . $filename; 195 $filename = lc($id). ".pl"; 196 open IN, $filename or die "Cannot read ". $filename;
|
/trunk/main/solenv/bin/ |
H A D | download_external_dependencies.pl | 107 my $filename = shift; 111 die "can not open data file $filename" if ! -e $filename; 117 open my $in, $filename; 403 return 0 unless -f $filename; 415 open my $in, $filename; 422 open my $in, $filename; 435 unlink($filename); 510 my $filename = File::Spec->catfile($ENV{'TARFILE_LOCATION'}, $name); 512 my $temporary_filename = $filename . ".part"; 585 $filename = File::Spec->catfile($ENV{'TARFILE_LOCATION'}, $file_checksum . "-" . $name); [all …]
|
H A D | leconvert.pl | 40 my $filename = shift; 46 open INFILE, "$filename"or die "ERROR: Couldn\'t open $filename for reading.\n"; 54 open OUTFILE, ">$filename" or die "ERROR: Couldn\'t open $filename for writing.\n"; 69 my $filename = $param; 70 $filename =~ s/^@//; 71 open CMDFILE, "$filename" or die "ERROR: Couldn\'t open $filename for reading.\n";
|
/trunk/main/solenv/bin/modules/installer/patch/ |
H A D | FileOperations.pm | 87 my ($self, $filename) = @_; 93 $filename 166 my $filename = $operation->[1]; 167 if ( ! -f $filename && ! defined $files{$filename}) 170 … push @error_messages, sprintf("file %s does not exist and can not be compressed", $filename); 269 my $filename = $operation->[1]; 270 $installer::logger::Lang->printf("compressing %s\n", $filename); 276 $result = IO::Compress::Bzip2::bzip2($filename => $filename.".bz2"); 280 $installer::logger::Lang->printf("ERROR: could not compress %s\n", $filename); 284 unlink($filename);
|
H A D | MsiTable.pm | 43 my ($class, $filename, $table_name) = @_; 47 'filename' => $filename, 56 if (defined $filename && -f $filename) 58 $self->ReadFile($filename); 139 my ($self, $filename) = @_; 141 if ( ! (-f $filename && -r $filename)) 143 printf STDERR ("can not open idt file %s for reading\n", $filename); 148 open my $in, "<", $filename; 202 my ($self, $filename) = @_;
|
/trunk/main/setup_native/scripts/ |
H A D | admin.pl | 608 foreach my $filename ( keys %{$cabfilehash} ) 614 my $realfilename = $filename; 785 my $filename = $3; 788 if ( $filename =~ /^\s*(.*?)\s*\|\s*(.*?)\s*$/ ) { $filename = $2; } 792 $helphash{'FileName'} = $filename; 1354 if ( ! -f $filename ) { exit_program("ERROR: Could not find required file: $filename !"); } 1355 my $filecontent = read_file($filename); 1396 $filecontent = read_file($filename); 1400 $filecontent = read_file($filename); 1404 $filecontent = read_file($filename); [all …]
|
/trunk/main/solenv/bin/modules/installer/windows/ |
H A D | sign.pm | 375 …if ( ! -f $filename ) { installer::exiter::exit_program("ERROR: Could not find required file: $fil… 381 $filecontent = installer::files::read_file($filename); 400 foreach my $filename ( keys %{$cabfilehash} ) 402 if ( $filename =~ /^\s*\#/ ) # starting with a hash 406 my $realfilename = $filename; 408 $allcabfileshash{$realfilename} = $filename; 867 my $filename = $1; 868 push(@allfiles, $filename); 963 my $filename = ${$allfiles}[$i]; 965 …if ( ! -f $filename ) { installer::exiter::exit_program("ERROR: Could not find file: $filename!", … [all …]
|
/trunk/main/xmerge/source/palmtests/qa/comparator/ |
H A D | pdbcomparison.java | 147 private boolean validateAndCreateFile (String filename) in validateAndCreateFile() argument 149 if (filename == null) return false; in validateAndCreateFile() 153 f = new File(filename); in validateAndCreateFile() 155 System.out.println("Could not create a File object for file " + filename); in validateAndCreateFile() 161 String newFile = filename + ".bak"; in validateAndCreateFile() 222 private boolean checkFile(String filename) in checkFile() argument 224 if (filename == null) return false; in checkFile() 228 f = new File(filename); in checkFile() 230 System.out.println("Could not create a File object for file " + filename); in checkFile() 236 System.out.println("File " + filename + " does not exist... "); in checkFile() [all …]
|
/trunk/main/scripting/examples/java/debugger/ |
H A D | OOBeanShellDebugger.java | 64 private String filename = null; field in OOBeanShellDebugger 67 public void go(XScriptContext context, String filename) { in go() argument 68 if (filename != null && filename != "") { in go() 70 FileInputStream fis = new FileInputStream(filename); in go() 71 this.filename = filename; in go() 148 if (labels[i].equals("Save") && filename == null) { in initUI() 242 if (!filename.endsWith(".bsh")) { in promptForSaveName() 243 filename += ".bsh"; in promptForSaveName() 250 if (filename == null) { in saveTextArea() 255 if (filename != null) { in saveTextArea() [all …]
|
/trunk/main/javainstaller2/src/Helpfiles/ |
H A D | create_helpfiles.pl | 123 my ($filename) = @_; 125 open( IN, "<$filename" ) || die "cannot open $filename"; 168 my $filename = ${$helpfilecontent}[$i]; 169 $filename =~ s/\s//g; 170 push(@allhelpfiles, $filename); 254 my ($filename, $filecontent) = @_; 256 if ( open( OUT, ">$filename" ) ) 262 push(@allnewpropertyfiles, $filename); 263 print "Created file: $filename\n";
|
/trunk/main/l10ntools/scripts/tool/ |
H A D | l10ntool.py | 51 def parse_file(self, filename): argument 64 def format_outputfile(self, filename, language): argument 65 extension = filename[filename.rfind('.')+1:] 66 file = filename[:filename.rfind('.')] 69 …{ 'filename': filename, 'fileNoExt': file, 'language': language, 'extension': extension, 'path_pre… 172 def make_dirs(self, filename): argument 173 dir = filename[:filename.rfind('/')]
|
/trunk/main/sc/source/ui/vba/testvba/ |
H A D | testResult.pl | 39 my $filename = basename($testfile); 40 $filename = "$logdir/$filename"; 41 print "processing $testfile $filename\n"; 42 if ( -f $filename ) { 48 my $status = system("diff -U 0 -p $testfile $filename | $timestampclean > $tmpFile"); 157 $filename = $a; 158 if ( "$testfilepath" eq "$filename" )
|
/trunk/main/basegfx/qa/ |
H A D | mkpolygons.pl | 53 my $filename = pop @_; 63 my $fullname = File::Spec->catfile ($TempDir, $filename); 77 my $filename = pop @_; 80 my $zip_name = $filename; 99 $zip_name = File::Spec->rel2abs ($filename); 111 if ( -e $filename) 113 if (unlink ($filename) == 0) 115 print "Existing file $filename could not be deleted.\n";
|