Home
last modified time | relevance | path

Searched refs:write_file (Results 1 - 25 of 63) sorted by relevance

123

/third_party/python/Lib/distutils/tests/
H A Dtest_sdist.py67 self.write_file((self.tmp_dir, 'README'), 'xxx')
68 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#')
69 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY)
98 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx')
101 self.write_file((self.tmp_dir, 'somecode', '.hg',
105 self.write_file((self.tmp_dir, 'somecode', '.git',
108 self.write_file((self.tmp_dir, 'somecode', '.nfs0001'), 'xxx')
182 self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#')
183 self.write_file((self.tmp_dir, 'somecode', 'doc.dat'), '#')
188 self.write_file((data_di
[all...]
H A Dtest_bdist_rpm.py61 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
62 self.write_file((pkg_dir, 'foo.py'), '#')
63 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
64 self.write_file((pkg_dir, 'README'), '')
108 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
109 self.write_file((pkg_dir, 'foo.py'), '#')
110 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
111 self.write_file((pkg_dir, 'README'), '')
H A Dtest_dep_util.py23 self.write_file(new_file)
41 self.write_file(one)
42 self.write_file(two)
43 self.write_file(four)
59 self.write_file(one)
60 self.write_file(two)
61 self.write_file(three)
H A Dtest_upload.py90 self.write_file(self.rc, PYPIRC)
101 self.write_file(self.rc, PYPIRC_NOPASSWORD)
119 self.write_file(path)
122 self.write_file(self.rc, PYPIRC_LONG_PASSWORD)
168 self.write_file(path, content='yy\r')
171 self.write_file(self.rc, PYPIRC_LONG_PASSWORD)
196 self.write_file(path)
198 self.write_file(self.rc, PYPIRC_LONG_PASSWORD)
H A 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'), '')
H A Dtest_spawn.py29 self.write_file(exe, '#!%s\nexit 1' % unix_shell)
32 self.write_file(exe, 'exit 1')
40 self.write_file(exe, '#!%s\nexit 0' % unix_shell)
43 self.write_file(exe, 'exit 0')
H A Dtest_install_data.py23 self.write_file(one, 'xxx')
26 self.write_file(two, 'xxx')
59 self.write_file(three, 'xx')
H A Dtest_config.py91 self.write_file(self.rc, PYPIRC)
102 self.write_file(self.rc, PYPIRC_OLD)
125 self.write_file(self.rc, PYPIRC)
H A Dtest_install_headers.py19 self.write_file(header1)
20 self.write_file(header2)
H A Dtest_install_lib.py46 self.write_file(f, '# python file')
64 self.write_file(f, '# python package')
84 self.write_file(f, '# python package')
H A Dtest_config_cmd.py86 self.write_file(f1, 'xxx')
87 self.write_file(f2, 'xxx')
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_inherit_test/
H A Dcpuset_inherit_testset.sh46 local write_file="$1"
54 mkdir -p "$(dirname $write_file)" || {
55 tst_brkm TFAIL "Failed to mkdir -p $(basename $write_file)"
60 /bin/echo "$write_string" > "$write_file" 2> $CPUSET_TMP/stderr
61 mkdir $(dirname $write_file)/2 2> $CPUSET_TMP/stderr
63 write_result="$(cat "$(dirname $write_file)/2/$(basename $write_file)")"
/third_party/jerryscript/targets/curie_bsp/
H A Dsetup.py111 def write_file(path, content): function
148 write_file(root_kbuild_path, root_kbuild_content)
174 write_file(root_makefile_path, root_makefile_content)
185 write_file(arc_kbuild_path, arc_kbuild_content)
223 write_file(quark_kbuild_path, quark_kbuild_content)
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/
H A Dcpuset_base_ops_testset.sh46 local write_file="$1"
52 mkdir -p "$(dirname $write_file)" || {
53 tst_brkm TFAIL "Failed to mkdir -p $(basename $write_file)"
58 /bin/echo "$write_string" > "$write_file" 2> $CPUSET_TMP/stderr
60 write_result="$(cat "$write_file")"
/third_party/libxml2/
H A Dgenerate_header.py66 def write_file(self, file_path): member in ConfigHeader
100 def write_file(self, file_path): member in XmlVersionHeader
115 config_header.write_file(options.config_path)
119 xmlversion_header.write_file(options.xmlversion_path)
/third_party/python/Lib/test/
H A Dtest_shutil.py73 def write_file(path, content, binary=False): function
193 write_file(os.path.join(victim, 'somefile'), 'foo')
226 write_file(file1, 'foo')
268 write_file(file1, 'foo')
290 write_file((tmpdir, "tstfile"), "")
383 write_file((TESTFN, 'foo'), 'foo')
421 write_file(os.path.join(fullname, 'subdir', 'somefile'), 'foo')
476 write_file((src_dir, 'test.txt'), '123')
478 write_file((src_dir, 'test_dir', 'test.txt'), '456')
496 write_file((src_di
[all...]
H A Dtest_reprlib.py227 def write_file(path, text): function
297 write_file(os.path.join(self.subpkgname, 'foo.py'), '''\
314 write_file(os.path.join(self.subpkgname, 'bar.py'), '''\
325 write_file(os.path.join(self.subpkgname, 'baz.py'), '''\
338 write_file(os.path.join(self.subpkgname, 'qux.py'), '''\
/third_party/ltp/testcases/kernel/syscalls/openat/
H A Dopenat03.c74 static void write_file(int fd) in write_file() function
91 write_file(fd); in test01()
162 write_file(fd[i]); in test02()
208 write_file(fd[i]); in test03()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen14.c63 static void write_file(int fd) in write_file() function
80 write_file(fd); in test01()
151 write_file(fd[i]); in test02()
197 write_file(fd[i]); in test03()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dgen_extensions.py333 def write_file(fname, template, format_args): function
480 write_file(gles_h_output_name, _GLES_EXTENSIONS_TEMPLATE, format_args)
481 write_file(gles_cpp_output_name, _GLES_EXT_STRINGS_TEMPLATE, format_args)
482 write_file(md_output_name, _MARKDOWN_TEMPLATE, format_args)
/third_party/curl/docs/examples/
H A Dsmooth-gtk-thread.c63 size_t write_file(void *ptr, size_t size, size_t nmemb, FILE *stream) in write_file() function
82 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_file); in run_one()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBPropertiesExporter.java76 File write_file = new File(directory, file_name); in export()
77 FileOutputStream fos = new FileOutputStream(write_file); in export()
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx06.c66 static void write_file(void) in write_file() function
91 {.operation = write_file,
/third_party/elfutils/libelf/
H A Delf_update.c42 write_file (Elf *elf, int64_t size, int change_bo, size_t shnum) in write_file() function
231 size = write_file (elf, size, change_bo, shnum); in elf_update()
/third_party/mbedtls/programs/util/
H A Dpem2der.c158 static int write_file(const char *path, unsigned char *buf, size_t n) in write_file() function
258 ret = write_file(opt.output_file, der_buffer, der_size); in main()
264 mbedtls_printf(" failed\n ! write_file returned %d - %s\n\n", ret, buf); in main()

Completed in 10 milliseconds

123