Home
last modified time | relevance | path

Searched refs:lineterm (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Lib/
Ddifflib.py1137 tofiledate='', n=3, lineterm='\n'): argument
1177 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm)
1184 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm)
1185 yield '+++ {}{}{}'.format(tofile, todate, lineterm)
1190 yield '@@ -{} +{} @@{}'.format(file1_range, file2_range, lineterm)
1222 fromfiledate='', tofiledate='', n=3, lineterm='\n'): argument
1265 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm)
1273 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm)
1274 yield '--- {}{}{}'.format(tofile, todate, lineterm)
1277 yield '***************' + lineterm
[all …]
/external/python/cpython2/Lib/test/
Dtest_difflib.py214 ud = difflib.unified_diff(*args, lineterm='')
218 cd = difflib.context_diff(*args, lineterm='')
225 ud = difflib.unified_diff(*args, lineterm='')
228 cd = difflib.context_diff(*args, lineterm='')
/external/python/cpython3/Lib/test/
Dtest_difflib.py274 ud = difflib.unified_diff(*args, lineterm='')
278 cd = difflib.context_diff(*args, lineterm='')
285 ud = difflib.unified_diff(*args, lineterm='')
288 cd = difflib.context_diff(*args, lineterm='')
401 actual = difflib.diff_bytes(unified, a, b, fna, fnb, lineterm=b'')
421 lineterm=b'')
Dtest_profile.py63 lineterm=""))
/external/python/cpython2/Lib/
Ddifflib.py1157 tofiledate='', n=3, lineterm='\n'): argument
1203 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm)
1204 yield '+++ {}{}{}'.format(tofile, todate, lineterm)
1209 yield '@@ -{} +{} @@{}'.format(file1_range, file2_range, lineterm)
1241 fromfiledate='', tofiledate='', n=3, lineterm='\n'): argument
1290 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm)
1291 yield '--- {}{}{}'.format(tofile, todate, lineterm)
1294 yield '***************' + lineterm
1297 yield '*** {} ****{}'.format(file1_range, lineterm)
1306 yield '--- {} ----{}'.format(file2_range, lineterm)
/external/v8/tools/testrunner/outproc/
Dmkgrokdump.py20 diff = difflib.unified_diff(expected_lines, actual_lines, lineterm="",
/external/yapf/yapftests/
Dyapf_test_helper.py56 lineterm=''))
/external/python/cpython2/Modules/
D_csv.c989 char *lineterm; in join_append_data() local
1006 lineterm = PyString_AsString(dialect->lineterminator); in join_append_data()
1007 if (lineterm == NULL) in join_append_data()
1031 strchr(lineterm, c)) { in join_append_data()
/external/parameter-framework/upstream/test/xml-generator/
Dtest.py84 lineterm="")
/external/python/cpython3/Tools/i18n/
Dpygettext.py256 lineterm = '\\n"\n"'
257 s = '""\n"' + lineterm.join(lines) + '"'
/external/python/cpython2/Tools/i18n/
Dpygettext.py254 lineterm = '\\n"\n"'
255 s = '""\n"' + lineterm.join(lines) + '"'
/external/yapf/yapf/yapflib/
Dyapf_api.py292 lineterm='')) + '\n'
/external/python/cpython3/Doc/library/
Ddifflib.rst147 …n:: context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\\n')
162 For inputs that do not have trailing newlines, set the *lineterm* argument to
277 …n:: unified_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\\n')
293 For inputs that do not have trailing newlines, set the *lineterm* argument to
319 …ytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n=3, lineterm=b'\\n')
329 fromfile, tofile, fromfiledate, tofiledate, n, lineterm)``. The output of
/external/python/cpython3/Lib/lib2to3/
Dmain.py23 lineterm="")
/external/python/cpython2/Lib/lib2to3/
Dmain.py23 lineterm="")
/external/python/cpython2/Doc/library/
Ddifflib.rst139 .. function:: context_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm
154 For inputs that do not have trailing newlines, set the *lineterm* argument to
273 .. function:: unified_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm
289 For inputs that do not have trailing newlines, set the *lineterm* argument to
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_parser.py630 lineterm="")