Lines Matching refs:i
60 for ( my $i = 0; $i <= $#{$alltargzfiles}; $i++ )
62 my $onefile = $localdirectory . $installer::globals::separator . ${$alltargzfiles}[$i];
64 my $systemcall = "cd $localdirectory; cat ${$alltargzfiles}[$i] \| gunzip \| tar -xf -";
196 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
198 my $onefile = ${$filesref}[$i];
201 if ((( $i > 0 ) && ( $i%100 == 0 )) || ( $i == $#{$filesref} )) # limiting to 100 files
255 for ( my $i = 0; $i <= $#header; $i++ ) { push(@{$content},$header[$i]); }
271 for ( my $i = 0; $i <= $#{$installer::globals::nopatchfilecollector}; $i++ )
273 my $onefile = ${$installer::globals::nopatchfilecollector}[$i];
361 for ( my $i = 0; $i <= $#{$alldirs}; $i++ )
363 if ( ${$alldirs}[$i] eq $fulldir ) { next; } # do not delete the newly created directory
365 …if ( ${$alldirs}[$i] =~ /^\s*\Q$pre_inprogress\E\d+\Q$post\E\s*$/ ) # removing old "inprogress" di…
367 installer::systemactions::remove_complete_directory(${$alldirs}[$i], 1);
370 …if ( ${$alldirs}[$i] =~ /^\s*\Q$pre_witherror\E\d+\Q$post\E\s*$/ ) # removing old "witherror" dire…
372 installer::systemactions::remove_complete_directory(${$alldirs}[$i], 1);
529 for ( my $i = 0; $i <= $#installer::globals::removedirs; $i++ )
531 if ( -d $installer::globals::removedirs[$i] )
533 …$installer::logger::Info->print( "... removing directory $installer::globals::removedirs[$i] ...\n…
534 installer::systemactions::remove_complete_directory($installer::globals::removedirs[$i], 1);
561 for ( my $i = 0; $i <= $#installer::globals::jdsremovedirs; $i++ )
563 if ( -d $installer::globals::jdsremovedirs[$i] )
565 …$installer::logger::Info->print( "... removing directory $installer::globals::jdsremovedirs[$i] ..…
566 … installer::systemactions::remove_complete_directory($installer::globals::jdsremovedirs[$i], 1);
581 for ( my $i = 0; $i <= $#{$arrayref}; $i++ )
583 push(@newarray, ${$arrayref}[$i]);
619 for ( my $i = 0; $i <= $#{$patharrayref}; $i++ )
621 my $line = ${$patharrayref}[$i];
639 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
641 my $oneitem = ${$itemsref}[$i];
665 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
667 my $oneitem = ${$itemsref}[$i];
691 …for ( my $i = 0; $i <= $#{$newfiles}; $i++ ) { push(@{$installer::globals::nopatchfilecollector}, …
704 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
706 my $oneitem = ${$itemsref}[$i];
729 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
731 my $oneitem = ${$itemsref}[$i];
775 for ( my $i = 0; $i <= $#{$directoriesarray}; $i++ )
777 my $onedir = ${$directoriesarray}[$i];
790 for ( my $i = 0; $i <= $#{$filesarray}; $i++ )
792 my $onefile = ${$filesarray}[$i];
812 for ( my $i = 0; $i <= $#{$linksarray}; $i++ )
814 my $onelink = ${$linksarray}[$i];
823 for ( my $i = 0; $i <= $#{$unixlinksarray}; $i++ )
825 my $onelink = ${$unixlinksarray}[$i];
882 for ( my $i = 0; $i <= $#{$templatefile}; $i++ )
884 ${$templatefile}[$i] =~ s/\Q$placeholder\E/$newstring/g;
896 for ( my $i = 0; $i <= $#{$templatefile}; $i++ )
898 if ( ${$templatefile}[$i] =~ /\Q$placeholder\E/ )
900 my @return = splice(@{$templatefile}, $i, 1, @{$arrayref});
915 for ( my $i = 0; $i <= $#{$registryitemsref}; $i++ )
917 $registryitem = ${$registryitemsref}[$i];
948 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
950 my $onefile = ${$filesref}[$i];
978 for ( my $i = 0; $i <= $#{$folderitemsref}; $i++ )
980 my $folderitem = ${$folderitemsref}[$i];
1035 for ( my $i = 0; $i <= $#{$registryitemsref}; $i++ )
1037 my $registryitem = ${$registryitemsref}[$i];
1111 for ( my $i = 0; $i <= $#{$inf_files}; $i++ )
1113 my $inffile = ${$inf_files}[$i];
1188 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
1190 my $oneitem = ${$itemsref}[$i];
1220 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
1222 my $oneitem = ${$itemsref}[$i];
1245 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
1247 my $oneitem = ${$itemsref}[$i];
1272 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
1274 my $onefile = ${$filesref}[$i];
1299 for ( my $i = 0; $i <= $#{$arrayref}; $i++ )
1301 my $under = ${$arrayref}[$i];
1303 for ( my $j = $i + 1; $j <= $#{$arrayref}; $j++ )
1309 ${$arrayref}[$i] = $over;
1331 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
1333 my $onefile = ${$filesref}[$i];
1390 for ( my $i = 0; $i <= $#{$linksref}; $i++ )
1392 my $onelink = ${$linksref}[$i];
1494 for ( my $i = 0; $i <= $#{$patchfiledirectories}; $i++ )
1496 $directory = ${$patchfiledirectories}[$i];
1532 for ( my $i = 0; $i <= $#{$patchfilelist}; $i++ )
1534 my $line = ${$patchfilelist}[$i];
1546 for ( my $i = 0; $i <= $#lastsection; $i++ )
1548 push(@patchfile, $lastsection[$i]);
1575 for ( my $i = 0; $i <= $#{$patchfilelist}; $i++ )
1577 my $line = ${$patchfilelist}[$i];
1582 for ( my $i = 0; $i <= $#{$patchfilelist}; $i++ )
1584 my $line = ${$patchfilelist}[$i];
1642 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
1644 my $onefile = ${$filesref}[$i];
1778 for ( my $i = 0; $i <= $#{$listfile}; $i++ )
1780 my $line = ${$listfile}[$i];
1803 for ( my $i = 0; $i <= $#{$file}; $i++ )
1805 my $line = ${$file}[$i];
1835 for ( my $i = 0; $i <= $#{$file}; $i++ )
1837 ${$file}[$i] =~ s/\$\{$searchstring\}/$variable/g;
1895 for ( my $i = 0; $i <= $#{$allexcludepackages}; $i++ )
1897 my $oneexcludepackage = ${$allexcludepackages}[$i];
1925 for ( my $i = 0; $i <= $#{$allpackages}; $i++ )
1927 my $onepackage = ${$allpackages}[$i];
2012 for ( my $i = 0; $i <= $#{$allcopypackages}; $i++ )
2014 my $onepackage = ${$allcopypackages}[$i];
2156 for ( my $i = 0; $i <= $#{$array1}; $i++ )
2159 ${$array1}[$i] =~ s/^\s*//;
2160 ${$array2}[$i] =~ s/^\s*//;
2161 ${$array1}[$i] =~ s/\s*$//;
2162 ${$array2}[$i] =~ s/\s*$//;
2164 if ( ! ( ${$array1}[$i] eq ${$array2}[$i] ))
2186 for ( my $i = 0; $i <= $#installer::globals::allscpactions; $i++ )
2188 my $onescpaction = $installer::globals::allscpactions[$i];
2237 for ( my $i = 0; $i <= $#{$allscpactions}; $i++ )
2239 push(@installer::globals::allscpactions, ${$allscpactions}[$i]);
2313 for ( my $i = 0; $i <= $#{$includefiles}; $i++ )
2315 my $includefilename = ${$includefiles}[$i];
2371 for ( my $i = 0; $i <= $#{$patharrayref}; $i++ )
2373 $includepath = ${$patharrayref}[$i];
2430 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
2432 $onefile = ${$filesref}[$i];
2461 for ( my $i = 0; $i <= $#{$itemsref}; $i++ )
2463 my $localitem = ${$itemsref}[$i];
2565 for ( my $i = 0; $i <= $#{$pkginfofile}; $i++ )
2567 if ( ${$pkginfofile}[$i] =~ /^\s*ARCH=i386\s*$/ )
2569 ${$pkginfofile}[$i] =~ s/i386/i86pc/;
2589 for ( my $i = 0; $i <= $#{$pkginfofile}; $i++ )
2591 if ( ${$pkginfofile}[$i] =~ /^\s*SUNW_REQUIRES=(\S*?)\s*$/ )
2625 for ( my $i = 0; $i <= $#{$pkgmapfile}; $i++ )
2627 if ( ${$pkgmapfile}[$i] =~ /(^.*\bpkginfo\b\s+)(\d+)(\s+)(\d+)(\s+)(\d+)(\s*$)/ )
2630 ${$pkgmapfile}[$i] = $newline;
2645 for ( my $i = 0; $i <= $#{$copyfiles}; $i++ )
2647 my $sourcefile = $olddir . $installer::globals::separator . ${$copyfiles}[$i];
2648 my $destfile = $newdir . $installer::globals::separator . ${$copyfiles}[$i];
2682 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
2684 print SOURCEPATHLIST "${$filesref}[$i]->{'sourcepath'}\n";
2690 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
2692 ${$filesref}[$i]->{'cyg_sourcepath'} = $cyg_sourcepathlist[$i];
2717 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
2719 my $filename = ${$filesref}[$i]->{'sourcepath'};
2723 if (( $i == $#{$filesref} ) || ((( $counter % $max ) == 0 ) && ( $i > 0 )))
2725 my $tmpfilename = "cygwinhelper_" . $i . ".txt";
2775 for ( my $i = 0; $i <= $#{$filesref}; $i++ )
2777 …if (( ! exists(${$filesref}[$i]->{'cyg_sourcepath'}) ) || ( ${$filesref}[$i]->{'cyg_sourcepath'} e…
2779 $infoline = "ERROR: No cygwin sourcepath defined for file ${$filesref}[$i]->{'sourcepath'}\n";
2781 …installer::exiter::exit_program("ERROR: No cygwin sourcepath defined for file ${$filesref}[$i]->{'…
2802 for ( my $i = 0; $i <= $#{$pkgmapfile}; $i++ )
2804 $line = ${$pkgmapfile}[$i];
2838 for ( my $i = 0; $i <= $#{$allsubdirs}; $i++ )
2840 my $sourcedir = $olddir . $installer::globals::separator . ${$allsubdirs}[$i];
2841 my $destdir = $newdir . $installer::globals::separator . ${$allsubdirs}[$i];
2848 for ( my $i = 0; $i <= $#allcopyfiles; $i++ )
2850 my $sourcefile = $olddir . $installer::globals::separator . $allcopyfiles[$i];
2851 my $destfile = $newdir . $installer::globals::separator . $allcopyfiles[$i];
2913 for ( my $i = 0; $i <= $#allcopyfiles; $i++ )
2915 my $sourcefile = $olddir . $installer::globals::separator . $allcopyfiles[$i];
2916 my $destfile = $newdir . $installer::globals::separator . $allcopyfiles[$i];
2965 for ( my $i = 0; $i <= $#{$filesarrayref}; $i++ )
2967 my $onefile = ${$filesarrayref}[$i];
3072 …for ( my $i = 0; $i <= $#{$productlanguagesarrayref}; $i++ ) { $productlanguages{${$productlanguag…
3170 …for ( my $i = 0; $i <= $#{$licensefile}; $i++ ) { $includestring = $includestring . ${$licensefile…
3171 …for ( my $i = 0; $i <= $#{$setupfile}; $i++ ) { ${$setupfile}[$i] =~ s/LICENSEFILEPLACEHOLDER/$inc…
3293 my $i = @$arrayref;
3294 while (--$i)
3296 my $j = int rand ($i+1);
3297 @$arrayref[$i,$j] = @$arrayref[$j,$i];
3377 for ( my $i = 0; $i <= $#{$pkgmapfile}; $i++ )
3379 if ( ${$pkgmapfile}[$i] =~ /(^.*\b\Q$shortfilename\E\b\s+)(\d+)(\s+)(\d+)(\s+)(\d+)(\s*$)/ )
3382 ${$pkgmapfile}[$i] = $newline;
3397 for ( my $i = 0; $i <= $#{$packages}; $i++ )
3399 …my $copyrightfilename = ${$packages}[$i] . $installer::globals::separator . "install" . $installer…
3410 …for ( my $i = 0; $i <= $#{$installer::globals::englishlicense}; $i++ ) { push(@{$copyrightfile}, $…
3418 my $pkgmapfilename = ${$packages}[$i] . $installer::globals::separator . "pkgmap";
3448 for ( my $i = 0; $i <= $#{$allpackages}; $i++ )
3450 …my $pkgmapfile = $searchdir . $installer::globals::separator . ${$allpackages}[$i] . $installer::g…
3451 …my $destfilename = $pkgmapsubdir . $installer::globals::separator . ${$allpackages}[$i] . "_pkgmap…