Home
last modified time | relevance | path

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

12

/third_party/python/Lib/test/
Dtest_filecmp.py1 import filecmp
31 self.assertTrue(filecmp.cmp(self.name, self.name),
33 self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False),
35 self.assertTrue(filecmp.cmp(self.name, self.name_same),
37 self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False),
41 self.assertFalse(filecmp.cmp(self.name, self.name_diff),
43 self.assertFalse(filecmp.cmp(self.name, self.dir),
47 first_compare = filecmp.cmp(self.name, self.name_same, shallow=False)
48 second_compare = filecmp.cmp(self.name, self.name_diff, shallow=False)
49 filecmp.clear_cache()
[all …]
/third_party/python/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 :attr:`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and
81 as described for :func:`filecmp.cmp`.
197 >>> from filecmp import dircmp
Dfilesys.rst19 filecmp.rst
/third_party/mindspore/tests/st/debugger/
Ddump_test_utils.py19 import filecmp
26 is_eq = filecmp.cmp(pwd + "/golden/" +
/third_party/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
/third_party/flutter/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
/third_party/mindspore/tests/st/mem_reuse/
Dcheck_file.py15 import filecmp
25 checker = filecmp.cmp(file_memreuse, file_normal)
/third_party/python/Tools/freeze/
Dbkfile.py20 import filecmp
21 if filecmp.cmp(backup, file, shallow=False):
/third_party/lz4/tests/
Dtest-lz4-versions.py12 import filecmp
121 if filecmp.cmp(lz4, lz4t):
146 if not filecmp.cmp(dec, test_dat):
/third_party/skia/third_party/externals/brotli/python/tests/
D_test_utils.py2 import filecmp
111 filecmp.cmp(first, second, shallow=False),
/third_party/python/Lib/test/libregrtest/
Dutils.py186 filecmp = sys.modules['filecmp']
190 filecmp._cache.clear()
/third_party/ltp/testcases/kernel/io/direct_io/
Ddiotest_routines.h4 extern int filecmp(char *f1, char *f2);
Ddiotest1.c157 if (filecmp(infile, outfile) != 0) { in main()
Ddiotest_routines.c111 int filecmp(char *f1, char *f2) in filecmp() function
/third_party/mindspore/tests/ut/python/dataset/
Dtest_serdes_dataset.py18 import filecmp
81 assert filecmp.cmp('imagenet_dataset_pipeline.json', 'imagenet_dataset_pipeline_1.json')
129 assert filecmp.cmp('mnist_dataset_pipeline.json', 'mnist_dataset_pipeline_1.json')
307 assert filecmp.cmp('zip_dataset_pipeline.json', 'zip_dataset_pipeline_1.json')
485 assert filecmp.cmp(file1, file2, shallow=False)
Dtest_config.py19 import filecmp
96 assert filecmp.cmp('testpipeline.json', 'testpipeline2.json')
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_common.py28 import filecmp
96 need_copy = not filecmp.cmp(src, dst)
/third_party/python/Lib/
Dcompileall.py18 import filecmp
245 if filecmp.cmp(cfile, previous_cfile, shallow=False):
/third_party/grpc/tools/distrib/python/
Dmake_grpcio_tools.py20 import filecmp
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dcommon.py6 import filecmp
375 same = filecmp.cmp(self.tmp_path, filename, False)
/third_party/node/tools/gyp/pylib/gyp/
Dcommon.py6 import filecmp
388 same = filecmp.cmp(self.tmp_path, filename, False)
/third_party/node/tools/gyp/pylib/gyp/generator/
Dxcode.py7 import filecmp
488 same = filecmp.cmp(pbxproj_path, new_pbxproj_path, False)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dxcode.py6 import filecmp
456 same = filecmp.cmp(pbxproj_path, new_pbxproj_path, False)

12