v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
ReplacementStringBuilder (Heap *heap, Handle< String > subject, int estimated_part_count) | |
void | EnsureCapacity (int elements) |
void | AddSubjectSlice (int from, int to) |
void | AddString (Handle< String > string) |
Handle< String > | ToString () |
void | IncrementCharacterCount (int by) |
Static Public Member Functions | |
static void | AddSubjectSlice (FixedArrayBuilder *builder, int from, int to) |
Definition at line 2436 of file runtime.cc.
|
inline |
Definition at line 2438 of file runtime.cc.
References ASSERT.
Definition at line 2481 of file runtime.cc.
References ASSERT, and ReplacementStringBuilder::IncrementCharacterCount().
Referenced by CompiledReplacement::Apply().
|
inlinestatic |
Definition at line 2451 of file runtime.cc.
References FixedArrayBuilder::Add(), ASSERT, BitField< T, shift, size >::encode(), Smi::FromInt(), and BitField< T, shift, size >::is_valid().
Referenced by ReplacementStringBuilder::AddSubjectSlice(), and CompiledReplacement::Apply().
|
inline |
Definition at line 2475 of file runtime.cc.
References ReplacementStringBuilder::AddSubjectSlice(), and ReplacementStringBuilder::IncrementCharacterCount().
|
inline |
Definition at line 2470 of file runtime.cc.
References FixedArrayBuilder::EnsureCapacity().
|
inline |
Definition at line 2522 of file runtime.cc.
References V8::FatalProcessOutOfMemory(), and String::kMaxLength.
Referenced by ReplacementStringBuilder::AddString(), and ReplacementStringBuilder::AddSubjectSlice().
Definition at line 2492 of file runtime.cc.
References FixedArrayBuilder::array(), Handle< T >::cast(), Isolate::factory(), Heap::isolate(), and FixedArrayBuilder::length().