Home | History | Annotate | Download | only in bytestring

Lines Matching refs:CBS

41 int cbs_get_utf8(CBS *cbs, uint32_t *out) {
43 if (!CBS_get_u8(cbs, &c)) {
68 if (!CBS_get_u8(cbs, &c) ||
83 int cbs_get_latin1(CBS *cbs, uint32_t *out) {
85 if (!CBS_get_u8(cbs, &c)) {
92 int cbs_get_ucs2_be(CBS *cbs, uint32_t *out) {
95 if (!CBS_get_u16(cbs, &c) ||
103 int cbs_get_utf32_be(CBS *cbs, uint32_t *out) {
104 return CBS_get_u32(cbs, out) && is_valid_code_point(*out);