Home
last modified time | relevance | path

Searched refs:old_contents (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/gn/standalone/
Dgen_git_revision.py26 old_contents = ''
29 old_contents = f.read()
30 if old_contents == new_contents:
/external/v8/src/torque/
Dutils.cc110 std::string old_contents; in ReplaceFileContentsIfDifferent() local
113 old_contents = in ReplaceFileContentsIfDifferent()
117 if (old_contents.length() == 0 || old_contents != contents) { in ReplaceFileContentsIfDifferent()
/external/python/cpython3/Tools/scripts/
Dupdate_file.py15 old_contents = f.read()
18 if old_contents != new_contents:
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_refactor.py184 old_contents = self.read_file(test_file)
190 self.assertEqual(old_contents, self.read_file(test_file))
196 self.assertNotEqual(old_contents, new_contents)
213 old_contents = self.read_file(test_file)
217 return old_contents, new_contents
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_refactor.py200 old_contents = read_file()
206 self.assertEqual(old_contents, read_file())
212 self.assertNotEqual(old_contents, new_contents)