Home
last modified time | relevance | path

Searched refs:difflib (Results 1 - 25 of 42) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest_difflib.py1 import difflib namespace
10 sm = difflib.SequenceMatcher(None, 'b' * 100, 'a' + 'b' * 100)
16 sm = difflib.SequenceMatcher(None, 'b' * 100, 'b' * 50 + 'a' + 'b' * 50)
25 sm = difflib.SequenceMatcher(None, 'a' * 40 + 'c' + 'b' * 40, 'a' * 40 + 'b' * 40)
33 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ',
37 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ',
41 sm = difflib.SequenceMatcher(isjunk=lambda x: x in [' ', 'b'],
54 sm = difflib.SequenceMatcher(None, seq1, seq2)
59 sm = difflib.SequenceMatcher(None, seq1, seq2, autojunk=False)
67 s = difflib
[all...]
H A Dtest_profile.py7 from difflib import unified_diff
/third_party/python/Tools/scripts/
H A Ddiff.py2 """ Command line interface to difflib.py providing diffs in four formats:
11 import sys, os, difflib, argparse namespace
49 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
51 diff = difflib.ndiff(fromlines, tolines)
53 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
55 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
H A Dndiff.py9 # ndiff.py is now simply a front-end to the difflib.ndiff() function.
10 # Originally, it contained the difflib.SequenceMatcher class as well.
51 import difflib, sys namespace
76 for line in difflib.ndiff(a, b):
120 restored = difflib.restore(sys.stdin.readlines(), which)
H A Dstable_abi.py18 import difflib namespace
375 diff = difflib.unified_diff(
614 diff = difflib.unified_diff(
/third_party/node/deps/v8/tools/testrunner/outproc/
H A Dmkgrokdump.py5 import difflib namespace
20 diff = difflib.unified_diff(expected_lines, actual_lines, lineterm="",
/third_party/musl/scripts/
H A Dcompare.py1 import difflib namespace
14 compare = difflib.HtmlDiff()
/third_party/skia/third_party/externals/expat/expat/tests/
H A Dudiffer.py33 import difflib namespace
55 diffs = list(difflib.unified_diff(first, second, fromfile=config.first,
/third_party/gn/misc/vim/
H A Dgn-format.py18 import difflib namespace
57 sequence = difflib.SequenceMatcher(None, vim.current.buffer, lines)
/third_party/mesa3d/src/compiler/glsl/tests/
H A Doptimization_test.py25 import difflib namespace
62 return difflib.unified_diff(expected.splitlines(), actual.splitlines())
/third_party/node/deps/v8/tools/
H A Dcompare_torque_output.py13 import difflib namespace
52 diff = difflib.unified_diff(
/third_party/mesa3d/src/intel/tools/tests/
H A Drun-test.py4 import difflib namespace
60 diff = ''.join(difflib.unified_diff(lines_before, lines_after,
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dcheck-symbols.py3 import sys, os, shutil, subprocess, re, difflib namespace
57 diff_result = list (difflib.context_diff (
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
H A Dglcpp_test.py25 import difflib namespace
87 return (False, difflib.unified_diff(actual.splitlines(), expected.splitlines()))
/third_party/googletest/googletest/test/
H A Dgoogletest-output-test.py41 import difflib namespace
301 '\n'.join(difflib.unified_diff(
/third_party/skia/third_party/externals/angle2/scripts/
H A Dregistry_xml.py13 import difflib namespace
259 unidiff = difflib.unified_diff(l, sorted(l, key=str.casefold), 'unsorted', 'sorted')
/third_party/skia/third_party/externals/harfbuzz/test/subset/
H A Dgenerate-expected-outputs.py13 from difflib import unified_diff
H A Drun-repack-tests.py6 from difflib import unified_diff
H A Drun-tests.py6 from difflib import unified_diff
/third_party/python/Lib/lib2to3/
H A Dmain.py9 import difflib namespace
21 return difflib.unified_diff(a, b, filename, filename,
/third_party/mesa3d/src/gallium/tools/trace/
H A Ddiff_state.py31 import difflib namespace
251 differ = difflib.Differ()
H A Dpytracediff.py35 import difflib namespace
345 sequence = difflib.SequenceMatcher(lambda x : x.is_junk, stack1, stack2, autojunk=False)
392 pkk_fatal(f"Internal error, unsupported difflib.SequenceMatcher operation '{tag}'.")
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dexpect.py20 import difflib namespace
360 difflib.unified_diff(
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dexpect.py20 import difflib namespace
360 difflib.unified_diff(
/third_party/skia/third_party/externals/harfbuzz/test/shape/
H A Dhb_test_tools.py3 import sys, os, re, difflib, unicodedata, errno, cgi, itertools namespace
84 for l in difflib.Differ().compare (*ss):

Completed in 11 milliseconds

12