Searched defs:argc (Results 1 - 25 of 33) sorted by relevance

12

/httpd/support/
H A Dcheckgid.c47 int main(int argc, char *argv[]) argument
59 for (i = 1; i < argc; ++i) {
H A Dfcgistarter.c56 int main(int argc, const char * const argv[]) argument
72 apr_app_initialize(&argc, &argv, NULL);
78 rv = apr_getopt_init(&gopt, pool, argc, argv);
H A Dhttxt2dbm.c175 int main(int argc, const char *const argv[]) argument
185 apr_app_initialize(&argc, &argv, NULL);
195 if (argc) {
203 rv = apr_getopt_init(&opt, pool, argc, argv);
210 if (argc <= 1) {
H A Dlogresolve.c131 int main(int argc, const char * const argv[]) argument
146 if (apr_app_initialize(&argc, &argv, NULL) != APR_SUCCESS) {
151 if (argc) {
159 apr_getopt_init(&o, pool, argc, argv);
H A Dsuexec.c285 int main(int argc, char *argv[]) argument
321 if ((argc > 1)
363 if (argc < 4) {
H A Dhtdbm.c311 int main(int argc, const char * const argv[]) argument
327 apr_app_initialize(&argc, &argv, NULL);
336 rv = apr_getopt_init(&state, pool, argc, argv);
390 if (rv != APR_EOF || argc - i != args_left)
H A Dhtdigest.c186 int main(int argc, const char * const argv[]) argument
200 apr_app_initialize(&argc, &argv, NULL);
215 if (argc == 5) {
233 else if (argc != 4)
H A Dhtpasswd.c159 static void check_args(int argc, const char *const argv[], argument
172 rv = apr_getopt_init(&state, pool, argc, argv);
219 if ((argc - i) != args_left) {
274 int main(int argc, const char * const argv[]) argument
294 apr_app_initialize(&argc, &argv, NULL);
320 check_args(argc, argv, &ctx, &mask, &user, &pwfilename);
H A Dfirehose.c650 int main(int argc, const char * const argv[]) argument
661 if (APR_SUCCESS != (status = apr_app_initialize(&argc, &argv, NULL))) {
686 apr_getopt_init(&opt, pool, argc, argv);
746 while (opt->ind < argc) {
H A Drotatelogs.c559 int main (int argc, const char * const argv[]) argument
576 apr_app_initialize(&argc, &argv, NULL);
584 apr_getopt_init(&opt, status.pool, argc, argv);
640 if ((argc - opt->ind < 2) || (argc - opt->ind > 4) ) {
651 for(; opt->ind < argc; opt->ind++) {
653 opt->ind < argc - 1 ? 0 : 1)) != NULL) {
/httpd/test/
H A Dtest-writev.c49 void main( int argc, char **argv ) argument
58 if( argc != 3 ) {
H A Dtest_limits.c80 main(int argc, char *argv[]) argument
94 while ((o = getopt(argc, argv, "t:a:p:n:")) != EOF)
119 if (argc != optind)
H A Dcls.c90 int main(int argc, char **argv) argument
105 if (argc != 2) {
H A Dtime-sem.c504 void main (int argc, char **argv) argument
515 if (argc != 3) {
/httpd/server/
H A Dgen_test_char.c56 int main(int argc, char *argv[]) argument
H A Dmain.c298 static process_rec *init_process(int *argc, const char * const * *argv) argument
305 stat = apr_app_initialize(argc, argv, NULL);
344 process->argc = *argc;
460 int main(int argc, const char * const argv[]) argument
482 process = init_process(&argc, &argv);
516 apr_getopt_init(&opt, pcommands, process->argc, process->argv);
627 if (rv != APR_EOF || opt->ind < opt->argc) {
H A Dlisten.c958 int argc, char *const argv[])
969 if (argc < 1 || argc > 2) {
996 if (argc != 2) {
957 ap_set_listener(cmd_parms *cmd, void *dummy, int argc, char *const argv[]) argument
/httpd/modules/aaa/
H A Dmod_allowhandlers.c88 static const char *set_allowed_handlers(cmd_parms *cmd, void *d, int argc, char *const argv[]) argument
95 if (argc == 0)
100 for (i = 0; i < argc; i++) {
104 if (argc != 1)
110 if (i != 0 || argc == 1)
H A Dmod_allowmethods.c106 static const char *am_allowmethods(cmd_parms *cmd, void *d, int argc, argument
112 if (argc == 0) {
115 if (argc == 1) {
123 for (i = 0; i < argc; i++) {
H A Dmod_authnz_fcgi.c1071 int argc,
1078 if (ca >= argc) {
1086 if (ca < argc) {
1091 while (ca < argc) {
1098 if (ca >= argc) {
1161 int argc,
1183 if (ca >= argc) {
1207 if (ca >= argc) {
1213 if (ca >= argc) {
1259 if (ca != argc) {
1069 fcgi_check_authn_provider(cmd_parms *cmd, void *d, int argc, char *const argv[]) argument
1159 fcgi_define_provider(cmd_parms *cmd, void *d, int argc, char *const argv[]) argument
[all...]
/httpd/modules/filters/
H A Dmod_include.h89 unsigned argc; member in struct:__anon164
H A Dmod_filter.c599 int argc, char *const argv[])
607 if (argc < 2)
610 types = apr_palloc(cmd->pool, argc * sizeof(char *));
611 memcpy(types, &argv[1], (argc - 1) * sizeof(char *));
612 types[argc-1] = NULL;
598 filter_bytype(cmd_parms *cmd, void *CFG, int argc, char *const argv[]) argument
/httpd/support/win32/
H A Dwintty.c82 int main(int argc, char** argv) argument
100 while (--argc) {
128 --argc;
139 --argc;
/httpd/server/mpm/winnt/
H A Dservice.c376 static void __stdcall service_nt_main_fn_w(DWORD argc, LPWSTR *argv) argument
410 if (argc > 1)
415 mpm_new_argv->nalloc = mpm_new_argv->nelts + argc - 1;
424 mpm_new_argv->elt_size * (argc - 1));
428 for (i = 1; i < argc; ++i)
452 static void __stdcall service_nt_main_fn(DWORD argc, LPSTR *argv) argument
481 if (argc > 1)
485 mpm_new_argv->nalloc = mpm_new_argv->nelts + argc - 1;
494 mpm_new_argv->elt_size * (argc - 1));
744 apr_status_t mpm_service_install(apr_pool_t *ptemp, int argc, argument
1035 mpm_service_start(apr_pool_t *ptemp, int argc, const char * const * argv) argument
[all...]
/httpd/modules/proxy/
H A Dmod_serf.c617 int argc, char *const argv[])
623 if (argc < 1) {
646 for (i = 1; i < argc; i++) {
665 int argc, char *const argv[])
681 if (argc < 2) {
697 for (i = 2; i < argc; i++) {
616 add_pass(cmd_parms *cmd, void *vconf, int argc, char *const argv[]) argument
664 add_cluster(cmd_parms *cmd, void *d, int argc, char *const argv[]) argument

Completed in 1728 milliseconds

12