Searched refs:filecmp (Results 1 – 25 of 52) 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 …]
|
D | test_keyword.py | 4 import filecmp 62 self.assertFalse(filecmp.cmp(KEYWORD_FILE, TEST_PY_FILE)) 65 self.assertTrue(filecmp.cmp(KEYWORD_FILE, TEST_PY_FILE)) 119 self.assertTrue(filecmp.cmp(TEST_PY_FILE, PY_FILE_WITHOUT_KEYWORDS))
|
/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/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/autotest/server/site_tests/brillo_ADBFileTransfer/ |
D | brillo_ADBFileTransfer.py | 5 import filecmp 48 if not filecmp.cmp(self.temp_file.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/autotest/server/site_tests/brillo_ADBDirectoryTransfer/ |
D | brillo_ADBDirectoryTransfer.py | 5 import filecmp 62 if not filecmp.cmp(original, returned, shallow=False):
|
/external/python/cpython2/Tools/freeze/ |
D | bkfile.py | 38 import filecmp 39 if filecmp.cmp(self.__backup, self.__filename, shallow = 0):
|
/external/clang/utils/check_cfc/ |
D | obj_diff.py | 7 import filecmp 90 return filecmp.cmp(objfilea, objfileb)
|
/external/owasp/sanitizer/tools/ |
D | update_tree_in_svn.py | 8 import filecmp 77 if not filecmp.cmp(src, dst, shallow=0): copy(src, dst)
|
/external/brotli/python/tests/ |
D | _test_utils.py | 2 import filecmp 111 filecmp.cmp(first, second, shallow=False),
|
/external/tensorflow/tensorflow/python/lib/io/ |
D | file_io_test.py | 504 self.assertFalse(file_io.filecmp(file1, file2)) 505 self.assertTrue(file_io.filecmp(file2, file3)) 517 self.assertFalse(file_io.filecmp(file1, file2)) 518 self.assertTrue(file_io.filecmp(file2, file3)) 533 self.assertFalse(file_io.filecmp(file1, file2)) 534 self.assertFalse(file_io.filecmp(file1, file4)) 535 self.assertTrue(file_io.filecmp(file2, file3))
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/ |
D | abtest.py | 40 import filecmp 155 if filecmp.cmp(goodfile, badfile):
|
/external/llvm/utils/abtest/ |
D | abtest.py | 45 import filecmp 157 if filecmp.cmp(goodfile, badfile):
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest_routines.h | 4 extern int filecmp(char *f1, char *f2);
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | refleak.py | 220 filecmp = sys.modules['filecmp'] 224 filecmp._cache.clear()
|
/external/avb/test/ |
D | at_auth_unlock_unittest.py | 20 import filecmp 235 self.assertTrue(filecmp.cmp(out_cred, DATA_FILE_UNLOCK_CREDENTIAL)) 313 if not filecmp.cmp(handler.staged_file, DATA_FILE_UNLOCK_CREDENTIAL):
|
123