Lines Matching defs:replacement

32 // - parsed replacement pattern parts
80 // Return whether the replacement is simple.
82 Handle<String> replacement, int capture_count,
89 // Number of distinct parts of the replacement pattern.
129 // the replacement pattern, otherwise it's a value from PartType.
135 // the negation of an index into the replacement string.
143 // of the replacement string.
145 // tag <= 0: Temporary representation of the substring of the replacement
157 // the replacement string into an internal representation that avoids
312 // Replacement is simple. Do not use Apply to do the replacement.
327 Handle<String> replacement, int capture_count,
331 String::FlatContent content = replacement->GetFlatContent(no_gc);
356 // Find substrings of replacement string and create them as String objects.
360 if (tag <= 0) { // A replacement string slice.
364 isolate->factory()->NewSubString(replacement, from, to));
369 replacement_substrings_.emplace_back(replacement);
547 Handle<String> replacement, Handle<RegExpMatchInfo> last_match_info) {
549 DCHECK(replacement->IsFlat());
557 int replacement_len = replacement->length();
603 String::WriteToFlat(*replacement, result->GetChars(no_gc) + result_pos, 0,
626 Handle<String> replacement, Handle<RegExpMatchInfo> last_match_info) {
628 DCHECK(replacement->IsFlat());
640 isolate, regexp, replacement, capture_count, subject_length);
645 replacement->IsOneByteRepresentation()) {
647 isolate, subject, regexp, replacement, last_match_info);
650 isolate, subject, regexp, replacement, last_match_info);
680 builder.AddString(replacement);
1407 Handle<String> replacement;
1408 ASSIGN_RETURN_ON_EXCEPTION(isolate, replacement,
1411 builder.AppendString(replacement);
1602 Handle<String> replacement;
1604 isolate, replacement, Object::ToString(isolate, replacement_obj));
1606 builder.AppendString(replacement);
1935 Handle<String> replacement;
1964 isolate, replacement, Object::ToString(isolate, replacement_obj));
1974 isolate, replacement, String::GetSubstitution(isolate, &m, replace));
1980 builder.AppendString(replacement);