Home
last modified time | relevance | path

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

/external/v8/src/runtime/
Druntime-regexp.cc438 int subject_pos = 0; in StringReplaceGlobalAtomRegExpWithString() local
453 if (subject_pos < indices->at(i)) { in StringReplaceGlobalAtomRegExpWithString()
455 subject_pos, indices->at(i)); in StringReplaceGlobalAtomRegExpWithString()
456 result_pos += indices->at(i) - subject_pos; in StringReplaceGlobalAtomRegExpWithString()
466 subject_pos = indices->at(i) + pattern_len; in StringReplaceGlobalAtomRegExpWithString()
469 if (subject_pos < subject_len) { in StringReplaceGlobalAtomRegExpWithString()
470 String::WriteToFlat(*subject, result->GetChars() + result_pos, subject_pos, in StringReplaceGlobalAtomRegExpWithString()