/external/python/cpython3/Lib/importlib/ |
D | metadata.py | 121 def read_text(self, encoding='utf-8'): member in PackagePath 146 def read_text(self, filename): member in Distribution 223 self.read_text('METADATA') 224 or self.read_text('PKG-INFO') 228 or self.read_text('') 239 return EntryPoint._from_text(self.read_text('entry_points.txt')) 267 text = self.read_text('RECORD') 275 text = self.read_text('SOURCES.txt') 288 source = self.read_text('requires.txt') 450 def read_text(self, filename): member in PathDistribution [all …]
|
D | resources.py | 158 def read_text(package: Package, function
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_read.py | 15 resources.read_text(package, path) 24 result = resources.read_text(self.data, 'utf-8.file') 28 result = resources.read_text( 35 UnicodeError, resources.read_text, self.data, 'utf-16.file') 36 result = resources.read_text(self.data, 'utf-16.file', errors='ignore')
|
D | test_metadata_api.py | 38 distribution('egginfo-pkg').read_text('top_level.txt').strip(), 46 self.assertEqual(top_level.read_text(), 'mod\n') 73 file.read_text()
|
D | test_zip.py | 39 self.assertIsNone(distribution('example').read_text('does not exist'))
|
D | test_resource.py | 157 resources.read_text,
|
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 19 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function 93 if (read_text(path, buf, len) >= 0) in cg_read() 196 if (read_text("/proc/self/mounts", buf, sizeof(buf)) <= 0) in cg_find_unified_root() 401 if (read_text("/proc/swaps", buf, sizeof(buf)) <= 0) in is_swap_enabled() 441 return read_text(path, buf, size); in proc_read_text()
|
/external/skia/infra/bots/recipe_modules/run/ |
D | api.py | 43 return self.m.file.read_text(name, filename, *args, **kwargs) 65 return self.m.file.read_text('Get %s VERSION' % asset_name,
|
/external/skqp/infra/bots/recipe_modules/run/ |
D | api.py | 43 return self.m.file.read_text(name, filename, *args, **kwargs) 65 return self.m.file.read_text('Get %s VERSION' % asset_name,
|
/external/skqp/infra/bots/recipes/ |
D | bookmaker.py | 89 content = api.file.read_text('Read fiddleout.json',
|
/external/skia/infra/bots/recipe_modules/flavor/ |
D | default.py | 97 return self.m.file.read_text('read %s' % path, path)
|
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 918 .. method:: Path.read_text(encoding=None, errors=None) 925 >>> p.read_text() 1106 >>> p.read_text()
|
D | importlib.metadata.rst | 152 >>> print(util.read_text()) # doctest: +SKIP
|
D | zipfile.rst | 514 .. method:: Path.read_text(*, **)
|
D | importlib.rst | 894 .. function:: read_text(package, resource, encoding='utf-8', errors='strict')
|
/external/python/cpython3/Lib/test/ |
D | test_zipfile.py | 2806 assert a.read_text() == "content of a" 2815 assert e.read_text() == "content of e" 2823 assert e.read_text() == "content of e"
|
D | test_pathlib.py | 1380 self.assertEqual((p / 'fileA').read_text( 1384 self.assertEqual((p / 'fileA').read_text(encoding='latin-1'), 'äbcdefg')
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 1225 def read_text(self, encoding=None, errors=None): member in Path
|
D | zipfile.py | 2264 def read_text(self, *args, **kwargs): member in Path
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 1550 :meth:`Path.read_text() <pathlib.Path.read_text>`,
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 2001 Added convenience methods read_text/write_text and read_bytes/ write_bytes
|