Home
last modified time | relevance | path

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

12345678910>>...14

/netbsd/src/external/ibm-public/postfix/dist/src/util/
Dargv.h19 typedef struct ARGV { struct
23 } ARGV; argument
27 extern ARGV *argv_alloc(ssize_t);
28 extern ARGV *argv_sort(ARGV *); /* backwards compatibility */
29 extern ARGV *argv_qsort(ARGV *, ARGV_COMPAR_FN);
30 extern ARGV *argv_uniq(ARGV *, ARGV_COMPAR_FN);
31 extern void argv_add(ARGV *,...);
32 extern void argv_addn(ARGV *,...);
33 extern ARGV *argv_addv(ARGV *, const char *const *);
34 extern void argv_terminate(ARGV *);
[all …]
Dargv.c184 ARGV *argv_free(ARGV *argvp) in argv_free()
197 ARGV *argv_alloc(ssize_t len) in argv_alloc()
199 ARGV *argvp; in argv_alloc()
205 argvp = (ARGV *) mymalloc(sizeof(*argvp)); in argv_alloc()
225 ARGV *argv_qsort(ARGV *argvp, ARGV_COMPAR_FN compar) in argv_qsort()
234 ARGV *argv_sort(ARGV *argvp) in argv_sort()
242 ARGV *argv_uniq(ARGV *argvp, ARGV_COMPAR_FN compar) in argv_uniq()
262 static void argv_extend(ARGV *argvp) in argv_extend()
274 void argv_add(ARGV *argvp,...) in argv_add()
296 void argv_addn(ARGV *argvp,...) in argv_addn()
[all …]
Dargv_splitq.c69 ARGV *argv_splitq(const char *string, const char *delim, const char *parens) in argv_splitq()
71 ARGV *argvp = argv_alloc(1); in argv_splitq()
85 ARGV *argv_splitq_count(const char *string, const char *delim, in argv_splitq_count()
88 ARGV *argvp = argv_alloc(1); in argv_splitq_count()
108 ARGV *argv_splitq_append(ARGV *argvp, const char *string, const char *delim, in argv_splitq_append()
Dargv_split.c65 ARGV *argv_split(const char *string, const char *delim) in argv_split()
67 ARGV *argvp = argv_alloc(1); in argv_split()
81 ARGV *argv_split_count(const char *string, const char *delim, ssize_t count) in argv_split_count()
83 ARGV *argvp = argv_alloc(1); in argv_split_count()
103 ARGV *argv_split_append(ARGV *argvp, const char *string, const char *delim) in argv_split_append()
Dargv_split_at.c72 ARGV *argv_split_at(const char *string, int sep) in argv_split_at()
74 ARGV *argvp = argv_alloc(1); in argv_split_at()
91 ARGV *argv_split_at_count(const char *string, int sep, ssize_t count) in argv_split_at_count()
93 ARGV *argvp = argv_alloc(1); in argv_split_at_count()
112 ARGV *argv_split_at_append(ARGV *argvp, const char *string, int sep) in argv_split_at_append()
/netbsd/src/crypto/external/bsd/openssl/dist/util/
Dwrite-man-symlinks19 if ($#ARGV + 1 != 5 || $ARGV[0] !~ /^(un)?install$/) {
24 my $action = $ARGV[0];
25 my $srcdir = $ARGV[1];
26 my $builddir = $ARGV[2];
27 my $manname = $ARGV[3];
28 my $targetdir = $ARGV[4];
Dck_errf.pl48 while ( @ARGV ) {
49 my $arg = $ARGV[0];
53 $config = $ARGV[1];
54 shift @ARGV;
67 shift @ARGV;
72 die "Extra parameters given.\n" if @ARGV;
80 @source = @ARGV;
Ddofile.pl40 . (scalar(@ARGV) > 0 ? " from " .join(", ", @ARGV) : "")
52 if defined($opts{i}) and scalar(@ARGV) == 0;
57 @ARGV
58 ? map { { TYPE => 'FILE', SOURCE => $_, FILENAME => $_ } } @ARGV
/netbsd/src/crypto/external/bsd/openssl/dist/ms/
Dcmp.pl9 ($#ARGV == 1) || die "usage: cmp.pl <file1> <file2>\n";
11 open(IN0,"<$ARGV[0]") || die "unable to open $ARGV[0]\n";
12 open(IN1,"<$ARGV[1]") || die "unable to open $ARGV[1]\n";
38 printf STDERR "$ARGV[0] and $ARGV[1] are different\n";
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Dscache.c202 static void cache_type(ARGV *argv) in cache_type()
223 static void handle_events(ARGV *argv) in handle_events()
242 static void save_endp(ARGV *argv) in save_endp()
260 static void find_endp(ARGV *argv) in find_endp()
274 static void save_dest(ARGV *argv) in save_dest()
287 static void find_dest(ARGV *argv) in find_dest()
301 static void verbose(ARGV *argv) in verbose()
317 void (*action) (ARGV *);
323 static void help(ARGV *);
339 static void help(ARGV *argv) in help()
[all …]
Dmatch_service.c88 static void match_service_compat(ARGV *argv) in match_service_compat()
101 ARGV *match_service_init(const char *patterns) in match_service_init()
104 ARGV *list = argv_alloc(1); in match_service_init()
119 ARGV *match_service_init_argv(char **patterns) in match_service_init_argv()
121 ARGV *list = argv_alloc(1); in match_service_init_argv()
133 int match_service_match(ARGV *list, const char *name_type) in match_service_match()
175 void match_service_free(ARGV *list) in match_service_free()
Dmatch_service.h18 extern ARGV *match_service_init(const char *);
19 extern ARGV *match_service_init_argv(char **);
20 extern int match_service_match(ARGV *, const char *);
21 extern void match_service_free(ARGV *);
/netbsd/src/external/ibm-public/postfix/dist/src/milter/
Dmilter.h41 … char *(*conn_event) (struct MILTER *, const char *, const char *, const char *, unsigned, ARGV *);
42 const char *(*helo_event) (struct MILTER *, const char *, int, ARGV *);
43 const char *(*mail_event) (struct MILTER *, const char **, ARGV *);
44 const char *(*rcpt_event) (struct MILTER *, const char **, ARGV *);
45 const char *(*data_event) (struct MILTER *, ARGV *);
46 const char *(*message) (struct MILTER *, VSTREAM *, off_t, ARGV *, ARGV *, ARGV *);
47 const char *(*unknown_event) (struct MILTER *, const char *, ARGV *);
150 extern const char *milter_message(MILTERS *, VSTREAM *, off_t, ARGV *);
Dmilter.c329 static ARGV *milter_macro_lookup(MILTERS *milters, const char *macro_names) in milter_macro_lookup()
334 ARGV *argv = argv_alloc(10); in milter_macro_lookup()
409 ARGV *global_macros = 0; in milter_conn_event()
410 ARGV *any_macros; in milter_conn_event()
442 ARGV *global_macros = 0; in milter_helo_event()
443 ARGV *any_macros; in milter_helo_event()
464 ARGV *global_macros = 0; in milter_mail_event()
465 ARGV *any_macros; in milter_mail_event()
486 ARGV *global_macros = 0; in milter_rcpt_event()
487 ARGV *any_macros; in milter_rcpt_event()
[all …]
/netbsd/src/external/bsd/openldap/dist/contrib/slapd-tools/
Dwrap_slap_ops40 use constant Mode => shift(@ARGV) || "";
43 usage() unless Mode =~ /^-(l|[uU]\d*)$/ && ($ARGV[0]||"") =~ /^[^\-]/;
44 exit(0) unless @ARGV = ls_R(@ARGV); # Expand ARGV, exit if no files
54 print "$ARGV\n" if $changed;
55 print STDERR "$ARGV:\t$_\n" foreach @rest;
57 (my $file = "$ARGV") =~ s%^-%./-%;
109 / $addr{$4} eq $6 ? "SLAP_OP$2$5" : die "$ARGV: Bad syntax: $1\n" /egox;
Dstatslog108 local(@ARGV) = @_;
136 if (!@ARGV) {
140 if ($sort_files && @ARGV > 1) {
143 for my $file (@ARGV) {
152 @ARGV = map { $_->[1] } sort { $b->[0] <=> $a->[0] } @fileinfo;
157 for (@ARGV) {
166 for my $file (@ARGV) {
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/objects/
Dobjects.pl18 my $YEAR = OpenSSL::copyright::latest(($0, $ARGV[1], $ARGV[0]));
20 open (NUMIN,"$ARGV[1]") || die "Can't open number file $ARGV[1]";
33 … { die "$ARGV[1]:$o:There's already an object with NID ",$mynum," on line ",$order{$mynum},"\n"; }
35 …{ die "$ARGV[1]:$o:There's already an object with name ",$Cname," on line ",$order{$nid{$Cname}},"…
43 open (IN,"$ARGV[0]") || die "Can't open input file $ARGV[0]";
196 { die "$ARGV[0]:$o:Undefined identifier ",$a[0],"\n"; }
/netbsd/src/crypto/dist/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];
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/
Darm64cpuid.pl12 $output = $#ARGV >= 0 && $ARGV[$#ARGV] =~ m|\.\w+$| ? pop : undef;
13 $flavour = $#ARGV >= 0 && $ARGV[0] !~ m|\.| ? shift : undef;
Darmv4cpuid.pl12 $output = $#ARGV >= 0 && $ARGV[$#ARGV] =~ m|\.\w+$| ? pop : undef;
13 $flavour = $#ARGV >= 0 && $ARGV[0] !~ m|\.| ? shift : undef;
/netbsd/src/crypto/external/bsd/openssl/dist/apps/
Dprogs.pl17 my $opt = shift @ARGV;
23 my $apps_openssl = shift @ARGV;
44 @ARGV = sort keys %commands;
64 foreach (@ARGV) {
69 foreach (@ARGV) {
120 foreach my $cmd ( @ARGV ) {
Dtsget.in136 my @old_argv = @ARGV;
137 @ARGV = split /\s+/, $ENV{TSGET};
139 @ARGV = @old_argv;
144 if (!exists($options{h}) || (@ARGV == 0 && !exists($options{o}))
145 || (@ARGV > 1 && exists($options{o}))) {
150 @ARGV = ("-") unless @ARGV != 0;
156 REQUEST: foreach (@ARGV) {
/netbsd/src/distrib/notes/common/
Dextract-contrib-string.pl93 while ($#ARGV >= 0) {
94 $debug=1 if ($ARGV[0] =~ /-d/i);
95 $html=1 if ($ARGV[0] =~ /-h/i);
96 $xml=1 if ($ARGV[0] =~ /-x/i);
97 $usage=1 if ($ARGV[0] =~ /-\?/);
98 shift(@ARGV);
/netbsd/src/external/gpl3/gcc/dist/contrib/
Dmake-obstacks-texi.pl14 if ($#ARGV != 0 or $ARGV[0] eq "") {
23 open (IN, "<$ARGV[0]") || die "Cannot open '$ARGV[0]': $!";
/netbsd/src/external/gpl2/xcvs/dist/contrib/
Dcommit_prep.in51 if ($ARGV[0] eq '-u') {
52 shift @ARGV;
53 $CVS_USERNAME = shift (@ARGV);
84 &write_line("$LAST_FILE.$id.$CVS_USERNAME", $ARGV[0]);

12345678910>>...14