Home
last modified time | relevance | path

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

1234567

/NextBSD/contrib/ofed/management/opensm/opensm/
HDosm_check83 if( !exists $ARGV[0] )
96 if( $ARGV[0] =~ /-[v|V]/ )
104 if( !exists $ARGV[0] )
153 print "No % sign before PRx64!!: $ARGV $.\n";
160 print "Warning: PRIx64 at start of line. $ARGV $.\n";
170 print "Processing $ARGV: $current_func\n";
182 printf "MISMATCH!! $ARGV $.: $current_func != $log_func\n";
192 print "NON-CONFORMING LOG STATEMENT!! $ARGV $.\n";
201 print "MISMATCHED LOG FUNCTION!! $ARGV $.: $current_func != $log_func\n";
212 $err_prefix = $module_err_prefixes{$ARGV};
[all …]
/NextBSD/sys/tools/
HDfw_stub.awk58 if (ARGV[i] ~ /^-/) {
63 for (j = 2; j <= length(ARGV[i]); j++) {
64 o = substr(ARGV[i], j, 1);
66 if (length(ARGV[i]) > j) {
67 opt_c = substr(ARGV[i], j + 1);
72 opt_c = ARGV[i];
77 if (length(ARGV[i]) > j) {
78 opt_m = substr(ARGV[i], j + 1);
83 opt_m = ARGV[i];
88 if (length(ARGV[i]) > j) {
[all …]
HDmakeobjops.awk351 if (ARGV[i] ~ /^-/) {
356 for (j = 2; j <= length(ARGV[i]); j++) {
357 o = substr(ARGV[i], j, 1);
363 if (length(ARGV[i]) > j) {
364 opt_l = substr(ARGV[i], j + 1);
369 opt_l = ARGV[i];
378 else if (ARGV[i] ~ /\.m$/)
379 filenames[num_files++] = ARGV[i];
/NextBSD/crypto/openssl/util/
HDpod2man.pl341 $DEF_DATE = makedate((stat($ARGV[0]))[9] || time());
345 usage("Need one and only one podpage argument") unless @ARGV == 1;
347 $section = $opt_section || ($ARGV[0] =~ /\.pm$/
374 $name = @ARGV ? $ARGV[0] : "<STDIN>";
404 open(F, "< $ARGV[0]") || die "can't open $ARGV[0]: $!";
411 warn "$0: Improper man page - no dash in NAME header in paragraph $. of $ARGV[0]\n"
416 warn "$0: Improper man page - malformed NAME header in paragraph $. of $ARGV[0]\n"
429 die "$0: Invalid man page - 1st pod line is not NAME in $ARGV[0]\n" unless $lax;
431 die "$0: Invalid man page - no documentation in $ARGV[0]\n" unless $lax;
753 warn "$0: bad option in paragraph $. of $ARGV: ``$1'' should be [LCI]<$1>\n";
[all …]
HDerr-ins.pl6 open(ERR,$ARGV[0]) || die "unable to open error file '$ARGV[0]':$!\n";
10 open(IN,$ARGV[1]) || die "unable to open header file '$ARGV[1]':$!\n";
20 open(OUT,">$ARGV[1]") || die "unable to open header file '$ARGV[1]':$1\n";
HDmkerr.pl19 while (@ARGV) {
20 my $arg = $ARGV[0];
22 shift @ARGV;
23 $config = shift @ARGV;
25 shift @ARGV;
26 $hprefix = shift @ARGV;
29 shift @ARGV;
32 shift @ARGV;
35 shift @ARGV;
38 shift @ARGV;
[all …]
HDperlpath.pl9 $#ARGV == 0 || print STDERR "usage: perlpath newpath (eg /usr/bin)\n";
20 if (-d $ARGV[0]) {
21 $a[0]="#!$ARGV[0]/perl\n";
24 $a[0]="#!$ARGV[0]\n";
HDdirname.pl3 if ($#ARGV < 0) {
5 } elsif ($#ARGV > 0) {
9 my $d = $ARGV[0];
HDsp-diff.pl8 ($#ARGV == 1) || die "$0 speedout1 speedout2\n";
10 %one=&loadfile($ARGV[0]);
11 %two=&loadfile($ARGV[1]);
/NextBSD/crypto/openssl/crypto/objects/
HDobjects.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]";
225 { die "$ARGV[0]:$o:Undefined identifier ",$a[0],"\n"; }
/NextBSD/tools/tools/scsi-defects/
HDscsi-defects.pl44 &usage if $#ARGV < 0 || $#ARGV > 1;
48 $dev = $ARGV[0];
57 if ($#ARGV > 0) {
58 if ($ARGV[1] =~ /^[Gg]/) { $glist = 1; $plist = 0; }
59 elsif ($ARGV[1] =~ /^[Pp]/) { $glist = 0; $plist = 1; }
/NextBSD/sys/dev/cxgb/
HDbin2h.pl5 if ($#ARGV != 1) {
10 my $success = open INPUT, "$ARGV[0]";
15 $success = open OUTPUT, ">$ARGV[1].h";
62 = stat($ARGV[0]);
67 print OUTPUT "static unsigned int $ARGV[1]_length = $size;\n";
68 print OUTPUT "static unsigned char $ARGV[1]" . "[$size]" . " = {\n";
/NextBSD/contrib/groff/src/roff/grog/
HDgrog.pl13 while ($ARGV[0] =~ /^-./) {
14 $arg = shift(@ARGV);
22 @ARGV = ('-') unless @ARGV;
23 foreach $arg (@ARGV) {
210 push(@command, "--") if @ARGV && $ARGV[0] =~ /^-./;
212 push(@command, @ARGV);
/NextBSD/contrib/groff/contrib/mm/
HDmmroff.pl12 if (grep(/^-x$/, @ARGV)) {
14 @ARGV = grep(!/^-x$/, @ARGV);
18 @ARGV = grep(!/^-mm$/, @ARGV);
19 my $check_macro = "groff -rRef=1 -z -mm @ARGV";
20 my $run_macro = "groff -mm @ARGV";
/NextBSD/tools/tools/mid/
HDmid-master3 if ($#ARGV < 1) {
7 $count = $ARGV[0]; shift @ARGV;
8 @command = @ARGV;
10 undef @ARGV;
HDmid-index79 &usage if $#ARGV != 0;
80 $name = $ARGV[0]; shift @ARGV;
/NextBSD/crypto/openssh/
HDfixprogs13 if (($#ARGV == -1) || ($#ARGV>1)) {
18 if ($#ARGV==1) {
19 $entcmd=$ARGV[1]
24 $infilename = $ARGV[0];
/NextBSD/crypto/openssl/apps/
HDtsget131 my @old_argv = @ARGV;
132 @ARGV = split /\s+/, $ENV{TSGET};
134 @ARGV = @old_argv;
139 if (!exists($options{h}) || (@ARGV == 0 && !exists($options{o}))
140 || (@ARGV > 1 && exists($options{o}))) {
145 @ARGV = ("-") unless @ARGV != 0;
151 REQUEST: foreach (@ARGV) {
HDprogs.pl6 grep(s/^asn1pars$/asn1parse/,@ARGV);
8 foreach (@ARGV)
30 foreach (@ARGV)
/NextBSD/tools/tools/locale/tools/
HDchangeoffset.pl3 if ($#ARGV != 2) {
9 $fin = $ARGV[0];
10 $fout = $ARGV[1];
11 $offset = hex($ARGV[2]);
HDUTF82encoding.pl6 if ($#ARGV != 1) {
11 open(FIN, "$ARGV[0]/posix/UTF-8.cm");
30 open(FIN, $ARGV[1]);
/NextBSD/tools/tools/drm/
HDgen-drm_pciids115 if (scalar(@ARGV) != 3) {
120 my $linux_header = $ARGV[0];
121 my $freebsd_header = $ARGV[1];
122 my $pciids_db = $ARGV[2];
123 my $only_vendor = $ARGV[3];
/NextBSD/share/examples/printing/
HDnetprint7 $#ARGV eq 1 || die "Usage: $0 <printer-hostname> <port-number>";
9 $printer_host = $ARGV[0];
10 $printer_port = $ARGV[1];
/NextBSD/contrib/ntp/sntp/unity/auto/
HDgenerate_test_runner.rb359 ARGV.reject! do |arg|
376 if !ARGV[0]
399 ARGV[1] = ARGV[0].gsub(".c","_Runner.c") if (!ARGV[1])
406 UnityTestRunnerGenerator.new(options).run(ARGV[0], ARGV[1])
/NextBSD/tools/tools/termcap/
HDtermcap.pl33 if ($#ARGV < 0) {
52 my $command = $ARGV[0];
53 my $tca = $ARGV[1];
54 my $tcb = $ARGV[2];

1234567