| /xsrc/external/mit/xinit/dist/launchd/user_startx/ |
| launchd_startx.c | 58 char const * const home = getenv("HOME"); local 59 assert(home); 60 chdir(home);
|
| /xsrc/external/mit/xdm/dist/greeter/ |
| verify.c | 73 userEnv (struct display *d, int useSystemPath, char *user, char *home, char *shell) 81 env = setEnv (env, "HOME", home); 107 char *style, *shell, *home, *s, **argv; local 226 char *shell, *home; local 422 home = p->pw_dir; 433 greet->name, home, shell); 436 verify->systemEnviron = systemEnv (d, greet->name, home);
|
| /xsrc/external/mit/xterm/dist/vttests/ |
| xtra-scroll.pl | 129 sub home() { subroutine 260 &home; 323 &home; 386 &home; 407 . " H (to home)." 449 &home; 494 &home;
|
| /xsrc/external/mit/libXcursor/dist/src/ |
| library.c | 85 char *home; local 106 home = NULL; 110 home = getenv ("HOME"); 111 if (!home) 113 homelen = (int) strlen (home); 129 if (home) 130 _XcursorAddPathElt (full, home, -1);
|
| /xsrc/external/mit/xkbevd/dist/ |
| xkbevd.c | 491 char *home = getenv("HOME"); local 492 snprintf(buf, sizeof(buf), DFLT_XKBEVD_CONFIG, (home ? home : ""));
|
| /xsrc/external/mit/xorg-server/dist/hw/xquartz/ |
| darwin.c | 676 char *home = getenv("HOME"); local 677 assert(home); 678 assert(0 < asprintf(&lf, "%s/Library/Logs/X11", home)); 687 asprintf(&lf, "%s/Library/Logs/X11/%s.log", home,
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| winprefs.c | 708 char *home; local 721 home = getenv("HOME"); 722 if (home) { 723 strcpy(fname, home); 730 /* No home file found, check system default */
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| winprefs.c | 719 char *home; local 733 home = getenv ("HOME"); 734 if (home) 736 strcpy (fname, home); 746 /* No home file found, check system default */
|
| /xsrc/external/mit/xsm/dist/ |
| restart.c | 527 const char *home; 534 home = getenv ("HOME"); 535 if (!home) 536 home = "."; 537 snprintf (filename, sizeof(filename), "%s/.xsmstartup", home); 522 const char *home; local
|
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| imLcIm.c | 339 /* There are some races here with 'dir', but we are either in our own home 515 /* Should use getpwent() instead of $HOME (cross-platform?) */ 516 char *home = getenv("HOME"); local 519 int hl = home ? strlen (home) : 0; 530 if (home != (char *) NULL) { 534 strcpy(name, home); 582 if (getuid () == euid && getgid () == egid && euid != 0 && home) { 586 strcpy (cachedir, home); [all...] |
| imLcPrs.c | 311 char *home = NULL, *lcCompose = NULL; local 324 if (home == NULL) 325 home = getenv("HOME"); 326 if (home) { 327 size_t Hsize = strlen(home); 329 /* your home directory length is ridiculous */ 378 if (home) { 379 strcpy(j, home); 380 j += strlen(home); [all...] |
| /xsrc/external/mit/xdm/dist/xdm/ |
| session.c | 586 char **f, *home; local 795 home = getEnv (verify->userEnviron, "HOME"); 796 if (home) 797 if (chdir (home) == -1) { 798 LogError ("user \"%s\": cannot chdir to home \"%s\" (err %d), using \"/\"\n", 799 getEnv (verify->userEnviron, "USER"), home, errno); 801 verify->userEnviron = setEnv(verify->userEnviron, "HOME", "/"); 984 systemEnv (struct display *d, char *user, char *home) 990 if (home) [all...] |
| auth.c | 1074 char *home; local 1090 home = getEnv (verify->userEnviron, "HOME"); 1092 if (home) { 1093 snprintf (home_name, sizeof(home_name), "%s/.Xauthority", home); 1257 char *home; local 1267 home = getEnv (verify->userEnviron, "HOME"); 1268 if (!home) 1271 snprintf(name, sizeof(name), "%s/.Xauthority", home); [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| xf86Configure.c | 543 char *home = NULL; local 638 home = getenv("HOME"); 639 if ((home == NULL) || (home[0] == '\0')) { 640 home = "/"; 643 int l = strlen(home); 645 if (home[l-1] != '/') { 651 home, addslash);
|
| /xsrc/external/mit/xedit/dist/ |
| commands.c | 752 char home[BUFSIZ]; local 767 strncpy(home, pw->pw_dir, sizeof(home) - 1); 768 home[sizeof(home) - 1] = '\0'; 769 hlen = strlen(home); 773 (void)memmove(save, home, hlen);
|
| /xsrc/external/mit/xedit/dist/lisp/ |
| pathname.c | 1050 /* XXX only checks if host is a string and only checks the HOME enviroment 1059 char *home = getenv("HOME"), data[PATH_MAX + 1]; local 1070 if (home) { 1071 strlcpy(data, home, sizeof(data));
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| xf86Configure.c | 616 const char *home = NULL; local 692 home = getenv("HOME"); 693 if ((home == NULL) || (home[0] == '\0')) { 694 home = "/"; 698 int l = strlen(home); 700 if (home[l - 1] != '/') { 706 home, addslash);
|
| /xsrc/external/mit/xterm/dist/ |
| trace.c | 94 char *home; local 97 * Put the trace-file in user's home-directory if the current 100 home = ((access(dot, R_OK | W_OK) == 0) 102 : getenv("HOME")); 103 if (home != NULL && 104 (name = malloc(strlen(home) + strlen(trace_who) + 50)) != NULL) { 109 sprintf(name, "%s/Trace-%s.out-%d", home, trace_who, unique); 111 sprintf(name, "%s/Trace-%s.out", home, trace_who); 118 sprintf(name, "%s/Trace-%s.out", home, trace_who);
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| xmlconfig.c | 1179 char *home; local 1184 if ((home = getenv("HOME"))) { 1187 snprintf(filename, PATH_MAX, "%s/.drirc", home);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| xmlconfig.c | 998 char *home; local 1012 if ((home = getenv ("HOME"))) { 1015 snprintf(filename, PATH_MAX, "%s/.drirc", home);
|
| /xsrc/external/mit/fontconfig/dist/src/ |
| fcstr.c | 1027 FcChar8 *home = FcConfigHome (); local 1030 if (!home) 1032 size = strlen ((char *) home) + strlen ((char *) s); 1036 strcpy ((char *) full, (char *) home);
|
| fccfg.c | 2493 char *home = getenv ("HOME"); local 2496 if (home == NULL) 2497 home = getenv ("USERPROFILE"); 2500 return (FcChar8 *) home; 2517 const FcChar8 *home = FcConfigHome (); local 2518 size_t len = home ? strlen ((const char *)home) : 0; 2523 if (home) 2524 memcpy (ret, home, len) 2545 const FcChar8 *home = FcConfigHome (); local 2573 const FcChar8 *home = FcConfigHome (); local [all...] |
| /xsrc/external/mit/twm/dist/src/ |
| parse.c | 100 * \param filename the filename to parse. NULL indicates $HOME/.twmrc 165 char *home = NULL; local 182 home = getenv("HOME"); 183 if (home) { 184 homelen = (int) strlen(home); 187 "%s/.twmrc.%d", home, Scr->screen); 194 if (home) {
|