Searched refs:tmp_file (Results 1 - 14 of 14) sorted by relevance
/third_party/node/deps/v8/tools/unittests/ |
H A D | compare_torque_output_test.py | 20 fd, self.tmp_file = tempfile.mkstemp() 28 COMPARE_SCRIPT, file1, file2, self.tmp_file 55 os.unlink(self.tmp_file)
|
/third_party/node/deps/v8/tools/ |
H A D | disasm.py | 65 tmp_file = tempfile.NamedTemporaryFile(prefix=".v8code", delete=False) 66 tmp_name = tmp_file.name 67 tmp_file.close()
|
H A D | android-run.py | 84 tmp_file = open(fname, "w") 85 tmp_file.write(data) 86 tmp_file.close()
|
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
H A D | ima_keys.sh | 54 local test_file="file.txt" tmp_file="file2.txt" 58 check_keys_policy "$pattern" > $tmp_file || return 59 keycheck_lines=$(cat $tmp_file)
|
H A D | ima_selinux.sh | 65 local tmp_file="$TST_TMPDIR/selinux_policy_tmp_file.txt" 103 local tmp_file="$TST_TMPDIR/selinux_state_tmp_file.txt"
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | common.py | 366 self.tmp_file = os.fdopen(tmp_fd, "wb") 373 # Delegate everything else to self.tmp_file 374 return getattr(self.tmp_file, attrname) 379 self.tmp_file.close() 420 self.tmp_file.write(s.encode("utf-8"))
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | common.py | 359 self.tmp_file = os.fdopen(tmp_fd, "wb") 366 # Delegate everything else to self.tmp_file 367 return getattr(self.tmp_file, attrname) 372 self.tmp_file.close() 413 self.tmp_file.write(s.encode("utf-8"))
|
/third_party/libabigail/tools/ |
H A D | abilint.cc | 857 temp_file_sptr tmp_file = temp_file::create(); in main() 858 if (!tmp_file) in main() 864 std::ostream& of = opts.diff ? tmp_file->get_stream() : cout; in main() 907 string cmd = "diff -u " + opts.file_path + " " + tmp_file->get_path(); in main()
|
H A D | abidw.cc | 713 temp_file_sptr tmp_file = temp_file::create(); in load_corpus_and_write_abixml() local 714 set_ostream(*write_ctxt, tmp_file->get_stream()); in load_corpus_and_write_abixml() 716 tmp_file->get_stream().flush(); in load_corpus_and_write_abixml() 721 opts.type_id_file_path = tmp_file->get_path() + string(".typeid"); in load_corpus_and_write_abixml() 725 fe_iface_sptr rdr = abixml::create_reader(tmp_file->get_path(), env); in load_corpus_and_write_abixml()
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_register_allocation.cpp | 1353 RegisterFile tmp_file(reg_file); in get_reg_impl() 1359 tmp_file.fill(op); in get_reg_impl() 1363 std::vector<unsigned> vars = collect_vars(ctx, tmp_file, best_win); in get_reg_impl() 1369 tmp_file.fill(op); in get_reg_impl() 1374 if (!get_regs_for_copies(ctx, tmp_file, pc, vars, bounds, instr, best_win)) in get_reg_impl() 1825 RegisterFile tmp_file(reg_file); in get_reg_create_vector() 1828 tmp_file.fill(op); in get_reg_create_vector() 1832 tmp_file.clear(instr->operands[i]); in get_reg_create_vector() 1836 std::vector<unsigned> vars = collect_vars(ctx, tmp_file, PhysRegInterval{best_pos, size}); in get_reg_create_vector() 1841 get_regs_for_copies(ctx, tmp_file, p in get_reg_create_vector() [all...] |
/third_party/python/Lib/ |
H A D | mailbox.py | 294 tmp_file = self._create_tmp() 296 self._dump_message(message, tmp_file) 298 tmp_file.close() 299 os.remove(tmp_file.name) 301 _sync_close(tmp_file) 310 uniq = os.path.basename(tmp_file.name).split(self.colon)[0] 313 os.utime(tmp_file.name, 314 (os.path.getatime(tmp_file.name), message.get_date())) 320 os.link(tmp_file.name, dest) 322 os.rename(tmp_file [all...] |
/third_party/musl/scripts/ |
H A D | runtest_Windows.bat | 39 set tmp_file=%%j
variable 40 set tmp_file_suffix=!tmp_file:~-3!
|
/third_party/python/Lib/test/ |
H A D | test_urllib.py | 531 fd, tmp_file = tempfile.mkstemp() 532 tmp_fileurl = 'file://localhost/' + tmp_file.replace(os.path.sep, '/') 534 self.assertTrue(os.path.exists(tmp_file)) 539 os.unlink(tmp_file) 540 self.assertFalse(os.path.exists(tmp_file))
|
H A D | test_mailbox.py | 758 tmp_file = self._box._create_tmp() 759 head, tail = os.path.split(tmp_file.name) 784 tmp_file.write(_bytes_sample_message) 785 tmp_file.seek(0) 786 self.assertEqual(tmp_file.read(), _bytes_sample_message) 787 tmp_file.close()
|
Completed in 16 milliseconds