Searched refs:fragments (Results 1 – 3 of 3) sorted by relevance
190 bool zcbor_validate_string_fragments(struct zcbor_string_fragment *fragments, in zcbor_validate_string_fragments() argument195 if (fragments == NULL) { in zcbor_validate_string_fragments()200 if (fragments[i].offset != total_len) { in zcbor_validate_string_fragments()203 if (fragments[i].fragment.value == NULL) { in zcbor_validate_string_fragments()206 if (fragments[i].total_len != fragments[0].total_len) { in zcbor_validate_string_fragments()209 total_len += fragments[i].fragment.len; in zcbor_validate_string_fragments()210 if (total_len > fragments[0].total_len) { in zcbor_validate_string_fragments()215 if (num_fragments && total_len != fragments[0].total_len) { in zcbor_validate_string_fragments()219 if (num_fragments && (fragments[0].total_len == ZCBOR_STRING_FRAGMENT_UNKNOWN_LENGTH)) { in zcbor_validate_string_fragments()221 fragments[i].total_len = total_len; in zcbor_validate_string_fragments()[all …]
416 bool zcbor_validate_string_fragments(struct zcbor_string_fragment *fragments,435 bool zcbor_splice_string_fragments(struct zcbor_string_fragment *fragments,
82 fragments of 128-bytes, this should not need to be changed unless a