• Home
  • Raw
  • Download

Lines Matching refs:diffs

590     const std::vector<SourceChangeRange>& diffs,  in CalculateFunctionLiteralChanges()  argument
593 events.reserve(literals.size() * 2 + diffs.size() * 2); in CalculateFunctionLiteralChanges()
598 for (const SourceChangeRange& diff : diffs) { in CalculateFunctionLiteralChanges()
1005 const std::vector<SourceChangeRange>& diffs) { in TranslateSourcePositionTable() argument
1013 LiveEdit::TranslatePosition(diffs, position.ScriptOffset())); in TranslateSourcePositionTable()
1027 const std::vector<SourceChangeRange>& diffs) { in UpdatePositions() argument
1030 LiveEdit::TranslatePosition(diffs, old_start_position); in UpdatePositions()
1031 int new_end_position = LiveEdit::TranslatePosition(diffs, sfi->EndPosition()); in UpdatePositions()
1033 LiveEdit::TranslatePosition(diffs, sfi->function_token_position()); in UpdatePositions()
1039 isolate, handle(sfi->GetBytecodeArray(), isolate), diffs); in UpdatePositions()
1047 std::vector<SourceChangeRange> diffs; in PatchScript() local
1050 new_source, &diffs); in PatchScript()
1051 if (diffs.empty()) { in PatchScript()
1069 CalculateFunctionLiteralChanges(literals, diffs, &literal_changes); in PatchScript()
1115 UpdatePositions(isolate, sfi, diffs); in PatchScript()
1304 std::vector<SourceChangeRange>* diffs) { in CompareStrings() argument
1313 s2, diffs); in CompareStrings()
1320 int LiveEdit::TranslatePosition(const std::vector<SourceChangeRange>& diffs, in TranslatePosition() argument
1322 auto it = std::lower_bound(diffs.begin(), diffs.end(), position, in TranslatePosition()
1326 if (it != diffs.end() && position == it->end_position) { in TranslatePosition()
1329 if (it == diffs.begin()) return position; in TranslatePosition()
1330 DCHECK(it == diffs.end() || position <= it->start_position); in TranslatePosition()