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/cpython2/Lib/distutils/tests/
Dtest_config_cmd.py33 numlines = len(f.readlines())
38 self.assertEqual(len(self._logs), numlines+1)
/external/python/cpython3/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.py1746 context=False, numlines=5, *, charset='utf-8'): argument
1768 context=context, numlines=numlines),
1933 def _convert_flags(self,fromlist,tolist,flaglist,context,numlines): argument
1952 i = max([0,i-numlines])
1981 numlines=5): argument
2008 context_lines = numlines
2023 fromlist,tolist,flaglist,context,numlines)
/external/python/cpython3/Lib/test/
Dtest_difflib.py208 full = i.make_file(f1a,t1a,'from','to',context=False,numlines=5)
216 i.make_table(f1a,t1a,'from','to',context=True,numlines=6),
218 i.make_table(f1a,t1a,'from','to',context=True,numlines=0),
232 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.rst112 numlines=5, *, charset='utf-8')
121 *context* and *numlines* are both optional keyword arguments. Set *context* to
123 ``False`` to show the full files. *numlines* defaults to ``5``. When *context*
124 is ``True`` *numlines* controls the number of context lines which surround the
125 difference highlights. When *context* is ``False`` *numlines* controls the
139 .. method:: make_table(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5)
/external/python/cpython3/Lib/idlelib/
DNEWS.txt417 the Code Contex had numlines lines, usually with some blank.) The use
419 with user settings of the old option, 'numlines' (default 3).