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

/netbsd-current/external/mit/expat/dist/tests/
H A Dudiffer.py33 import difflib namespace
55 diffs = list(difflib.unified_diff(first, second, fromfile=config.first,
/netbsd-current/external/apache2/llvm/dist/llvm/utils/lit/lit/builtin_commands/
H A Ddiff.py1 import difflib namespace
54 if hasattr(difflib, 'diff_bytes'):
56 diffs = difflib.diff_bytes(difflib.unified_diff, filelines[0],
64 func = difflib.unified_diff
66 func = difflib.context_diff
100 func = difflib.unified_diff if flags.unified_diff else difflib.context_diff
/netbsd-current/external/apache2/llvm/dist/clang/tools/clang-format/
H A Dclang-format.py42 import difflib namespace
82 sequence = difflib.SequenceMatcher(None, ondisk, vim.current.buffer)
142 sequence = difflib.SequenceMatcher(None, buf, lines)
H A Dclang-format-diff.py27 import difflib namespace
127 diff = difflib.unified_diff(code, formatted_code,
/netbsd-current/external/apache2/llvm/dist/clang/utils/check_cfc/
H A Dobj_diff.py6 import difflib namespace
42 are the first ones. Truncate data before sending to difflib. Returns None
58 diff = difflib.unified_diff(a[:first_diff_idx+context],
/netbsd-current/external/gpl3/gcc/dist/contrib/
H A Dcheck-MAINTAINERS.py27 from difflib import ndiff
/netbsd-current/external/gpl3/gcc.old/dist/contrib/gcc-changelog/
H A Dgit_commit.py19 import difflib namespace
690 candidates = difflib.get_close_matches(file, changed_files, 1)
694 details = '\n'.join(difflib.Differ().compare([file], [candidates[0]])).rstrip()
/netbsd-current/external/gpl3/gcc/dist/contrib/gcc-changelog/
H A Dgit_commit.py19 import difflib namespace
690 candidates = difflib.get_close_matches(file, changed_files, 1)
694 details = '\n'.join(difflib.Differ().compare([file], [candidates[0]])).rstrip()
/netbsd-current/external/apache2/llvm/dist/clang/utils/analyzer/
H A Dexploded-graph-rewriter.py16 import difflib namespace
234 lines = difflib.ndiff(prev.lines, self.lines)

Completed in 282 milliseconds