Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_bdist_rpm.py58 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
59 self.write_file((pkg_dir, 'foo.py'), '#')
60 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
61 self.write_file((pkg_dir, 'README'), '')
99 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
100 self.write_file((pkg_dir, 'foo.py'), '#')
101 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
102 self.write_file((pkg_dir, 'README'), '')
Dtest_dep_util.py24 self.write_file(new_file)
42 self.write_file(one)
43 self.write_file(two)
44 self.write_file(four)
60 self.write_file(one)
61 self.write_file(two)
62 self.write_file(three)
Dtest_sdist.py70 self.write_file((self.tmp_dir, 'README'), 'xxx')
71 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#')
72 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY)
105 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx')
108 self.write_file((self.tmp_dir, 'somecode', '.hg',
112 self.write_file((self.tmp_dir, 'somecode', '.git',
187 self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#')
188 self.write_file((self.tmp_dir, 'somecode', 'doc.dat'), '#')
193 self.write_file((data_dir, 'data.dt'), '#')
196 self.write_file((self.tmp_dir, 'inroot.txt'), '#')
[all …]
Dtest_spawn.py35 self.write_file(exe, '#!/bin/sh\nexit 1')
39 self.write_file(exe, 'exit 1')
47 self.write_file(exe, '#!/bin/sh\nexit 0')
51 self.write_file(exe, 'exit 0')
Dtest_bdist_dumb.py52 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
53 self.write_file((pkg_dir, 'foo.py'), '#')
54 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
55 self.write_file((pkg_dir, 'README'), '')
Dtest_upload.py75 self.write_file(self.rc, PYPIRC)
86 self.write_file(self.rc, PYPIRC_NOPASSWORD)
104 self.write_file(path)
107 self.write_file(self.rc, PYPIRC_LONG_PASSWORD)
Dtest_archive_util.py45 self.write_file([tmpdir, 'file1'], 'xxx')
46 self.write_file([tmpdir, 'file2'], 'xxx')
48 self.write_file([tmpdir, 'sub', 'file3'], 'xxx')
93 self.write_file([dist, 'file1'], 'xxx')
94 self.write_file([dist, 'file2'], 'xxx')
96 self.write_file([dist, 'sub', 'file3'], 'xxx')
193 self.write_file([tmpdir, 'file1'], 'xxx')
194 self.write_file([tmpdir, 'file2'], 'xxx')
Dtest_install_headers.py21 self.write_file(header1)
22 self.write_file(header2)
Dtest_file_util.py6 from distutils.file_util import move_file, write_file, copy_file
65 write_file(foo, lines)
72 write_file(foo, 'content')
Dtest_install_data.py25 self.write_file(one, 'xxx')
28 self.write_file(two, 'xxx')
61 self.write_file(three, 'xx')
Dtest_install_lib.py41 self.write_file(f, '# python file')
61 self.write_file(f, '# python file')
78 self.write_file(f, '# python file')
Dtest_config.py85 self.write_file(self.rc, PYPIRC)
97 self.write_file(self.rc, PYPIRC_OLD)
Dtest_config_cmd.py73 self.write_file(f1, 'xxx')
74 self.write_file(f2, 'xxx')
Dtest_clean.py30 self.write_file(os.path.join(path, f))
Dtest_build_clib.py114 self.write_file(foo_c, 'int main(void) { return 1;}\n')
Dsupport.py77 def write_file(self, path, content='xxx'): member in TempdirManager
Dtest_register.py149 self.write_file(self.rc, PYPIRC_NOPASSWORD)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_shutil.py53 def write_file(self, path, content='xxx'): member in TestShutil
346 self.write_file([tmpdir, 'file1'], 'xxx')
347 self.write_file([tmpdir, 'file2'], 'xxx')
349 self.write_file([tmpdir, 'sub', 'file3'], 'xxx')
394 self.write_file([dist, 'file1'], 'xxx')
395 self.write_file([dist, 'file2'], 'xxx')
397 self.write_file([dist, 'sub', 'file3'], 'xxx')
463 self.write_file([tmpdir, 'file1'], 'xxx')
464 self.write_file([tmpdir, 'file2'], 'xxx')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Demxccompiler.py27 from distutils.file_util import write_file
142 self.execute(write_file, (def_file, contents),
Dcygwinccompiler.py55 from distutils.file_util import write_file
218 self.execute(write_file, (def_file, contents),
Dbcppcompiler.py21 from distutils.file_util import write_file
228 self.execute(write_file, (def_file, contents),
Dfile_util.py222 def write_file (filename, contents): function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
Dmain.py40 def write_file(self, new_text, filename, old_text, encoding): member in StdoutRefactoringTool
54 write = super(StdoutRefactoringTool, self).write_file
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dinstall.py17 from distutils.file_util import write_file
587 self.execute(write_file,
609 self.execute(write_file,
Dbdist_rpm.py14 from distutils.file_util import write_file
293 self.execute(write_file,

12