/osnet-11/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 69 char *databuf = NULL; local 96 databuf = strdup(tmpbuf); 98 if (databuf == NULL) 111 (void) memset(databuf, 0, strlen(databuf)); 112 free(databuf); 116 if (strcmp(databuf, tmpbuf) != 0) { 119 (void) memset(databuf, 0, strlen(databuf)); 120 free(databuf); [all...] |
/osnet-11/usr/src/lib/libnsl/nsl/ |
H A D | t_rcvdis.c | 51 struct strbuf databuf; local 107 databuf.len = tiptr->ti_lookbufs.tl_lookdlen; 108 databuf.buf = tiptr->ti_lookbufs.tl_lookdbuf; 109 /* Note databuf.maxlen not used in this case */ 144 * Acquire databuf for use in sending/receiving data part 146 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 163 retval = getmsg(fd, &ctlbuf, &databuf, &flg); 170 if (databuf.len == -1) databuf.len = 0; 215 if (databuf [all...] |
H A D | t_rcvv.c | 53 struct strbuf ctlbuf, databuf; local 185 databuf.maxlen = (int)nbytes; 186 databuf.len = 0; 187 databuf.buf = dataptr; 198 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 212 if (databuf.len == -1) databuf.len = 0; 264 _t_scatter(&databuf, tiov, tiovcount); 268 return (databuf.len); 288 if (_t_register_lookevent(tiptr, databuf [all...] |
H A D | t_rcv.c | 51 struct strbuf ctlbuf, databuf; local 166 databuf.maxlen = nbytes; 167 databuf.len = 0; 168 databuf.buf = buf; 179 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 193 if (databuf.len == -1) databuf.len = 0; 246 return (databuf.len); 266 if (_t_register_lookevent(tiptr, databuf.buf, 267 databuf [all...] |
H A D | _conn_util.c | 158 struct strbuf databuf; local 182 * Acquire databuf for use in sending/receiving data part 184 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) 194 if ((retval = getmsg(fd, ctlbufp, &databuf, &flg)) < 0) { 206 if (databuf.len == -1) databuf.len = 0; 271 if (databuf.len > (int)call->udata.maxlen) { 275 (void) memcpy(call->udata.buf, databuf.buf, 276 (size_t)databuf.len); 277 call->udata.len = databuf [all...] |
H A D | t_listen.c | 50 struct strbuf databuf; local 119 * Acquire databuf for use in sending/receiving data part 121 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 140 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 152 if (databuf.len == -1) databuf.len = 0; 223 if (databuf.len > (int)call->udata.maxlen) { 227 (void) memcpy(call->udata.buf, databuf.buf, 228 (size_t)databuf.len); 229 call->udata.len = databuf [all...] |
H A D | t_rcvrel.c | 55 struct strbuf databuf; local 139 * Acquire databuf for use in sending/receiving data part 141 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 158 retval = getmsg(fd, &ctlbuf, &databuf, &flg); 191 if (_t_register_lookevent(tiptr, databuf.buf, 192 databuf.len, ctlbuf.buf, 215 free(databuf.buf); 217 tiptr->ti_rcvbuf = databuf.buf; 229 free(databuf.buf); 231 tiptr->ti_rcvbuf = databuf [all...] |
H A D | t_rcvreldata.c | 54 struct strbuf databuf; local 141 * Acquire databuf for use in sending/receiving data part 143 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 160 retval = getmsg(fd, &ctlbuf, &databuf, &flg); 193 if (_t_register_lookevent(tiptr, databuf.buf, 194 databuf.len, ctlbuf.buf, 217 free(databuf.buf); 219 tiptr->ti_rcvbuf = databuf.buf; 231 free(databuf.buf); 233 tiptr->ti_rcvbuf = databuf [all...] |
H A D | t_rcvuderr.c | 50 struct strbuf ctlbuf, databuf; local 81 databuf.maxlen = 0; 82 databuf.len = 0; 83 databuf.buf = NULL; 112 databuf.maxlen = 0; 113 databuf.len = 0; 114 databuf.buf = NULL; 123 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) {
|
H A D | t_snddis.c | 51 struct strbuf databuf; local 147 databuf.maxlen = (call? call->udata.len: 0); 148 databuf.len = (call? call->udata.len: 0); 149 databuf.buf = (call? call->udata.buf: NULL); 157 if (putmsg(fd, &ctlbuf, (databuf.len? &databuf: NULL), 0) < 0) {
|
H A D | t_rcvvudata.c | 61 struct strbuf databuf; local 123 databuf.maxlen = nbytes; 124 databuf.len = 0; 125 databuf.buf = dataptr; 134 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 209 _t_scatter(&databuf, tiov, tiovcount); 213 return (databuf.len); 252 _t_scatter(&databuf, tiov, tiovcount); 256 return (databuf.len);
|
H A D | t_snd.c | 52 struct strbuf ctlbuf, databuf; local 186 databuf.maxlen = bytes_to_send; 187 databuf.len = bytes_to_send; 188 databuf.buf = curptr; 189 retval = putpmsg(fd, &ctlbuf, &databuf, band, MSG_BAND);
|
H A D | t_sndv.c | 52 struct strbuf ctlbuf, databuf; local 214 databuf.maxlen = bytes_to_send; 215 databuf.len = bytes_to_send; 216 databuf.buf = curptr; 217 retval = putpmsg(fd, &ctlbuf, &databuf, band, MSG_BAND);
|
H A D | t_sndvudata.c | 54 struct strbuf databuf; local 168 databuf.buf = dataptr; 169 databuf.len = nbytes; 170 databuf.maxlen = nbytes; 177 if (putmsg(fd, &ctlbuf, &databuf, 0) < 0) {
|
H A D | t_look.c | 122 strpeek.databuf.maxlen = 0; 123 strpeek.databuf.len = 0; 124 strpeek.databuf.buf = NULL;
|
H A D | _utility.c | 335 struct strbuf databuf; local 350 * Acquire databuf for use in sending/receiving data part 352 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 370 while ((retval = getmsg(fd, &ctlbuf, &databuf, &flags)) < 0) { 418 free(databuf.buf); 420 tiptr->ti_rcvbuf = databuf.buf; 461 free(databuf.buf); 463 tiptr->ti_rcvbuf = databuf.buf; 1112 char databuf[sizeof (int)]; /* size unimportant - anything > 0 */ local 1124 arg.databuf [all...] |
H A D | t_accept.c | 258 strfdinsert.databuf.maxlen = call->udata.maxlen; 259 strfdinsert.databuf.len = 261 strfdinsert.databuf.buf = call->udata.buf;
|
/osnet-11/usr/src/lib/libresolv2/include/ |
H A D | res_update.h | 60 struct databuf *r_dp; /*%< databuf to process */ 61 struct databuf *r_deldp; /*%< databuf's deleted/overwritten */
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_print.c | 199 char databuf[SMBFS_DATABUFSIZ]; local 215 rcnt = read(file, databuf, sizeof (databuf)); 224 wcnt = smbfs_fh_write(pfd, databuf, rcnt, offset);
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 194 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) argument 196 (void) memcpy((uint8_t *)databuf + offset, val, vallen); 288 * Section 10.7 RFC 3542. databuf should be a pointer as returned by 293 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen) argument 295 (void) memcpy(val, (uint8_t *)databuf + offset, vallen);
|
/osnet-11/usr/src/lib/librpcsvc/common/ |
H A D | bindresvport.c | 106 char databuf[256]; local 111 data->maxlen = sizeof (databuf); 112 data->buf = databuf;
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 80 pbuf.databuf.maxlen = n; 81 pbuf.databuf.buf = buf; 82 pbuf.databuf.len = 0; 91 if(r > 0 && (r = pbuf.databuf.len) <= 0)
|
/osnet-11/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 1311 * void *databuf: data buffer 1318 const void *databuf, size_t datalen, int flags) 1330 data.buf = (void *)databuf; 1334 (databuf == NULL ? NULL : &data), flags); 1349 * void *databuf: data buffer 1352 * actual data received is larger than 'databuf' 1362 void *databuf, size_t *datalenp, size_t *totdatalenp) 1377 * dlreplyp and databuf can be NULL at the same time, to force a check 1382 if ((databuf == NULL && datalenp != NULL) || 1383 (databuf ! 1317 i_dlpi_strputmsg(dlpi_impl_t *dip, const dlpi_msg_t *dlreqp, const void *databuf, size_t datalen, int flags) argument 1360 i_dlpi_strgetmsg(dlpi_impl_t *dip, int msec, dlpi_msg_t *dlreplyp, t_uscalar_t dlreqprim, t_uscalar_t dlreplyprim, size_t dlreplyminsz, void *databuf, size_t *datalenp, size_t *totdatalenp) argument [all...] |
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSession.c | 379 CK_BYTE *databuf) 407 slot_session->hSession, databuf, state->op_state_len, 415 slot_session->hSession, databuf, state->op_state_len, 375 meta_set_opstate(slot_session_t *slot_session, meta_object_t *meta_enc_key, meta_object_t *meta_auth_key, struct opstate_data *state, CK_BYTE *databuf) argument
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
H A D | FTP.pm | 984 my $databuf = ''; 988 while($data->read($databuf,$blksize)) { 989 $buf .= $databuf;
|