Lines Matching refs:length
37 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
54 while (source->length > 2) {
65 if (source->length != 0 &&
72 if (source->length == 2) {
80 } else if (source->length == 1) {
94 int length; /*%< Desired length of binary data or -1 */
102 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target)
106 ctx->length = length;
150 if (ctx->length >= 0) {
151 if (n > ctx->length)
154 ctx->length -= n;
163 if (ctx->length > 0)
171 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
177 base64_decode_init(&ctx, length, target);
179 while (!ctx.seen_end && (ctx.length != 0)) {
182 if (length > 0)
191 for (i = 0; i < tr->length; i++)
194 if (ctx.length < 0 && !ctx.seen_end)
225 if (l > region.length)
234 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) {
238 if (length > tr.length)
240 memmove(tr.base, base, length);
241 isc_buffer_add(target, length);