/ast/src/cmd/kshlib/codex/ |
H A D | lib.c | 28 lib_init(int flag, void* context) argument 30 if (!flag)
|
/ast/src/cmd/kshlib/cmdtst/ |
H A D | lib.c | 35 cmdtst_init(int flag, void* context) argument 37 if (!flag)
|
/ast/src/lib/libast/comp/ |
H A D | getopt.h | 43 int* flag; member in struct:option
|
H A D | catopen.c | 72 _ast_catopen(const char* name, int flag) argument 86 if ((s = mcfind(NiL, name, LC_MESSAGES, flag, path, sizeof(path))) && (ip = sfopen(NiL, s, "r"))) 106 if (s && (d = catopen(s, flag)) != (nl_catd)(-1) || !(s = 0) && (d = catopen(name, flag)) != (nl_catd)(-1))
|
/ast/src/cmd/ksh93/bltins/ |
H A D | umask.c | 44 register int flag = 0, sflag = 0; local 69 flag = (flag<<3) + (c-'0'); 77 flag = umask(0); 78 c = strperm(cp,&cp,~flag&0777); 81 umask(flag); 84 flag = (~c&0777); 86 umask(flag); 90 umask(flag=umask(0)); 92 sfprintf(sfstdout,"%s\n",fmtperm(~flag [all...] |
H A D | cd_pwd.c | 59 int rval,flag=0; local 67 flag = 0; 70 flag = 1; 166 if(!flag) 200 if(flag) 216 flag = strlen(dir); 218 while(--flag>0 && dir[flag]=='/') 219 dir[flag] = 0; 233 register int n, flag local [all...] |
H A D | getopts.c | 61 register int flag, mode; local 77 while((flag = optget(argv,sh_optgetopts))) switch(flag) 125 switch(opt_info.index>=0 && opt_info.index<=argc?(opt_info.num= LONG_MIN,flag=optget(argv,options)):0) 135 flag = '?'; 142 flag = '?'; 144 *(options = value) = flag; 158 flag = opt_info.index; 161 opt_info.index = flag;
|
H A D | hist.c | 46 register int flag,fdo; local 62 while((flag = optget(argv,sh_opthist))) switch(flag) 87 if((flag = hist_max(hp) - opt_info.num-1) < 0) 88 flag = 1; 89 range[++indx] = flag; 109 flag = hist_expand(arg,&replace); 110 if(!(flag & HIST_ERROR)) 121 flag = indx; 122 while(flag< [all...] |
H A D | trap.c | 170 register int sig=SIGTERM, flag=0, n; local 186 flag |= S_FLAG; 192 flag |= L_FLAG; 202 if(error_info.errors || flag==(L_FLAG|S_FLAG) || (!(*argv) && !(flag&L_FLAG))) 206 if(flag&L_FLAG) 226 if(flag&S_FLAG) 355 * if <flag> is positive, then print signal name corresponding to <flag> 356 * if <flag> i 360 sig_list(register Shell_t *shp,register int flag) argument [all...] |
H A D | alarm.c | 183 static void putval(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument 198 nv_putv(np,val,flag,fp);
|
H A D | enum.c | 274 void lib_init(int flag, void* context) argument 278 if(flag)
|
H A D | misc.c | 398 register int flag = **argv; local 423 if(flag=='d' && *argv==0) 425 if(job_walk(sfstdout,job_switch,flag,argv)) 432 register int flag = 0; local 437 flag = JOB_LFLAG; 440 flag = JOB_NFLAG; 443 flag = JOB_PFLAG; 457 if(job_walk(sfstdout,job_list,flag,argv)) 513 register int flag, n; local 520 flag [all...] |
/ast/src/cmd/tests/sfio/ |
H A D | tputgetd.c | 25 int i, flag; local 40 for(flag = 0, f = BEGV, i = 0; f < ENDV; ++i, f += INCR) 45 else if(!flag) 47 flag = 1;
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixXId.c | 425 * to filter X events. All it does is to set a flag to indicate 440 ClientData clientData; /* Pointer to flag to set. */ 443 int *flag = (int *) clientData; 444 *flag = 1; 436 int *flag = (int *) clientData; local
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclIOUtil.c | 177 * and also sets a flag to indicate whether the caller should seek to 207 char **modeArgv, *flag; 271 flag = modeArgv[i]; 272 c = flag[0]; 273 if ((c == 'R') && (strcmp(flag, "RDONLY") == 0)) { 276 } else if ((c == 'W') && (strcmp(flag, "WRONLY") == 0)) { 279 } else if ((c == 'R') && (strcmp(flag, "RDWR") == 0)) { 282 } else if ((c == 'A') && (strcmp(flag, "APPEND") == 0)) { 285 } else if ((c == 'C') && (strcmp(flag, "CREAT") == 0)) { 287 } else if ((c == 'E') && (strcmp(flag, "EXC 205 char **modeArgv, *flag; local [all...] |
/ast/src/cmd/tests/vmalloc/ |
H A D | tsharemem.c | 110 int test, flag, code = 2; local 147 flag = 1; 152 flag = -1; 160 vm = vmmopen(store, flag, size);
|
/ast/src/lib/libast/misc/ |
H A D | procopen.c | 114 short flag; member in struct:Fd_s 256 m->arg.fd.parent.flag = fcntl(arg1, F_GETFD, 0); 261 m->arg.fd.child.flag = fcntl(arg2, F_GETFD, 0); 278 if (m->arg.fd.parent.flag) 282 else if (!m->arg.fd.parent.flag) 356 fcntl(m->arg.fd.parent.fd, F_SETFD, m->arg.fd.parent.flag); 361 if (m->arg.fd.child.flag)
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmmopen.c | 100 int flag; /* various modes */ member in struct:_mmdisc_s 211 mmdc->flag |= MM_INIT; 226 { /**/ASSERT(!(mmdc->flag&MM_INIT)); 277 if(mmdc->flag&MM_RELEASE) 281 if(mmdc->flag&MM_CLEANUP) 285 { if(mmdc->flag&MM_RELEASE) 289 if(mmdc->flag&MM_CLEANUP) 353 { /**/ASSERT(mmdc->flag&MM_INIT); 358 { /**/ASSERT(!(mmdc->flag&MM_INIT)); 367 { if(mmdc->flag [all...] |
/ast/src/cmd/ie/ |
H A D | editlib.c | 172 register int r, flag; local 176 flag = (fd==editfd?opt_flag&EDITMASK:0); 177 switch(flag) 279 fp->flag &= ~(IOREAD|IOERR|IOEOF); 298 fp->flag |= IOERR;
|
/ast/src/cmd/ksh93/sh/ |
H A D | arith.c | 62 register int flag = lvalue->flag; local 80 int c = cp[flag]; 81 cp[flag] = 0; 87 cp[flag] = c; 92 cp[flag] = c; 96 if(cp[flag+1]=='[') 97 flag++; 99 flag = 0; 127 if(!nosub && flag) [all...] |
H A D | deparse.c | 362 * increment indent level for flag==BEGIN 363 * decrement indent level for flag==END 365 static void p_keyword(const char *word,int flag) argument 368 if(flag==END) 374 if(flag!=BEGIN) 383 if(flag!=END) 390 register int flag; local 394 flag = endchar; 399 flag = endchar; 402 flag 517 register int flag = end_line; local 541 register int flag = ' ', special; local [all...] |
H A D | fault.c | 66 register int flag=0; local 114 flag = shp->sigflag[sig]&~SH_SIGOFF; 119 if(flag&SH_SIGIGNORE) 126 if(flag&SH_SIGDONE) 129 if((flag&SH_SIGINTERACTIVE) && sh_isstate(SH_INTERACTIVE) && !sh_isstate(SH_FORKED) && ! shp->subshell) 171 if(pp->mode==SH_JMPCMD || (pp->mode==1 && shp->bltinfun) && !(flag&SH_SIGIGNORE)) 180 flag = SH_SIGTRAP; 185 flag = SH_SIGSET; 210 shp->trapnote |= flag; 212 shp->sigflag[sig] |= flag; 278 register int flag; local 307 register int flag, sig = shgd->sigmax; local 325 register int flag, sig=sh.st.trapmax; local 368 register int flag = sh.sigflag[sig]; local [all...] |
/ast/src/cmd/kshlib/dbm_t/ |
H A D | dbm_t.c | 423 void lib_init(int flag, void* context) argument 428 if (!flag &&
|
/ast/src/cmd/tests/cdt/ |
H A D | trehash.c | 44 unsigned int flag; /* INSERT/DELETE state */ member in struct:_obj_s 141 else os->flag |= INSERT; 171 proc->obj[k].flag |= DELETE; 220 { Obj[k].flag = 0; 288 if((Obj[k].flag & DELETE) )
|
H A D | tsafehash.c | 44 unsigned int flag; /* INSERT/DELETE state */ member in struct:_obj_s 141 else os->flag |= INSERT; 171 proc->obj[k].flag |= DELETE; 220 { Obj[k].flag = 0; 288 if((Obj[k].flag & DELETE) )
|