Lines Matching refs:out_contents
276 static int cbb_add_length_prefixed(CBB *cbb, CBB *out_contents, in cbb_add_length_prefixed() argument
290 memset(out_contents, 0, sizeof(CBB)); in cbb_add_length_prefixed()
291 out_contents->base = cbb->base; in cbb_add_length_prefixed()
292 cbb->child = out_contents; in cbb_add_length_prefixed()
300 int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u8_length_prefixed() argument
301 return cbb_add_length_prefixed(cbb, out_contents, 1); in CBB_add_u8_length_prefixed()
304 int CBB_add_u16_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u16_length_prefixed() argument
305 return cbb_add_length_prefixed(cbb, out_contents, 2); in CBB_add_u16_length_prefixed()
308 int CBB_add_u24_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u24_length_prefixed() argument
309 return cbb_add_length_prefixed(cbb, out_contents, 3); in CBB_add_u24_length_prefixed()
312 int CBB_add_asn1(CBB *cbb, CBB *out_contents, uint8_t tag) { in CBB_add_asn1() argument
328 memset(out_contents, 0, sizeof(CBB)); in CBB_add_asn1()
329 out_contents->base = cbb->base; in CBB_add_asn1()
330 cbb->child = out_contents; in CBB_add_asn1()