Home
last modified time | relevance | path

Searched refs:ListDirectory (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/python/profiler/
Dprofiler_v2_test.py65 file_list = gfile.ListDirectory(logdir)
67 for file_name in gfile.ListDirectory(logdir):
73 run = gfile.ListDirectory(profile_dir)[0]
101 file_list = gfile.ListDirectory(logdir)
115 file_list = gfile.ListDirectory(logdir)
Dprofile_context_test.py91 for f in gfile.ListDirectory(test.get_temp_dir()):
100 for f in gfile.ListDirectory(test.get_temp_dir()):
Dmodel_analyzer_test.py595 ret = gfile.ListDirectory(time_dir)
602 self.assertEqual(len(gfile.ListDirectory(time_dir)), 0)
604 ret = gfile.ListDirectory(memory_dir)
611 self.assertEqual(len(gfile.ListDirectory(memory_dir)), 0)
613 ret = gfile.ListDirectory(profile_dir)
620 self.assertEqual(len(gfile.ListDirectory(profile_dir)), 0)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_devicetest.py128 filenames = self.device.ListDirectory(_DEVICE_DIR)
157 filenames = self.device.ListDirectory(_DEVICE_DIR)
202 filenames = self.device.ListDirectory(_DEVICE_DIR)
213 filenames = self.device.ListDirectory(
234 top_level_dirs = self.device.ListDirectory(_DEVICE_DIR)
237 sub_dir = self.device.ListDirectory('%s/%s' % (_DEVICE_DIR, _SUB_DIR))
247 top_level_dirs = self.device.ListDirectory(_DEVICE_DIR)
250 sub_dir = self.device.ListDirectory('%s/%s' % (_DEVICE_DIR, _SUB_DIR))
Ddevice_utils.py2522 def ListDirectory(self, device_path, as_root=False, **kwargs): member in DeviceUtils
/external/icing/icing/file/
Dmock-filesystem.h79 ON_CALL(*this, ListDirectory(_, _)) in MockFilesystem()
82 return real_filesystem_.ListDirectory(dir_name, entries); in MockFilesystem()
85 ON_CALL(*this, ListDirectory(_, _, _, _)) in MockFilesystem()
90 return real_filesystem_.ListDirectory(dir_name, exclude, recursive, in MockFilesystem()
254 MOCK_METHOD(bool, ListDirectory,
258 MOCK_METHOD(bool, ListDirectory,
Dfilesystem.cc214 if (!ListDirectory(dir_name, &entries)) { in DeleteDirectoryRecursively()
297 bool Filesystem::ListDirectory(const char* dir_name, in ListDirectory() function in icing::lib::Filesystem
300 return ListDirectory(dir_name, /*exclude=*/{}, /*recursive=*/false, entries); in ListDirectory()
303 bool Filesystem::ListDirectory(const char* dir_name, in ListDirectory() function in icing::lib::Filesystem
326 if (!ListDirectory(dirname.c_str(), &entries) && errno != ENOENT) { in GetMatchingFiles()
709 if (!ListDirectory(path, &list)) { in GetDiskUsage()
Dfilesystem.h115 virtual bool ListDirectory(const char* dir_name,
126 virtual bool ListDirectory(const char* dir_name,
Dfilesystem_test.cc370 EXPECT_TRUE(filesystem.ListDirectory(append_dir.c_str(), /*exclude=*/{}, in TEST_F()
402 bool success = filesystem.ListDirectory(append_dir.c_str(), in TEST_F()
482 EXPECT_TRUE(filesystem.ListDirectory(src_dir.c_str(), /*exclude=*/{}, in TEST_F()
486 EXPECT_TRUE(filesystem.ListDirectory(dst_dir.c_str(), /*exclude=*/{}, in TEST_F()
/external/chromium-trace/catapult/devil/devil/android/perf/
Dperf_control_test.py54 mock_device.ListDirectory.return_value = cpu_list + ['cpufreq']
77 mock_device.ListDirectory.return_value = cpu_list + ['cpufreq']
100 mock_device.ListDirectory.return_value = cpu_list + ['cpufreq']
Dperf_control.py179 for file_name in self._device.ListDirectory(self._CPU_PATH, as_root=True):
/external/tensorflow/tensorflow/python/eager/
Dprofiler_test.py64 file_list = gfile.ListDirectory(logdir)
66 for file_name in gfile.ListDirectory(logdir):
Dprofiler.py127 for file_name in gfile.ListDirectory(logdir):
/external/icing/icing/legacy/index/
Dicing-filesystem.cc216 if (!ListDirectory(dir_name, &entries)) { in DeleteDirectoryRecursively()
299 bool IcingFilesystem::ListDirectory(const char *dir_name, in ListDirectory() function in icing::lib::IcingFilesystem
302 return ListDirectory(dir_name, /*exclude=*/{}, /*recursive=*/false, entries); in ListDirectory()
305 bool IcingFilesystem::ListDirectory( in ListDirectory() function in icing::lib::IcingFilesystem
327 if (!ListDirectory(dirname.c_str(), &entries) && errno != ENOENT) { in GetMatchingFiles()
613 if (!ListDirectory(path, &list)) { in GetDiskUsage()
Dicing-filesystem.h112 virtual bool ListDirectory(const char *dir_name,
123 virtual bool ListDirectory(const char *dir_name,
Dicing-mock-filesystem.h71 ON_CALL(*this, ListDirectory) in IcingMockFilesystem()
74 return real_icing_filesystem_.ListDirectory(dir_name, entries); in IcingMockFilesystem()
188 MOCK_METHOD(bool, ListDirectory,
/external/tensorflow/tensorflow/python/platform/
Dgfile.py30 from tensorflow.python.lib.io.file_io import list_directory as ListDirectory unknown
/external/tensorflow/tensorflow/python/debug/wrappers/
Ddumping_wrapper.py81 elif gfile.ListDirectory(session_root):
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.gfile.pbtxt36 name: "ListDirectory"
/external/tensorflow/tensorflow/core/platform/
Dram_file_system_test.py70 self.assertEqual(gfile.ListDirectory('ram://a/b/'), matches)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dstats_dataset_test_base.py342 files = gfile.ListDirectory(logdir)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py258 for filename in device.ListDirectory(path):
/external/tensorflow/tensorflow/python/tpu/
Dtpu_outside_compilation_test.py87 files = gfile.ListDirectory(logdir)
/external/tensorflow/tensorflow/python/distribute/
Dstrategy_test_lib.py116 files = gfile.ListDirectory(logdir)
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py1344 files = gfile.ListDirectory(logdir)

12