/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpoll.c | 32 int sfpoll(Sfio_t** fa, reg int n, int tm) 35 Sfio_t** fa; /* array of streams to poll */ 41 reg Sfio_t* f;
|
H A D | sfhdr.h | 367 #define SFMTXdecl(ff,_mf_) Sfio_t* _mf_ = (ff) 669 Sfio_t** sf; /* array of streams */ 670 Sfio_t* array[3]; /* start with 3 */ 804 int (*sf_pmove)_ARG_((Sfio_t*, int)); 805 Sfio_t* (*sf_stack)_ARG_((Sfio_t*, Sfio_t*)); 806 void (*sf_notify)_ARG_((Sfio_t*, int, void*)); 807 int (*sf_stdsync)_ARG_((Sfio_t*)); 1053 Fmtpos_t* (*sf_fmtposf)_ARG_((Sfio_t*,cons [all...] |
H A D | sfrd.c | 37 reg Sfio_t* f; 61 ssize_t sfrd(Sfio_t* f, Void_t* buf, size_t n, Sfdisc_t* disc) 64 Sfio_t* f;
|
H A D | sfreserve.c | 30 Void_t* sfreserve(Sfio_t* f, ssize_t size, int type) 33 Sfio_t* f; /* file to peek */
|
H A D | sfsetbuf.c | 93 Void_t* sfsetbuf(Sfio_t* f, Void_t* buf, size_t size) 96 Sfio_t* f; /* stream to be buffered */ 155 if((Sfio_t*)buf != f)
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 55 static void exfile(Shell_t*, Sfio_t*,int); 111 int sh_source(Shell_t *shp, Sfio_t *iop, const char *file) 142 register Sfio_t *iop; 178 iop = (Sfio_t*)0; 269 iop = sfnew(NIL(Sfio_t*),shp->comdiv,strlen(shp->comdiv),0,SF_STRING|SF_READ); 383 static void exfile(register Shell_t *shp, register Sfio_t *iop,register int fno) 439 Sfio_t *top;
|
H A D | nvtree.c | 52 static int read_tree(Namval_t* np, Sfio_t *iop, int n, Namfun_t *dp) 54 Sfio_t *sp; 63 sp = sfopen((Sfio_t*)0,cp,"s"); 372 static void outtype(Namval_t *np, Namfun_t *fp, Sfio_t* out, const char *prefix) 404 void nv_attribute(register Namval_t *np,Sfio_t *out,char *prefix,int noname) 534 Sfio_t *out; 543 void nv_outnode(Namval_t *np, Sfio_t* out, int indent, int special) 758 register Sfio_t *outfile = wp->out; 899 static Sfio_t *out; 901 Sfio_t *outfil [all...] |
H A D | deparse.c | 62 static Sfio_t *outfile; 65 extern void sh_deparse(Sfio_t*, const Shnode_t*,int); 67 void sh_deparse(Sfio_t *out, const Shnode_t *t,int tflags) 569 Sfio_t *infile; 576 infile = sfnew((Sfio_t*)0,iop->ioname,iop->iosize,-1,SF_STRING|SF_READ);
|
H A D | macro.c | 60 Sfio_t *sp; /* stream pointer for here-document */ 258 void sh_machere(Shell_t *shp,Sfio_t *infile, Sfio_t *outfile, char *string) 438 Sfio_t *sp = mp->sp; 440 mp->sp = NIL(Sfio_t*); 1896 Sfio_t *sp; 1960 sp = sfnew(NIL(Sfio_t*),str,c,-1,SF_STRING|SF_READ); 1995 sp = sfnew(NIL(Sfio_t*),(char*)malloc(IOBSIZE+1),IOBSIZE,fd,SF_READ|SF_MALLOC); 2003 sp = sfopen(NIL(Sfio_t*),"","sr"); 2011 sp = sfpopen(NIL(Sfio_t*),st [all...] |
H A D | trestore.c | 43 static Sfio_t *infile; 47 Shnode_t *sh_trestore(Shell_t *shp,Sfio_t *in) 335 register Sfio_t *in = infile;
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cut.c | 254 cutcols(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout) 368 cutfields(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout) 381 Sfio_t *fdtmp = 0; 576 register Sfio_t* fp;
|
H A D | id.c | 103 getfsids(Sfio_t* sp, const char* name, int flags, register int lastchar) 178 putid(Sfio_t* sp, int flags, const char* label, const char* name, long number) 194 getids(Sfio_t* sp, const char* name, register int flags)
|
H A D | wc.c | 95 Sfio_t *fp;
|
H A D | tee.c | 71 tee_write(Sfio_t* fp, const void* buf, size_t n, Sfdisc_t* handle)
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | jobs.h | 161 extern int job_walk(Sfio_t*,int(*)(struct process*,int),int,char*[]);
|
H A D | nval.h | 66 int (*readf)(Namval_t*, Sfio_t*, int, Namfun_t*); 67 int (*writef)(Namval_t*, Sfio_t*, int, Namfun_t*);
|
/illumos-gate/usr/src/lib/libsum/common/ |
H A D | sum-ast4.c | 100 ast4_print(Sum_t* p, Sfio_t* sp, int flags, size_t scale)
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | getoptl.c | 37 static Sfio_t* up;
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | error.h | 137 int (*auxilliary)(Sfio_t*, int, int); /* aux info to append */
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | optget.c | 974 expand(register char* s, register char* e, char** p, Sfio_t* ip, char* id) 1017 info(Push_t* psp, char* s, char* e, Sfio_t* ip, char* id) 1046 localize(Push_t* psp, char* s, char* e, int term, int n, Sfio_t* ip, int version, char* id, char* catalog) 1094 label(register Sfio_t* sp, int sep, register char* s, int about, int z, int level, int style, int f, Sfio_t* ip, int version, char* id, char* catalog) 1395 args(register Sfio_t* sp, register char* p, register int n, int flags, int style, Sfio_t* ip, int version, char* id, char* catalog) 1472 item(Sfio_t* sp, char* s, int about, int level, int style, Sfio_t* ip, int version, char* id, char* catalog) 1564 static char* textout(Sfio_t*, cha [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | typeset.c | 49 Sfio_t *outfile; 62 static int print_namval(Sfio_t*, Namval_t*, int, struct tdata*); 64 static void print_all(Sfio_t*, Dt_t*, struct tdata*); 65 static void print_scan(Sfio_t*, int, Dt_t*, int, struct tdata*); 404 static void print_value(Sfio_t *iop, Namval_t *np, struct tdata *tp) 1043 static int print_namval(Sfio_t *file,register Namval_t *np,register int flag, struct tdata *tp) 1064 Sfio_t *iop=0; 1141 static void print_all(Sfio_t *file,Dt_t *root, struct tdata *tp) 1161 static void print_scan(Sfio_t *file, int flag, Dt_t *root, int option,struct tdata *tp)
|
H A D | shiocmd_solaris.c | 260 static void genvalue(Sfio_t *out, Shclass_t *sp, int indent, Namval_t *npar) 329 static Sfio_t *out; 330 Sfio_t *outfile; 336 outfile = out = sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING);
|
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | mc.c | 40 Sfio_t* tmp; \ 212 mcopen(register Sfio_t* ip) 515 mcdump(register Mc_t* mc, register Sfio_t* op)
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regdecomp.c | 35 detrie(Trie_node_t* x, Sfio_t* sp, char* b, char* p, char* e, int delimiter) 72 decomp(register Rex_t* e, Sfio_t* sp, int type, int delimiter, regflags_t flags) 396 Sfio_t* sp;
|
/illumos-gate/usr/src/cmd/ast/msgcc/ |
H A D | msgcpp.c | 152 Sfio_t* tmp;
|