Lines Matching refs:ct_buffer
136 char *ct_buffer; /* Pointer to the buffer. */ member
281 ct->ct_buffer = NULL; /* We allocate the buffer when needed. */ in _clnt_vc_create_timed()
1061 if (ct->ct_buffer) { in clnt_vc_control()
1062 free(ct->ct_buffer); in clnt_vc_control()
1063 ct->ct_buffer = NULL; in clnt_vc_control()
1424 #define REMAIN_BYTES(p) (ct->ct_bufferSize-(ct->ct_##p - ct->ct_buffer))
1429 if (NULL == ct->ct_buffer) { in addInBuffer()
1440 ct->ct_buffer = buffer; in addInBuffer()
1467 (ct->ct_buffer + ct->ct_bufferSize)) { in addInBuffer()
1468 ct->ct_bufferWritePtr = ct->ct_buffer; in addInBuffer()
1478 (void) memcpy(ct->ct_buffer, dataToAdd, nBytes); in addInBuffer()
1479 ct->ct_bufferWritePtr = ct->ct_buffer + nBytes; in addInBuffer()
1494 ct->ct_bufferReadPtr = ct->ct_bufferWritePtr = ct->ct_buffer; in consumeFromBuffer()
1498 ct->ct_buffer + ct->ct_bufferSize) { in consumeFromBuffer()
1518 iov[1].iov_base = ct->ct_buffer; in iovFromBuffer()
1552 if (NULL != ct->ct_buffer) { in set_io_mode()
1558 free(ct->ct_buffer); in set_io_mode()
1559 ct->ct_buffer = NULL; in set_io_mode()
1733 ct->ct_bufferReadPtr = ct->ct_buffer; in nb_send()
1734 ct->ct_bufferWritePtr = ct->ct_buffer; in nb_send()