Searched refs:is_valid_utf8 (Results 1 – 5 of 5) sorted by relevance
31 #define VALID(lit) assert(is_valid_utf8(lit, sizeof(lit)-1))32 #define INVALID(lit) assert(!is_valid_utf8(lit, sizeof(lit)-1))
34 is_valid_utf8(const char *ss, size_t len);
75 is_valid_utf8(const char *ss, size_t len) in is_valid_utf8() function
1014 if (!is_valid_utf8(buffer, offset)) in xkb_state_key_get_utf8()
244 if (!is_valid_utf8(s->buf, s->buf_pos - 1)) { in lex()