HomeSort by relevance Sort by last modified time
    Searched refs:code_unit (Results 1 - 2 of 2) sorted by null

  /external/vboot_reference/cgpt/
cgpt_common.c 544 uint8_t code_unit; local
545 code_unit = utf8[s8idx];
549 if ((code_unit & 0xC0) == 0x80) {
550 code_point = (code_point << 6) | (code_unit & 0x3F);
560 if (code_unit <= 0x7F) {
561 code_point = code_unit;
563 } else if (code_unit <= 0xBF) {
567 } else if (code_unit >= 0xC2 && code_unit <= 0xDF) {
568 code_point = code_unit & 0x1F
    [all...]
  /external/v8/src/parsing/
scanner.h 80 virtual void PushBack(int32_t code_unit) = 0;
88 // Ensures that the buffer_cursor_ points to the code_unit at
160 INLINE(void AddChar(uint32_t code_unit)) {
163 if (code_unit <= unibrow::Latin1::kMaxChar) {
164 backing_store_[position_] = static_cast<byte>(code_unit);
170 if (code_unit <= unibrow::Utf16::kMaxNonSurrogateCharCode) {
171 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit;
175 unibrow::Utf16::LeadSurrogate(code_unit);
179 unibrow::Utf16::TrailSurrogate(code_unit);

Completed in 259 milliseconds