Home
last modified time | relevance | path

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

/external/v8/test/mjsunit/
Ddebug-liveedit-diff.js34 var diff_array = Debug.LiveEdit.TestApi.CompareStrings(s1, s2);
42 print("" + diff_array);
43 for (var i = 0; i < diff_array.length; i += 3) {
44 var similar_length = diff_array[i] - pos1;
51 print("<<< " + pos1 + " " + diff_array[i + 1]);
52 print(s1.substring(pos1, diff_array[i + 1]));
54 print(s2.substring(pos2, diff_array[i + 2]));
55 print(">>> " + pos2 + " " + diff_array[i + 2]);
56 pos1 = diff_array[i + 1];
57 pos2 = diff_array[i + 2];
/external/v8/src/debug/
Dliveedit.js47 function ApplyPatchMultiChunk(script, diff_array, new_source, preview_only, argument
58 var pos_translator = new PosTranslator(diff_array);
133 chunks: diff_array
220 PatchPositions(update_positions_list[i], diff_array,
461 function PosTranslator(diff_array) { argument
464 for (var i = 0; i < diff_array.length; i += 3) {
465 var pos1_begin = diff_array[i];
467 var pos1_end = diff_array[i + 1];
468 var pos2_end = diff_array[i + 2];
863 function PatchPositions(old_info_node, diff_array, report_array) { argument
[all …]