Lines Matching refs:contents
58 CBS contents; in cbs_find_indefinite() local
62 if (!cbs_nonstrict_get_any_asn1_element(&in, &contents, &tag, in cbs_find_indefinite()
67 if (CBS_len(&contents) == header_len && header_len > 0 && in cbs_find_indefinite()
68 CBS_data(&contents)[header_len - 1] == 0x80) { in cbs_find_indefinite()
73 if (!CBS_skip(&contents, header_len) || in cbs_find_indefinite()
74 !cbs_find_indefinite(&contents, indefinite_found, in cbs_find_indefinite()
104 is_eoc(size_t header_len, CBS *contents) in is_eoc() argument
108 return header_len == 2 && CBS_mem_equal(contents, eoc, 2); in is_eoc()
128 CBS contents; in cbs_convert_indefinite() local
133 if (!cbs_nonstrict_get_any_asn1_element(in, &contents, &tag, in cbs_convert_indefinite()
139 if (CBS_len(&contents) == header_len) { in cbs_convert_indefinite()
140 if (is_eoc(header_len, &contents)) in cbs_convert_indefinite()
144 CBS_data(&contents)[header_len - 1] == 0x80) { in cbs_convert_indefinite()
221 if (!CBS_skip(&contents, header_len)) in cbs_convert_indefinite()
225 if (!cbs_convert_indefinite(&contents, out_contents, in cbs_convert_indefinite()
230 if (!CBB_add_bytes(out_contents, CBS_data(&contents), in cbs_convert_indefinite()
231 CBS_len(&contents))) in cbs_convert_indefinite()