Home
last modified time | relevance | path

Searched refs:UTF8_ACCEPT (Results 1 – 1 of 1) sorted by relevance

/freebsd-src/contrib/libcbor/src/cbor/internal/
H A Dunicode.c11 #define UTF8_ACCEPT 0 macro
62 *codep = (*state != UTF8_ACCEPT) ? (byte & 0x3fu) | (*codep << 6) in _cbor_unicode_decode()
73 uint32_t codepoint, state = UTF8_ACCEPT, res; in _cbor_unicode_codepoint_count()
79 if (res == UTF8_ACCEPT) { in _cbor_unicode_codepoint_count()
87 if (state != UTF8_ACCEPT) goto error; in _cbor_unicode_codepoint_count()