Searched refs:strbuf (Results 1 - 25 of 139) sorted by relevance

123456

/illumos-gate/usr/src/head/
H A Dstropts.h48 extern int getmsg(int, struct strbuf *_RESTRICT_KYWD,
49 struct strbuf *_RESTRICT_KYWD, int *_RESTRICT_KYWD);
50 extern int putmsg(int, const struct strbuf *, const struct strbuf *, int);
52 extern int getpmsg(int, struct strbuf *_RESTRICT_KYWD,
53 struct strbuf *_RESTRICT_KYWD, int *_RESTRICT_KYWD,
55 extern int putpmsg(int, const struct strbuf *, const struct strbuf *, int, int);
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_convrelstr.c90 static char strbuf[32]; local
96 strbuf[ndx--] = '\0';
98 strbuf[ndx--] = '0' + (type % 10);
102 return (&strbuf[ndx + 1]);
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_convrelstr.c63 static char strbuf[32]; local
69 strbuf[ndx--] = '\0';
71 strbuf[ndx--] = '0' + (type % 10);
75 return (&strbuf[ndx + 1]);
/illumos-gate/usr/src/uts/intel/ia32/krtld/
H A Dkobj_convrelstr.c66 static char strbuf[32]; local
72 strbuf[ndx--] = '\0';
74 strbuf[ndx--] = '0' + (type % 10);
78 return (&strbuf[ndx + 1]);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dvscanf.c117 FILE strbuf; local
124 strbuf._flag = _IOREAD | _IOWRT;
125 strbuf._ptr = strbuf._base = (unsigned char *)str;
126 strbuf._cnt = strlen(str);
127 SET_FILE(&strbuf, _NFILE);
138 if (__fsetlocking(&strbuf, FSETLOCKING_BYCALLER) == -1) {
144 return (__doscan_u(&strbuf, fmt, ap, _F_INTMAX32));
146 return (__doscan_u(&strbuf, fmt, ap, 0));
H A Dvwscanf.c101 FILE strbuf; local
126 strbuf._flag = _IOREAD | _IOWRT;
127 strbuf._ptr = strbuf._base = (unsigned char *)tmp_buf;
128 strbuf._cnt = strlen(tmp_buf);
129 SET_FILE(&strbuf, _NFILE);
132 /* _setorientation(&strbuf, _WC_MODE); */
135 ret = __wdoscan_u(&strbuf, fmt, ap, _F_INTMAX32);
137 ret = __wdoscan_u(&strbuf, fmt, ap, 0);
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dstropts.h119 struct strbuf { struct
131 struct strbuf ctlbuf;
132 struct strbuf databuf;
140 struct strbuf ctlbuf;
141 struct strbuf databuf;
/illumos-gate/usr/src/cmd/cdrw/
H A Dutil.c51 char strbuf[81]; variable
87 (void) memset(strbuf, 8, pos);
88 strbuf[pos] = 0;
89 (void) printf(strbuf);
90 (void) memset(strbuf, ' ', pos);
91 strbuf[pos] = 0;
92 (void) printf(strbuf);
93 (void) memset(strbuf, 8, pos);
94 strbuf[pos] = 0;
95 (void) printf(strbuf);
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dstrcalls.c53 int getmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *flagsp);
54 int putmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int flags);
55 int getpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *prip,
57 int putpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int pri,
60 static int msgio(int fdes, struct strbuf *ctl, struct strbuf *dat
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmpeek.c49 struct strbuf *do_peek();
66 struct strbuf *ptr;
120 struct strbuf *ptr) /* ptr that holds data in ptr->buf */
152 struct strbuf *
179 return( (struct strbuf *)NULL );
190 struct strbuf *ptr;
H A Dtmglobal.c107 struct strbuf *peek_ptr;
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dtx.h285 extern int _t_rcv_conn_con(struct _ti_user *, struct t_call *, struct strbuf *,
288 struct strbuf *);
289 extern int _t_aligned_copy(struct strbuf *, int, int, char *, t_scalar_t *);
298 extern int _t_acquire_ctlbuf(struct _ti_user *, struct strbuf *, int *);
299 extern int _t_acquire_databuf(struct _ti_user *, struct strbuf *, int *);
332 extern int _tx_unbind_locked(int, struct _ti_user *, struct strbuf *);
344 void _t_scatter(struct strbuf *, struct t_iovec *, int);
H A Dt_unbind.c54 struct strbuf ctlbuf;
105 _tx_unbind_locked(int fd, struct _ti_user *tiptr, struct strbuf *ctlbufp)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.h64 struct strbuf;
72 extern int mygetmsg(int fd, struct strbuf *ctrl, struct strbuf *data,
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dscanf.c119 FILE strbuf; local
124 strbuf._flag = _IOREAD|_IOSTRG;
125 strbuf._ptr = strbuf._base = (unsigned char*)str;
126 strbuf._cnt = strlen(str);
127 strbuf._bufsiz = strbuf._cnt;
141 return(_doscan(&strbuf, newform, newap));
143 ret_val = _doscan(&strbuf, fmt, ap);
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmwrite.c127 || (p->dat = (struct strbuf *)Malloc(sizeof(struct strbuf))) == NULL
166 struct strbuf ctl;
167 struct strbuf dat;
H A Dmread.c68 struct strbuf dat;
69 struct strbuf ctl;
H A Dllib-llpmsg42 typedef struct strbuf strbuf_t; /* STREAMS buffer */
47 struct strbuf *dat;
/illumos-gate/usr/src/uts/common/sys/
H A Dsad.h208 struct strbuf;
209 void audit_strputmsg(struct vnode *, struct strbuf *, struct strbuf *,
H A Dstropts.h335 struct strbuf { struct
354 struct strbuf ctlbuf;
355 struct strbuf databuf;
373 struct strbuf ctlbuf;
374 struct strbuf databuf;
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetexecattr.c90 * and call it to match exec_attr data in strbuf and argp->key.attrp
93 check_match_strbuf(nss_XbyY_args_t *argp, char *strbuf, int check_policy) argument
106 if (strbuf[argp->returnlen] == '\n') {
107 strbuf[argp->returnlen] = '\0';
110 execp->name = _strtok_escape(strbuf, sep, &last);
121 free(strbuf);
135 char *strbuf; local
148 if ((strbuf = strdup(instr)) == NULL)
151 strbuf, check_policy);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c50 static int (*old_sys_read_packet)(int retv, struct strbuf *ctrl,
51 struct strbuf *data, int flags);
306 handle_pppoe_input(const ppptun_atype *pma, struct strbuf *ctrl,
307 struct strbuf *data)
409 handle_action(struct ppptun_control *ptc, struct strbuf *ctrl,
410 struct strbuf *data)
430 pppoe_sys_read_packet(int retv, struct strbuf *ctrl, struct strbuf *data,
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c529 getmsg(int fd, struct strbuf *ctlptr, struct strbuf *dataptr,
532 extern int __getmsg(int, struct strbuf *, struct strbuf *, int *);
539 getpmsg(int fd, struct strbuf *ctlptr, struct strbuf *dataptr,
542 extern int __getpmsg(int, struct strbuf *, struct strbuf *,
550 putmsg(int fd, const struct strbuf *ctlptr,
551 const struct strbuf *datapt
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/
H A Dprtusb.c548 char strbuf[STRLEN]; local
600 mdb_devinfo2driver((uintptr_t)usb_dev.usb_dip, strbuf, STRLEN);
601 mdb_printf("%-12s%-6d", strbuf, usb_dip.devi_instance);
604 if (mdb_readstr(strbuf, STRLEN,
607 mdb_printf("%-16s", strbuf);
622 if (mdb_readstr(strbuf, STRLEN,
625 mdb_printf("%s\n", strbuf);
637 if (mdb_readstr(strbuf, STRLEN,
639 mdb_printf("%s - ", strbuf);
643 if (mdb_readstr(strbuf, STRLE
752 char strbuf[STRLEN] = ""; local
[all...]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c454 char *strbuf; local
458 strbuf = kmem_zalloc(MOD_MAXPATH, KM_SLEEP);
460 if (copyinstr(name, strbuf, MOD_MAXPATH, 0)) {
464 sdcmn_err6(("file %s is registering\n", strbuf));
466 n = strlen(strbuf) + 1;
467 namep = i_ddi_strdup(strbuf, KM_SLEEP);
479 kmem_free(strbuf, MOD_MAXPATH);

Completed in 123 milliseconds

123456