Home
last modified time | relevance | path

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

/external/v8/src/
Dstring-builder.cc236 part_length_(kInitialPartLength), in IncrementalStringBuilder()
242 factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in IncrementalStringBuilder()
266 if (part_length_ <= kMaxPartLength / kPartLengthGrowthFactor) { in Extend()
267 part_length_ *= kPartLengthGrowthFactor; in Extend()
271 new_part = factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in Extend()
273 new_part = factory()->NewRawTwoByteString(part_length_).ToHandleChecked(); in Extend()
293 part_length_ = kInitialPartLength; // Allocate conservatively. in AppendString()
Dstring-builder-inl.h150 return part_length_ - current_index_ > length; in CurrentPartCanFit()
271 DCHECK(current_index_ < part_length_); in ShrinkCurrentPart()
283 int part_length_; variable
301 if (current_index_ == part_length_) Extend(); in Append()