Lines Matching refs:argc
376 static void __stdcall service_nt_main_fn_w(DWORD argc, LPWSTR *argv)
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)
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,
931 rv = ap_regkey_value_array_set(key, "ConfigArgs", argc, argv, pconf);
1035 apr_status_t mpm_service_start(apr_pool_t *ptemp, int argc,
1091 LPWSTR *start_argv_w = malloc((argc + 1) * sizeof(LPCWSTR));
1094 for (i = 0; i < argc; ++i)
1105 start_argv_w[argc] = NULL;
1107 if (StartServiceW(schService, argc, start_argv_w)
1117 char **start_argv = malloc((argc + 1) * sizeof(const char *));
1118 memcpy(start_argv, argv, argc * sizeof(const char *));
1119 start_argv[argc] = NULL;
1121 if (StartService(schService, argc, start_argv)