Lines Matching refs:apl_len
252 REQUIRE(apl->apl != NULL || apl->apl_len == 0);
254 isc_buffer_init(&b, apl->apl, apl->apl_len);
255 isc_buffer_add(&b, apl->apl_len);
256 isc_buffer_setactive(&b, apl->apl_len);
273 apl->apl_len = r.length;
305 REQUIRE(apl->apl != NULL || apl->apl_len == 0);
316 INSIST(apl->apl_len > 3U);
318 INSIST(4 + length <= apl->apl_len);
331 REQUIRE(apl->apl != NULL || apl->apl_len == 0);
336 if (apl->apl == NULL || apl->offset == apl->apl_len)
342 INSIST(apl->offset < apl->apl_len);
343 INSIST(apl->apl_len > 3U);
344 INSIST(apl->offset <= apl->apl_len - 4U);
350 INSIST(4 + length + apl->offset <= apl->apl_len);
353 return ((apl->offset < apl->apl_len) ? ISC_R_SUCCESS : ISC_R_NOMORE);
364 REQUIRE(apl->apl != NULL || apl->apl_len == 0);
365 REQUIRE(apl->offset <= apl->apl_len);
367 if (apl->offset == apl->apl_len)
373 INSIST(apl->apl_len > 3U);
374 INSIST(apl->offset <= apl->apl_len - 4U);
380 INSIST(4 + length + apl->offset <= apl->apl_len);
395 return (apl->apl_len);