unibrow 3756 src/api.cc *last_character = unibrow::Utf16::kNoPreviousCharacter; unibrow 3767 src/api.cc unibrow::Utf8::Encode(current, character, previous_character); unibrow 3780 src/api.cc unibrow::Utf8::Encode(current, character, previous_character); unibrow 3869 src/api.cc int32_t previous = unibrow::Utf16::kNoPreviousCharacter; unibrow 3916 src/api.cc int fast_end = capacity - (unibrow::Utf8::kMaxEncodedSize - 1); unibrow 3920 src/api.cc int previous = unibrow::Utf16::kNoPreviousCharacter; unibrow 3923 src/api.cc int written = unibrow::Utf8::Encode(buffer + pos, c, previous); unibrow 3932 src/api.cc char intermediate[unibrow::Utf8::kMaxEncodedSize]; unibrow 3935 src/api.cc if (unibrow::Utf16::IsTrailSurrogate(c) && unibrow 3936 src/api.cc unibrow::Utf16::IsLeadSurrogate(previous)) { unibrow 3942 src/api.cc int written = unibrow::Utf8::Encode(buffer + pos, c, previous); unibrow 3948 src/api.cc unibrow::Utf8::Encode(intermediate, unibrow 3950 src/api.cc unibrow::Utf16::kNoPreviousCharacter); unibrow 50 src/char-predicates.h default: return unibrow::Letter::Is(c); unibrow 59 src/char-predicates.h || unibrow::Number::Is(c) unibrow 62 src/char-predicates.h || unibrow::CombiningMark::Is(c) unibrow 63 src/char-predicates.h || unibrow::ConnectorPunctuation::Is(c); unibrow 195 src/debug-agent.cc unibrow::Utf8InputBuffer<> buf(msg, StrLength(msg)); unibrow 377 src/debug-agent.cc int previous = unibrow::Utf16::kNoPreviousCharacter; unibrow 380 src/debug-agent.cc utf8_len += unibrow::Utf8::Length(character, previous); unibrow 396 src/debug-agent.cc previous = unibrow::Utf16::kNoPreviousCharacter; unibrow 401 src/debug-agent.cc unibrow::Utf8::Encode(buffer + buffer_position, character, previous); unibrow 406 src/debug-agent.cc unibrow::Utf16::kMaxExtraUtf8BytesForOneUtf16CodeUnit || unibrow 408 src/debug-agent.cc if (unibrow::Utf16::IsLeadSurrogate(character)) { unibrow 410 src/debug-agent.cc unibrow::Utf16::kUtf8BytesToCodeASurrogate; unibrow 912 src/handles.cc int previous = unibrow::Utf16::kNoPreviousCharacter; unibrow 915 src/handles.cc total += unibrow::Utf8::Length(c, previous); unibrow 919 src/handles.cc if (unibrow::Utf16::IsLeadSurrogate(previous) && unibrow 921 src/handles.cc total -= unibrow::Utf8::kBytesSavedByCombiningSurrogates; unibrow 923 src/handles.cc if (unibrow::Utf16::IsTrailSurrogate(p[from])) { unibrow 101 src/heap-inl.h unibrow::Utf8InputBuffer<> buffer(str.start(), unibrow 4371 src/heap.cc if (r <= unibrow::Utf16::kMaxNonSurrogateCharCode) { unibrow 4389 src/heap.cc if (r > unibrow::Utf16::kMaxNonSurrogateCharCode) { unibrow 4390 src/heap.cc string_result->Set(i++, unibrow::Utf16::LeadSurrogate(r)); unibrow 4391 src/heap.cc string_result->Set(i++, unibrow::Utf16::TrailSurrogate(r)); unibrow 4455 src/heap.cc if (buffer->GetNext() > unibrow::Utf8::kMaxOneByteChar) { unibrow 4500 src/heap.cc if (character > unibrow::Utf16::kMaxNonSurrogateCharCode) { unibrow 4501 src/heap.cc answer->Set(i++, unibrow::Utf16::LeadSurrogate(character)); unibrow 4502 src/heap.cc answer->Set(i++, unibrow::Utf16::TrailSurrogate(character)); unibrow 703 src/heap.h unibrow::CharacterStream* buffer, int chars, uint32_t hash_field); unibrow 44 src/interpreter-irregexp.cc typedef unibrow::Mapping<unibrow::Ecma262Canonicalize> Canonicalize; unibrow 52 src/interpreter-irregexp.cc unibrow::uchar old_char = subject[from++]; unibrow 53 src/interpreter-irregexp.cc unibrow::uchar new_char = subject[current++]; unibrow 55 src/interpreter-irregexp.cc unibrow::uchar old_string[1] = { old_char }; unibrow 56 src/interpreter-irregexp.cc unibrow::uchar new_string[1] = { new_char }; unibrow 886 src/isolate.h unibrow::Mapping<unibrow::Ecma262UnCanonicalize>* jsregexp_uncanonicalize() { unibrow 890 src/isolate.h unibrow::Mapping<unibrow::CanonicalizationRange>* jsregexp_canonrange() { unibrow 926 src/isolate.h unibrow::Mapping<unibrow::Ecma262Canonicalize>* unibrow 933 src/isolate.h unibrow::Mapping<unibrow::Ecma262Canonicalize>* unibrow 1223 src/isolate.h unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; unibrow 1224 src/isolate.h unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; unibrow 1228 src/isolate.h unibrow::Mapping<unibrow::Ecma262Canonicalize> unibrow 1232 src/isolate.h unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; unibrow 1569 src/jsregexp.cc unibrow::uchar chars[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 1651 src/jsregexp.cc unibrow::uchar chars[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 1660 src/jsregexp.cc ASSERT(unibrow::Ecma262UnCanonicalize::kMaxWidth == 4); unibrow 2486 src/jsregexp.cc unibrow::uchar chars[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 5187 src/jsregexp.cc unibrow::uchar chars[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 5216 src/jsregexp.cc unibrow::uchar range[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 5459 src/jsregexp.cc const uc16 DispatchTable::Config::kNoKey = unibrow::Utf8::kBadChar; unibrow 5728 src/jsregexp.cc unibrow::uchar chars[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 467 src/log.cc int previous = unibrow::Utf16::kNoPreviousCharacter; unibrow 473 src/log.cc int char_length = unibrow::Utf8::Length(c, previous); unibrow 475 src/log.cc unibrow::Utf8::Encode(utf8_buffer_ + utf8_pos_, c, previous); unibrow 4812 src/objects-inl.h if (c > unibrow::Utf16::kMaxNonSurrogateCharCode) { unibrow 4846 src/objects-inl.h if (c > unibrow::Utf16::kMaxNonSurrogateCharCode) { unibrow 5985 src/objects.cc int last = unibrow::Utf16::kNoPreviousCharacter; unibrow 5988 src/objects.cc utf8_bytes += unibrow::Utf8::Length(character, last); unibrow 6003 src/objects.cc last = unibrow::Utf16::kNoPreviousCharacter; unibrow 6010 src/objects.cc unibrow::Utf8::Encode(result + utf8_byte_position, character, last); unibrow 6090 src/objects.cc if (!unibrow::CharacterStream::EncodeAsciiCharacter(c, unibrow 6097 src/objects.cc if (!unibrow::CharacterStream::EncodeNonAsciiCharacter(c, unibrow 6112 src/objects.cc const unibrow::byte* SeqAsciiString::SeqAsciiStringReadBlock( unibrow 6116 src/objects.cc const unibrow::byte* b = reinterpret_cast<unibrow::byte*>(this) - unibrow 6131 src/objects.cc const unibrow::byte* ConsString::ConsStringReadBlock(ReadBlockBuffer* rbb, unibrow 6156 src/objects.cc const unibrow::byte* answer = unibrow 6171 src/objects.cc const unibrow::byte* answer = unibrow 6196 src/objects.cc const unibrow::byte* ExternalAsciiString::ExternalAsciiStringReadBlock( unibrow 6201 src/objects.cc const unibrow::byte* b = unibrow 6202 src/objects.cc reinterpret_cast<const unibrow::byte*>(GetChars()) + *offset_ptr; unibrow 6220 src/objects.cc if (!unibrow::CharacterStream::EncodeAsciiCharacter(c, unibrow 6226 src/objects.cc if (!unibrow::CharacterStream::EncodeNonAsciiCharacter(c, unibrow 6272 src/objects.cc const unibrow::byte* String::ReadBlock(String* input, unibrow 6473 src/objects.cc const unibrow::byte* String::ReadBlock(String* input, unibrow 6481 src/objects.cc const unibrow::byte* answer = ReadBlock(input, &rbb, offset_ptr, chars); unibrow 6488 src/objects.cc const unibrow::byte* String::ReadBlock(String** raw_input, unibrow 6603 src/objects.cc const unibrow::byte* SlicedString::SlicedStringReadBlock( unibrow 6607 src/objects.cc const unibrow::byte* answer = String::ReadBlock(String::cast(parent()), unibrow 6720 src/objects.cc ASSERT(ca <= unibrow::Utf16::kMaxNonSurrogateCharCode); unibrow 6721 src/objects.cc ASSERT(cb <= unibrow::Utf16::kMaxNonSurrogateCharCode); unibrow 6905 src/objects.cc if (r > unibrow::Utf16::kMaxNonSurrogateCharCode) { unibrow 6907 src/objects.cc if (Get(i++) != unibrow::Utf16::LeadSurrogate(r)) return false; unibrow 6908 src/objects.cc if (Get(i) != unibrow::Utf16::TrailSurrogate(r)) return false; unibrow 7042 src/objects.cc uint16_t lead = unibrow::Utf16::LeadSurrogate(c); unibrow 7044 src/objects.cc uint16_t trail = unibrow::Utf16::TrailSurrogate(c); unibrow 7050 src/objects.cc uint16_t lead = unibrow::Utf16::LeadSurrogate(c); unibrow 7052 src/objects.cc uint16_t trail = unibrow::Utf16::TrailSurrogate(c); unibrow 10756 src/objects.cc unibrow::Utf8InputBuffer<> buffer(string_.start(), unibrow 7195 src/objects.h static uint32_t ComputeHashField(unibrow::CharacterStream* buffer, unibrow 7199 src/objects.h static bool ComputeArrayIndex(unibrow::CharacterStream* buffer, unibrow 7243 src/objects.h static const int kMaxAsciiCharCode = unibrow::Utf8::kMaxOneByteChar; unibrow 7244 src/objects.h static const unsigned kMaxAsciiCharCodeU = unibrow::Utf8::kMaxOneByteChar; unibrow 7316 src/objects.h static const unibrow::byte* ReadBlock(String* input, unibrow 7317 src/objects.h unibrow::byte* util_buffer, unibrow 7321 src/objects.h static const unibrow::byte* ReadBlock(String** input, unibrow 7322 src/objects.h unibrow::byte* util_buffer, unibrow 7365 src/objects.h ReadBlockBuffer(unibrow::byte* util_buffer_, unibrow 7374 src/objects.h unibrow::byte* util_buffer; unibrow 7380 src/objects.h static inline const unibrow::byte* ReadBlock(String* input, unibrow 7463 src/objects.h inline const unibrow::byte* SeqAsciiStringReadBlock(unsigned* remaining, unibrow 7561 src/objects.h inline const unibrow::byte* ConsStringReadBlock(ReadBlockBuffer* buffer, unibrow 7614 src/objects.h inline const unibrow::byte* SlicedStringReadBlock(ReadBlockBuffer* buffer, unibrow 7699 src/objects.h const unibrow::byte* ExternalAsciiStringReadBlock(unsigned* remaining, unibrow 7807 src/objects.h class StringInputBuffer: public unibrow::InputBuffer<String, String*, 1024> { unibrow 7810 src/objects.h inline StringInputBuffer(): unibrow::InputBuffer<String, String*, 1024>() {} unibrow 7812 src/objects.h unibrow::InputBuffer<String, String*, 1024>(backing) {} unibrow 7817 src/objects.h : public unibrow::InputBuffer<String, String**, 256> { unibrow 7821 src/objects.h : unibrow::InputBuffer<String, String**, 256>() {} unibrow 7823 src/objects.h : unibrow::InputBuffer<String, String**, 256>(backing) {} unibrow 131 src/preparser-api.cc static_cast<int32_t>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { unibrow 133 src/preparser-api.cc unibrow::Utf16::LeadSurrogate(value); unibrow 135 src/preparser-api.cc unibrow::Utf16::TrailSurrogate(value); unibrow 3528 src/profile-generator.cc unibrow::uchar c = unibrow::Utf8::CalculateValue(s, length, &cursor); unibrow 3529 src/profile-generator.cc if (c != unibrow::Utf8::kBadChar) { unibrow 226 src/regexp-macro-assembler.cc unibrow::Mapping<unibrow::Ecma262Canonicalize>* canonicalize = unibrow 237 src/regexp-macro-assembler.cc unibrow::uchar c1 = substring1[i]; unibrow 238 src/regexp-macro-assembler.cc unibrow::uchar c2 = substring2[i]; unibrow 240 src/regexp-macro-assembler.cc unibrow::uchar s1[1] = { c1 }; unibrow 243 src/regexp-macro-assembler.cc unibrow::uchar s2[1] = { c2 }; unibrow 6188 src/runtime.cc unibrow::uchar chars[Converter::kMaxWidth]; unibrow 6373 src/runtime.cc typedef unibrow::ToLowercase UnibrowConverter; unibrow 6380 src/runtime.cc typedef unibrow::ToUppercase UnibrowConverter; unibrow 6448 src/runtime.cc return unibrow::WhiteSpace::Is(c) || c == 0x200b || c == 0xfeff; unibrow 6663 src/runtime.cc unibrow::uchar chars[unibrow::ToUppercase::kMaxWidth]; unibrow 560 src/runtime.h unibrow::Mapping<unibrow::ToUppercase, 128>* to_upper_mapping() { unibrow 563 src/runtime.h unibrow::Mapping<unibrow::ToLowercase, 128>* to_lower_mapping() { unibrow 583 src/runtime.h unibrow::Mapping<unibrow::ToUppercase, 128> to_upper_mapping_; unibrow 584 src/runtime.h unibrow::Mapping<unibrow::ToLowercase, 128> to_lower_mapping_; unibrow 183 src/scanner-character-streams.cc static const unibrow::uchar kMaxUtf16Character = 0xffff; unibrow 193 src/scanner-character-streams.cc unibrow::uchar c = raw_data_[raw_data_pos_]; unibrow 194 src/scanner-character-streams.cc if (c <= unibrow::Utf8::kMaxOneByteChar) { unibrow 197 src/scanner-character-streams.cc c = unibrow::Utf8::CalculateValue(raw_data_ + raw_data_pos_, unibrow 202 src/scanner-character-streams.cc buffer_[i++] = unibrow::Utf16::LeadSurrogate(c); unibrow 203 src/scanner-character-streams.cc buffer_[i++] = unibrow::Utf16::TrailSurrogate(c); unibrow 234 src/scanner-character-streams.cc if (character > unibrow::Utf8::kMaxOneByteChar) { unibrow 249 src/scanner-character-streams.cc if (character > unibrow::Utf8::kMaxOneByteChar) { unibrow 148 src/scanner.h typedef unibrow::Utf8InputBuffer<1024> Utf8Decoder; unibrow 154 src/scanner.h bool IsIdentifierStart(unibrow::uchar c) { return kIsIdentifierStart.get(c); } unibrow 155 src/scanner.h bool IsIdentifierPart(unibrow::uchar c) { return kIsIdentifierPart.get(c); } unibrow 156 src/scanner.h bool IsLineTerminator(unibrow::uchar c) { return kIsLineTerminator.get(c); } unibrow 157 src/scanner.h bool IsWhiteSpace(unibrow::uchar c) { return kIsWhiteSpace.get(c); } unibrow 160 src/scanner.h unibrow::Predicate<IdentifierStart, 128> kIsIdentifierStart; unibrow 161 src/scanner.h unibrow::Predicate<IdentifierPart, 128> kIsIdentifierPart; unibrow 162 src/scanner.h unibrow::Predicate<unibrow::LineTerminator, 128> kIsLineTerminator; unibrow 163 src/scanner.h unibrow::Predicate<unibrow::WhiteSpace, 128> kIsWhiteSpace; unibrow 318 src/scanner.h typedef unibrow::Utf8InputBuffer<1024> Utf8Decoder; unibrow 437 src/scanner.h static bool IsIdentifier(unibrow::CharacterStream* buffer); unibrow 33 src/unicode-inl.h namespace unibrow { unibrow 38 src/unicode.h namespace unibrow { unibrow 567 test/cctest/test-parsing.cc static const unsigned kMaxUC16CharU = unibrow::Utf8::kMaxThreeByteChar; unibrow 571 test/cctest/test-parsing.cc (unibrow::Utf8::kMaxOneByteChar + 1) + unibrow 572 test/cctest/test-parsing.cc (unibrow::Utf8::kMaxTwoByteChar - unibrow::Utf8::kMaxOneByteChar) * 2 + unibrow 573 test/cctest/test-parsing.cc (unibrow::Utf8::kMaxThreeByteChar - unibrow::Utf8::kMaxTwoByteChar) * 3; unibrow 580 test/cctest/test-parsing.cc cursor += unibrow::Utf8::Encode(buffer + cursor, unibrow 582 test/cctest/test-parsing.cc unibrow::Utf16::kNoPreviousCharacter); unibrow 101 test/cctest/test-regexp.cc unibrow::Utf8InputBuffer<> buffer(input, StrLength(input)); unibrow 120 test/cctest/test-regexp.cc unibrow::Utf8InputBuffer<> buffer(input, StrLength(input)); unibrow 461 test/cctest/test-regexp.cc return unibrow::Space::Is(c); unibrow 1462 test/cctest/test-regexp.cc unibrow::uchar canon[unibrow::Ecma262Canonicalize::kMaxWidth]; unibrow 1463 test/cctest/test-regexp.cc int count = unibrow::Ecma262Canonicalize::Convert(c, '\0', canon, NULL); unibrow 1474 test/cctest/test-regexp.cc unibrow::Mapping<unibrow::Ecma262UnCanonicalize> un_canonicalize; unibrow 1478 test/cctest/test-regexp.cc unibrow::uchar uncanon[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 1486 test/cctest/test-regexp.cc unibrow::Mapping<unibrow::ToUppercase> to_upper; unibrow 1489 test/cctest/test-regexp.cc unibrow::uchar upper[unibrow::ToUppercase::kMaxWidth]; unibrow 1504 test/cctest/test-regexp.cc unibrow::uchar canon[unibrow::CanonicalizationRange::kMaxWidth]; unibrow 1505 test/cctest/test-regexp.cc int count = unibrow::CanonicalizationRange::Convert(c, '\0', canon, NULL); unibrow 1519 test/cctest/test-regexp.cc unibrow::Mapping<unibrow::Ecma262UnCanonicalize> un_canonicalize; unibrow 1525 test/cctest/test-regexp.cc unibrow::uchar first[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 1528 test/cctest/test-regexp.cc unibrow::uchar succ[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 1544 test/cctest/test-regexp.cc unibrow::Mapping<unibrow::Ecma262UnCanonicalize> un_canonicalize; unibrow 1545 test/cctest/test-regexp.cc unibrow::uchar chars[unibrow::Ecma262UnCanonicalize::kMaxWidth]; unibrow 1549 test/cctest/test-regexp.cc unibrow::uchar chars2[unibrow::Ecma262UnCanonicalize::kMaxWidth];