| /third_party/python/Lib/distutils/tests/ |
| H A D | test_sdist.py | 67 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 D | test_bdist_rpm.py | 61 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 D | test_dep_util.py | 23 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 D | test_upload.py | 90 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 D | test_bdist_dumb.py | 52 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 D | test_spawn.py | 29 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 D | test_install_data.py | 23 self.write_file(one, 'xxx') 26 self.write_file(two, 'xxx') 59 self.write_file(three, 'xx')
|
| H A D | test_config.py | 91 self.write_file(self.rc, PYPIRC) 102 self.write_file(self.rc, PYPIRC_OLD) 125 self.write_file(self.rc, PYPIRC)
|
| H A D | test_install_headers.py | 19 self.write_file(header1) 20 self.write_file(header2)
|
| H A D | test_install_lib.py | 46 self.write_file(f, '# python file') 64 self.write_file(f, '# python package') 84 self.write_file(f, '# python package')
|
| H A D | test_config_cmd.py | 86 self.write_file(f1, 'xxx') 87 self.write_file(f2, 'xxx')
|
| /third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_inherit_test/ |
| H A D | cpuset_inherit_testset.sh | 46 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 D | setup.py | 111 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 D | cpuset_base_ops_testset.sh | 46 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 D | generate_header.py | 66 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 D | test_shutil.py | 73 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 D | test_reprlib.py | 227 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 D | openat03.c | 74 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 D | open14.c | 63 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 D | gen_extensions.py | 333 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 D | smooth-gtk-thread.c | 63 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 D | RBPropertiesExporter.java | 76 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 D | statx06.c | 66 static void write_file(void) in write_file() function 91 {.operation = write_file,
|
| /third_party/elfutils/libelf/ |
| H A D | elf_update.c | 42 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 D | pem2der.c | 158 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()
|