Lines Matching defs:argv
376 static void __stdcall service_nt_main_fn_w(DWORD argc, LPWSTR *argv)
381 apr_size_t wslen = wcslen(argv[0]) + 1;
385 (void)apr_conv_ucs2_to_utf8(argv[0], &wslen, service_name, &slen);
395 RegisterServiceCtrlHandlerExW(argv[0], service_nt_ctrl, ctx)))
408 * but we have no interest in argv[0] for the mpm_new_argv list.
423 memcpy (cmb_data + mpm_new_argv->nelts, argv + 1,
430 wslen = wcslen(argv[i]) + 1;
433 (void)apr_conv_ucs2_to_utf8(argv[i], &wslen, *(cmb++), &slen);
452 static void __stdcall service_nt_main_fn(DWORD argc, LPSTR *argv)
458 mpm_service_set_name(mpm_new_argv->pool, &ignored, argv[0]);
466 RegisterServiceCtrlHandlerExA(argv[0], service_nt_ctrl, ctx)))
479 * but we have no interest in argv[0] for the mpm_new_argv list.
493 memcpy (cmb_data + mpm_new_argv->nelts, argv + 1,
646 /* First three args (argv[0], -f, path) remain first */
745 const char * const * argv, int reconfig)
931 rv = ap_regkey_value_array_set(key, "ConfigArgs", argc, argv, pconf);
1036 const char * const * argv)
1096 apr_size_t slen = strlen(argv[i]) + 1;
1099 rv = apr_conv_utf8_to_ucs2(argv[i], &slen, start_argv_w[i], &wslen);
1118 memcpy(start_argv, argv, argc * sizeof(const char *));