Searched refs:newargv (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/xorg-server/dist/hw/xquartz/mach-startup/
H A Dstub.c188 string_array_t newargv; local in function:main
310 newargv = (string_array_t)calloc((1 + argc), sizeof(string_t));
313 if (!newargv || !newenvp) {
315 free(newargv);
323 strlcpy(newargv[i], argv[i], STRING_T_SIZE);
329 kr = start_x11_server(mp, newargv, argc, newenvp, envpc);
331 free(newargv);
H A Dbundle-main.c418 string_array_t newargv; local in function:startup_trigger
427 newargv = (string_array_t)alloca(argc * sizeof(string_t));
430 if (!newargv || !newenvp) {
436 strlcpy(newargv[i], argv[i], STRING_T_SIZE);
450 kr = start_x11_server(mp, newargv, argc, newenvp, envpc);
737 const char *newargv[4]; local in function:execute
740 newargv[0] = pref_login_shell;
741 newargv[1] = "-c";
742 newargv[2] = command;
743 newargv[
[all...]
/xsrc/external/mit/xdm/dist/xdm/
H A Dutil.c214 char **newargv; local in function:parseArgs
231 newargv = realloc ((char *) argv,
234 if (!newargv || !save) {
237 free (newargv ? newargv : argv);
241 argv = newargv;
H A Dsession.c907 char **newargv, **av; local in function:execute
953 newargv = malloc ((argc + (optarg ? 3 : 2)) * sizeof (char *));
954 if (!newargv)
956 av = newargv;
964 Debug ("Attempting to execve() %s\n", newargv[0]);
965 execve (newargv[0], newargv, environ);
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/mach-startup/
H A Dstub.c194 string_array_t newargv; local in function:main
303 newargv = (string_array_t)malloc(argc * sizeof(string_t));
306 if(!newargv || !newenvp) {
312 strlcpy(newargv[i], argv[i], STRING_T_SIZE);
318 kr = start_x11_server(mp, newargv, argc, newenvp, envpc);
320 free(newargv);
H A Dbundle-main.c371 string_array_t newargv; local in function:startup_trigger
380 newargv = (string_array_t)alloca(argc * sizeof(string_t));
383 if(!newargv || !newenvp) {
389 strlcpy(newargv[i], argv[i], STRING_T_SIZE);
405 kr = start_x11_server(mp, newargv, argc, newenvp, envpc);
633 const char *newargv[4]; local in function:execute
636 newargv[0] = pref_login_shell;
637 newargv[1] = "-c";
638 newargv[2] = command;
639 newargv[
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xquartz/
H A DX11Controller.m345 const char *newargv[4];
354 newargv[0] = shell.fileSystemRepresentation;
355 newargv[1] = "-c";
356 newargv[2] = filename.fileSystemRepresentation;
357 newargv[3] = NULL;
370 asprintf(&asl_sender, "%s.%s", bundle_id_prefix, newargv[2]);
428 execvp(newargv[0], (char * *const)newargv);
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/
H A DX11Controller.m345 const char *newargv[4];
349 newargv[0] = [X11App prefs_get_string:@PREFS_LOGIN_SHELL default:"/bin/sh"];
350 newargv[1] = "-c";
351 newargv[2] = [filename UTF8String];
352 newargv[3] = NULL;
385 execvp(newargv[0], (char **const) newargv);

Completed in 9 milliseconds