/external/v8/src/ |
unicode-inl.h | 81 unsigned Utf8::Encode(char* str, uchar c, int previous) { 112 uchar Utf8::ValueOf(const byte* bytes, unsigned length, unsigned* cursor) { 123 unsigned Utf8::Length(uchar c, int previous) { 187 if (c <= Utf8::kMaxOneByteChar) { 196 if (b <= Utf8::kMaxOneByteChar) { 243 : InputBuffer<Utf8, Buffer<const char*>, s>(Buffer<const char*>(data,
|
scanner-character-streams.cc | 194 if (c <= unibrow::Utf8::kMaxOneByteChar) { 197 c = unibrow::Utf8::CalculateValue(raw_data_ + raw_data_pos_, 234 if (character > unibrow::Utf8::kMaxOneByteChar) { 249 if (character > unibrow::Utf8::kMaxOneByteChar) { 271 // is no position in the UTF8 stream that corresponds to that. This assumes 276 // Spool backwards in utf8 buffer. 289 // Spool forwards in the utf8 buffer.
|
unicode.h | 152 class Utf8 { 247 class Utf8InputBuffer : public InputBuffer<Utf8, Buffer<const char*>, s> { 252 InputBuffer<Utf8, Buffer<const char*>, s>::Reset(
|
debug-agent.cc | 378 utf8_len += unibrow::Utf8::Length(character, previous); 399 unibrow::Utf8::Encode(buffer + buffer_position, character, previous);
|
unicode.cc | 210 uchar Utf8::CalculateValue(const byte* str, 280 const byte* Utf8::ReadBlock(Buffer<const char*> str, byte* buffer, 316 c = Utf8::ValueOf(data + offset, str.length() - offset, &chars); [all...] |
handles.cc | 803 // This method determines the type of string involved and then gets the UTF8 [all...] |
log.cc | 473 int char_length = unibrow::Utf8::Length(c, previous); 475 unibrow::Utf8::Encode(utf8_buffer_ + utf8_pos_, c, previous); [all...] |
api.cc | [all...] |
profile-generator.cc | [all...] |
objects.h | [all...] |
jsregexp.cc | [all...] |
heap.cc | [all...] |
objects.cc | [all...] |
/external/v8/test/cctest/ |
test-parsing.cc | 566 static const unsigned kMaxUC16CharU = unibrow::Utf8::kMaxThreeByteChar; 570 (unibrow::Utf8::kMaxOneByteChar + 1) + 571 (unibrow::Utf8::kMaxTwoByteChar - unibrow::Utf8::kMaxOneByteChar) * 2 + 572 (unibrow::Utf8::kMaxThreeByteChar - unibrow::Utf8::kMaxTwoByteChar) * 3; 579 cursor += unibrow::Utf8::Encode(buffer + cursor, [all...] |