Home
last modified time | relevance | path

Searched refs:numlines (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_difflib.py163 full = i.make_file(f1a,t1a,'from','to',context=False,numlines=5)
171 i.make_table(f1a,t1a,'from','to',context=True,numlines=6),
173 i.make_table(f1a,t1a,'from','to',context=True,numlines=0),
187 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0),
/external/python/cpython3/Lib/distutils/tests/
Dtest_config_cmd.py33 numlines = len(f.readlines())
38 self.assertEqual(len(self._logs), numlines+1)
/external/python/cpython2/Lib/distutils/tests/
Dtest_config_cmd.py33 numlines = len(f.readlines())
38 self.assertEqual(len(self._logs), numlines+1)
/external/selinux/libselinux/src/
Daudit2why.c317 int numlines; in analyze() local
331 numlines = PyList_Size(listObj); in analyze()
334 if (numlines < 0) return NULL; /* Not a list */ in analyze()
356 for (i=0; i<numlines; i++){ in analyze()
/external/python/cpython2/Lib/
Ddifflib.py1710 numlines=5): argument
1731 context=context,numlines=numlines))
1894 def _convert_flags(self,fromlist,tolist,flaglist,context,numlines): argument
1913 i = max([0,i-numlines])
1942 numlines=5): argument
1969 context_lines = numlines
1984 fromlist,tolist,flaglist,context,numlines)
/external/python/cpython3/Lib/
Ddifflib.py1747 context=False, numlines=5, *, charset='utf-8'): argument
1769 context=context, numlines=numlines),
1934 def _convert_flags(self,fromlist,tolist,flaglist,context,numlines): argument
1953 i = max([0,i-numlines])
1982 numlines=5): argument
2009 context_lines = numlines
2024 fromlist,tolist,flaglist,context,numlines)
/external/python/cpython3/Lib/test/
Dtest_difflib.py202 full = i.make_file(f1a,t1a,'from','to',context=False,numlines=5)
210 i.make_table(f1a,t1a,'from','to',context=True,numlines=6),
212 i.make_table(f1a,t1a,'from','to',context=True,numlines=0),
226 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0),
/external/python/cpython3/Tools/scripts/
Ddiff.py53 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
/external/python/cpython2/Tools/scripts/
Ddiff.py45 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
/external/python/cpython2/Doc/library/
Ddifflib.rst104 .. function:: make_file(fromlines, tolines [, fromdesc][, todesc][, context][, numlines])
113 *context* and *numlines* are both optional keyword arguments. Set *context* to
115 ``False`` to show the full files. *numlines* defaults to ``5``. When *context*
116 is ``True`` *numlines* controls the number of context lines which surround the
117 difference highlights. When *context* is ``False`` *numlines* controls the
124 .. function:: make_table(fromlines, tolines [, fromdesc][, todesc][, context][, numlines])
773 numlines=n)
/external/python/cpython2/Lib/idlelib/
Dconfig-extensions.def60 numlines=3
/external/python/cpython3/Doc/library/
Ddifflib.rst111 numlines=5, *, charset='utf-8')
120 *context* and *numlines* are both optional keyword arguments. Set *context* to
122 ``False`` to show the full files. *numlines* defaults to ``5``. When *context*
123 is ``True`` *numlines* controls the number of context lines which surround the
124 difference highlights. When *context* is ``False`` *numlines* controls the
134 .. method:: make_table(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5)
/external/python/cpython3/Lib/idlelib/
DNEWS.txt196 the Code Contex had numlines lines, usually with some blank.) The use
198 with user settings of the old option, 'numlines' (default 3).