Searched refs:filecmp (Results 1 – 25 of 58) sorted by relevance
123
/external/python/cpython3/Lib/test/ |
D | test_filecmp.py | 1 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/ |
D | test_filecmp.py | 2 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/ |
D | filecmp.rst | 1 :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 …]
|
D | filesys.rst | 20 filecmp.rst
|
/external/python/cpython3/Doc/library/ |
D | filecmp.rst | 1 :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/ |
D | test_utils.py | 12 import filecmp 59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False)) 73 _cmp('', filecmp.dircmp(a, b))
|
D | zip_utils_test.py | 12 import filecmp
|
/external/vulkan-validation-layers/scripts/ |
D | generate_source.py | 22 import filecmp 106 elif not filecmp.cmp(os.path.join(temp_dir, filename), 124 not filecmp.cmp(temp_filename, repo_filename, shallow=False):
|
/external/skia/infra/bots/ |
D | test_utils.py | 12 import filecmp 59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False)) 73 _cmp('', filecmp.dircmp(a, b))
|
D | zip_utils_test.py | 12 import filecmp
|
/external/python/cpython3/Tools/freeze/ |
D | bkfile.py | 20 import filecmp 21 if filecmp.cmp(backup, file, shallow=False):
|
/external/puffin/scripts/ |
D | test_corpus.py | 11 import filecmp 86 if not filecmp.cmp(src, tgt_file.name): 132 if not filecmp.cmp(tgt, new_tgt.name):
|
/external/lz4/tests/ |
D | test-lz4-versions.py | 12 import filecmp 121 if filecmp.cmp(lz4, lz4t): 146 if not filecmp.cmp(dec, test_dat):
|
/external/python/cpython2/Tools/freeze/ |
D | bkfile.py | 38 import filecmp 39 if filecmp.cmp(self.__backup, self.__filename, shallow = 0):
|
/external/zstd/tests/ |
D | test-zstd-versions.py | 14 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/clang/utils/check_cfc/ |
D | obj_diff.py | 7 import filecmp 90 return filecmp.cmp(objfilea, objfileb)
|
/external/llvm-project/clang/utils/check_cfc/ |
D | obj_diff.py | 7 import filecmp 90 return filecmp.cmp(objfilea, objfileb)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | tempfile_ext_unittest.py | 5 import filecmp 71 self.assertTrue(filecmp.cmp(filepath, filepath + '.bak'))
|
/external/brotli/python/tests/ |
D | _test_utils.py | 2 import filecmp 111 filecmp.cmp(first, second, shallow=False),
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest_routines.h | 4 extern int filecmp(char *f1, char *f2);
|
/external/icu/tools/ |
D | icuutil.py | 21 import filecmp 272 if (filecmp.cmp(langInfo_dst_path, langInfo_out_path)):
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/ |
D | gen_common.py | 29 import filecmp 97 need_copy = not filecmp.cmp(src, dst)
|
/external/llvm/utils/abtest/ |
D | abtest.py | 45 import filecmp 157 if filecmp.cmp(goodfile, badfile):
|
/external/tensorflow/tensorflow/python/lib/io/ |
D | file_io_test.py | 563 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/ |
D | refleak.py | 240 filecmp = sys.modules['filecmp'] 244 filecmp._cache.clear()
|
123