Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/test/
Dtest_filecmp.py1 import filecmp
30 self.assertTrue(filecmp.cmp(self.name, self.name),
32 self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False),
34 self.assertTrue(filecmp.cmp(self.name, self.name_same),
36 self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False),
40 self.assertFalse(filecmp.cmp(self.name, self.name_diff),
42 self.assertFalse(filecmp.cmp(self.name, self.dir),
46 first_compare = filecmp.cmp(self.name, self.name_same, shallow=False)
47 second_compare = filecmp.cmp(self.name, self.name_diff, shallow=False)
48 filecmp.clear_cache()
[all …]
/external/python/cpython2/Lib/test/
Dtest_filecmp.py2 import os, filecmp, shutil, tempfile
28 self.assertTrue(filecmp.cmp(self.name, self.name_same),
30 self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False),
32 self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False),
34 self.assertTrue(filecmp.cmp(self.name, self.name),
38 self.assertFalse(filecmp.cmp(self.name, self.name_diff),
40 self.assertFalse(filecmp.cmp(self.name, self.dir),
72 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir, ['file']) ==
75 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir_same, ['file']) ==
80 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir, ['file'],
[all …]
/external/python/cpython2/Doc/library/
Dfilecmp.rst1 :mod:`filecmp` --- File and Directory Comparisons
4 .. module:: filecmp
8 **Source code:** :source:`Lib/filecmp.py`
12 The :mod:`filecmp` module defines functions to compare files and directories,
16 The :mod:`filecmp` module defines the following functions:
47 :func:`filecmp.cmp`.
56 >>> import filecmp
57 >>> filecmp.cmp('undoc.rst', 'undoc.rst') # doctest: +SKIP
59 >>> filecmp.cmp('undoc.rst', 'index.rst') # doctest: +SKIP
79 as described for :func:`filecmp.cmp`.
[all …]
Dfilesys.rst20 filecmp.rst
/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:
49 :func:`filecmp.cmp`.
58 Clear the filecmp cache. This may be useful if a file is compared so quickly
74 :attr:`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and
78 as described for :func:`filecmp.cmp`.
188 >>> from filecmp import dircmp
/external/skqp/infra/bots/
Dtest_utils.py12 import filecmp
59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False))
73 _cmp('', filecmp.dircmp(a, b))
Dzip_utils_test.py12 import filecmp
/external/skia/infra/bots/
Dtest_utils.py12 import filecmp
59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False))
73 _cmp('', filecmp.dircmp(a, b))
Dzip_utils_test.py12 import filecmp
/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/puffin/scripts/
Dtest_corpus.py11 import filecmp
86 if not filecmp.cmp(src, tgt_file.name):
132 if not filecmp.cmp(tgt, new_tgt.name):
/external/lz4/tests/
Dtest-lz4-versions.py12 import filecmp
121 if filecmp.cmp(lz4, lz4t):
146 if not filecmp.cmp(dec, test_dat):
/external/zstd/tests/
Dtest-zstd-versions.py14 import filecmp
140 if filecmp.cmp(ref_zst, compared_zst):
157 if not filecmp.cmp(file_dec, test_dat):
187 if not filecmp.cmp(file_dec, test_dat):
/external/python/cpython2/Tools/freeze/
Dbkfile.py38 import filecmp
39 if filecmp.cmp(self.__backup, self.__filename, shallow = 0):
/external/clang/utils/check_cfc/
Dobj_diff.py7 import filecmp
90 return filecmp.cmp(objfilea, objfileb)
/external/llvm-project/clang/utils/check_cfc/
Dobj_diff.py7 import filecmp
90 return filecmp.cmp(objfilea, objfileb)
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dtempfile_ext_unittest.py5 import filecmp
71 self.assertTrue(filecmp.cmp(filepath, filepath + '.bak'))
/external/brotli/python/tests/
D_test_utils.py2 import filecmp
111 filecmp.cmp(first, second, shallow=False),
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest_routines.h4 extern int filecmp(char *f1, char *f2);
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_common.py29 import filecmp
97 need_copy = not filecmp.cmp(src, dst)
/external/llvm/utils/abtest/
Dabtest.py45 import filecmp
157 if filecmp.cmp(goodfile, badfile):
/external/icu/tools/
Dicuutil.py21 import filecmp
272 if (filecmp.cmp(langInfo_dst_path, langInfo_out_path)):
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_test.py563 self.assertFalse(file_io.filecmp(file1, file2))
564 self.assertTrue(file_io.filecmp(file2, file3))
576 self.assertFalse(file_io.filecmp(file1, file2))
577 self.assertTrue(file_io.filecmp(file2, file3))
592 self.assertFalse(file_io.filecmp(file1, file2))
593 self.assertFalse(file_io.filecmp(file1, file4))
594 self.assertTrue(file_io.filecmp(file2, file3))
/external/python/cpython3/Lib/test/libregrtest/
Drefleak.py240 filecmp = sys.modules['filecmp']
244 filecmp._cache.clear()

123