Lines Matching defs:header_len
44 size_t header_len;
46 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) {
49 if (CBS_len(&contents) == header_len &&
50 header_len > 0 &&
51 CBS_data(&contents)[header_len-1] == 0x80) {
56 if (!CBS_skip(&contents, header_len) ||
76 /* is_eoc returns true if |header_len| and |contents|, as returned by
78 static char is_eoc(size_t header_len, CBS *contents) {
79 return header_len == 2 && CBS_len(contents) == 2 &&
98 size_t header_len;
101 if (!CBS_get_any_ber_asn1_element(in, &contents, &tag, &header_len)) {
106 if (CBS_len(&contents) == header_len) {
107 if (is_eoc(header_len, &contents)) {
111 if (header_len > 0 && CBS_data(&contents)[header_len - 1] == 0x80) {
172 if (!CBS_skip(&contents, header_len)) {