Home
last modified time | relevance | path

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

12

/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 …]
Dregrtest.py1195 filecmp = sys.modules['filecmp']
1199 filecmp._cache.clear()
/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
Ddifflib.rst20 diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
/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/autotest/server/site_tests/brillo_ADBFileTransfer/
Dbrillo_ADBFileTransfer.py5 import filecmp
48 if not filecmp.cmp(self.temp_file.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/autotest/server/site_tests/brillo_ADBDirectoryTransfer/
Dbrillo_ADBDirectoryTransfer.py5 import filecmp
62 if not filecmp.cmp(original, returned, shallow=False):
/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/brotli/python/tests/
D_test_utils.py2 import filecmp
109 filecmp.cmp(first, second, shallow=False),
/external/owasp/sanitizer/tools/
Dupdate_tree_in_svn.py8 import filecmp
77 if not filecmp.cmp(src, dst, shallow=0): copy(src, dst)
/external/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
/external/mesa3d/src/
DSConscript1 import filecmp
46 if not os.path.exists(filename) or not filecmp.cmp(tempfile, filename):
/external/llvm/utils/abtest/
Dabtest.py45 import filecmp
157 if filecmp.cmp(goodfile, badfile):
/external/toolchain-utils/
Dimage_chromeos.py14 import filecmp
299 if filecmp.cmp(potential_image, image):
/external/llvm/utils/llvm-build/llvmbuild/
Dmain.py2 import filecmp
430 elif filecmp.cmp(output_path, output_path+'.new'):
/external/python/cpython2/Misc/
Dmaintainers.rst109 filecmp
Dcheatsheet1881 filecmp File comparison.
DNEWS4179 - Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch
4608 - Issue #11802: The cache in filecmp now has a maximum size of 100 so that
9377 - Remove unneeded imports of 'warnings' from shelve, filecmp, and dummy_thread.
9430 filecmp, fileinput, inspect, logging, modulefinder, pdb, pickle, profile,
/external/python/cpython2/Doc/whatsnew/
D2.0.rst1089 * :mod:`filecmp`: Supersedes the old :mod:`cmp`, :mod:`cmpcache` and

12