Searched refs:utf8_data (Results 1 – 6 of 6) sorted by relevance
27 bool uefi_avb_utf8_to_ucs2(const uint8_t* utf8_data, in uefi_avb_utf8_to_ucs2() argument41 if ((utf8_data[i8] & 0xF8) == 0xF0) { in uefi_avb_utf8_to_ucs2()43 } else if ((utf8_data[i8] & 0xF0) == 0xE0) { in uefi_avb_utf8_to_ucs2()44 ucs2_data[i2] = (uint16_t)((uint16_t)utf8_data[i8] << 12) | in uefi_avb_utf8_to_ucs2()45 (uint16_t)(((uint16_t)utf8_data[i8 + 1] << 6) & 0x0FC0) | in uefi_avb_utf8_to_ucs2()46 (uint16_t)((uint16_t)utf8_data[i8 + 2] & 0x003F); in uefi_avb_utf8_to_ucs2()48 } else if ((utf8_data[i8] & 0xE0) == 0XC0) { in uefi_avb_utf8_to_ucs2()49 ucs2_data[i2] = (uint16_t)(((uint16_t)utf8_data[i8] << 6) & 0x07C0) | in uefi_avb_utf8_to_ucs2()50 (uint16_t)((uint16_t)utf8_data[i8 + 1] & 0x003F); in uefi_avb_utf8_to_ucs2()52 } else if (!(utf8_data[i8] >> 7)) { in uefi_avb_utf8_to_ucs2()[all …]
35 bool uefi_avb_utf8_to_ucs2(const uint8_t* utf8_data,
58 StringPiece(it.utf8_data(), next.utf8_data() - it.utf8_data())); in AppendTokenSymbols()
300 it_chargram_end.utf8_data() - it_chargram_start.utf8_data(); in ExtractCharactergramFeaturesUnicode()302 StringPiece(it_chargram_start.utf8_data(), length_bytes))); in ExtractCharactergramFeaturesUnicode()
133 it.utf8_data(), it.utf8_data() + GetNumBytesForUTF8Char(it.utf8_data())); in AppendCodepointToToken()
137 const char* utf8_data() const { return it_; } in utf8_data() function