Searched defs:states (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libcmd/
H A Dcat.c124 vcat(register char* states, Sfio_t* ip, Sfio_t* op, Reserve_f reserve, int flags) argument
150 states[0] = T_ENDBUF;
156 while (!(n = states[*cp++]));
160 while (!(n = states[*cp++]));
192 states[0] = sfvalue(ip) ? T_ERROR : T_EOF;
198 states[0] = n ? T_ERROR : T_EOF;
277 states[0] = (m = sfvalue(ip)) ? T_ERROR : T_EOF;
283 states[0] = m ? T_ERROR : T_EOF;
296 if (!(n = states[c]))
317 } while (states[
406 char states[UCHAR_MAX+1]; local
[all...]
/ast/src/cmd/ksh93/sh/
H A Dmain.c369 int states,jmpval; local
416 states = sh_getstate();
428 sh_setstate(states);
453 sh_setstate(states);
/ast/src/cmd/ksh93/include/
H A Ddefs.h80 int states; member in struct:sh_scoped
187 unsigned char *sigflag; /* pointer to signal states */ \
291 /* states */
292 /* low numbered states are same as options */
468 #define sh_isstate(x) (sh.st.states&sh_state(x))
469 #define sh_onstate(x) (sh.st.states |= sh_state(x))
470 #define sh_offstate(x) (sh.st.states &= ~sh_state(x))
471 #define sh_getstate() (sh.st.states)
472 #define sh_setstate(x) (sh.st.states = (x))

Completed in 11 milliseconds