/titanic_51/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_io.c | 56 * session logging. Normally, the stdout iob has a backend that is either 72 * inserted when the iob is created, and following each flush of the buffer. 108 * The iob snprintf family of functions makes use of a special "sprintf 162 #define IOB_WRAPNOW(iob, n) \ argument 163 (((iob)->iob_flags & MDB_IOB_AUTOWRAP) && ((iob)->iob_nbytes != 0) && \ 164 ((n) + (iob)->iob_nbytes > (iob)->iob_cols)) 184 iob_write(mdb_iob_t *iob, mdb_io_t *io, const void *buf, size_t n) in iob_write() argument 203 iob in iob_write() 211 iob_read(mdb_iob_t * iob,mdb_io_t * io) iob_read() argument 241 iob_pager(mdb_iob_t * iob) iob_pager() argument 340 iob_indent(mdb_iob_t * iob) iob_indent() argument 357 iob_unindent(mdb_iob_t * iob) iob_unindent() argument 375 mdb_iob_t *iob = mdb_alloc(sizeof (mdb_iob_t), UM_SLEEP); mdb_iob_create() local 413 mdb_iob_destroy(mdb_iob_t * iob) mdb_iob_destroy() argument 435 mdb_iob_discard(mdb_iob_t * iob) mdb_iob_discard() argument 442 mdb_iob_flush(mdb_iob_t * iob) mdb_iob_flush() argument 484 mdb_iob_nlflush(mdb_iob_t * iob) mdb_iob_nlflush() argument 495 mdb_iob_push_io(mdb_iob_t * iob,mdb_io_t * io) mdb_iob_push_io() argument 504 mdb_iob_pop_io(mdb_iob_t * iob) mdb_iob_pop_io() argument 518 mdb_iob_resize(mdb_iob_t * iob,size_t rows,size_t cols) mdb_iob_resize() argument 529 mdb_iob_setpager(mdb_iob_t * iob,mdb_io_t * pgio) mdb_iob_setpager() argument 549 mdb_iob_tabstop(mdb_iob_t * iob,size_t tabstop) mdb_iob_tabstop() argument 555 mdb_iob_margin(mdb_iob_t * iob,size_t margin) mdb_iob_margin() argument 563 mdb_iob_setbuf(mdb_iob_t * iob,void * buf,size_t bufsiz) mdb_iob_setbuf() argument 576 mdb_iob_clearlines(mdb_iob_t * iob) mdb_iob_clearlines() argument 583 mdb_iob_setflags(mdb_iob_t * iob,uint_t flags) mdb_iob_setflags() argument 591 mdb_iob_clrflags(mdb_iob_t * iob,uint_t flags) mdb_iob_clrflags() argument 599 mdb_iob_getflags(mdb_iob_t * iob) mdb_iob_getflags() argument 1022 iob_setattr(mdb_iob_t * iob,const char * s,size_t nbytes) iob_setattr() argument 1076 iob_bits2str(mdb_iob_t * iob,u_longlong_t value,const mdb_bitmask_t * bmp,mdb_bool_t altflag) iob_bits2str() argument 1170 iob_doprnt(mdb_iob_t * iob,const char * format,varglist_t * ap) iob_doprnt() argument 1566 mdb_iob_vprintf(mdb_iob_t * iob,const char * format,va_list alist) mdb_iob_vprintf() argument 1574 mdb_iob_aprintf(mdb_iob_t * iob,const char * format,const mdb_arg_t * argv) mdb_iob_aprintf() argument 1582 mdb_iob_printf(mdb_iob_t * iob,const char * format,...) mdb_iob_printf() argument 1639 iob_spb_create(mdb_iob_t * iob,char * iob_buf,size_t iob_len,mdb_io_t * io,spbuf_t * spb,char * spb_buf,size_t spb_len) iob_spb_create() argument 1706 mdb_iob_t iob; mdb_iob_vsnprintf() local 1730 mdb_iob_t iob; mdb_iob_asnprintf() local 1762 mdb_iob_nputs(mdb_iob_t * iob,const char * s,size_t nbytes) mdb_iob_nputs() argument 1827 mdb_iob_puts(mdb_iob_t * iob,const char * s) mdb_iob_puts() argument 1833 mdb_iob_putc(mdb_iob_t * iob,int c) mdb_iob_putc() argument 1839 mdb_iob_tab(mdb_iob_t * iob) mdb_iob_tab() argument 1860 mdb_iob_fill(mdb_iob_t * iob,int c,size_t nfill) mdb_iob_fill() argument 1893 mdb_iob_ws(mdb_iob_t * iob,size_t n) mdb_iob_ws() argument 1902 mdb_iob_nl(mdb_iob_t * iob) mdb_iob_nl() argument 1916 mdb_iob_ngets(mdb_iob_t * iob,char * buf,size_t n) mdb_iob_ngets() argument 1949 mdb_iob_getc(mdb_iob_t * iob) mdb_iob_getc() argument 1966 mdb_iob_ungetc(mdb_iob_t * iob,int c) mdb_iob_ungetc() argument 1982 mdb_iob_eof(mdb_iob_t * iob) mdb_iob_eof() argument 1989 mdb_iob_err(mdb_iob_t * iob) mdb_iob_err() argument 1995 mdb_iob_read(mdb_iob_t * iob,void * buf,size_t n) mdb_iob_read() argument 2025 mdb_iob_write(mdb_iob_t * iob,const void * buf,size_t n) mdb_iob_write() argument 2044 mdb_iob_ctl(mdb_iob_t * iob,int req,void * arg) mdb_iob_ctl() argument 2050 mdb_iob_name(mdb_iob_t * iob) mdb_iob_name() argument 2059 mdb_iob_lineno(mdb_iob_t * iob) mdb_iob_lineno() argument 2065 mdb_iob_gettabstop(mdb_iob_t * iob) mdb_iob_gettabstop() argument 2071 mdb_iob_getmargin(mdb_iob_t * iob) mdb_iob_getmargin() argument 2121 mdb_iob_stack_push(mdb_iob_stack_t * stk,mdb_iob_t * iob,size_t lineno) mdb_iob_stack_push() argument 2210 no_io_link(mdb_io_t * io,mdb_iob_t * iob) no_io_link() argument 2217 no_io_unlink(mdb_io_t * io,mdb_iob_t * iob) no_io_unlink() argument [all...] |
H A D | mdb_shell.c | 42 * We then layer a shellio object (implemented below) and iob on top, and 43 * set mdb.m_out to point to this new iob. The shellio is simply a pass-thru 116 * unlinked from its iob before being popped by mdb_iob_destroy, we use the 118 * routine to be called) and remove it from the iob's i/o stack out of order. 123 shellio_unlink(mdb_io_t *io, mdb_iob_t *iob) in shellio_unlink() argument 127 ASSERT(iob->iob_iop == io); in shellio_unlink() 166 mdb_iob_t *iob; in mdb_shell_pipe() local 177 iob = mdb_iob_create(mdb_fdio_create(pfds[1]), MDB_IOB_WRONLY | iflag); in mdb_shell_pipe() 178 mdb_iob_clrflags(iob, MDB_IOB_AUTOWRAP | MDB_IOB_INDENT); in mdb_shell_pipe() 179 mdb_iob_resize(iob, BUFSI in mdb_shell_pipe() [all...] |
H A D | mdb_pipeio.c | 34 * iobs. Each iob points at the same i/o backend (the pipe i/o), and the 39 * mdb_iob_* routines to fill the write-side iob, and when this iob needs to 44 * pio_read() copies data up from the pipe buffer into the read-side iob. 234 pio_link(mdb_io_t *io, mdb_iob_t *iob) in pio_link() argument 240 * i/o backend with its iob to determine our read and write iobs. in pio_link() 243 if (iob->iob_flags & MDB_IOB_RDONLY) in pio_link() 244 pd->pipe_rdiob = iob; in pio_link() 246 pd->pipe_wriob = iob; in pio_link() 248 IOP_LINK(io->io_next, iob); in pio_link() 252 pio_unlink(mdb_io_t * io,mdb_iob_t * iob) pio_unlink() argument 347 mdb_iob_isapipe(mdb_iob_t * iob) mdb_iob_isapipe() argument [all...] |
H A D | mdb_io_impl.h | 60 #define IOP_LINK(io, iob) ((io)->io_ops->io_link((io), (iob))) argument 61 #define IOP_UNLINK(io, iob) ((io)->io_ops->io_unlink((io), (iob))) argument
|
H A D | mdb_strio.c | 151 mdb_iob_isastr(mdb_iob_t *iob) in mdb_iob_isastr() argument 155 for (io = iob->iob_iop; io != NULL; io = io->io_next) { in mdb_iob_isastr()
|
H A D | mdb_termio.c | 450 * Since we're about to start the read loop, we know our linked iob in termio_read() 618 termio_link(mdb_io_t *io, mdb_iob_t *iob) in termio_link() argument 623 mdb_iob_resize(iob, td->tio_rows, td->tio_cols); in termio_link() 624 td->tio_link = iob; in termio_link() 626 IOP_LINK(io->io_next, iob); in termio_link() 630 termio_unlink(mdb_io_t *io, mdb_iob_t *iob) in termio_unlink() argument 635 if (td->tio_link == iob) in termio_unlink() 638 IOP_UNLINK(io->io_next, iob); in termio_unlink() 1613 mdb_iob_isatty(mdb_iob_t *iob) in mdb_iob_isatty() argument 1617 if (iob in mdb_iob_isatty() [all...] |
H A D | mdb_cmds.c | 826 mdb_iob_t *iob; in cmd_cat() local 846 iob = mdb_iob_create(fio, MDB_IOB_RDONLY); in cmd_cat() 848 while (!(mdb_iob_getflags(iob) & (MDB_IOB_EOF | MDB_IOB_ERR))) { in cmd_cat() 849 ssize_t len = mdb_iob_read(iob, buf, sizeof (buf)); in cmd_cat() 860 if (mdb_iob_err(iob)) in cmd_cat() 861 mdb_warn("error while reading %s", mdb_iob_name(iob)); in cmd_cat() 863 mdb_iob_destroy(iob); in cmd_cat()
|
H A D | mdb_main.c | 1071 mdb_iob_t *iob = mdb_iob_create(rc_io, MDB_IOB_RDONLY); in main() local 1074 mdb.m_in = iob; in main()
|
H A D | mdb.c | 705 * print a newline and discard everything in the parser's iob. in mdb_run() 1072 mdb_dcmd_usage(const mdb_idcmd_t *idcp, mdb_iob_t *iob) in mdb_dcmd_usage() argument 1096 mdb_iob_printf(iob, "Usage: %s%s %s\n", prefix, idcp->idc_name, usage); in mdb_dcmd_usage() 1099 mdb_iob_printf(iob, "%s: try '::help %s' for more " in mdb_dcmd_usage()
|
/titanic_51/usr/src/lib/libast/common/stdio/ |
H A D | _stdfun.c | 54 static char* iob; in _stdfun() local 59 if (!iob && !(iob = IOB)) in _stdfun() 61 if (f && ((char*)f < iob || (char*)f > iob+IOBMAX)) in _stdfun()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | _stdfun.c | 54 static char* iob; in _stdfun() local 59 if (!iob && !(iob = IOB)) in _stdfun() 61 if (f && ((char*)f < iob || (char*)f > iob+IOBMAX)) in _stdfun()
|
/titanic_51/usr/src/cmd/mdb/common/modules/mdb_ds/ |
H A D | mdb_ds.c | 162 mdb_iob_t iob; in cmd_iob() local 173 if (mdb_vread(&iob, sizeof (iob), addr) == -1 || in cmd_iob() 174 mdb_vread(&io, sizeof (io), (uintptr_t)iob.iob_iop) == -1) { in cmd_iob() 175 mdb_warn("failed to read iob at %p", addr); in cmd_iob() 179 mdb_printf("%?p %6lu %6x %?p %a\n", addr, (ulong_t)iob.iob_nbytes, in cmd_iob() 180 iob.iob_flags, iob.iob_iop, io.io_ops); in cmd_iob() 428 mdb_iob_t iob; in iob_stack_walk_step() local 433 if (mdb_vread(&iob, sizeo in iob_stack_walk_step() [all...] |
/titanic_51/usr/src/lib/libc/port/stdio/ |
H A D | flush.c | 110 * With dynamic linking, iob may be in either the library or in the user's 146 * All functions that understand the linked list of iob's follow. 163 * XXX: We should acquire all of the iob locks here. in stdio_locks() 171 * XXX: We should release all of the iob locks here. in stdio_unlocks() 231 FILE iob[FILE_ARY_SZ]; in _findiop() member 237 xFILE iob[FILE_ARY_SZ]; in _findiop() member 240 xFILE iob[FILE_ARY_SZ]; in _findiop() member 322 hdr->iobp = &pkgp->iob[0]; in _findiop() 344 offsetof(Pkg, Pkgn.iob[FILE_ARY_SZ-1].xmagic) && in _findiop() 346 offsetof(Pkg, Pkgn.iob[ in _findiop() [all...] |
/titanic_51/usr/src/lib/libpp/common/ |
H A D | ppproto.c | 258 proto_error(char* iob, int level, char* msg, char* arg) in proto_error() argument 264 if (iob) in proto_error() 266 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); in proto_error() 2104 pppclose(char* iob) in pppclose() argument 2106 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); in pppclose() 2128 register char* iob; in pppopen() local 2187 iob = (char*)proto + sizeof(struct proto); in pppopen() 2188 proto->op = proto->ob = iob; in pppopen() 2189 proto->ip = proto->ib = iob + proto->oz + n; in pppopen() 2212 pppclose(iob); in pppopen() [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppproto.c | 290 proto_error(char* iob, int level, char* msg, char* arg) in proto_error() argument 296 if (iob) in proto_error() 298 register Proto_t* proto = (Proto_t*)(iob - sizeof(Proto_t)); in proto_error() 2149 pppclose(char* iob) in pppclose() argument 2151 register Proto_t* proto = (Proto_t*)(iob - sizeof(Proto_t)); in pppclose() 2173 register char* iob; in pppopen() local 2237 iob = (char*)proto + sizeof(Proto_t); in pppopen() 2238 proto->op = proto->ob = iob; in pppopen() 2239 proto->ip = proto->ib = iob + proto->oz + n; in pppopen() 2262 pppclose(iob); in pppopen() 2508 pppread(char * iob) pppread() argument 2607 pppdrop(char * iob) pppdrop() argument [all...] |
/titanic_51/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire/ioboard/ |
H A D | Makefile | 31 include ../../sun4/ioboard/Makefile.iob
|
/titanic_51/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire-15000/ioboard/ |
H A D | Makefile | 31 include ../../sun4/ioboard/Makefile.iob
|
/titanic_51/usr/src/cmd/mailx/ |
H A D | fio.c | 699 fsize(FILE *iob) in fsize() argument 704 f = fileno(iob); in fsize() 717 fferror(FILE *iob) in fferror() argument 719 return (ferror(iob) || fsync(fileno(iob)) < 0); in fferror()
|
/titanic_51/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/ |
H A D | opl_topo.h | 85 int opl_hb_enum(topo_mod_t *mp, const ioboard_contents_t *iob,
|
H A D | opl_hostbridge.c | 259 opl_hb_enum(topo_mod_t *mp, const ioboard_contents_t *iob, tnode_t *ion, in opl_hb_enum() argument 282 p = iob->rcs[hb][rc]; in opl_hb_enum()
|
/titanic_51/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | proto.c | 1413 proto_error __PARAM__((char* iob, int level, char* msg, char* arg), (iob, level, msg, arg)) __OTORP__(char* iob; int level; char* msg; char* arg;){ in __OTORP__() 1418 if (iob) 1420 register Proto_t* proto = (Proto_t*)(iob - sizeof(Proto_t)); 4413 pppclose __PARAM__((char* iob), (iob)) __OTORP__(char* iob;){ in __OTORP__() argument 4414 register Proto_t* proto = (Proto_t*)(iob - sizeof(Proto_t)); 4425 register char* iob; local 4750 __OTORP__(char * iob;) __OTORP__() argument [all...] |
/titanic_51/usr/src/cmd/mailx/hdr/ |
H A D | def.h | 466 extern int fferror(FILE *iob); 476 extern off_t fsize(FILE *iob);
|
/titanic_51/usr/src/lib/libbc/sparc/ |
H A D | Makefile | 113 fwrite.o getc.o getchar.o gets.o getw.o iob.o \
|
/titanic_51/usr/src/lib/libast/common/ |
H A D | RELEASE | 857 _stdfun.c: add _UWIN&_ALPHA_ iob map
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/ |
H A D | RELEASE | 1045 _stdfun.c: add _UWIN&_ALPHA_ iob map
|