| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| set-cwd.c | 26 const char *home = getenv ("HOME"); local
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| set-cwd.c | 26 const char *home = getenv ("HOME"); local
|
| /src/games/battlestar/ |
| save.c | 152 * determine the name of the file to be saved to by adding the HOME 159 char *home; local 172 home = getenv("HOME"); 173 if (home != NULL) { 174 tmpl = strlen(home); 180 memcpy(newname, home, tmpl);
|
| /src/external/bsd/kyua-cli/dist/cli/ |
| config.cpp | 103 const optional< fs::path > home = cli::get_home(); local 104 if (home) { 105 const fs::path path = home.get() / ".kyua" / config_basename;
|
| common.cpp | 140 /// Gets the value of the HOME environment variable with path validation. 142 /// \return The value of the HOME environment variable if it is a valid path; 147 const optional< std::string > home = utils::getenv("HOME"); local 148 if (home) { 150 return utils::make_optional(fs::path(home.get())); 152 LW(F("Invalid value '%s' in HOME environment variable: %s") % 153 home.get() % e.what()); 219 const optional< fs::path > home = cli::get_home(); local 220 if (home) { [all...] |
| /src/games/hack/ |
| hack.terminfo.c | 149 home(); 243 home(void) function
|
| /src/external/bsd/am-utils/dist/hlfsd/ |
| hlfsd.h | 86 #define HOME_SUBDIR ".hlfsdir" /* dirname in user's home dir */ 87 #define DEFAULT_DIRNAME "/hlfs/home" 114 char *home; /* really allocated */ member in struct:uid2home_t 117 int last_status; /* 0=used $HOME/.hlfsspool; !0=used alt dir */ 123 char *home; /* an xref ptr to uid2home_t->home */ member in struct:username2uid_t
|
| homedir.c | 68 static char *root_home; /* root's home directory */ 78 * Return the home directory pathname for the user with uid "userid". 93 homename = found->home; 97 return alt_spooldir; /* use alt spool for / or rel. home */ 99 if ((int) userid == 0) /* force all uid 0 to use root's home */ 154 dlog("cache spill uid = %ld, pid = %ld, home = %s", 156 lastchild->home); 194 } else { /* the home dir itself must not exist then */ 203 * If gets here, then either the spool dir in the home dir exists, 383 return untab[idx].home; 390 char *home; local [all...] |
| /src/external/gpl2/groff/dist/src/libs/libgroff/ |
| searchpath.cpp | 42 char *home = 0; local 44 home = getenv("HOME"); 50 + ((home && *home) ? strlen(home) + 1 : 0) 62 if (home && *home) { 63 strcat(dirs, home);
|
| /src/bin/sh/ |
| main.c | 240 const char *home; local 242 home = lookupvar("HOME"); 243 if (home == NULL) 244 home = nullstr; 245 profile = ststrcat(NULL, home, "/.profile", STSTRC_END);
|
| /src/usr.bin/indent/ |
| args.c | 314 const char *home = getenv("HOME"); local 315 if (home != NULL) { 317 snprintf(fname, sizeof(fname), "%s/.indent.pro", home);
|
| /src/crypto/external/bsd/netpgp/dist/bindings/lua/ |
| glue.c | 69 /* set the home directory value to "home/subdir" */ 71 set_homedir(netpgp_t *netpgp, char *home, const char *subdir, const int quiet) 76 if (home == NULL) { 78 (void) fprintf(stderr, "NULL HOME directory\n"); 82 (void) snprintf(d, sizeof(d), "%s%s", home, (subdir) ? subdir : ""); 108 set_homedir(netpgp, getenv("HOME"), "/.gnupg", 1); 128 const char *home; local 132 home = luaL_checkstring(L, 2); 133 lua_pushnumber(L, set_homedir(netpgp, __UNCONST(home), NULL, 0)) [all...] |
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| MachineModel.cc | 57 // Read the user's home directory to see if it's there 58 char *home = getenv (NTXT ("HOME")); local 59 if (home != NULL) 61 path = dbe_sprintf (NTXT ("%s/%s.ermm"), home, name); 269 // Read the user's home directory to list the models there 270 char *home = getenv ("HOME"); local 271 if (home != NULL) 273 dir = opendir (home); [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| MachineModel.cc | 57 // Read the user's home directory to see if it's there 58 char *home = getenv (NTXT ("HOME")); local 59 if (home != NULL) 61 path = dbe_sprintf (NTXT ("%s/%s.ermm"), home, name); 269 // Read the user's home directory to list the models there 270 char *home = getenv ("HOME"); local 271 if (home != NULL) 273 dir = opendir (home); [all...] |
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| pathstuff.cc | 254 const char *home = getenv ("HOME"); local 255 if (home != NULL && home[0] != '\0') 258 std::string abs = gdb_abspath (home); 321 const char *home = getenv ("HOME"); local 322 if (home != NULL && home[0] != '\0') 325 std::string abs = gdb_abspath (home); [all...] |
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| pathstuff.cc | 254 const char *home = getenv ("HOME"); local 255 if (home != NULL && home[0] != '\0') 258 std::string abs = gdb_abspath (home); 321 const char *home = getenv ("HOME"); local 322 if (home != NULL && home[0] != '\0') 325 std::string abs = gdb_abspath (home); [all...] |
| /src/distrib/utils/more/ |
| screen.c | 93 *sc_home, /* Cursor home */ 347 * We need it only if we don't have home or lower-left. 396 * No "home" string, 475 * Home cursor (move to upper left corner of screen). 478 home() function 484 * Add a blank line (called with cursor at home).
|
| /src/games/backgammon/common_source/ |
| init.c | 87 int home; variable
|
| /src/usr.sbin/rpc.pcnfsd/ |
| pcnfsd_v2.c | 82 static char home[256]; local 95 home[0] = '\0'; 96 r.home = &home[0]; 112 yphome = find_entry(uname, "auto.home"); 114 strlcpy(home, yphome, sizeof(home)); 116 cp = strchr(home, ':'); 146 yphome = find_entry(uname, "auto.home"); 148 strlcpy(home, yphome, sizeof(home)) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/kafs/ |
| common.c | 238 homedir = getenv("HOME"); 240 char home[MaxPathLen]; local 241 snprintf(home, sizeof(home), "%s/.TheseCells", homedir); 242 find_cells(home, &cells, &idx);
|
| /src/external/bsd/file/dist/src/ |
| magic.c | 185 char *home, *hmagicpath; local 194 if ((home = getenv("HOME")) == NULL) 197 if (asprintf(&hmagicpath, "%s/.magic.mgc", home) < 0) 201 if (asprintf(&hmagicpath, "%s/.magic", home) < 0) 207 if (asprintf(&hmagicpath, "%s/%s", home, hmagic) < 0) 230 /* Before anything else, try to get a magic file from user HOME */ 231 if ((home = getenv("HOME")) != NULL) 232 _w32_append_path(&hmagicpath, "%s%s", home, hmagic) [all...] |
| /src/external/bsd/openldap/dist/libraries/libldap/ |
| init.c | 382 char *home; local 390 home = getenv("HOME"); 392 if (home != NULL) { 393 Debug1(LDAP_DEBUG_TRACE, "ldap_init: HOME env is %s\n", 394 home ); 395 path = LDAP_MALLOC(strlen(home) + strlen(file) + sizeof( LDAP_DIRSEP ".")); 397 Debug0(LDAP_DEBUG_TRACE, "ldap_init: HOME env is NULL\n" ); 400 if(home != NULL && path != NULL) { 404 sprintf(path, "%s" LDAP_DIRSEP "%s", home, file) [all...] |
| /src/external/bsd/tmux/dist/ |
| file.c | 44 const char *home; local 50 home = find_home(); 51 if (home == NULL) 52 home = ""; 53 xasprintf(&path, "%s%s", home, file + 1);
|
| job.c | 81 const char *home, *shell; local 145 else if ((home = find_home()) != NULL && chdir(home) == 0) 146 environ_set(env, "PWD", 0, "%s", home);
|
| tmux.c | 109 expand_path(const char *path, const char *home) 116 if (home == NULL) 118 xasprintf(&expanded, "%s%s", home, path + 1); 144 const char *home = find_home(); local 154 expanded = expand_path(next, home); 326 static const char *home; local 328 if (home != NULL) 329 return (home); 331 home = getenv("HOME"); [all...] |