/dragonfly/games/backgammon/common_source/ |
H A D | one.c | 49 if (mm->g[i] != home && board[mm->g[i]] * cturn < -1) in makmove() 63 if (mm->g[i] == home && *offptr < 0) in makmove() 67 if (mm->g[i] != home) { in makmove() 69 board[home] -= cturn; in makmove() 79 if (abs(home - mm->g[i]) < 7 && abs(home - mm->p[i]) > 6) { in makmove() 126 for (i = home - 6 * cturn; i != home; i += cturn) in last() 128 return (abs(home - i)); in last() 145 if (mm->g[i] != home) { in backone() 147 if (abs(mm->g[i] - home) < 7 && abs(mm->p[i] - home) > 6) { in backone() 157 board[home] += cturn; in backone()
|
H A D | allow.c | 70 if ((mm->p[i] += cturn) == home) { in movallow() 94 if (mm->g[i] * cturn > home) { in movallow() 96 mm->g[i] = home; in movallow()
|
/dragonfly/contrib/ncurses/ncurses/tinfo/ |
H A D | home_terminfo.c | 55 char *home; in NCURSES_EXPORT() local 57 if ((home = getenv("HOME")) != 0) { in NCURSES_EXPORT() 58 size_t want = (strlen(home) + sizeof(PRIVATE_INFO)); in NCURSES_EXPORT() 60 _nc_SPRINTF(MyBuffer, _nc_SLIMIT(want) PRIVATE_INFO, home); in NCURSES_EXPORT()
|
/dragonfly/contrib/file/src/ |
H A D | magic.c | 179 char *home, *hmagicpath; in get_default_magic() local 188 if ((home = getenv("HOME")) == NULL) in get_default_magic() 191 if (asprintf(&hmagicpath, "%s/.magic.mgc", home) < 0) in get_default_magic() 195 if (asprintf(&hmagicpath, "%s/.magic", home) < 0) in get_default_magic() 225 if ((home = getenv("HOME")) != NULL) in get_default_magic() 226 _w32_append_path(&hmagicpath, "%s%s", home, hmagic); in get_default_magic() 229 if ((home = getenv("LOCALAPPDATA")) != NULL) in get_default_magic() 230 _w32_append_path(&hmagicpath, "%s%s", home, hmagic); in get_default_magic() 233 if ((home = getenv("USERPROFILE")) != NULL) in get_default_magic() 238 if ((home = getenv("COMMONPROGRAMFILES")) != NULL) in get_default_magic() [all …]
|
/dragonfly/usr.sbin/pw/ |
H A D | pw_user.c | 143 cnf->home = arg->val; in pw_user() 160 int l = strlen(cnf->home); in pw_user() 163 cnf->home[--l] = '\0'; in pw_user() 186 symlink(dbuf+1, cnf->home); in pw_user() 393 strlcpy(home, pwd->pw_dir, sizeof(home)); in pw_user() 432 if (stat(home, &st) != -1) { in pw_user() 433 rm_r(home, uid); in pw_user() 955 static char home[128]; in pw_homepolicy() local 957 if (cnf->home == NULL || *cnf->home == '\0') in pw_homepolicy() 959 sprintf(home, "%s/%s", cnf->home, user); in pw_homepolicy() [all …]
|
/dragonfly/usr.bin/window/ |
H A D | startup.c | 46 const char *home; in doconfig() local 49 if ((home = getenv("HOME")) == NULL) in doconfig() 50 home = "."; in doconfig() 53 home, runcom); in doconfig()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | dbxout.c | 3009 rtx value = home; in dbxout_symbol_location() 3018 home = alter_subreg (&home, true); in dbxout_symbol_location() 3020 if (REG_P (home)) in dbxout_symbol_location() 3040 if (MEM_P (home) && GET_CODE (XEXP (home, 0)) == SYMBOL_REF) in dbxout_symbol_location() 3056 addr = XEXP (home, 0); in dbxout_symbol_location() 3129 else if (MEM_P (home) in dbxout_symbol_location() 3168 else if (MEM_P (home) in dbxout_symbol_location() 3174 else if (MEM_P (home) in dbxout_symbol_location() 3183 else if (MEM_P (home) in dbxout_symbol_location() 3316 rtx home; in dbxout_common_check() local [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | dbxout.c | 2988 rtx value = home; in dbxout_symbol_location() 2997 home = alter_subreg (&home); in dbxout_symbol_location() 2999 if (REG_P (home)) in dbxout_symbol_location() 3019 if (MEM_P (home) && GET_CODE (XEXP (home, 0)) == SYMBOL_REF) in dbxout_symbol_location() 3035 addr = XEXP (home, 0); in dbxout_symbol_location() 3108 else if (MEM_P (home) in dbxout_symbol_location() 3147 else if (MEM_P (home) in dbxout_symbol_location() 3153 else if (MEM_P (home) in dbxout_symbol_location() 3162 else if (MEM_P (home) in dbxout_symbol_location() 3295 rtx home; in dbxout_common_check() local [all …]
|
/dragonfly/games/backgammon/backgammon/ |
H A D | move.c | 210 for (pos = bar; pos != home; pos += cturn) { in trymove() 223 if (mm->g[mvnum] * cturn >= home) { in trymove() 226 mm->g[mvnum] = home; in trymove() 429 for (i = bar + cturn; i != home; i += cturn) in movcmp() 433 frp = freemen(home) + trapped(home, -cturn); in movcmp() 435 for (em = bar; em != home; em += cturn) in movcmp() 438 em = abs(home - em); in movcmp() 470 barmen = abs(board[home]); in movcmp() 519 n = barmen - abs(board[home]); in movegood()
|
/dragonfly/contrib/lvm2/dist/test/ |
H A D | Makefile | 23 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
|
/dragonfly/share/examples/rconfig/ |
H A D | hammer.sh | 89 hammer pfs-master /mnt/pfs/home 94 mkdir /mnt/home 99 mount_null /mnt/pfs/home /mnt/home 142 /pfs/home /home null rw 0 0
|
H A D | encrypted_root.sh | 101 hammer pfs-master /mnt/pfs/home 106 mkdir /mnt/home 111 mount_null /mnt/pfs/home /mnt/home 154 /pfs/home /home null rw 0 0
|
H A D | hammer_uefi.sh | 97 hammer pfs-master /mnt/pfs/home 102 mkdir /mnt/home 107 mount_null /mnt/pfs/home /mnt/home 150 /pfs/home /home null rw 0 0
|
H A D | hammer_ccd_mirror.sh | 322 mkdir /mnt/home >> ${logfile} 2>&1 327 mount_null /mnt/pfs/home /mnt/home >> ${logfile} 2>&1 374 /pfs/home /home null rw 0 0
|
H A D | hammer_lvm_stripe.sh | 390 mkdir /mnt/home >> ${logfile} 2>&1 395 mount_null /mnt/pfs/home /mnt/home >> ${logfile} 2>&1 442 /pfs/home /home null rw 0 0
|
H A D | auto.sh | 76 mkdir /mnt/home 81 mount /dev/${xdisk}g /mnt/home 108 /dev/${xdisk}g /home ufs rw 2 2
|
/dragonfly/usr.bin/calendar/ |
H A D | calendar.c | 133 static bool cd_home(const char *home); 514 cd_home(const char *home) in cd_home() argument 518 if (home == NULL) { in cd_home() 519 home = getenv("HOME"); in cd_home() 520 if (home == NULL || *home == '\0') { in cd_home() 526 snprintf(path, sizeof(path), "%s/%s", home, calendarHome); in cd_home()
|
/dragonfly/games/tetris/ |
H A D | scores.c | 96 const char *mstr, *human, *home; in getscores() local 111 home = getenv("HOME"); in getscores() 112 if (home == NULL || *home == '\0') in getscores() 115 ret = snprintf(scorepath, sizeof(scorepath), "%s/%s", home, ".tetris.scores"); in getscores() 117 errc(1, ENAMETOOLONG, "%s/%s", home, ".tetris.scores"); in getscores()
|
/dragonfly/games/battlestar/ |
H A D | save.c | 151 char *home; in save_file_name() local 164 home = getenv("HOME"); in save_file_name() 165 if (home != NULL) { in save_file_name() 166 tmpl = strlen(home); in save_file_name() 172 memcpy(newname, home, tmpl); in save_file_name()
|
/dragonfly/contrib/smbfs/lib/smb/ |
H A D | subr.c | 159 char *home, *fn; in smb_open_rcfile() local 162 home = getenv("HOME"); in smb_open_rcfile() 163 if (home) { in smb_open_rcfile() 164 fn = malloc(strlen(home) + 20); in smb_open_rcfile() 165 sprintf(fn, "%s/.nsmbrc", home); in smb_open_rcfile()
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | histfile.c | 117 const char *home; local 125 home = sh_get_env_value ("HOME"); 127 if (home == 0) 130 home = "."; 137 home_len = strlen (home); 140 strcpy (return_val, home);
|
/dragonfly/contrib/less/ |
H A D | forwback.c | 168 home(); in overlay_header() 181 home(); in overlay_header() 253 home(); in forw() 269 home(); in forw() 436 home(); in back()
|
/dragonfly/contrib/tcsh-6/nls/greek/ |
H A D | set1 | 37 35 Δεν υπάρχει προσωπικός κατάλογος (home directory) 38 36 Δεν μπορώ να προσπελάσω τον προσωπικό κατάλογο (home directory) 80 78 Δεν έχει δοθεί τιμή στη μεταβλητή $home
|
/dragonfly/games/hunt/huntd/ |
H A D | conf.c | 281 const char *home; in config() local 293 if ((home = getenv("HOME")) == NULL) in config() 294 home = ""; in config() 297 snprintf(nm, sizeof nm, fnms[fn], home); in config()
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | filesubr.c | 806 static char *home = NULL; in get_homedir() local 810 if (home != NULL) in get_homedir() 811 return home; in get_homedir() 814 home = env; in get_homedir() 817 home = xstrdup (pw->pw_dir); in get_homedir() 821 return home; in get_homedir()
|