Lines Matching refs:length
46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
63 while (source->length > 2) {
74 if (source->length != 0 &&
81 if (source->length == 2) {
89 } else if (source->length == 1) {
103 int length; /*%< Desired length of binary data or -1 */
111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target)
115 ctx->length = length;
159 if (ctx->length >= 0) {
160 if (n > ctx->length)
163 ctx->length -= n;
172 if (ctx->length > 0)
180 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
186 base64_decode_init(&ctx, length, target);
188 while (!ctx.seen_end && (ctx.length != 0)) {
191 if (length > 0)
200 for (i = 0; i < tr->length; i++)
203 if (ctx.length < 0 && !ctx.seen_end)
234 if (l > region.length)
243 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) {
247 if (length > tr.length)
249 memmove(tr.base, base, length);
250 isc_buffer_add(target, length);