Home
last modified time | relevance | path

Searched refs:hdrbuf (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dnb_ssn.c73 uint32_t hdr, hdrbuf; in nb_ssn_send() local
85 hdrbuf = htonl(hdr); in nb_ssn_send()
88 bcopy(&hdrbuf, m->m_data, 4); in nb_ssn_send()
148 uint32_t hdr, hdrbuf; in nb_ssn_recv() local
162 cnt = t_rcv(fd, &hdrbuf, sizeof (hdrbuf), &moreflag); in nb_ssn_recv()
169 if (cnt != sizeof (hdrbuf)) { in nb_ssn_recv()
177 hdr = ntohl(hdrbuf); in nb_ssn_recv()
/titanic_44/usr/src/cmd/fmt/
H A Dfmt.c84 wchar_t *hdrbuf[MAXLINES]; /* buffer to hold potential mail header lines */ variable
756 for (cp = hdrbuf[l]; *cp == L' '; cp++) { in header_chk()
806 hdrbuf[h_lines] = (wchar_t *)malloc(sizeof (wchar_t) * in fill_hdrbuf()
808 if (hdrbuf[h_lines] == NULL) { in fill_hdrbuf()
823 prefix(hdrbuf[i]); in fill_hdrbuf()
824 free(hdrbuf[i]); in fill_hdrbuf()
832 for (i = 0, cp = line; (hdrbuf[h_lines][i] = *cp) != L'\0'; i++, cp++) { in fill_hdrbuf()
851 prefix(hdrbuf[i]); in process_hdrbuf()
852 free(hdrbuf[i]); in process_hdrbuf()
/titanic_44/usr/src/lib/libpkg/common/
H A Dpkgtrans.c150 static struct dm_buf hdrbuf; variable
588 pinput = hdrbuf.text_buffer; in _pkgtrans()
781 if ((hdrbuf.text_buffer = (char *)malloc(BLK_SIZE)) == NULL) { in genheader()
788 (void) memset(hdrbuf.text_buffer, '\0', BLK_SIZE); in genheader()
791 hdrbuf.offset = 0; in genheader()
792 hdrbuf.allocation = BLK_SIZE; in genheader()
794 (void) cat_and_count(&hdrbuf, HDR_PREFIX); in genheader()
795 (void) cat_and_count(&hdrbuf, "\n"); in genheader()
862 if (cat_and_count(&hdrbuf, tmp_entry)) { in genheader()
887 if (cat_and_count(&hdrbuf, tmp_entry)) { in genheader()
[all …]
/titanic_44/usr/src/lib/libpp/common/
H A Dppcontrol.c478 if (!(p = pp.hdrbuf) && !(p = pp.hdrbuf = newof(0, char, MAXTOKEN, 0))) in ppcontrol()
490 memcpy(pp.token, pp.hdrbuf, p - pp.hdrbuf); in ppcontrol()
H A Dpplib.h291 char* hdrbuf; /* HEADEREXPAND buffer */ \
H A DRELEASE189 97-11-11 ppcontrol: fix recursive use of pp.hdrbuf for HEADEREXPAND