Home
last modified time | relevance | path

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

/external/vboot_reference/cgpt/
Dcgpt_common.c544 uint8_t code_unit; in UTF8ToUTF16() local
545 code_unit = utf8[s8idx]; in UTF8ToUTF16()
549 if ((code_unit & 0xC0) == 0x80) { in UTF8ToUTF16()
550 code_point = (code_point << 6) | (code_unit & 0x3F); in UTF8ToUTF16()
560 if (code_unit <= 0x7F) { in UTF8ToUTF16()
561 code_point = code_unit; in UTF8ToUTF16()
563 } else if (code_unit <= 0xBF) { in UTF8ToUTF16()
567 } else if (code_unit >= 0xC2 && code_unit <= 0xDF) { in UTF8ToUTF16()
568 code_point = code_unit & 0x1F; in UTF8ToUTF16()
570 } else if (code_unit >= 0xE0 && code_unit <= 0xEF) { in UTF8ToUTF16()
[all …]
/external/crosvm/disk/src/
Dgpt.rs221 for code_unit in &self.partition_name { in write_bytes()
222 out.write_all(&code_unit.to_le_bytes()) in write_bytes()
/external/fmtlib/include/fmt/
Dcompile.h410 template <typename Char> struct code_unit {
421 struct is_compiled_format<code_unit<Char>> : std::true_type {};
554 return parse_tail<Args, end, ID>(code_unit<char_type>{str[POS]},