Home
last modified time | relevance | path

Searched refs:dst_stat (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dxplane_builder.h133 XStat* dst_stat) { in CopyStatValue() argument
138 dst_stat->set_int64_value(src_stat.int64_value()); in CopyStatValue()
141 dst_stat->set_uint64_value(src_stat.uint64_value()); in CopyStatValue()
144 dst_stat->set_double_value(src_stat.double_value()); in CopyStatValue()
147 dst_stat->set_str_value(src_stat.str_value()); in CopyStatValue()
154 dst_stat->set_ref_value(GetOrCreateStatMetadata(value).id()); in CopyStatValue()
159 dst_stat->set_bytes_value(src_stat.bytes_value()); in CopyStatValue()
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_shutil_test.py207 dst_stat = os.stat(dst_file)
208 self.assertEqual(src_stat.st_mode, dst_stat.st_mode)
209 self.assertAlmostEqual(src_stat.st_atime, dst_stat.st_atime, places=2)
210 self.assertAlmostEqual(src_stat.st_mtime, dst_stat.st_mtime, places=2)
222 dst_stat = os.stat(dst_file)
223 self.assertEqual(src_stat.st_mode, dst_stat.st_mode)
224 self.assertAlmostEqual(src_stat.st_atime, dst_stat.st_atime, places=2)
225 self.assertAlmostEqual(src_stat.st_mtime, dst_stat.st_mtime, places=2)
240 dst_stat = os.stat(dst_file)
241 self.assertEqual(src_stat.st_mode, dst_stat.st_mode)
[all …]
/external/python/cpython3/Lib/test/
Dtest_shutil.py511 dst_stat = os.lstat(dst_link)
513 self.assertEqual(dst_stat.st_mode, src_stat.st_mode)
515 self.assertEqual(dst_stat.st_flags, src_stat.st_flags)
1110 dst_stat = os.lstat(dst)
1115 getattr(dst_stat, attr) + 1)
1117 self.assertEqual(src_link_stat.st_mode, dst_stat.st_mode)
1118 self.assertNotEqual(src_stat.st_mode, dst_stat.st_mode)
1120 self.assertEqual(src_link_stat.st_flags, dst_stat.st_flags)