Lines Matching refs:home
70 const char *home; in get_homedir() local
72 home = getenv ("HOME"); in get_homedir()
73 if (home == NULL) in get_homedir()
78 home = user->pw_dir; in get_homedir()
81 if (home == NULL) in get_homedir()
87 return home; in get_homedir()
98 const char *home; in get_session_file() local
152 home = get_homedir (); in get_session_file()
154 result = malloc (strlen (home) + strlen (prefix) + strlen (machine) + in get_session_file()
163 strcpy (result, home); in get_session_file()
177 const char *home; in ensure_session_directory() local
180 home = get_homedir (); in ensure_session_directory()
183 dir = malloc (strlen (home) + strlen (DBUS_DIR) + strlen (DBUS_SESSION_BUS_DIR) + 3); in ensure_session_directory()
190 strcpy (dir, home); in ensure_session_directory()