Lines Matching refs:offset
278 apl->offset = 0;
317 length = apl->apl[apl->offset + 3] & 0x7f;
320 apl->offset = 0;
336 if (apl->apl == NULL || apl->offset == apl->apl_len)
342 INSIST(apl->offset < apl->apl_len);
344 INSIST(apl->offset <= apl->apl_len - 4U);
345 length = apl->apl[apl->offset + 3] & 0x7f;
350 INSIST(4 + length + apl->offset <= apl->apl_len);
352 apl->offset += 4 + length;
353 return ((apl->offset < apl->apl_len) ? ISC_R_SUCCESS : ISC_R_NOMORE);
365 REQUIRE(apl->offset <= apl->apl_len);
367 if (apl->offset == apl->apl_len)
374 INSIST(apl->offset <= apl->apl_len - 4U);
375 length = (apl->apl[apl->offset + 3] & 0x7f);
380 INSIST(4 + length + apl->offset <= apl->apl_len);
382 ent->family = (apl->apl[apl->offset] << 8) + apl->apl[apl->offset + 1];
383 ent->prefix = apl->apl[apl->offset + 2];
385 ent->negative = ISC_TF((apl->apl[apl->offset + 3] & 0x80) != 0);
387 ent->data = &apl->apl[apl->offset + 4];