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

  /external/v8/src/parsing/
scanner.h 81 virtual void PushBack(int32_t code_unit) = 0;
89 // Ensures that the buffer_cursor_ points to the code_unit at
162 INLINE(void AddChar(char code_unit)) {
165 DCHECK(0 <= code_unit && code_unit <= kMaxAscii);
166 backing_store_[position_] = static_cast<byte>(code_unit);
171 INLINE(void AddChar(uc32 code_unit)) {
174 if (code_unit <= unibrow::Latin1::kMaxChar) {
175 backing_store_[position_] = static_cast<byte>(code_unit);
181 if (code_unit <= unibrow::Utf16::kMaxNonSurrogateCharCode)
    [all...]
  /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/regexp/
regexp-parser.cc 711 static void push_code_unit(ZoneVector<uc16>* v, uint32_t code_unit) {
712 if (code_unit <= unibrow::Utf16::kMaxNonSurrogateCharCode) {
713 v->push_back(code_unit);
715 v->push_back(unibrow::Utf16::LeadSurrogate(code_unit));
716 v->push_back(unibrow::Utf16::TrailSurrogate(code_unit));
    [all...]

Completed in 271 milliseconds