Searched refs:ListDirectory (Results 1 – 22 of 22) sorted by relevance
124 filenames = self.device.ListDirectory(_DEVICE_DIR)152 filenames = self.device.ListDirectory(_DEVICE_DIR)196 filenames = self.device.ListDirectory(_DEVICE_DIR)206 filenames = self.device.ListDirectory(227 top_level_dirs = self.device.ListDirectory(_DEVICE_DIR)230 sub_dir = self.device.ListDirectory('%s/%s' % (_DEVICE_DIR, _SUB_DIR))240 top_level_dirs = self.device.ListDirectory(_DEVICE_DIR)243 sub_dir = self.device.ListDirectory('%s/%s' % (_DEVICE_DIR, _SUB_DIR))
2023 def ListDirectory(self, device_path, as_root=False, **kwargs): member in DeviceUtils
2233 return self.device.ListDirectory('/')
45 mock_device.ListDirectory.return_value = cpu_list + ['cpufreq']68 mock_device.ListDirectory.return_value = cpu_list + ['cpufreq']91 mock_device.ListDirectory.return_value = cpu_list + ['cpufreq']
103 for file_name in self._device.ListDirectory(self._CPU_PATH, as_root=True):
55 file_list = gfile.ListDirectory(logdir)57 for file_name in gfile.ListDirectory(logdir):
124 for file_name in gfile.ListDirectory(logdir):
232 self.assertEquals(gfile.ListDirectory(export_path), ["00000100"])235 sorted(gfile.ListDirectory(export_path)), ["00000100", "00000101"])238 sorted(gfile.ListDirectory(export_path)), ["00000101", "00000102"])
210 raw_paths = gfile.ListDirectory(base_dir)
84 for f in gfile.ListDirectory(test.get_temp_dir()):93 for f in gfile.ListDirectory(test.get_temp_dir()):
597 ret = gfile.ListDirectory(time_dir)604 self.assertEqual(len(gfile.ListDirectory(time_dir)), 0)606 ret = gfile.ListDirectory(memory_dir)613 self.assertEqual(len(gfile.ListDirectory(memory_dir)), 0)615 ret = gfile.ListDirectory(profile_dir)622 self.assertEqual(len(gfile.ListDirectory(profile_dir)), 0)
30 from tensorflow.python.lib.io.file_io import list_directory as ListDirectory unknown
86 files = gfile.ListDirectory(logdir)
212 raw_paths = gfile.ListDirectory(base_dir)
36 name: "ListDirectory"
81 elif gfile.ListDirectory(session_root):
146 ls_result = gfile.ListDirectory(dir_name)
256 for filename in device.ListDirectory(path):
101 files = gfile.ListDirectory(logdir)
1137 files = gfile.ListDirectory(logdir)
103 * Path manipulation functions (such as `tf.gfile.ListDirectory()`) are not
668 ### DeviceUtils.ListDirectory