Searched refs:argc (Results 1 - 25 of 139) sorted by relevance

123456

/PHP_5_4/ext/phar/phar/
H A Dclicommand.inc19 protected $argc;
25 function __construct($argc, array $argv)
27 $this->argc = $argc;
32 if ($argc < 2) {
44 while (++$i < $argc) {
48 if (++$i >= $argc) {
51 $this->args[$arg]['val'] = $this->checkArgTyp($arg, $i, $argc, $argv);
62 if ($i >= $argc) {
68 while($i < $argc) {
[all...]
H A Dphar.php52 new PharCommand($argc, $argv);
/PHP_5_4/ext/spl/examples/
H A Ddba_array.php17 if ($argc < 4) {
32 if ($argc > 2) {
34 if ($dba && $argc > 3) {
35 if ($argc > 4) {
H A Ddba_dump.php17 if ($argc < 3) {
34 if ($argc>3) {
H A Ddirectorytree.php14 if ($argc < 2) {
29 $length = $argc > 3 ? $argv[3] : -1;
H A Dfindfile.php16 if ($argc < 3) {
H A Dfindregex.php15 if ($argc < 3) {
H A Dini_groups.php17 if ($argc < 2) {
33 if ($argc>2) {
H A Dnocvsdir.php15 if ($argc < 2) {
H A Dphar_from_dir.php16 if ($argc < 3)
35 if ($argc > 3)
H A Dtree.php18 if ($argc < 2) {
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm.c28 .argc = 0,
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
47 fpm_globals.argc = argc;
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);
44 int argc; member in struct:fpm_globals_s
/PHP_5_4/sapi/isapi/stresstest/
H A Dgetopt.c19 ap_optiserr(int argc, char * const *argv, int oint, const char *optstr, argument
45 int ap_getopt(int argc, char* const *argv, const char *optstr) argument
52 if (ap_optind >= argc)
83 return(ap_optiserr(argc, argv, ap_optind-1, optstr, optchr, OPTERRCOLON));
97 return(ap_optiserr(argc, argv, errind, optstr, errchr, OPTERRNF));
106 if (ap_optind == argc)
107 return(ap_optiserr(argc, argv, ap_optind-1, optstr, optchr, OPTERRARG));
134 main (int argc, char **argv) argument
144 while ((c = ap_getopt(argc, argv, "abo:")) != EOF)
170 for ( ; ap_optind < argc; ap_optin
[all...]
H A Dgetopt.h8 int ap_getopt(int argc, char* const *argv, const char *optstr);
/PHP_5_4/sapi/milter/
H A Dgetopt.c18 ap_php_optiserr(int argc, char * const *argv, int oint, const char *optstr, argument
43 int ap_php_getopt(int argc, char* const *argv, const char *optstr) argument
50 if (ap_php_optind >= argc)
81 return(ap_php_optiserr(argc, argv, ap_php_optind-1, optstr, optchr, OPTERRCOLON));
95 return(ap_php_optiserr(argc, argv, errind, optstr, errchr, OPTERRNF));
104 if (ap_php_optind == argc)
105 return(ap_php_optiserr(argc, argv, ap_php_optind-1, optstr, optchr, OPTERRARG));
132 main (int argc, char **argv) argument
142 while ((c = ap_php_getopt(argc, argv, "abo:")) != EOF)
168 for ( ; ap_php_optind < argc; ap_php_optin
[all...]
H A Dphp_getopt.h7 int ap_php_getopt(int argc, char* const *argv, const char *optstr);
/PHP_5_4/ext/gd/libgd/
H A Dgd2topng.c11 main (int argc, char **argv) argument
15 if (argc != 3)
H A Dgdtopng.c10 main (int argc, char **argv) argument
14 if (argc != 3)
H A Dpngtogd.c11 main (int argc, char **argv) argument
15 if (argc != 3)
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]);
71 for (i = 1; (i < (argc - 1)); i++)
82 if (i == (argc - 2))
114 if (i == (argc - 2))
273 unlink (argv[argc
[all...]
/PHP_5_4/main/
H A Dphp_getopt.h45 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *optind, int show_err, int arg_start);
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.h27 extern int do_cli_server(int argc, char **argv TSRMLS_DC);
/PHP_5_4/TSRM/
H A Dtsrm_nw.c59 int ptrLen = 0, argc = 0, i = 0, envCount = 0, err = 0; local
139 while (ptr && (argc < MAX_ARGS)) {
142 argv[argc] = (char*)malloc(ptrLen + 1);
143 if (!argv[argc]) {
148 for (i = 0; i < argc; i++) {
156 strcpy (argv[argc], ptr);
157 argc++;
163 envSpec.esArgc = argc;
218 for (i = 0; i < argc; i++) {
/PHP_5_4/ext/mysqli/
H A Dmysqli_embedded.c39 int argc = 0; local
54 if ((argc = zend_hash_num_elements(HASH_OF(args)))) {
55 arguments = safe_emalloc(sizeof(char *), argc + 1, 0);
71 argc++;
98 rc = mysql_server_init(argc, arguments, groups);
100 if (argc) {

Completed in 27 milliseconds

123456