/external/linux-kselftest/tools/testing/selftests/ntb/ |
D | ntb_test.sh | 109 function write_file() function 184 if ! write_file "N" "$LOC/../link" 2> /dev/null; then 189 write_file "N" "$LOC/link_event" 196 write_file "Y" "$LOC/../link" 211 write_file "c $DB_VALID_MASK" "$REM/db" 224 write_file "s $MASK" "$LOC/peer_db" 227 write_file "c $DB_VALID_MASK" "$REM/db_mask" 228 write_file $DB_VALID_MASK "$REM/db_event" 229 write_file "s $DB_VALID_MASK" "$REM/db_mask" 231 write_file "c $DB_VALID_MASK" "$REM/db" [all …]
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_sdist.py | 68 self.write_file((self.tmp_dir, 'README'), 'xxx') 69 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#') 70 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY) 99 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx') 102 self.write_file((self.tmp_dir, 'somecode', '.hg', 106 self.write_file((self.tmp_dir, 'somecode', '.git', 109 self.write_file((self.tmp_dir, 'somecode', '.nfs0001'), 'xxx') 199 self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#') 200 self.write_file((self.tmp_dir, 'somecode', 'doc.dat'), '#') 205 self.write_file((data_dir, 'data.dt'), '#') [all …]
|
D | test_bdist_rpm.py | 63 self.write_file((pkg_dir, 'setup.py'), SETUP_PY) 64 self.write_file((pkg_dir, 'foo.py'), '#') 65 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py') 66 self.write_file((pkg_dir, 'README'), '') 107 self.write_file((pkg_dir, 'setup.py'), SETUP_PY) 108 self.write_file((pkg_dir, 'foo.py'), '#') 109 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py') 110 self.write_file((pkg_dir, 'README'), '')
|
D | test_dep_util.py | 24 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)
|
D | test_upload.py | 79 self.write_file(self.rc, PYPIRC) 90 self.write_file(self.rc, PYPIRC_NOPASSWORD) 108 self.write_file(path) 111 self.write_file(self.rc, PYPIRC_LONG_PASSWORD) 137 self.write_file(path, content='yy\r') 140 self.write_file(self.rc, PYPIRC_LONG_PASSWORD)
|
D | test_spawn.py | 38 self.write_file(exe, '#!/bin/sh\nexit 1') 42 self.write_file(exe, 'exit 1') 50 self.write_file(exe, '#!/bin/sh\nexit 0') 54 self.write_file(exe, 'exit 0')
|
D | test_archive_util.py | 62 self.write_file([tmpdir, 'file1'], 'xxx') 63 self.write_file([tmpdir, 'file2'], 'xxx') 65 self.write_file([tmpdir, 'sub', 'file3'], 'xxx') 110 self.write_file([dist, 'file1'], 'xxx') 111 self.write_file([dist, 'file2'], 'xxx') 113 self.write_file([dist, 'sub', 'file3'], 'xxx') 210 self.write_file([tmpdir, 'file1'], 'xxx') 211 self.write_file([tmpdir, 'file2'], 'xxx')
|
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'), '')
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_sdist.py | 66 self.write_file((self.tmp_dir, 'README'), 'xxx') 67 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#') 68 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY) 97 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx') 100 self.write_file((self.tmp_dir, 'somecode', '.hg', 104 self.write_file((self.tmp_dir, 'somecode', '.git', 107 self.write_file((self.tmp_dir, 'somecode', '.nfs0001'), 'xxx') 181 self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#') 182 self.write_file((self.tmp_dir, 'somecode', 'doc.dat'), '#') 187 self.write_file((data_dir, 'data.dt'), '#') [all …]
|
D | test_bdist_rpm.py | 58 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'), '') 102 self.write_file((pkg_dir, 'setup.py'), SETUP_PY) 103 self.write_file((pkg_dir, 'foo.py'), '#') 104 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py') 105 self.write_file((pkg_dir, 'README'), '')
|
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)
|
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)
|
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'), '')
|
D | test_spawn.py | 27 self.write_file(exe, '#!%s\nexit 1' % unix_shell) 30 self.write_file(exe, 'exit 1') 38 self.write_file(exe, '#!%s\nexit 0' % unix_shell) 41 self.write_file(exe, 'exit 0')
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_inherit_test/ |
D | cpuset_inherit_testset.sh | 46 local write_file="$1" 51 mkdir -p "$(dirname $write_file)" || { 52 tst_brkm TFAIL "Failed to mkdir -p $(basename $write_file)" 57 /bin/echo "$write_string" > "$write_file" 2> $CPUSET_TMP/stderr 58 mkdir $(dirname $write_file)/2 2> $CPUSET_TMP/stderr 60 write_result="$(cat "$(dirname $write_file)/2/$(basename $write_file)")"
|
/external/python/cryptography/docs/development/custom-vectors/cast5/ |
D | generate_cast5.py | 56 def write_file(data, filename): function 62 write_file(build_vectors(modes.CBC, cbc_path), "cast5-cbc.txt") 64 write_file(build_vectors(modes.OFB, ofb_path), "cast5-ofb.txt") 66 write_file(build_vectors(modes.CFB, cfb_path), "cast5-cfb.txt") 68 write_file(build_vectors(modes.CTR, ctr_path), "cast5-ctr.txt")
|
/external/toolchain-utils/cros_utils/ |
D | email_sender_unittest.py | 25 def test_x20_email_sending_rejects_invalid_inputs(self, write_file): argument 82 write_file.assert_not_called() 85 def test_x20_email_sending_translates_to_reasonable_json(self, write_file): argument 98 write_file.side_effect = actual_write_file
|
/external/python/cryptography/docs/development/custom-vectors/idea/ |
D | generate_idea.py | 51 def write_file(data, filename): function 57 write_file(build_vectors(modes.CBC, CBC_PATH), "idea-cbc.txt") 59 write_file(build_vectors(modes.OFB, OFB_PATH), "idea-ofb.txt") 61 write_file(build_vectors(modes.CFB, CFB_PATH), "idea-cfb.txt")
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/ |
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")"
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/ |
D | check_clang_tidy.py | 36 def write_file(file_name, text): function 133 write_file(temp_file_name, cleaned_test) 136 write_file(original_file_name, cleaned_test) 178 write_file(messages_file, clang_tidy_output) 193 write_file(notes_file, '\n'.join(filtered_output))
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_WriteFile.pbtxt | 4 name: "io.write_file" 7 name: "write_file"
|
/external/llvm-project/clang/test/Analysis/ |
D | check-analyzer-fixit.py | 35 def write_file(file_name, text): function 59 write_file(temp_file_name, cleaned_test) 62 write_file(original_file_name, cleaned_test)
|
/external/python/cryptography/docs/development/custom-vectors/seed/ |
D | generate_seed.py | 50 def write_file(data, filename): function 56 write_file(build_vectors(modes.OFB, OFB_PATH), "seed-ofb.txt") 58 write_file(build_vectors(modes.CFB, CFB_PATH), "seed-cfb.txt")
|
/external/python/cpython3/Lib/test/ |
D | test_shutil.py | 65 def write_file(path, content, binary=False): function 181 write_file(os.path.join(victim, 'somefile'), 'foo') 214 write_file(file1, 'foo') 256 write_file(file1, 'foo') 278 write_file((tmpdir, "tstfile"), "") 374 write_file((TESTFN, 'foo'), 'foo') 446 write_file((src_dir, 'test.txt'), '123') 448 write_file((src_dir, 'test_dir', 'test.txt'), '456') 466 write_file((src_dir, 'nonexisting.txt'), '123') 469 write_file((dst_dir, 'existing_dir', 'existing.txt'), 'will be replaced') [all …]
|
/external/antlr/runtime/Perl5/t/lib/ANTLR/Runtime/ |
D | Test.pm | 28 sub write_file { subroutine 69 write_file($grammar_file, $grammar); 73 write_file($test_program_file, $test_program);
|