Home
last modified time | relevance | path

Searched refs:ARGV (Results 1 – 25 of 194) sorted by relevance

12345678

/external/ImageMagick/scripts/
Dtxt2html296 while ($ARGV[0] =~ /^[-+].+/)
298 if (($ARGV[0] eq "-r" || $ARGV[0] eq "--hrule") &&
299 $ARGV[1] =~ /^%d+$/)
301 $hrule_min = $ARGV[1];
302 shift @ARGV;
306 if (($ARGV[0] eq "-s" || $ARGV[0] eq "--shortline") &&
307 $ARGV[1] =~ /^\d+$/)
309 $short_line_length = $ARGV[1];
310 shift @ARGV;
314 if (($ARGV[0] eq "-p" || $ARGV[0] eq "--prewhite") &&
[all …]
/external/curl/tests/
Dhttpserver.pl53 while(@ARGV) {
54 if($ARGV[0] eq '--pidfile') {
55 if($ARGV[1]) {
56 $pidfile = $ARGV[1];
57 shift @ARGV;
60 elsif($ARGV[0] eq '--logfile') {
61 if($ARGV[1]) {
62 $logfile = $ARGV[1];
63 shift @ARGV;
66 elsif($ARGV[0] eq '--srcdir') {
[all …]
Dsecureserver.pl93 while(@ARGV) {
94 if($ARGV[0] eq '--verbose') {
97 elsif($ARGV[0] eq '--proto') {
98 if($ARGV[1]) {
99 $proto = $ARGV[1];
100 shift @ARGV;
103 elsif($ARGV[0] eq '--accept') {
104 if($ARGV[1]) {
105 if($ARGV[1] =~ /^(\d+)$/) {
107 shift @ARGV;
[all …]
Drtspserver.pl50 while(@ARGV) {
51 if($ARGV[0] eq '--pidfile') {
52 if($ARGV[1]) {
53 $pidfile = $ARGV[1];
54 shift @ARGV;
57 elsif($ARGV[0] eq '--logfile') {
58 if($ARGV[1]) {
59 $logfile = $ARGV[1];
60 shift @ARGV;
63 elsif($ARGV[0] eq '--srcdir') {
[all …]
Dtftpserver.pl51 while(@ARGV) {
52 if($ARGV[0] eq '--pidfile') {
53 if($ARGV[1]) {
54 $pidfile = $ARGV[1];
55 shift @ARGV;
58 elsif($ARGV[0] eq '--logfile') {
59 if($ARGV[1]) {
60 $logfile = $ARGV[1];
61 shift @ARGV;
64 elsif($ARGV[0] eq '--srcdir') {
[all …]
Dhttp2-server.pl35 while(@ARGV) {
36 if($ARGV[0] eq '--verbose') {
39 elsif($ARGV[0] eq '--pidfile') {
40 if($ARGV[1]) {
41 $pidfile = $ARGV[1];
42 shift @ARGV;
45 elsif($ARGV[0] eq '--nghttpx') {
46 if($ARGV[1]) {
47 $nghttpx = $ARGV[1];
48 shift @ARGV;
[all …]
Dsshserver.pl102 while(@ARGV) {
103 if($ARGV[0] eq '--verbose') {
106 elsif($ARGV[0] eq '--debugprotocol') {
110 elsif($ARGV[0] eq '--user') {
111 if($ARGV[1]) {
112 $username = $ARGV[1];
113 shift @ARGV;
116 elsif($ARGV[0] eq '--id') {
117 if($ARGV[1]) {
118 if($ARGV[1] =~ /^(\d+)$/) {
[all …]
Dtestcurl.pl91 while ($ARGV[0]) {
92 if ($ARGV[0] =~ /--target=/) {
93 $targetos = (split(/=/, shift @ARGV, 2))[1];
95 elsif ($ARGV[0] =~ /--setup=/) {
96 $setupfile = (split(/=/, shift @ARGV, 2))[1];
98 elsif ($ARGV[0] =~ /--extvercmd=/) {
99 $extvercmd = (split(/=/, shift @ARGV, 2))[1];
101 elsif ($ARGV[0] =~ /--mktarball=/) {
102 $mktarball = (split(/=/, shift @ARGV, 2))[1];
104 elsif ($ARGV[0] =~ /--name=/) {
[all …]
/external/icu/icu4c/source/tools/genren/
Dgenren.pl45 while($ARGV[0] =~ /^-/) { # detects whether there are any arguments
46 $_ = shift @ARGV; # extracts the argument for processing
49 /^-o/ && (($headername = shift (@ARGV)), next); # output file
50 /^-n/ && (($nmopts = shift (@ARGV)), next); # nm opts
51 /^-p/ && (($post = shift (@ARGV)), next); # nm opts
52 /^-x/ && (($mode = shift (@ARGV)), next); # nm opts
53 /^-S/ && (($U_ICU_VERSION_SUFFIX = shift(@ARGV)), next); # pick the suffix
58 unless(@ARGV > 0) {
134 for(;@ARGV; shift(@ARGV)) {
136 @NMRESULT = `nm $nmopts $ARGV[0] $post`;
[all …]
/external/llvm/utils/
Dllvm-native-gxx20 for ($i = 0; $i <= $#ARGV; ++$i) {
21 if ($ARGV[$i] =~ /-mllvm-backend=([a-z0-9]*)/) {
24 splice (@ARGV, $i, 1);
27 } elsif ($ARGV[$i] eq "-E") {
29 } elsif ($ARGV[$i] eq "-c") {
30 $GCCOptions .= " " . $ARGV[$i];
32 } elsif ($ARGV[$i] eq "-v") {
33 $GCCOptions .= " " . $ARGV[$i];
35 } elsif ($ARGV[$i] eq "-o") {
36 $OutputFile = $ARGV[$i + 1];
[all …]
/external/swiftshader/third_party/LLVM/utils/
Dllvm-native-gxx20 for ($i = 0; $i <= $#ARGV; ++$i) {
21 if ($ARGV[$i] =~ /-mllvm-backend=([a-z0-9]*)/) {
24 splice (@ARGV, $i, 1);
27 } elsif ($ARGV[$i] eq "-E") {
29 } elsif ($ARGV[$i] eq "-c") {
30 $GCCOptions .= " " . $ARGV[$i];
32 } elsif ($ARGV[$i] eq "-v") {
33 $GCCOptions .= " " . $ARGV[$i];
35 } elsif ($ARGV[$i] eq "-o") {
36 $OutputFile = $ARGV[$i + 1];
[all …]
Dllvm-native-gcc20 for ($i = 0; $i <= $#ARGV; ++$i) {
21 if ($ARGV[$i] =~ /-mllvm-backend=([a-z0-9]*)/) {
24 splice (@ARGV, $i, 1);
27 } elsif ($ARGV[$i] eq "-E") {
29 } elsif ($ARGV[$i] eq "-c") {
30 $GCCOptions .= " " . $ARGV[$i];
32 } elsif ($ARGV[$i] eq "-v") {
33 $GCCOptions .= " " . $ARGV[$i];
35 } elsif ($ARGV[$i] eq "-o") {
36 $OutputFile = $ARGV[$i + 1];
[all …]
DNewNightlyTest.pl155 while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
160 if (/^-config$/) { $CONFIG_PATH = "$ARGV[0]"; shift; next; }
168 if (/^-parallel-jobs$/) { $PARALLELJOBS = "$ARGV[0]"; shift; next;}
188 if (/^-test-opts$/) { $PROGTESTOPTS .= " $ARGV[0]"; shift; next; }
192 if (/^-f2c$/) { $CONFIGUREARGS .= " --with-f2c=$ARGV[0]";
194 if (/^-with-externals$/) { $CONFIGUREARGS .= " --with-externals=$ARGV[0]";
196 if (/^-configure-args$/) { $CONFIGUREARGS .= " $ARGV[0]";
198 if (/^-submit-server/) { $SUBMITSERVER = "$ARGV[0]"; shift; next; }
199 if (/^-submit-script/) { $SUBMITSCRIPT = "$ARGV[0]"; shift; next; }
200 if (/^-submit-aux/) { $SUBMITAUX = "$ARGV[0]"; shift; next; }
[all …]
Dprofile.pl27 while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
36 die "-o option requires a filename argument!" if (!scalar(@ARGV));
37 $ProgramOpts .= " -llvmprof-output $ARGV[0]";
38 $ProfileFile = $ARGV[0];
59 die "Must specify LLVM bitcode file as first argument!" if (@ARGV == 0);
61 my $BytecodeFile = $ARGV[0];
63 shift @ARGV;
72 "$BytecodeFile.inst $ProgramOpts " . (join ' ', @ARGV);
/external/dnsmasq/contrib/dynamic-dnsmasq/
Ddynamic-dnsmasq.pl50 if ( @ARGV < 1 ) {
52 } elsif ( lc $ARGV[0] eq "add" ) {
53 die "Usage: $0 ADD USER PASS HOSTNAME\n" unless @ARGV == 4;
54 add_acct($ARGV[1], $ARGV[2], $ARGV[3]);
55 } elsif ( lc $ARGV[0] eq "del" ) {
56 die "Usage: $0 DEL USER\n" unless @ARGV == 2;
57 print "Are you sure you want to delete user \"$ARGV[1]\"? [N/y] ";
61 del_acct($ARGV[1]);
63 } elsif ( lc $ARGV[0] eq "listusers" or lc $ARGV[0] eq "writehostsfile" ) {
66 if ( lc $ARGV[0] eq "writehostsfile" ) {
[all …]
/external/syslinux/utils/
Dkeytab-lilo19 while ($ARGV[0] eq "-p") {
20 shift(@ARGV);
21 &usage unless $ARGV[0] =~ /=/;
23 shift(@ARGV);
25 &usage unless defined $ARGV[0];
26 load_map("def",defined $ARGV[1] ? $ARGV[0] : undef);
27 load_map("kbd",defined $ARGV[1] ? $ARGV[1] : $ARGV[0]);
/external/chromium-libpac/test/
Djstocstring.pl3 print "Reading from $ARGV[0]\nWriting to $ARGV[1]\n";
4 open(LS, "ls $ARGV[0]|");
5 open(FILE, "> $ARGV[1]");
8 print FILE "// \t./jstocstring.pl $ARGV[0] $ARGV[1]\n";
14 open(FH, "cat $ARGV[0]/$_|");
/external/curl/tests/libtest/
Dtest613.pl5 if ( $#ARGV < 1 )
17 if ($ARGV[0] eq "prepare")
19 my $dirname = $ARGV[1];
45 elsif ($ARGV[0] eq "postprocess")
47 my $dirname = $ARGV[1];
48 my $logfile = $ARGV[2];
104 print "Unsupported command $ARGV[0]\n";
Dtest610.pl3 if ( $#ARGV <= 0 )
10 while(@ARGV) {
11 my $cmd = shift @ARGV;
12 my $arg = shift @ARGV;
23 my $arg2 = shift @ARGV;
Dtest1022.pl3 if ( $#ARGV != 2 )
9 my $what=$ARGV[2];
12 open(CURL, "$ARGV[1]") || die "Can't open curl --version list in $ARGV[1]\n";
22 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config --$what list\n";
/external/valgrind/coregrind/
Dlink_tool_exe_darwin.in101 my $ala = $ARGV[0]; # the load address to use
102 my $cc = $ARGV[1]; # the C compiler in use
116 my $str = $ARGV[$n];
118 $outname = $ARGV[$n + 1];
130 my $str = $ARGV[$n];
132 $archstr = $ARGV[$n + 1];
166 my $str = $ARGV[$n];
/external/ipsec-tools/src/racoon/contrib/
Dsp.pl3 die "insufficient arguments" if (scalar(@ARGV) < 2);
4 $src = $ARGV[0];
5 $dst = $ARGV[1];
7 if (scalar(@ARGV) > 2) {
8 $mode = $ARGV[2];
/external/clang/tools/scan-build/libexec/
Dccc-analyzer459 my $Status = system($Compiler,@ARGV);
461 print STDERR "$Compiler @ARGV\n";
504 foreach (my $i = 0; $i < scalar(@ARGV); ++$i) {
505 my $Arg = $ARGV[$i];
520 my $arch = $ARGV[$i+1];
539 while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
552 while ($Cnt > 0) { ++$i; --$Cnt; push @LinkOpts, $ARGV[$i]; }
576 push @CompileOpts, $ARGV[$i];
577 push @LinkOpts, $ARGV[$i];
597 $Tmp = $Arg . $ARGV[$i];
[all …]
/external/syslinux/gpxe/src/util/
Dmodrom.pl150 $ARGV[0] or die "Usage: $0 [-s romsize] [-i ident] [-p vendorid,deviceid] [-x] [-3] rom-file\n";
151 open(R, $ARGV[0]) or die "$ARGV[0]: $!\n";
160 &writerom($ARGV[0], \$rom);
200 &writerom($ARGV[0], \$rom);
207 $ARGV[0] or die "Usage: $0 [-p vendorid,deviceid] rom-file\n";
208 open(R, $ARGV[0]) or die "$ARGV[0]: $!\n";
217 &writerom($ARGV[0], \$rom);
Dmakerom.pl152 …$ARGV[0] or die "Usage: $0 [-s romsize] [-i ident] [-p vendorid,deviceid] [-n] [-x] [-3] rom-file\…
153 open(R, $ARGV[0]) or die "$ARGV[0]: $!\n";
162 writerom($ARGV[0], \$rom);
206 writerom($ARGV[0], \$rom);
213 $ARGV[0] or die "Usage: $0 [-p vendorid,deviceid] rom-file\n";
214 open(R, $ARGV[0]) or die "$ARGV[0]: $!\n";
223 writerom($ARGV[0], \$rom);

12345678