Home
last modified time | relevance | path

Searched refs:xbuf (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/lib/libmail/common/
H A Dxgetenv.c82 static char xbuf[MAXENV]; variable
103 nread = read(infd, xbuf, sizeof (xbuf)); in xsetenv()
116 xenv[0] = &xbuf[0]; in xsetenv()
118 if (xbuf[i] == '\n') { in xsetenv()
119 xbuf[i] = '\0'; in xsetenv()
121 xenv[++envctr] = &xbuf[i+1]; in xsetenv()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dmacro.c201 char xbuf[MACBUFSIZE]; local
217 for (xp = xbuf; *s != '\0'; s++)
292 if (skipping || xp >= &xbuf[sizeof(xbuf) - 1])
302 xp < &xbuf[sizeof(xbuf) - 1])
319 xputs(sm_debug_file(), xbuf);
328 doexpand(xbuf, buf, bufsize, explevel + 1, e);
337 (void) sm_strlcpy(buf, xbuf, bufsize);
341 i = xp - xbuf;
344 memmove(buf, xbuf, i);
H A Dheaders.c494 char xbuf[MAXLINE]; local
498 xbufs = sizeof(xbuf);
499 xbp = quote_internal_chars(line, xbuf, &xbufs);
507 if (xbp != xbuf)
H A Ddeliver.c4493 char xbuf[MAXLINE]; local
4523 (void) sm_snprintf(xbuf, sizeof(xbuf),
4530 (void) sm_snprintf(xbuf, sizeof(xbuf),
4533 template = xbuf;
/titanic_41/usr/src/cmd/isns/isnsadm/
H A Disnsadm.c1416 xmlBufferPtr xbuf; in build_delete_xml_doc() local
1419 if ((xbuf = xmlBufferCreate()) == NULL) { in build_delete_xml_doc()
1423 if ((writer = xmlNewTextWriterMemory(xbuf, 0)) == NULL) { in build_delete_xml_doc()
1562 len = xmlStrlen(xbuf->content) + 1; in build_delete_xml_doc()
1564 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_delete_xml_doc()
1568 xmlBufferFree(xbuf); in build_delete_xml_doc()
1592 xmlBufferPtr xbuf; in build_modify_xml_doc() local
1595 if ((xbuf = xmlBufferCreate()) == NULL) { in build_modify_xml_doc()
1599 if ((writer = xmlNewTextWriterMemory(xbuf, 0)) == NULL) { in build_modify_xml_doc()
1700 len = xmlStrlen(xbuf->content) + 1; in build_modify_xml_doc()
[all …]
/titanic_41/usr/src/cmd/ypcmd/
H A Dypwhich.c445 char xbuf[IPV6_ADDR_LEN]; local
454 (caddr_t)xbuf, IPV6_ADDR_LEN,
461 xbuf;
468 xbuf;
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c248 struct xattr_buf *xbuf; in output_xattr_header() local
325 xbuf = (struct xattr_buf *)(((caddr_t)xhdr) + in output_xattr_header()
327 (void) snprintf(xbuf->h_namesz, sizeof (xbuf->h_namesz), "%0*d", in output_xattr_header()
328 sizeof (xbuf->h_namesz) - 1, namesz); in output_xattr_header()
331 xbuf->h_typeflag = LF_NORMAL; in output_xattr_header()
333 (void) strlcpy(xbuf->h_names, fname, TLM_NAME_SIZE); in output_xattr_header()
334 (void) strlcpy(&xbuf->h_names[strlen(fname) + 1], aname, in output_xattr_header()
H A Dtlm_restore_writer.c1396 struct xattr_buf *xbuf; in restore_xattr_hdr() local
1425 xbuf = (struct xattr_buf *)(((char *)xhdr) + sizeof (struct xattr_hdr)); in restore_xattr_hdr()
1427 (void) sscanf(xbuf->h_namesz, "%7d", &namelen); in restore_xattr_hdr()
1428 xattrname = xbuf->h_names + strlen(xbuf->h_names) + 1; in restore_xattr_hdr()
/titanic_41/usr/src/cmd/troff/
H A Dn1.c984 tchar xbuf[NC]; in setxon() local
992 i = xbuf; in setxon()
994 while ((k = cbits(c = getch())) != delim && k != '\n' && i < xbuf+NC-1) { in setxon()
1001 pushback(xbuf); in setxon()
1231 p = xbuf; in popf()
1370 q = xbuf;
H A Dnii.c72 char xbuf[IBUFSZ]; variable
H A Dext.h63 extern char xbuf[IBUFSZ];
/titanic_41/usr/src/cmd/sgs/gprof/common/
H A Dsparc.h44 #define TORIGIN ((unsigned long) N_TXTADDR(xbuf))
/titanic_41/usr/src/cmd/captoinfo/
H A Dcaptoinfo.c789 char xbuf[2]; in prchar() local
790 xbuf[0] = c; in prchar()
791 xbuf[1] = '\0'; in prchar()
792 (void) fprintf(stream, "%s", iexpand(xbuf)); in prchar()
/titanic_41/usr/src/uts/common/io/rsm/
H A Drsm.c2531 struct buf *xbuf; in rsm_rebind() local
2535 xbuf = ddi_umem_iosetup(cookie, 0, msg->len, B_WRITE, in rsm_rebind()
2537 ASSERT(xbuf != NULL); in rsm_rebind()
2540 mem.ms_bp = xbuf; in rsm_rebind()
2574 freerbuf(xbuf); in rsm_rebind()
2856 struct buf *xbuf; in rsm_publish() local
2964 xbuf = ddi_umem_iosetup(seg->s_cookie, 0, seg->s_len, B_WRITE, in rsm_publish()
2966 ASSERT(xbuf != NULL); in rsm_publish()
2969 mem.ms_bp = xbuf; in rsm_publish()
2983 freerbuf(xbuf); in rsm_publish()
[all …]
/titanic_41/usr/src/lib/libast/common/misc/
H A Dmagic.c159 char xbuf[SF_BUFSIZE + 1]; /* indirect file data */ \
301 if ((mp->xbsz = sfread(mp->fp, mp->xbuf, sizeof(mp->xbuf) - 1)) < 0) in getdata()
307 mp->xbuf[mp->xbsz] = 0; in getdata()
312 return mp->xbuf + off - mp->xoff; in getdata()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c3830 char xbuf[STR_EXPAND * OCTET_LENGTH + 1]; in arp_report() local
3910 xbuf, sizeof (xbuf))); in arp_report()
3925 char xbuf[STR_EXPAND * OCTET_LENGTH + 1]; in ndp_report() local
4003 xbuf, sizeof (xbuf)), in ndp_report()
/titanic_41/usr/src/uts/common/io/skd/
H A Dskd.c1522 uint64_t xbuf[1]; in skd_complete_internal() local
1526 bcopy(buf, xbuf, 8); in skd_complete_internal()
1527 cap = be64_to_cpu(*xbuf); in skd_complete_internal()