Lines Matching refs:offs
268 size_t offs = 0, len = ms->search.s_len ? ms->search.s_len : nbytes; in der_offs() local
270 if (gettag(b, &offs, len) == DER_BAD) { in der_offs()
275 offs, m->offset)); in der_offs()
277 uint32_t tlen = getlength(b, &offs, len); in der_offs()
283 offs, tlen)); in der_offs()
285 offs += ms->offset + m->offset; in der_offs()
293 if (offs + tlen > nbytes) in der_offs()
295 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); in der_offs()
299 return CAST(int32_t, offs); in der_offs()
307 size_t offs = 0, len = ms->search.s_len; in der_cmp() local
313 tag = gettag(b, &offs, len); in der_cmp()
320 offs, m->offset)); in der_cmp()
322 tlen = getlength(b, &offs, len); in der_cmp()
362 DPRINTF(("%s: before data %" SIZE_T_FORMAT "u %u\n", __func__, offs, in der_cmp()
364 der_data(buf, sizeof(buf), tag, b + offs, tlen); in der_cmp()