Searched refs:diff_bytes (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_difflib.py | 344 check(difflib.diff_bytes(unified, a, a)) 345 check(difflib.diff_bytes(unified, a, b)) 348 check(difflib.diff_bytes(unified, a, a, b'a', b'a')) 349 check(difflib.diff_bytes(unified, a, b, b'a', b'b')) 352 check(difflib.diff_bytes(unified, a, a, b'a', b'a', b'2005', b'2013')) 353 check(difflib.diff_bytes(unified, a, b, b'a', b'b', b'2005', b'2013')) 356 check(difflib.diff_bytes(context, a, a)) 357 check(difflib.diff_bytes(context, a, b)) 358 check(difflib.diff_bytes(context, a, a, b'a', b'a')) 359 check(difflib.diff_bytes(context, a, b, b'a', b'b')) [all …]
|
/external/autotest/client/site_tests/graphics_VTSwitch/ |
D | graphics_VTSwitch.py | 31 diff_bytes = pdi.compare(file1, file2)[0] 32 return round(100. * diff_bytes / os.path.getsize(file1))
|
/external/autotest/client/site_tests/platform_TabletMode/ |
D | platform_TabletMode.py | 30 diff_bytes = pdi.compare(file1, file2)[0] 31 return round(100. * diff_bytes / os.path.getsize(file1))
|
/external/python/cpython3/Lib/ |
D | difflib.py | 1314 def diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', function
|
/external/python/cpython3/Doc/library/ |
D | difflib.rst | 319 .. function:: diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n…
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 1070 The :func:`~difflib.diff_bytes` function can now compare lists of byte
|
/external/python/cpython3/Misc/ |
D | NEWS | 6050 - Issue #17445: add difflib.diff_bytes() to support comparison of
|