| /ast/src/cmd/nmake/ |
| H A D | variable.c | 116 state.val++; 119 state.val--; 140 char* val; local 158 if ((r->property & (P_functional|P_virtual)) && r->status != UPDATE) 203 getop(internal.val, s, c); 204 return sfstruse(internal.val); 208 listops(internal.val, c); 211 sfprintf(internal.val, " %s", p->rule->name); 212 return sfstruse(internal.val); 219 sfputc(internal.val, ' '); [all...] |
| H A D | state.c | 831 bindstate(register Rule_t* r, register char* val) argument 842 if ((r->dynamic & D_bound) && !val) 854 if (val) 857 val = null; 864 val = sfstruse(tmp); 867 val = r->statedata; 871 val = getval(r->name + 1, 0); 875 val = null; 882 r->statedata = strdup(val); 893 if (!r->time || r->statedata && !streq(r->statedata, val) || ! [all...] |
| H A D | rule.c | 256 r->status = NOTYET; 535 if ((r->status == EXISTS || r->status == FAILED) && !(r->property & P_virtual)) 537 r->status = NOTYET; 625 if ((p->rule->status == UPDATE || p->rule->status == MAKING) && !(p->rule->property & P_repeat)) 644 r->status = UPDATE; 983 * r->status readonly attributes 986 n = r->status; 1037 if (from == to || to->status ! [all...] |
| H A D | parse.c | 143 unsigned char status; /* action return status */ member in struct:Parseinfo_s 201 if (r->status == UPDATE) 202 r->status = EXISTS; 424 * copy the local argc into internal.val 430 sfprintf(internal.val, "%d", pp->argc); 1205 pp->status = FAILED; 1210 pp->status = TOUCH; 1216 pp->status = EXISTS; 2548 if (!((r->property|set.rule.property) & P_immediate) && (r->status 2899 nextarg(char* s, char** p, char** end, long* val) argument [all...] |
| H A D | main.c | 162 * 0x00800000 2001-10-05 disable early r->status=FAILED when errors!=0 186 * 0x00001000 job status trace 190 * 0x00010000 alarm status trace 352 internal.val = sfstropen(); 884 if (r->status == NOTYET) 887 if (r->status == EXISTS) 889 r->status = NOTYET;
|
| H A D | make.h | 423 #define JOB_status 2 /* job status list */ 510 unsigned char status; /* disposition */ member in struct:Rule_s 642 Sfio_t* val; /* initial getval return buffer */ member in struct:Internal_s 819 unsigned char val; /* internal.val in use */ member in struct:State_s
|
| /ast/src/lib/libast/sfio/ |
| H A D | sfpoll.c | 42 reg int *status, *check; local 47 if(!(status = (int*)malloc(2*n*sizeof(int))) ) 49 check = status+n; /* streams that need polling */ 62 status[r] = 0; 73 status[r] |= SF_READ; 76 status[r] |= SF_WRITE; 78 if((f->flags&SF_RDWR) == status[r]) 86 { status[r] = m&SF_RDWR; 95 status[r] |= SF_READ; 97 status[ [all...] |
| /ast/src/cmd/coshell/ |
| H A D | event.c | 38 "event has a name, an expiration, and a binary status \braised\b or " 59 "[+info?List the server status pending events by client " 74 "[+test \aevent\a?Determine the \aevent\a status.]" 75 "[+wait \aevent\a?Wait for \aevent\a status to be \braised\b.]" 416 apply(State_t* state, Connection_t* con, int id, int index, datum key, datum val, Data_t* dat) argument 426 val.dptr = (void*)dat; 427 val.dsize = sizeof(*dat); 428 if (!(n = dbm_store(state->dbm, key, val, DBM_INSERT)) || n > 0 && !dbm_store(state->dbm, key, val, DBM_REPLACE)) 455 val 552 datum val; local 618 datum val; local 665 datum val; local 1006 datum val; local [all...] |
| /ast/src/lib/libmam/ |
| H A D | mam.c | 185 char* val; local 229 tokscan(s, &val, " %s ", &arg); 230 while (isspace(*val)) val++; 231 mamvar(pp, arg, strdup(val)); 289 tokscan(s, NiL, " %s %lu %s ", &arg, &t, &val); 295 if (val) r->bound = strdup(val); 306 r->status = n; 334 tokscan(s, NiL, " %lu %d ", &pp->finish, &pp->status); [all...] |
| /ast/src/lib/libz/ |
| H A D | deflate.c | 299 s->status = FINISH_STATE; 327 (strm->state->wrap == 1 && strm->state->status != INIT_STATE)) 378 s->status = s->wrap ? INIT_STATE : BUSY_STATE; 567 (s->status == FINISH_STATE && flush != Z_FINISH)) { 577 if (s->status == INIT_STATE) { 594 s->status = BUSY_STATE; 619 s->status = EXTRA_STATE; 640 s->status = BUSY_STATE; 652 if (s->status == EXTRA_STATE) { 674 s->status 683 int val; local 714 int val; local 862 int status; local [all...] |
| /ast/src/cmd/ksh93/tests/ |
| H A D | subshell.sh | 42 val='( 60 [[ $z == "$val" ]] || err_exit 'compound variable with mixed arrays not working' 65 eval val="$z" 70 [[ $z == "$val" ]] || err_exit 'compound variable changes after associative array assignment' 71 eval val="$z" 78 [[ $z == "$val" ]] || err_exit 'compound variable changes after associative array assignment' 84 eval val="$x" 91 [[ $x == "$val" ]] || err_exit 'compound variable changes after unset leaves' 307 foo=%1$sbar%2$s || foo="exit status $?" 316 status [all...] |
| /ast/src/cmd/tw/ |
| H A D | expr.c | 99 EXID("status", ID, F_status, INTEGER, 0), 320 v.integer = ftw->status; 590 * set value for symbol sym to val 594 setval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, void* env, int elt, Extype_t val, Exdisc_t* disc) argument 611 else ftw->local.number = val.integer; 614 ftw->status = val.integer; 628 vp->value[0] = val; 646 lp->value[MEMOFFSET(sym->index)] = val; 658 vp->value[MEMOFFSET(sym->index)] = val; [all...] |
| /ast/src/cmd/ksh93/sh/ |
| H A D | jobs.c | 54 * status, have had $! saved, but haven't been waited for 287 pid_t val; local 304 val = (csp->id<<16)|n|COPID_BIT; 310 if((cp && val==pw->p_pid) || (pw->p_cojob && pw->p_cojob->local==(void*)csp)) 394 if(cjp->status < 256) 395 wstat = cjp->status <<8; 397 wstat = cjp->status-256; 541 sfprintf(sfstderr,"ksh: job line %4d: reap pid=%d critical=%d job %d with pid %d flags=%o complete with status=%x exit=%d\n",__LINE__,getpid(),job.in_critical,pw->p_job,pid,pw->p_flag,wstat,pw->p_exit); 1300 int val,bg=0; local 1302 int val; local [all...] |
| /ast/src/cmd/INIT/ |
| H A D | ratz.c | 1268 /* Stream status */ 1306 int status; /* as the name implies */ member in struct:internal_state 1549 unsigned short val; /* offset in table or code value */ member in struct:__anon30 1793 this.val = (unsigned short)0; 1894 this.val = work[sym]; 1898 this.val = base[work[sym]]; 1902 this.val = 0; 1960 (*table)[low].val = (unsigned short)(next - *table); 1973 this.val = (unsigned short)0; 2131 Tracevv((stderr, this.val > [all...] |
| H A D | iffe.sh | 180 val) yy="determine" mm="value" ;; 262 # - ignore global status 265 # status test status 0:success *:failure 277 report() # [-] [-0] [-1] status value success failure default 1018 [+val \aname\a?The output of \becho\b \aname\a is written to the 1034 status means success.] 1057 [+status?The block is compiled, linked, and executed, and the exit 1058 status is the test outcome, 0 for \afailure\a, the value 1143 --n|--na|--nam|--name|--name-v|--name-va|--name-val| [all...] |