Searched refs:numlines (Results 1 – 7 of 7) sorted by relevance
/third_party/selinux/libselinux/src/ |
D | audit2why.c | 322 int numlines; in analyze() local 336 numlines = PyList_Size(listObj); in analyze() 339 if (numlines < 0) return NULL; /* Not a list */ in analyze() 361 for (i = 0; i < numlines; i++){ in analyze()
|
/third_party/python/Lib/distutils/tests/ |
D | test_config_cmd.py | 37 numlines = len(f.readlines()) 42 self.assertEqual(len(self._logs), numlines+1)
|
/third_party/python/Lib/ |
D | difflib.py | 1706 context=False, numlines=5, *, charset='utf-8'): argument 1728 context=context, numlines=numlines), 1893 def _convert_flags(self,fromlist,tolist,flaglist,context,numlines): argument 1912 i = max([0,i-numlines]) 1941 numlines=5): argument 1968 context_lines = numlines 1983 fromlist,tolist,flaglist,context,numlines)
|
/third_party/python/Lib/test/ |
D | test_difflib.py | 208 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),
|
/third_party/python/Tools/scripts/ |
D | diff.py | 53 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
|
/third_party/python/Doc/library/ |
D | difflib.rst | 112 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)
|
/third_party/python/Lib/idlelib/ |
D | NEWS.txt | 452 the Code Contex had numlines lines, usually with some blank.) The use 454 with user settings of the old option, 'numlines' (default 3).
|