Home
last modified time | relevance | path

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

12

/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/pybind11/tests/extra_setuptools/
Dtest_setuphelper.py19 (tmpdir / "setup.py").write_text(
58 (tmpdir / "main.cpp").write_text(
89 (tmpdir / "test.py").write_text(
/external/pigweed/pw_tokenizer/py/
Ddatabase_test.py173 self._csv.write_text(CSV_ALL_DOMAINS)
194 to_add.write_text(db_with_custom_token + '\n')
202 self._csv.write_text(CSV_ALL_DOMAINS)
223 self._csv.write_text(CSV_ALL_DOMAINS)
Dtokens_test.py407 self._path.write_text(CSV_DATABASE)
419 self._path.write_text('1234')
425 self._path.write_text('MK34567890')
/external/python/setuptools/
Dpavement.py25 file.write_text(text)
50 (vendor / '__init__.py').write_text('')
/external/grpc-grpc-java/annotation-stubs/
Dgen_annotations.py54 src_path.write_text(
/external/jimfs/jimfs/
Dgen_annotations.py54 src_path.write_text(
/external/pigweed/pw_build/py/pw_build/
Dgenerate_python_package.py165 source.parent.joinpath('__init__.py').write_text(
196 root.joinpath('setup.py').write_text(
Dgenerate_python_package_gn.py106 path.joinpath('BUILD.gn').write_text(
/external/pigweed/pw_build/py/
Dpython_runner_test.py177 module.joinpath('fake_test.ninja').write_text(NINJA_EXECUTABLE)
178 module.joinpath('fake_source_set.ninja').write_text(source_set)
179 module.joinpath('fake_no_objects.ninja').write_text('\n')
/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
184 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/python/cpython3/Lib/test/
Dtest_mimetypes.py66 file.write_text(data)
76 file.write_text(data, encoding='utf-8')
Dtest_runpy.py775 ham.write_text(
795 run_module.write_text(
808 run_module_as_main.write_text(
/external/pigweed/pw_cli/py/
Dplugins_test.py39 path.write_text(contents)
/external/pigweed/pw_protobuf_compiler/py/
Dpython_protos_test.py109 self._protos[-1].write_text(contents)
/external/pigweed/pw_protobuf_compiler/py/pw_protobuf_compiler/
Dpython_protos.py137 protos[-1].write_text(proto)
/external/skia/infra/bots/recipe_modules/flavor/
Dandroid.py504 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/pyfakefs/pyfakefs/
Dfake_pathlib.py559 def write_text(self, data, encoding=None, errors=None): member in FakePath
/external/python/cpython3/Doc/library/
Dpathlib.rst971 >>> p.write_text('Text file contents')
1169 .. method:: Path.write_text(data, encoding=None, errors=None)
1175 >>> p.write_text('Text file contents')
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py537 file_path.write_text(str('foo'))
544 file_path.write_text('ανοησίες', encoding='greek')

12