/ast/src/cmd/coshell/ |
H A D | cotest.c | 66 if (!(state.home = search(DEF|NEW, csname(0), NiL, NiL))) 68 state.shell = state.shellnext = state.home; 69 message((-1, "local name is %s", state.home->name)); 81 if (state.home->idle) 83 state.home->idle = 0; 84 if (!(state.home->flags & SETBIAS)) state.home->bias *= 4;
|
H A D | service.h | 64 int home; /* # users calling this home */ \ 88 #define match(p,a,o) ((!((a)->set&SETNAME)||strmatch((p)->name,(a)->name))&&((((a)->set|o)&(SETMISC|DEF|NEW|SET))==SETMISC?miscmatch(p,(a)->misc):((a)->set&SETNAME)?1:streq((p)->type,state.home->type))) 104 #define HOME (3*OVERRIDE) /* home host reprieve */ 244 Coshell_t* home; member in struct:__anon62 295 Coshell_t* home; member in struct:__anon66
|
H A D | main.c | 40 "user. This server runs as a daemon on the user's home host, and only " 41 "processes running on the home host have access to the server. The " 89 #define CO_OPT_HOME "home" 139 if (!(state.home = search(DEF|NEW, csname(0), NiL, NiL))) 141 state.shell = state.shellnext = state.home; 142 message((-1, "local name is %s", state.home->name)); 171 if (!state.indirect.con && state.home->idle) 173 state.home->idle = 0; 174 if (!(state.home->flags & SETBIAS)) state.home [all...] |
H A D | schedule.c | 46 #define RNK(p,a) (((p)->mode&SHELL_DISABLE)?INT_MAX:((p)->flags&IGN)?(INT_MAX/2):((((p)->stat.load/(p)->scale)+((p)->running*BIAS+CPU((p)->cpu,(a)->bias)))*(p)->bias*(((p)==state.home&&(p)->cpu==1)?400:100)/(p)->rating)) 144 pathrepl(a->global.remote, 0, state.home->type, "%s"); 164 pathrepl(a->global.shell, 0, state.home->type, "%s"); 183 strcpy(a->name, state.home->name); 227 if ((matched = match(ap, a, op)) && ap->access && !ap->home && !miscmatch(ap, ap->access)) 240 if (!ap->home && (!xp || ap->temp < PCT(xp->temp, H_TEMP) || (ap->mode & SHELL_DENIED) || matched && xm && PCT(ap->temp, H_TEMP) < xp->temp && ap->rank > xp->rank)) 259 if (!ap->running && !ap->home) 270 if (ap->home) ap->override = cs.time + HOME; 287 else if (!ap->fd && (!mp || ap->rank < mp->rank) && (IDLE(ap->stat.idle, ap->idle) || ap->home || ap->bypass && miscmatch(ap, ap->bypass) || ((a->set | op) & (SETMISC|DEF|NEW|SET)) == SETMISC)) mp = ap; 291 if (!sp && (op & DEF)) sp = state.home; [all...] |
H A D | job.c | 61 if (sp = state.con[fd].info.user.home) 62 sp->home--;
|
H A D | shell.c | 121 sp->override = cs.time + (sp->home ? HOME : OVERRIDE);
|
/ast/src/lib/libast/path/ |
H A D | pathcd.c | 59 * if path is long and home!=0 then pathcd(home,0) 64 pathcd(const char* path, const char* home) argument 134 * try to recover back to home 137 if (!(p = (char*)home)) 139 home = 0;
|
/ast/src/cmd/ksh93/tests/ |
H A D | tilde.sh | 39 function home # id function 77 do h=$(home $u)
|
H A D | substring.sh | 30 base=/home/dgk/foo//bar 44 if [[ ${string1:1:4} != home ]] 50 if [[ ${string1:1:j} != home ]] 53 if [[ ${string1:(j?1:0):j} != home ]]
|
H A D | types.sh | 373 Std_t db=(magic='stdinstall (at&t research) 2009-08-25';Std_file_t -A file=( [/./home/gsf/.env.sh]=(action=preserve;typeset -A sum=([9b67ab407d01a52b3e73e3945b9a3ee0]=1);)[/etc/profile]=(action=preserve;typeset -A sum=([8242e663d6f7bb4c5427a0e58e2925f3]=1);)[/home/gsf/.profile]=(action=preserve;typeset -A sum=([3ce23137335219672bf2865d003a098e]=1);));)
|
/ast/src/lib/libast/misc/ |
H A D | fts.c | 62 size_t homesize; /* sizeof(home) */ \ 74 char* home; /* home/path buffer */ \ 413 setdir(register char* home, register char* path) argument 422 * note that path and home are in the same buffer 426 cdrv = pathcd(home, NiL); 430 pathcd(home, NiL); 439 setpdir(register char* home, register char* path, register char* base) argument 448 cdrv = setdir(home, path); 452 cdrv = pathcd(home, Ni [all...] |
/ast/src/cmd/at/ |
H A D | atd.c | 68 char* home; member in struct:__anon33 92 int home; member in struct:__anon35 197 char* home; local 208 home = pwd->pw_dir; 214 home = "/tmp"; 217 if (!(usr = newof(0, User_t, 1, n + strlen(home) + 2))) 223 usr->home = strcpy(usr->name + n + 1, home); 324 que->home = n; 1026 if (que->home) [all...] |
/ast/src/lib/libtk/library/demos/ |
H A D | rolodex | 167 set helpTopics(.frame.5.entry) {In this field of the rolodex entry you should type the person's home phone number, or "private" if the person doesn't want his or her number publicized}
|
/ast/src/cmd/html/ |
H A D | mm2html.sh | 176 home=( 1151 1:?*) case ${html.home.href} in 1152 ?*) html.home.href=${html.home.href%/*.html}/ 1153 print -r -- "<A" ${html.home/'('@(*)')'/\1} "><IMG" ${logo} "></A>"
|
H A D | mm2twiki.sh | 78 home=(
|
H A D | mm2bb.sh | 79 home=(
|
/ast/src/cmd/mailx/ |
H A D | fio.c | 639 sfsprintf(buf, sizeof(buf), "%s%s", state.var.home, name + 1); 691 sfsprintf(name, size, "%s/%s", state.var.home, folder);
|
H A D | data.c | 300 "HOME", &state.var.home, D|E|N, ".",0, 301 X("The user's home directory, also named \"~\"."),
|
H A D | mailx.h | 810 char* home; member in struct:__anon136::__anon147
|
H A D | cmd3.c | 355 cp = state.var.home;
|
/ast/src/cmd/3d/ |
H A D | init.c | 1540 char* home = 0; local 1624 home = cp + sizeof(var_home) - 1; 1671 if (!(i & env_pwd) && *state.pwd != '/' && setpwd("/") && (!home || setpwd(home)))
|
/ast/src/cmd/INIT/ |
H A D | package.sh | 62 usr="/home" 2703 home) k=1 ;;
|