Searched defs:argv (Results 1 - 25 of 63) sorted by relevance

123

/PHP_5_5/ext/pcre/pcrelib/
H A Dpcredemo.c46 int main(int argc, char **argv) argument
76 if (strcmp(argv[i], "-g") == 0) find_all = 1;
89 pattern = argv[i];
90 subject = argv[i+1];
H A Ddftables.c61 int main(int argc, char **argv) argument
72 if (argc > 1 && strcmp(argv[1], "-L") == 0)
87 f = fopen(argv[i], "wb");
90 fprintf(stderr, "dftables: failed to open %s for writing\n", argv[1]);
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm.c29 .argv = NULL,
45 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_as_root, int force_daemon) /* {{{ */ argument
48 fpm_globals.argv = argv;
H A Dfpm.h40 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_as_root, int force_daemon);
45 char **argv; member in struct:fpm_globals_s
/PHP_5_5/sapi/isapi/stresstest/
H A Dgetopt.c19 ap_optiserr(int argc, char * const *argv, int oint, const char *optstr, argument
31 fprintf(stderr, "option not found %c\n", argv[oint][optchr]);
34 fprintf(stderr, "no argument for option %c\n", argv[oint][optchr]);
41 ap_optopt = argv[oint][optchr];
45 int ap_getopt(int argc, char* const *argv, const char *optstr) argument
54 if (!dash && (argv[ap_optind][0] != '-'))
56 if (!dash && (argv[ap_optind][0] == '-') && !argv[ap_optind][1])
64 if ((argv[ap_optind][0] == '-') && (argv[ap_optin
134 main(int argc, char **argv) argument
[all...]
/PHP_5_5/sapi/milter/
H A Dgetopt.c18 ap_php_optiserr(int argc, char * const *argv, int oint, const char *optstr, argument
30 fprintf(stderr, "option not found %c\n", argv[oint][optchr]);
33 fprintf(stderr, "no argument for option %c\n", argv[oint][optchr]);
43 int ap_php_getopt(int argc, char* const *argv, const char *optstr) argument
52 if (!dash && (argv[ap_php_optind][0] != '-'))
54 if (!dash && (argv[ap_php_optind][0] == '-') && !argv[ap_php_optind][1])
62 if ((argv[ap_php_optind][0] == '-') && (argv[ap_php_optind][1] == '-'))
70 assert((argv[ap_php_optin
132 main(int argc, char **argv) argument
[all...]
/PHP_5_5/ext/gd/libgd/
H A Dgd2copypal.c12 main (int argc, char **argv) argument
22 in = fopen (argv[1], "rb");
36 in = fopen (argv[2], "rb");
52 out = fopen (argv[2], "wb");
H A Dgd2time.c13 main (int argc, char **argv) argument
28 c = atoi (argv[2]);
29 x = atoi (argv[3]);
30 y = atoi (argv[4]);
31 w = atoi (argv[5]);
32 h = atoi (argv[6]);
39 in = fopen (argv[1], "rb");
H A Dgd2topng.c11 main (int argc, char **argv) argument
20 in = fopen (argv[1], "rb");
33 out = fopen (argv[2], "wb");
H A Dgdcache.c184 main (char *argv[], int argc) argument
H A Dgdparttopng.c11 main (int argc, char **argv) argument
22 in = fopen (argv[1], "rb");
29 x = atoi (argv[3]);
30 y = atoi (argv[4]);
31 w = atoi (argv[5]);
32 h = atoi (argv[6]);
43 out = fopen (argv[2], "wb");
H A Dgdtestft.c22 main (int argc, char *argv[]) argument
H A Dgdtopng.c10 main (int argc, char **argv) argument
19 in = fopen (argv[1], "rb");
32 out = fopen (argv[2], "wb");
H A Dpngtogd.c11 main (int argc, char **argv) argument
20 in = fopen (argv[1], "rb");
33 out = fopen (argv[2], "wb");
H A Dpngtogd2.c12 main (int argc, char **argv) argument
25 in = fopen (argv[1], "rb");
38 out = fopen (argv[2], "wb");
45 cs = atoi (argv[3]);
46 fmt = atoi (argv[4]);
H A Dtestac.c17 main (int argc, char *argv[]) argument
40 in = fopen (argv[1], "rb");
43 fprintf (stderr, "Can't load %s.\n", argv[1]);
H A Dwebpng.c20 main (int argc, char **argv) argument
38 if (argc < 2 || !strcmp (argv[1], "--help"))
45 if (strcmp ("-", argv[argc - 1]) == 0)
52 in = fopen (argv[argc - 1], "rb");
57 "Error: can't open file %s.\n", argv[argc - 1]);
67 "Error: %s is not a valid PNG file.\n", argv[argc - 1]);
74 if (!strcmp (argv[i], "--help"))
80 else if (!strcmp (argv[i], "-i"))
89 if (!strcmp (argv[i + 1], "y"))
94 else if (!strcmp (argv[
[all...]
/PHP_5_5/ext/mbstring/libmbfl/tests/
H A Dconv_encoding.c24 int main(int argc, char **argv) argument
35 fprintf(stderr, "Usage: %s lang to_encoding from_encoding\n", argv[0]);
39 if ((no_language = mbfl_name2no_language(argv[1])) ==
41 printf("Unsupported NLS: %s\n", argv[1]);
45 if ((to_encoding = mbfl_name2no_encoding(argv[2])) ==
47 printf("Unsupported encoding: %s\n", argv[2]);
51 if ((from_encoding = mbfl_name2no_encoding(argv[3])) ==
53 printf("Unsupported encoding: %s\n", argv[3]);
H A Dconv_kana.c24 int main(int argc, char **argv) argument
35 fprintf(stderr, "Usage: %s encoding flags\n", argv[0]);
39 if ((no_enc = mbfl_name2no_encoding(argv[1])) ==
41 printf("Unsupported encoding: %s\n", argv[1]);
48 for (p= argv[2] + strlen(argv[2]); p > argv[2]; ) {
H A Demoji.c28 int main(int argc, char **argv) argument
H A Dstrcut.c25 int main(int argc, char **argv) argument
36 fprintf(stderr, "Usage: %s lang encoding offset length\n", argv[0]);
40 if ((no_language = mbfl_name2no_language(argv[1])) ==
42 printf("Unsupported NLS: %s\n", argv[1]);
46 if ((no_encoding = mbfl_name2no_encoding(argv[2])) ==
48 printf("Unsupported encoding: %s\n", argv[2]);
53 offset = strtol(argv[3], NULL, 10);
55 printf("Invalid offset: %s\n", argv[3]);
59 length = strtol(argv[4], NULL, 10);
61 printf("Invalid length: %s\n", argv[
[all...]
H A Dstrwidth.c13 int main(int argc, char **argv) argument
23 fprintf(stderr, "Usage: %s lang encoding\n", argv[0]);
27 if ((no_language = mbfl_name2no_language(argv[1])) ==
29 printf("Unsupported NLS: %s\n", argv[1]);
33 if ((no_encoding = mbfl_name2no_encoding(argv[2])) ==
35 printf("Unsupported encoding: %s\n", argv[2]);
/PHP_5_5/ext/mbstring/oniguruma/
H A Dtestc.c159 extern int main(int argc, char* argv[]) argument
/PHP_5_5/ext/mbstring/oniguruma/win32/
H A Dtestc.c159 extern int main(int argc, char* argv[]) argument
/PHP_5_5/win32/build/
H A Ddeplister.c47 int main(int argc, char *argv[]) argument
50 argv[1], NULL, argv[2], StatusRoutine);

Completed in 26 milliseconds

123