Searched refs:new_part (Results 1 – 3 of 3) sorted by relevance
61 void IncrementalStringBuilder::Accumulate(Handle<String> new_part) { in Accumulate() argument63 if (accumulator()->length() + new_part->length() > String::kMaxLength) { in Accumulate()69 factory()->NewConsString(accumulator(), new_part).ToHandleChecked(); in Accumulate()81 Handle<String> new_part; in Extend() local83 new_part = factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in Extend()85 new_part = factory()->NewRawTwoByteString(part_length_).ToHandleChecked(); in Extend()88 set_current_part(new_part); in Extend()
404 void Accumulate(Handle<String> new_part);
198 for old_part, new_part in map(None, old_path_parts, new_pattern_parts):199 if not new_part:201 elif new_part == '*':207 elif re.search(_BRACKETS_REGEX, new_part):212 modified_old_part = _RemoveBracketedSubstring(old_part, new_part)217 if '*' in new_part:219 new_path_parts.append(new_part)223 def _RemoveBracketedSubstring(old_part, new_part): argument242 substring_to_remove = re.search(_BRACKETS_REGEX, new_part).group(1)