Searched refs:indirect (Results 1 - 4 of 4) sorted by relevance

/ast/src/cmd/coshell/
H A Dmain.c171 if (!state.indirect.con && state.home->idle)
237 if (state.indirect.con)
521 else if (state.indirect.con)
535 if (state.indirect.con && (state.con[fd].info.user.flags & (USER_IDENT|USER_INIT)) == USER_IDENT)
543 if (state.indirect.con)
575 if (state.indirect.con) s += sfsprintf(s, state.buflen - (s - state.buf), ",%s", CO_OPT_INDIRECT);
733 * indirect coshell initialization
737 indirect(void* handle, int fdmax) function
744 csfd(state.indirect.con, CS_POLL_READ);
745 pass[state.indirect
[all...]
H A Dcommand.c71 if (state.indirect.con)
74 fds[n].fd = state.indirect.con;
76 if (fds[n].fd = state.indirect.err)
78 fds[n].fd = state.indirect.out;
186 if (state.indirect.con)
190 svc.pass[state.indirect.err] = 2;
191 svc.pass[state.indirect.out] = 1;
421 message((error_info.trace, "level=%d output=%s", -arg, dat ? dat : cspath(state.indirect.con ? 2 : con[fd].info.user.fds[2], 0)));
432 else if (!state.indirect.con)
H A Dservice.h297 Indirect_t indirect; member in struct:__anon66
/ast/src/lib/libast/misc/
H A Dmagic.c159 char xbuf[SF_BUFSIZE + 1]; /* indirect file data */ \
320 indirect(const char* cs, char** e, void* handle) function
331 n = *++s == '(' ? strexpr(s, e, indirect, mp) : strtol(s, e, 0);
371 (*mp->disc->errorf)(mp, mp->disc, 2, "%s in indirect expression", *e);
571 num = strexpr(ep->expr, NiL, indirect, mp) + off;

Completed in 20 milliseconds