Lines Matching refs:mpm_new_argv
371 * The winnt_rewrite_args has created and shared mpm_new_argv with us.
373 extern apr_array_header_t *mpm_new_argv;
388 mpm_service_set_name(mpm_new_argv->pool, &ignored, service_name);
408 * but we have no interest in argv[0] for the mpm_new_argv list.
415 mpm_new_argv->nalloc = mpm_new_argv->nelts + argc - 1;
416 cmb_data = malloc(mpm_new_argv->nalloc * sizeof(const char *));
418 /* mpm_new_argv remains first (of lower significance) */
419 memcpy (cmb_data, mpm_new_argv->elts,
420 mpm_new_argv->elt_size * mpm_new_argv->nelts);
423 memcpy (cmb_data + mpm_new_argv->nelts, argv + 1,
424 mpm_new_argv->elt_size * (argc - 1));
426 cmb = cmb_data + mpm_new_argv->nelts;
437 mpm_new_argv->elts = (char *)cmb_data;
438 mpm_new_argv->nelts = mpm_new_argv->nalloc;
458 mpm_service_set_name(mpm_new_argv->pool, &ignored, argv[0]);
479 * but we have no interest in argv[0] for the mpm_new_argv list.
485 mpm_new_argv->nalloc = mpm_new_argv->nelts + argc - 1;
486 cmb_data = malloc(mpm_new_argv->nalloc * sizeof(const char *));
488 /* mpm_new_argv remains first (of lower significance) */
489 memcpy (cmb_data, mpm_new_argv->elts,
490 mpm_new_argv->elt_size * mpm_new_argv->nelts);
493 memcpy (cmb_data + mpm_new_argv->nelts, argv + 1,
494 mpm_new_argv->elt_size * (argc - 1));
497 mpm_new_argv->elts = (char *)cmb_data;
498 mpm_new_argv->nelts = mpm_new_argv->nalloc;