Searched refs:src_stat (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | xplane_builder.h | 86 void AddStat(const XStatMetadata& metadata, const XStat& src_stat, in AddStat() argument 88 CopyStatValue(src_stat, src_plane, AddStat(metadata)); in AddStat() 91 void SetOrAddStat(const XStatMetadata& metadata, const XStat& src_stat, in SetOrAddStat() argument 93 CopyStatValue(src_stat, src_plane, FindOrAddStat(metadata)); in SetOrAddStat() 132 void CopyStatValue(const XStat& src_stat, const XPlane& src_plane, in CopyStatValue() argument 134 switch (src_stat.value_case()) { in CopyStatValue() 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() [all …]
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_shutil_test.py | 206 src_stat = os.stat(src_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) 221 src_stat = os.stat(src_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) 239 src_stat = os.stat(src_file) 241 self.assertEqual(src_stat.st_mode, dst_stat.st_mode) [all …]
|
/external/python/cpython3/PC/layout/ |
D | main.py | 77 src_stat = os.stat(src) 79 src_stat.st_mtime != dest_stat.st_mtime 80 or src_stat.st_size != dest_stat.st_size
|
/external/python/cpython3/Lib/test/ |
D | test_shutil.py | 502 src_stat = os.lstat(src_link) 513 self.assertEqual(dst_stat.st_mode, src_stat.st_mode) 515 self.assertEqual(dst_stat.st_flags, src_stat.st_flags) 874 src_stat = os.stat(src) 875 os.utime(src, (src_stat.st_atime, 876 src_stat.st_mtime - 42.0)) # ensure different mtimes 1099 src_stat = os.stat(src) 1118 self.assertNotEqual(src_stat.st_mode, dst_stat.st_mode)
|