Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c222 const int buf_incre = OCSP_BUFSIZE; /* 1 KB at a time */ in get_encoded_response() local
223 const int maxBufSize = 8 * buf_incre; /* 8 KB max */ in get_encoded_response()
262 if ((buflen - offset) < buf_incre) { in get_encoded_response()
263 buflen += buf_incre; in get_encoded_response()
286 bytes = read(sock, buf + offset, buf_incre); in get_encoded_response()
414 buflen = (1 + (offset-1) / buf_incre) * buf_incre; in get_encoded_response()
420 if ((buflen - offset) < buf_incre) { in get_encoded_response()
421 buflen += buf_incre; in get_encoded_response()
444 bytes = read(sock, buf + offset, buf_incre); in get_encoded_response()