Home
last modified time | relevance | path

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

/external/google-breakpad/src/tools/python/
Ddeps-to-manifest.py139 old_contents = open(manifest).read()
142 old_contents = ''
143 if old_contents != new_contents:
/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.py188 old_contents = self.read_file(test_file)
194 self.assertEqual(old_contents, self.read_file(test_file))
200 self.assertNotEqual(old_contents, new_contents)
217 old_contents = self.read_file(test_file)
221 return old_contents, new_contents
/external/webrtc/
Dpresubmit_test_mocks.py104 def __init__(self, local_path, new_contents=None, old_contents=None, argument
112 self._old_contents = old_contents
DPRESUBMIT.py1188 def _CalculateAddedDeps(os_path, old_contents, new_contents): argument
1199 old_deps = _ExtractAddRulesFromParsedDeps(_ParseDeps(old_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)
/external/abseil-cpp/absl/strings/
Dcord_test.cc432 std::string old_contents(c); in VerifyFlatten() local
441 EXPECT_EQ(new_flat, old_contents); in VerifyFlatten()
442 EXPECT_EQ(std::string(c), old_contents); in VerifyFlatten()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc480 std::string old_contents(c); in VerifyFlatten() local
489 EXPECT_EQ(new_flat, old_contents); in VerifyFlatten()
490 EXPECT_EQ(std::string(c), old_contents); in VerifyFlatten()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord_test.cc480 std::string old_contents(c); in VerifyFlatten() local
489 EXPECT_EQ(new_flat, old_contents); in VerifyFlatten()
490 EXPECT_EQ(std::string(c), old_contents); in VerifyFlatten()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc432 std::string old_contents(c); in VerifyFlatten() local
441 EXPECT_EQ(new_flat, old_contents); in VerifyFlatten()
442 EXPECT_EQ(std::string(c), old_contents); in VerifyFlatten()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord_test.cc496 std::string old_contents(c); in VerifyFlatten() local
505 EXPECT_EQ(new_flat, old_contents); in VerifyFlatten()
506 EXPECT_EQ(std::string(c), old_contents); in VerifyFlatten()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord_test.cc543 std::string old_contents(c); in VerifyFlatten() local
552 EXPECT_EQ(new_flat, old_contents); in VerifyFlatten()
553 EXPECT_EQ(std::string(c), old_contents); in VerifyFlatten()
/external/python/cpython3/Tools/clinic/
Dclinic.py1784 old_contents = fp.read()
1786 if old_contents == new_contents:
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py4572 old_contents = (self.file_object.byte_contents
4575 contents = old_contents + contents[self._flush_pos:]