Searched refs:byte (Results 1 – 1 of 1) sorted by relevance
180 uint8_t byte; in spinel_validate_utf8() local183 while ((byte = *string++) != 0) in spinel_validate_utf8()185 if ((byte & 0x80) == 0) in spinel_validate_utf8()192 if ((byte & 0x40) == 0) // 10xx-xxxx in spinel_validate_utf8()198 else if ((byte & 0x20) == 0) // 110x-xxxx in spinel_validate_utf8()202 else if ((byte & 0x10) == 0) // 1110-xxxx in spinel_validate_utf8()206 else if ((byte & 0x08) == 0) // 1111-0xxx in spinel_validate_utf8()218 byte = *string++; in spinel_validate_utf8()221 if ((byte & 0xc0) != 0x80) in spinel_validate_utf8()