|
V8 Project
|
Collaboration diagram for v8::Utf8LengthHelper::Visitor:Public Member Functions | |
| Visitor () | |
| void | VisitOneByteString (const uint8_t *chars, int length) |
| void | VisitTwoByteString (const uint16_t *chars, int length) |
Static Public Member Functions | |
| static i::ConsString * | VisitFlat (i::String *string, int *length, uint8_t *state) |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (Visitor) | |
Private Attributes | |
| int | utf8_length_ |
| uint8_t | state_ |
|
private |
|
inlinestatic |
Definition at line 4423 of file api.cc.
References state_, utf8_length_, and v8::internal::String::VisitFlat().
Referenced by v8::Utf8LengthHelper::Calculate(), and v8::Utf8Length().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 4393 of file api.cc.
References v8::Utf8LengthHelper::kInitialState, state_, and utf8_length_.
|
inline |
Definition at line 4404 of file api.cc.
References unibrow::Utf16::IsLeadSurrogate(), unibrow::Utf16::IsTrailSurrogate(), v8::Utf8LengthHelper::kEndsWithLeadingSurrogate, unibrow::Utf16::kNoPreviousCharacter, v8::Utf8LengthHelper::kStartsWithTrailingSurrogate, unibrow::Utf8::Length(), state_, and utf8_length_.
Here is the call graph for this function:
|
private |
Definition at line 4435 of file api.cc.
Referenced by VisitFlat(), VisitOneByteString(), and VisitTwoByteString().
|
private |
Definition at line 4434 of file api.cc.
Referenced by VisitFlat(), VisitOneByteString(), and VisitTwoByteString().