Lines Matching refs:offs
269 size_t offs = 0, len = ms->search.s_len ? ms->search.s_len : nbytes; in der_offs() local
271 if (gettag(b, &offs, len) == DER_BAD) { in der_offs()
276 offs, m->offset)); in der_offs()
278 uint32_t tlen = getlength(b, &offs, len); in der_offs()
284 offs, tlen)); in der_offs()
286 offs += ms->offset + m->offset; in der_offs()
295 if (offs + tlen > nbytes) in der_offs()
297 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); in der_offs()
301 return CAST(int32_t, offs); in der_offs()
309 size_t offs = 0, len = ms->search.s_len; in der_cmp() local
315 tag = gettag(b, &offs, len); in der_cmp()
322 offs, m->offset)); in der_cmp()
324 tlen = getlength(b, &offs, len); in der_cmp()
371 DPRINTF(("%s: before data %" SIZE_T_FORMAT "u %u\n", __func__, offs, in der_cmp()
373 der_data(buf, sizeof(buf), tag, b + offs, tlen); in der_cmp()