Lines Matching refs:argv

616 static int do_cli(int argc, char **argv) /* {{{ */  in do_cli()  argument
637 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
647 exit_status = (c == '?' && argc > 1 && !strchr(argv[1], c)); in do_cli()
702 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { in do_cli()
877 strcmp(argv[php_optind-1],"--") in do_cli()
896 && strcmp(argv[php_optind-1],"--")) in do_cli()
898 script_file=argv[php_optind]; in do_cli()
923 arg_excp = argv+php_optind-1; in do_cli()
924 arg_free = argv[php_optind-1]; in do_cli()
926 argv[php_optind-1] = (char*)file_handle.filename; in do_cli()
927 SG(request_info).argv=argv+php_optind-1; in do_cli()
948 memset(argv[i], 0, strlen(argv[i])); in do_cli()
1155 int main(int argc, char *argv[]) in WinMain()
1161 char **argv = __argv; in WinMain() local
1165 char **argv_save = argv; in WinMain()
1184 argv = save_ps_args(argc, argv); in WinMain()
1235 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2))!=-1) { in WinMain()
1285 php_cli_usage(argv[0]); in WinMain()
1288 php_cli_usage(argv[0]); in WinMain()
1310 sapi_module->executable_location = argv[0]; in WinMain()
1345 PHP_WIN32_CP_W_TO_ANY_ARRAY(argv_wide, num_args, argv, argc) in WinMain()
1360 exit_status = do_cli(argc, argv); in WinMain()
1363 exit_status = do_cli_server(argc, argv); in WinMain()
1388 PHP_WIN32_CP_FREE_ARRAY(argv, argc); in WinMain()
1391 argv = argv_save; in WinMain()
1397 cleanup_ps_args(argv); in WinMain()