Lines Matching refs:cbs
534 static int parse_dotted_decimal(CBS *cbs, uint64_t *out) { in parse_dotted_decimal() argument
542 if (!CBS_get_u8(cbs, &u) || in parse_dotted_decimal()
543 (u == '.' && CBS_len(cbs) > 0)) { in parse_dotted_decimal()
566 CBS cbs; in CBB_add_asn1_oid_from_text() local
567 CBS_init(&cbs, (const uint8_t *)text, len); in CBB_add_asn1_oid_from_text()
571 if (!parse_dotted_decimal(&cbs, &a) || in CBB_add_asn1_oid_from_text()
572 !parse_dotted_decimal(&cbs, &b)) { in CBB_add_asn1_oid_from_text()
586 while (CBS_len(&cbs) > 0) { in CBB_add_asn1_oid_from_text()
587 if (!parse_dotted_decimal(&cbs, &a) || in CBB_add_asn1_oid_from_text()
619 CBS cbs; in CBB_flush_asn1_set_of() local
621 CBS_init(&cbs, CBB_data(cbb), CBB_len(cbb)); in CBB_flush_asn1_set_of()
622 while (CBS_len(&cbs) != 0) { in CBB_flush_asn1_set_of()
623 if (!CBS_get_any_asn1_element(&cbs, NULL, NULL, NULL)) { in CBB_flush_asn1_set_of()
645 CBS_init(&cbs, buf, buf_len); in CBB_flush_asn1_set_of()
647 if (!CBS_get_any_asn1_element(&cbs, &children[i], NULL, NULL)) { in CBB_flush_asn1_set_of()