Lines Matching refs:item_len
203 size_t item_len = 0; in uw_macaroon_serialize_() local
208 &item_len)) { in uw_macaroon_serialize_()
211 offset += item_len; in uw_macaroon_serialize_()
216 out + offset, out_len - offset, &item_len)) { in uw_macaroon_serialize_()
219 offset += item_len; in uw_macaroon_serialize_()
224 out_len - offset, &item_len)) { in uw_macaroon_serialize_()
227 offset += item_len; in uw_macaroon_serialize_()
232 bstr_len, out, UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN, &item_len)) { in uw_macaroon_serialize_()
237 memmove(out + item_len, out + UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN, in uw_macaroon_serialize_()
240 *resulting_str_len = item_len + bstr_len; in uw_macaroon_serialize_()
256 size_t item_len = 0; in uw_macaroon_deserialize_() local
264 item_len = bstr - in; // The length of the first byte string header in uw_macaroon_deserialize_()
265 offset += item_len; in uw_macaroon_deserialize_()
267 if (item_len + bstr_len != in_len) { in uw_macaroon_deserialize_()
285 &item_len)) { in uw_macaroon_deserialize_()
288 offset += item_len; in uw_macaroon_deserialize_()
303 &item_len)) { in uw_macaroon_deserialize_()
306 offset += item_len; in uw_macaroon_deserialize_()