Lines Matching refs:length
46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
61 while (source->length > 0) {
68 if (source->length != 0 &&
82 int length; /*%< Desired length of binary data or -1 */
89 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target)
92 ctx->length = length;
108 if (ctx->length >= 0) {
109 if (ctx->length == 0)
112 ctx->length -= 1;
121 if (ctx->length > 0)
129 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
135 hex_decode_init(&ctx, length, target);
137 while (ctx.length != 0) {
140 if (length > 0)
149 for (i = 0; i < tr->length; i++)
152 if (ctx.length < 0)
183 if (l > region.length)
192 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) {
196 if (length > tr.length)
198 memmove(tr.base, base, length);
199 isc_buffer_add(target, length);