Searched refs:home (Results 1 - 25 of 151) sorted by relevance

1234567

/netbsd-current/external/gpl3/gdb/dist/gdb/unittests/
H A Dgdb_tilde_expand-selftests.c39 const std::string home (c_home);
42 SELF_CHECK (home == gdb_tilde_expand ("~"));
48 == home + "/non/existent/directory");
52 SELF_CHECK (gdb_tilde_expand ("~/*/a.out") == home + "/*/a.out");
64 SELF_CHECK (gdb_tilde_expand (("~" + user).c_str ()) == home);
66 == home + "/a/b");
69 /* Check that an error is thrown when trying to expand home of a unknown
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dset-cwd.c26 const char *home = getenv ("HOME"); local
H A Dset-cwd.exp44 set home ""
45 set test "print home var"
46 gdb_test_multiple "print home" $test {
48 set home $expect_out(1,string)
53 if { $home == "" } {
54 untested "could not retrieve home var"
72 gdb_assert [string equal $curdir $home] \
73 "successfully chdir'd into home"
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dset-cwd.c26 const char *home = getenv ("HOME"); local
H A Dset-cwd.exp43 set home ""
44 set test "print home var"
45 gdb_test_multiple "print home" $test {
47 set home $expect_out(1,string)
52 if { $home == "" } {
53 untested "could not retrieve home var"
71 gdb_assert [string equal $curdir $home] \
72 "successfully chdir'd into home"
/netbsd-current/usr.sbin/ypserv/ypinit/
H A DMakefile.main5 TARGETS+= passwd aliases amd.home ethers group hosts ipnodes netgroup \
/netbsd-current/games/backgammon/common_source/
H A Done.c57 if (mm->g[i] != home && board[mm->g[i]] * cturn < -1)
71 if (mm->g[i] == home && *offptr < 0)
75 if (mm->g[i] != home) {
77 board[home] -= cturn;
87 if (abs(home - mm->g[i]) < 7 && abs(home - mm->p[i]) > 6) {
134 for (i = home - 6 * cturn; i != home; i += cturn)
136 return (abs(home - i));
153 if (mm->g[i] != home) {
[all...]
H A Dallow.c78 if ((mm->p[i] += cturn) == home) {
102 if (mm->g[i] * cturn > home) {
104 mm->g[i] = home;
/netbsd-current/external/bsd/openldap/dist/tests/scripts/
H A Dtest085-homedir24 mkdir -p $TESTDIR $DBDIR1 $TESTDIR/home $TESTDIR/archive
75 homeDirectory: /home/user1
86 if ! test -e $TESTDIR/home/user1 ; then
92 echo "Moving home directory for user1..."
97 homeDirectory: /home/user1_new
108 if test -e $TESTDIR/home/user1 || ! test -e $TESTDIR/home/user1_new ; then
126 if test -e $TESTDIR/home/user1_new || \
/netbsd-current/external/gpl2/groff/dist/src/libs/libgroff/
H A Dsearchpath.cpp42 char *home = 0; local
44 home = getenv("HOME");
50 + ((home && *home) ? strlen(home) + 1 : 0)
62 if (home && *home) {
63 strcat(dirs, home);
/netbsd-current/crypto/external/bsd/netpgp/dist/src/hkpd/
H A Dmain.c46 /* set the home directory value to "home/subdir" */
48 set_homedir(netpgp_t *netpgp, char *home, const char *subdir, const int quiet) argument
53 if (home == NULL) {
59 (void) snprintf(d, sizeof(d), "%s%s", home, (subdir) ? subdir : "");
/netbsd-current/external/gpl2/lvm2/dist/test/
H A DMakefile23 abs_srcdir = /home/haad/src/LVM2.2.02.56/test
24 abs_builddir = /home/haad/src/LVM2.2.02.56/test
25 abs_top_builddir = /home/haad/src/LVM2.2.02.56
26 abs_top_srcdir = /home/haad/src/LVM2.2.02.56
/netbsd-current/external/bsd/am-utils/dist/hlfsd/
H A Dhomedir.c68 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...]
H A Dhlfsd.h86 #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
123 char *home; /* an xref ptr to uid2home_t->home */ member in struct:username2uid_t
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dpathstuff.cc249 const char *home = getenv ("HOME"); local
250 if (home != NULL && home[0] != '\0')
253 std::string abs = gdb_abspath (home);
316 const char *home = getenv ("HOME"); local
317 if (home != NULL && home[0] != '\0')
320 std::string abs = gdb_abspath (home);
/netbsd-current/external/bsd/tmux/dist/
H A Dtmux.c109 expand_path(const char *path, const char *home) argument
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);
308 static const char *home; local
310 if (home != NULL)
311 return (home);
313 home = getenv("HOME");
314 if (home
[all...]
/netbsd-current/external/bsd/kyua-cli/dist/cli/
H A Dcommon.cpp147 const optional< std::string > home = utils::getenv("HOME"); local
148 if (home) {
150 return utils::make_optional(fs::path(home.get()));
153 home.get() % e.what());
219 const optional< fs::path > home = cli::get_home(); local
220 if (home) {
221 store = home.get() / ".kyua/store.db";
H A Dconfig.cpp103 const optional< fs::path > home = cli::get_home(); local
104 if (home) {
105 const fs::path path = home.get() / ".kyua" / config_basename;
/netbsd-current/external/bsd/kyua-cli/dist/integration/
H A Dcmd_db_exec_test.sh67 HOME=home-dir
70 test -f home-dir/.kyua/store.db || atf_fail "Database not created in" \
71 "the home directory"
79 HOME=home-dir
82 test ! -d home-dir/.kyua || atf_fail "Home directory created but this" \
/netbsd-current/external/ibm-public/postfix/dist/src/local/
H A Dtoken.c33 /* home directory, an :include:/path/name request, an external
117 msg_warn("bad home directory syntax for: %s", addr);
122 } else if (usr_attr.home == 0) { /* require user context */
123 msg_warn("unknown home directory for: %s", addr);
128 } else if (usr_attr.home[0] == '/' && usr_attr.home[1] == 0) {
130 } else { /* expand ~ to home */
131 full_path = concatenate(usr_attr.home, addr + 1, (char *) 0);
/netbsd-current/external/bsd/am-utils/dist/scripts/
H A Dctl-hlfsd.in10 # mail to home directory of the user
91 echo @sbindir@/hlfsd ${PASSWD_FILE} -a $altmaildir -x all -l $logdir/hlfsd /mail/home .mailspool
92 @sbindir@/hlfsd ${PASSWD_FILE} -a $altmaildir -x all -l $logdir/hlfsd /mail/home .mailspool &
/netbsd-current/external/bsd/openldap/dist/tests/data/
H A Dslapd-homedir.conf50 homedir-regexp ^(/home/[-_/a-z0-9]+)$ @TESTDIR@/$1
/netbsd-current/crypto/external/bsd/netpgp/dist/bindings/lua/
H A Dglue.c69 /* set the home directory value to "home/subdir" */
71 set_homedir(netpgp_t *netpgp, char *home, const char *subdir, const int quiet) argument
76 if (home == NULL) {
82 (void) snprintf(d, sizeof(d), "%s%s", home, (subdir) ? subdir : "");
128 const char *home; local
132 home = luaL_checkstring(L, 2);
133 lua_pushnumber(L, set_homedir(netpgp, __UNCONST(home), NULL, 0));
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A DMachineModel.cc57 // 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);
/netbsd-current/games/backgammon/backgammon/
H A Dmove.c218 for (pos = bar; pos != home; pos += cturn) {
231 if (mm->g[mvnum] * cturn >= home) {
234 mm->g[mvnum] = home;
437 for (i = bar + cturn; i != home; i += cturn)
441 frp = freemen(home) + trapped(home, -cturn);
443 for (em = bar; em != home; em += cturn)
446 em = abs(home - em);
478 barmen = abs(board[home]);
527 n = barmen - abs(board[home]);
[all...]

Completed in 246 milliseconds

1234567