Home
last modified time | relevance | path

Searched refs:write_text (Results 1 – 14 of 14) sorted by relevance

/external/python/setuptools/setuptools/tests/
Dnamespaces.py20 setup_py.write_text(script, encoding='utf-8')
26 pkg_init.write_text(decl, encoding='utf-8')
29 pkg_mod.write_text(some_functionality, encoding='utf-8')
42 sc.write_text(tmpl.format(**locals()), encoding='utf-8')
Dtest_dist_info.py40 filename.write_text(content, encoding='utf-8')
50 filename.write_text(content, encoding='utf-8')
/external/python/setuptools/
Dpavement.py25 file.write_text(text)
50 (vendor / '__init__.py').write_text('')
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dcgroup_util.c38 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() function
158 if (write_text(path, buf, len) == len) in cg_write()
/external/python/setuptools/pkg_resources/tests/
Dtest_resources.py781 (pkg1 / '__init__.py').write_text(self.ns_str, encoding='utf-8')
782 (pkg2 / '__init__.py').write_text(self.ns_str, encoding='utf-8')
823 (nspkg / '__init__.py').write_text(self.ns_str, encoding='utf-8')
824 (subpkg / '__init__.py').write_text(
/external/skqp/infra/bots/recipe_modules/run/
Dapi.py47 return self.m.file.write_text('write %s' % self.m.path.basename(filename),
/external/skia/infra/bots/recipe_modules/run/
Dapi.py47 return self.m.file.write_text('write %s' % self.m.path.basename(filename),
/external/skia/infra/bots/recipe_modules/flavor/
Dandroid.py484 self.m.file.write_text('Quarantining Bot',
/external/skqp/infra/bots/recipe_modules/flavor/
Dandroid.py484 self.m.file.write_text('Quarantining Bot',
/external/python/cpython3/Doc/library/
Dpathlib.rst913 >>> p.write_text('Text file contents')
1063 .. method:: Path.write_text(data, encoding=None, errors=None)
1069 >>> p.write_text('Text file contents')
/external/python/cpython3/Lib/
Dpathlib.py1211 def write_text(self, data, encoding=None, errors=None): member in Path
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1368 (p / 'fileA').write_text('äbcdefg', encoding='latin-1')
1372 self.assertRaises(TypeError, (p / 'fileA').write_text, b'somebytes')
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1549 New :meth:`Path.write_text() <pathlib.Path.write_text>`,
1560 >>> p.expanduser().write_text('ham')
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst2001 Added convenience methods read_text/write_text and read_bytes/ write_bytes