Searched refs:disk_usage (Results 1 – 12 of 12) sorted by relevance
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_shutil_test.py | 336 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)
|
D | dynamic_patch_test.py | 57 self.assertEqual(100, shutil.disk_usage('/').total)
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_filesystem_shutil.py | 53 def disk_usage(self, path): member in FakeShutilModule
|
/external/icing/icing/ |
D | icing-search-engine_benchmark.cc | 426 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/ |
D | test_largefile.py | 158 if shutil.disk_usage(os.path.realpath(path)).free < required:
|
D | test_shutil.py | 1607 usage = shutil.disk_usage(os.path.dirname(__file__)) 1617 shutil.disk_usage(__file__)
|
/external/python/pyfakefs/docs/ |
D | usage.rst | 512 modeled after ``shutil.disk_usage()``. 568 - ``shutil.disk_usage`` 572 ``disk_usage``), ``tempfile``, ``glob`` and ``zipfile``.
|
/external/python/cpython3/Lib/ |
D | shutil.py | 1256 def disk_usage(path): function 1273 def disk_usage(path): function
|
/external/python/cpython3/Doc/library/ |
D | shutil.rst | 377 .. function:: disk_usage(path)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1790 * :func:`~shutil.disk_usage`: provides total, used and free disk space
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 7712 Allow shutil.disk_usage to take a file path on Windows
|
/external/python/cpython3/Misc/ |
D | HISTORY | 9434 - Issue #12442: new shutil.disk_usage function, providing total, used and free
|