Home
last modified time | relevance | path

Searched refs:disk_usage (Results 1 – 12 of 12) sorted by relevance

/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_shutil_test.py336 disk_usage = shutil.disk_usage(file_path)
337 self.assertEqual(1000, disk_usage.total)
338 self.assertEqual(400, disk_usage.used)
339 self.assertEqual(600, disk_usage.free)
340 self.assertEqual((1000, 400, 600), disk_usage)
346 disk_usage = shutil.disk_usage(dir_path)
347 self.assertEqual((500, 400, 100), disk_usage)
Ddynamic_patch_test.py57 self.assertEqual(100, shutil.disk_usage('/').total)
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_shutil.py53 def disk_usage(self, path): member in FakeShutilModule
/external/icing/icing/
Dicing-search-engine_benchmark.cc426 int64_t disk_usage = filesystem.GetDiskUsage(test_dir.c_str()); in BM_MutlipleIndices() local
428 << disk_usage / 1024.0 << std::endl; in BM_MutlipleIndices()
/external/python/cpython3/Lib/test/
Dtest_largefile.py158 if shutil.disk_usage(os.path.realpath(path)).free < required:
Dtest_shutil.py1607 usage = shutil.disk_usage(os.path.dirname(__file__))
1617 shutil.disk_usage(__file__)
/external/python/pyfakefs/docs/
Dusage.rst512 modeled after ``shutil.disk_usage()``.
568 - ``shutil.disk_usage``
572 ``disk_usage``), ``tempfile``, ``glob`` and ``zipfile``.
/external/python/cpython3/Lib/
Dshutil.py1256 def disk_usage(path): function
1273 def disk_usage(path): function
/external/python/cpython3/Doc/library/
Dshutil.rst377 .. function:: disk_usage(path)
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1790 * :func:`~shutil.disk_usage`: provides total, used and free disk space
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst7712 Allow shutil.disk_usage to take a file path on Windows
/external/python/cpython3/Misc/
DHISTORY9434 - Issue #12442: new shutil.disk_usage function, providing total, used and free