Home
last modified time | relevance | path

Searched refs:filecmp (Results 1 – 25 of 87) sorted by relevance

1234

/external/python/cpython3/Lib/test/
Dtest_filecmp.py1 import filecmp
52 self.assertTrue(filecmp.cmp(self.name, self.name),
54 self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False),
56 self.assertTrue(filecmp.cmp(self.name, self.name_same),
58 self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False),
60 self.assertTrue(filecmp.cmp(self.name, self.name_same_shallow),
64 self.assertFalse(filecmp.cmp(self.name, self.name_diff),
66 self.assertFalse(filecmp.cmp(self.name, self.dir),
68 self.assertFalse(filecmp.cmp(self.name, self.name_same_shallow,
73 first_compare = filecmp.cmp(self.name, self.name_same, shallow=False)
[all …]
/external/python/cpython3/Doc/library/
Dfilecmp.rst1 :mod:`!filecmp` --- File and Directory Comparisons
4 .. module:: filecmp
9 **Source code:** :source:`Lib/filecmp.py`
13 The :mod:`filecmp` module defines functions to compare files and directories,
17 The :mod:`filecmp` module defines the following functions:
52 :func:`filecmp.cmp`.
61 Clear the filecmp cache. This may be useful if a file is compared so quickly
77 :const:`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and
81 as described for :func:`filecmp.cmp` by default using the *shallow*
202 >>> from filecmp import dircmp
/external/executorch/devtools/bundled_program/schema/test/
Dtest_schema.py9 import filecmp
22 filecmp.cmp(
/external/skia/infra/bots/
Dtest_utils.py12 import filecmp
59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False))
73 _cmp('', filecmp.dircmp(a, b))
/external/vulkan-validation-layers/scripts/
Dgenerate_source.py22 import filecmp
106 elif not filecmp.cmp(os.path.join(temp_dir, filename),
124 not filecmp.cmp(temp_filename, repo_filename, shallow=False):
/external/python/cpython3/Tools/freeze/
Dbkfile.py20 import filecmp
21 if filecmp.cmp(backup, file, shallow=False):
/external/pytorch/test/distributed/elastic/multiprocessing/errors/
Derror_handler_test.py4 import filecmp
87 self.assertTrue(filecmp.cmp(src_error_file, self.test_error_file))
107 self.assertTrue(filecmp.cmp(src_error_file, dst_error_file))
/external/puffin/scripts/
Dtest_corpus.py9 import filecmp
110 if not filecmp.cmp(src, tgt_file.name):
178 if not filecmp.cmp(tgt, new_tgt.name):
/external/pdfium/testing/tools/
Dgenerate_cas_paths.py9 import filecmp
75 filecmp.cmp(new_output_path, output_path, shallow=False)):
/external/mesa3d/src/compiler/spirv/tests/
Dspirv-to-c-array.py4 import filecmp
58 if not filecmp.cmp(generated, generated_check, shallow=False):
/external/clang/utils/check_cfc/
Dobj_diff.py7 import filecmp
90 return filecmp.cmp(objfilea, objfileb)
/external/angle/build/
Daction_helpers.py7 import filecmp
50 and filecmp.cmp(f.name, path)):
/external/cronet/stable/build/
Daction_helpers.py7 import filecmp
50 and filecmp.cmp(f.name, path)):
/external/cronet/tot/build/
Daction_helpers.py7 import filecmp
50 and filecmp.cmp(f.name, path)):
/external/lz4/tests/
Dtest-lz4-versions.py13 import filecmp
151 if filecmp.cmp(lz4, lz4t):
176 if not filecmp.cmp(dec, test_dat):
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dtempfile_ext_unittest.py5 import filecmp
71 self.assertTrue(filecmp.cmp(filepath, filepath + '.bak'))
/external/zstd/tests/
Dtest-zstd-versions.py14 import filecmp
181 if filecmp.cmp(ref_zst, compared_zst):
193 if not filecmp.cmp(file_dec, test_dat):
214 if not filecmp.cmp(file_dec, test_dat):
/external/brotli/python/tests/
D_test_utils.py2 import filecmp
111 filecmp.cmp(first, second, shallow=False),
/external/angle/build/android/gyp/
Dcopy_ex.py10 import filecmp
42 if filecmp.cmp(dest, f, shallow=False):
/external/perfetto/tools/
Dgen_c_protos17 import filecmp
183 if not filecmp.cmp(tmpfilename, targetfilename):
/external/cronet/stable/build/android/gyp/
Dcopy_ex.py10 import filecmp
42 if filecmp.cmp(dest, f, shallow=False):
/external/cronet/tot/build/android/gyp/
Dcopy_ex.py10 import filecmp
42 if filecmp.cmp(dest, f, shallow=False):
/external/cronet/stable/third_party/jni_zero/
Dcommon.py8 import filecmp
143 if not (os.path.exists(path) and filecmp.cmp(f.name, path)):
/external/angle/build/win/
Dmessage_compiler.py11 import filecmp
127 diff = filecmp.dircmp(tmp_dir, source)
/external/cronet/tot/third_party/jni_zero/
Dcommon.py8 import filecmp
143 if not (os.path.exists(path) and filecmp.cmp(f.name, path)):

1234