Lines Matching refs:maxbuf
59 size_t maxbuf; /* allocated length of payload buffer (maxbuf) */ member
85 size_t maxbuf; /* allocated length of payload buffer */ member
117 saslc__buffer_create(saslc_sess_t *sess, size_t maxbuf) in saslc__buffer_create() argument
122 buflen = sizeof(*ctx) - sizeof(ctx->buf) + maxbuf; in saslc__buffer_create()
130 ctx->maxbuf = maxbuf; in saslc__buffer_create()
131 ctx->bufneed = ctx->maxbuf; in saslc__buffer_create()
158 *outlen = ctx->maxbuf - ctx->bufneed; in saslc__buffer_fetch()
160 ctx->bufneed = ctx->maxbuf; /* for next call */ in saslc__buffer_fetch()
166 p = ctx->buf + ctx->maxbuf - ctx->bufneed; in saslc__buffer_fetch()
176 *outlen = ctx->maxbuf; in saslc__buffer_fetch()
177 ctx->bufneed = ctx->maxbuf; /* for next call */ in saslc__buffer_fetch()
184 ctx->bufneed = ctx->maxbuf; /* for next call */ in saslc__buffer_fetch()
217 saslc__buffer32_create(saslc_sess_t *sess, size_t maxbuf) in saslc__buffer32_create() argument
222 buflen = sizeof(*ctx) - sizeof(ctx->buf) + maxbuf; in saslc__buffer32_create()
230 ctx->maxbuf = maxbuf; in saslc__buffer32_create()
276 if (ctx->bufsize > ctx->maxbuf) { in saslc__buffer32_fetch()