Home
last modified time | relevance | path

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

/external/python/cpython2/Tools/scripts/
Ddiff.py38 tolines = f.readlines()
41 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
43 diff = difflib.ndiff(fromlines, tolines)
45 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
47 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
/external/python/cpython3/Tools/scripts/
Ddiff.py46 tolines = tf.readlines()
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)
/external/python/cpython2/Lib/
Ddifflib.py1350 def _mdiff(fromlines, tolines, context=None, linejunk=None, argument
1390 diff_lines_iterator = ndiff(fromlines,tolines,linejunk,charjunk)
1553 fromlines,tolines=[],[]
1556 while (len(fromlines)==0 or len(tolines)==0):
1561 tolines.append((to_line,found_diff))
1564 to_line, to_diff = tolines.pop(0)
1709 def make_file(self,fromlines,tolines,fromdesc='',todesc='',context=False, argument
1730 table = self.make_table(fromlines,tolines,fromdesc,todesc,
1733 def _tab_newline_replace(self,fromlines,tolines): argument
1753 tolines = [expand_tabs(line) for line in tolines]
[all …]
/external/python/cpython3/Lib/
Ddifflib.py1381 def _mdiff(fromlines, tolines, context=None, linejunk=None, argument
1421 diff_lines_iterator = ndiff(fromlines,tolines,linejunk,charjunk)
1581 fromlines,tolines=[],[]
1584 while (len(fromlines)==0 or len(tolines)==0):
1592 tolines.append((to_line,found_diff))
1595 to_line, to_diff = tolines.pop(0)
1746 def make_file(self, fromlines, tolines, fromdesc='', todesc='', argument
1768 table=self.make_table(fromlines, tolines, fromdesc, todesc,
1773 def _tab_newline_replace(self,fromlines,tolines): argument
1793 tolines = [expand_tabs(line) for line in tolines]
[all …]
/external/u-boot/tools/
Dmoveconfig.py594 tolines = copy.copy(lines)
597 tolines.pop(i)
599 show_diff(lines, tolines, header_path, options.color)
605 for line in tolines:
665 tolines = copy.copy(lines)
668 tolines[i] = start + ','.join(new_tokens) + end
670 tolines.pop(i)
672 show_diff(lines, tolines, defconfig_path, options.color)
678 for line in tolines:
/external/python/cpython2/Doc/library/
Ddifflib.rst104 .. function:: make_file(fromlines, tolines [, fromdesc][, todesc][, context][, numlines])
106 Compares *fromlines* and *tolines* (lists of strings) and returns a string which
124 .. function:: make_table(fromlines, tolines [, fromdesc][, todesc][, context][, numlines])
126 Compares *fromlines* and *tolines* (lists of strings) and returns a string which
763 tolines = f.readlines()
766 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile,
769 diff = difflib.ndiff(fromlines, tolines)
771 diff = difflib.HtmlDiff().make_file(fromlines, tolines, fromfile,
775 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile,
/external/python/cpython3/Doc/library/
Ddifflib.rst110 .. method:: make_file(fromlines, tolines, fromdesc='', todesc='', context=False, \
113 Compares *fromlines* and *tolines* (lists of strings) and returns a string which
134 .. method:: make_table(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5)
136 Compares *fromlines* and *tolines* (lists of strings) and returns a string which