|
V8 Project
|
Collaboration diagram for v8::internal::StringComparator::State:Public Member Functions | |
| State (ConsStringIteratorOp *op) | |
| void | Init (String *string) |
| void | VisitOneByteString (const uint8_t *chars, int length) |
| void | VisitTwoByteString (const uint16_t *chars, int length) |
| void | Advance (int consumed) |
Public Attributes | |
| ConsStringIteratorOp *const | op_ |
| bool | is_one_byte_ |
| int | length_ |
| union { | |
| const uint8_t * buffer8_ | |
| const uint16_t * buffer16_ | |
| }; | |
Private Member Functions | |
| DISALLOW_IMPLICIT_CONSTRUCTORS (State) | |
Definition at line 8560 of file objects.cc.
|
inlineexplicit |
Definition at line 8562 of file objects.cc.
|
inline |
Definition at line 8587 of file objects.cc.
References buffer16_, buffer8_, DCHECK, DCHECK_EQ, is_one_byte_, length_, v8::internal::ConsStringIteratorOp::Next(), NULL, op_, and v8::internal::String::VisitFlat().
Referenced by v8::internal::StringComparator::Equals().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
inline |
Definition at line 8565 of file objects.cc.
References v8::internal::ConsStringIteratorOp::Next(), NULL, op_, v8::internal::ConsStringIteratorOp::Reset(), and v8::internal::String::VisitFlat().
Referenced by v8::internal::StringComparator::Equals().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 8575 of file objects.cc.
References buffer8_, is_one_byte_, and length_.
|
inline |
Definition at line 8581 of file objects.cc.
References buffer16_, is_one_byte_, and length_.
| union { ... } |
| const uint16_t* v8::internal::StringComparator::State::buffer16_ |
Definition at line 8612 of file objects.cc.
Referenced by Advance(), and VisitTwoByteString().
| const uint8_t* v8::internal::StringComparator::State::buffer8_ |
Definition at line 8611 of file objects.cc.
Referenced by Advance(), v8::internal::StringComparator::Equals(), and VisitOneByteString().
| bool v8::internal::StringComparator::State::is_one_byte_ |
Definition at line 8608 of file objects.cc.
Referenced by Advance(), v8::internal::StringComparator::Equals(), VisitOneByteString(), and VisitTwoByteString().
| int v8::internal::StringComparator::State::length_ |
Definition at line 8609 of file objects.cc.
Referenced by Advance(), v8::internal::StringComparator::Equals(), VisitOneByteString(), and VisitTwoByteString().
| ConsStringIteratorOp* const v8::internal::StringComparator::State::op_ |
Definition at line 8607 of file objects.cc.