Home
last modified time | relevance | path

Searched refs:part_length_ (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dstring-builder.cc52 part_length_(kInitialPartLength), in IncrementalStringBuilder()
57 factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in IncrementalStringBuilder()
78 if (part_length_ <= kMaxPartLength / kPartLengthGrowthFactor) { in Extend()
79 part_length_ *= kPartLengthGrowthFactor; in Extend()
83 new_part = factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in Extend()
85 new_part = factory()->NewRawTwoByteString(part_length_).ToHandleChecked(); in Extend()
105 part_length_ = kInitialPartLength; // Allocate conservatively. in AppendString()
Dstring-builder.h304 return part_length_ - current_index_ > length; in INLINE()
412 DCHECK(current_index_ < part_length_); in ShrinkCurrentPart()
424 int part_length_; variable
443 if (current_index_ == part_length_) Extend(); in Append()