Home
last modified time | relevance | path

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

12345678

/external/icu4c/tools/genren/
Dgenren.pl43 while($ARGV[0] =~ /^-/) { # detects whether there are any arguments
44 $_ = shift @ARGV; # extracts the argument for processing
47 /^-o/ && (($headername = shift (@ARGV)), next); # output file
48 /^-n/ && (($nmopts = shift (@ARGV)), next); # nm opts
49 /^-p/ && (($post = shift (@ARGV)), next); # nm opts
50 /^-x/ && (($mode = shift (@ARGV)), next); # nm opts
51 /^-S/ && (($U_ICU_VERSION_SUFFIX = shift(@ARGV)), next); # pick the suffix
56 unless(@ARGV > 0) {
127 for(;@ARGV; shift(@ARGV)) {
129 @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 …]
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 …]
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/clang/tools/scan-build/
Dscan-build1167 if (!@ARGV) {
1175 while (@ARGV) {
1179 my $arg = $ARGV[0];
1183 shift @ARGV;
1188 shift @ARGV;
1194 shift @ARGV;
1196 if (!@ARGV) {
1202 $HtmlDir = abs_path(shift @ARGV);
1208 shift @ARGV;
1211 if (!@ARGV) {
[all …]
Dccc-analyzer428 my $Status = system($Compiler,@ARGV);
430 print "$Compiler @ARGV\n";
460 foreach (my $i = 0; $i < scalar(@ARGV); ++$i) {
461 my $Arg = $ARGV[$i];
471 my $arch = $ARGV[$i+1];
484 while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
492 while ($Cnt > 0) { ++$i; --$Cnt; push @LinkOpts, $ARGV[$i]; }
516 push @CompileOpts, $ARGV[$i];
517 push @LinkOpts, $ARGV[$i];
537 $Tmp = $Arg . $ARGV[$i];
[all …]
Dc++-analyzer428 my $Status = system($Compiler,@ARGV);
430 print "$Compiler @ARGV\n";
460 foreach (my $i = 0; $i < scalar(@ARGV); ++$i) {
461 my $Arg = $ARGV[$i];
471 my $arch = $ARGV[$i+1];
484 while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; }
492 while ($Cnt > 0) { ++$i; --$Cnt; push @LinkOpts, $ARGV[$i]; }
516 push @CompileOpts, $ARGV[$i];
517 push @LinkOpts, $ARGV[$i];
537 $Tmp = $Arg . $ARGV[$i];
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
DantRun.pl39 my $ANT_RUN_CMD = @ARGV[0];
42 chdir (@ARGV[0]) || die "Can't cd to $ARGV[0]: $!\n";
47 $ANT_RUN_CMD .= "/".@ARGV[1];
50 $ANT_RUN_CMD = @ARGV[1];
58 my $returnValue = system $ANT_RUN_CMD, @ARGV;
/external/openssl/crypto/objects/
Dobjects.pl3 open (NUMIN,"$ARGV[1]") || die "Can't open number file $ARGV[1]";
16 { die "$ARGV[1]:$o:There's already an object with NID ",$mynum," on line ",$order{$mynum},"\n"; }
18 …{ die "$ARGV[1]:$o:There's already an object with name ",$Cname," on line ",$order{$nid{$Cname}},"…
26 open (IN,"$ARGV[0]") || die "Can't open input file $ARGV[0]";
113 open (NUMOUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]";
120 open (OUT,">$ARGV[2]") || die "Can't open output file $ARGV[2]";
217 { die "$ARGV[0]:$o:Undefined identifier ",$a[0],"\n"; }
/external/webkit/Source/JavaScriptCore/tests/mozilla/Getopt/
DMixed.pm203 $value = splice(@ARGV,$i,1) unless defined $value;
274 return () if $#ARGV < 0; # No more arguments
278 return ("", shift @ARGV) if $order == $RETURN_IN_ORDER;
284 while (length($ARGV[$i]) < 2 or
285 index($optionStart,substr($ARGV[$i],0,1)) < 0) {
287 return ("", shift @ARGV) if $order == $RETURN_IN_ORDER;
289 return () if $i > $#ARGV;
294 $option = $ARGV[$i];
297 splice @ARGV,$i,1;
333 splice(@ARGV,$i,1);
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/
Druntests.pl324 while( $i < @ARGV ){
325 if ( $ARGV[$i] eq '--threaded' ) {
327 } elsif ( $ARGV[$i] eq '--d' ) {
329 } elsif ( $ARGV[$i] eq '--14' ) {
331 } elsif ( $ARGV[$i] eq '--v' ) {
333 } elsif ( $ARGV[$i] eq '-f' ) {
334 $js_output = $ARGV[++$i];
335 } elsif ( $ARGV[$i] eq '--o' ) {
337 } elsif ($ARGV[$i] eq '--e' ) {
339 } elsif ($ARGV[$i] eq '--q' ) {
[all …]
/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/valgrind/main/coregrind/
Dlink_tool_exe_darwin.in101 my $ala = $ARGV[0];
115 my $str = $ARGV[$n];
117 $outname = $ARGV[$n + 1];
129 my $str = $ARGV[$n];
131 $archstr = $ARGV[$n + 1];
157 my $str = $ARGV[$n];
/external/openssh/
Dfixprogs13 if (($#ARGV == -1) || ($#ARGV>1)) {
18 if ($#ARGV==1) {
19 $entcmd=$ARGV[1]
24 $infilename = $ARGV[0];
/external/webkit/Tools/Scripts/
Drun-webkit-app39 die "Did not specify an application to open (e.g. run-webkit-app AppName).\n" unless length($ARGV[0…
45 print "Start $ARGV[0] with DYLD_FRAMEWORK_PATH set to point to built WebKit in $productDir.\n";
49 unshift(@ARGV, "-a");
50 exec "open", @ARGV;
Drun-webkit-tests72 push(@ARGV, "--verbose");
77 push(@ARGV, "--results-directory");
79 push(@ARGV, sourceDir() . "/layout-test-results");
84 exec $harnessPath ($harnessPath, @ARGV) or die "Failed to execute $harnessPath";
Dparallelcl22 print STDERR "Received " . @ARGV . " arguments:\n";
23 foreach my $arg (@ARGV) {
29 foreach my $arg (@ARGV) {
32 Exec("\"$clexe\" \"" . join('" "', @ARGV) . "\"");
61 my $options = substr($firstLine, 0, $firstFileIndex) . join(' ', @ARGV[1 .. $#ARGV]);
/external/webkit/Source/WebCore/
Dmake-hash-tools.pl26 my $outdir = $ARGV[0];
28 my $option = basename($ARGV[0],".gperf");
36 my $docTypeStringsGperf = $ARGV[0];
46 my $colorDataGperf = $ARGV[0];
/external/strace/
Dstrace-graph68 print STDERR "$0: $ARGV: cannot find start of resumed call on line $.";
89 print STDERR "$0: $ARGV: $.: cannot parse line.\n";
126 print STDERR "$0: $ARGV: $.: cannot parse string.\n";
135 print STDERR "$0: $ARGV: $.: unrecognized element.\n";
156 print STDERR "$0: $ARGV: $.: missing comma in array.\n";
170 print STDERR "$0: $ARGV: $.: struct field expected.\n";
178 print STDERR "$0: $ARGV: $.: missing comma in struct.\n";
189 print STDERR "$0: $ARGV: $.: missing comma.\n";
/external/icu4c/test/compat/
Dtzone.pl7 if ($ARGV[0] eq '-h' || $ARGV[0] eq '--help') {
25 if (scalar(@ARGV) == 5) {
26 ($year, $month, $day, $hour, $minute) = @ARGV;
/external/webkit/PerformanceTests/SunSpider/
Dsunspider-compare-results62 if ((scalar @ARGV != 0 && scalar @ARGV != 2) || !$jsShellPath || $showHelp) {
148 if (scalar @ARGV == 2) {
149 $file1 = $ARGV[0];
150 $file2 = $ARGV[1];
/external/valgrind/main/VEX/switchback/
Dbinary_switchback.pl62 if (@ARGV < 1 || @ARGV > 3) {
66 $TEST_REF = $ARGV[0];
72 if (@ARGV >1) {
73 $N_LAST_GOOD = $ARGV[1];
82 if (@ARGV >2) {
83 $N_LAST_BAD = $ARGV[2];
/external/dropbear/libtomcrypt/
Dparsenames.pl7 @a = split(" ", $ARGV[1]);
8 $b = "$ARGV[0]=";
20 if ($ARGV[0] eq "HEADERS") { print "testprof/tomcrypt_test.h"; }
/external/webkit/Tools/iExploder/iexploder-1.3.2/tools/
Dshowtest.rb33 if ! ARGV[0]
38 ie.test_num = ARGV[0].to_i
39 ie.subtest_num = ARGV[1].to_i || 0

12345678