Home
last modified time | relevance | path

Searched refs:tmp_file (Results 1 – 18 of 18) sorted by relevance

/third_party/ffmpeg/
Dohos_config.sh72 tmp_file=".tmpfile"
74 sed 's/#define av_restrict restrict/#define av_restrict/' ./config.h >$tmp_file
75 mv $tmp_file ./config.h
78 sed '/^#define FFMPEG_CONFIGURATION/d' ./config.h >$tmp_file
79 mv $tmp_file ./config.h
82 head -3 config.h > $tmp_file
83 echo "#define FFMPEG_CONFIGURATION \"${FF_CONFIG_OPTIONS}\"" >> $tmp_file
84 tail -$tail_line config.h >> $tmp_file
85 mv $tmp_file ./config.h
90 sed '/^BUILD_ROOT=/d' ./ffbuild/config.mak > $tmp_file
[all …]
/third_party/glib/gio/tests/
Dreadwrite.c141 char *tmp_file; in test_g_file_open_readwrite() local
150 &tmp_file, NULL); in test_g_file_open_readwrite()
154 res = g_file_set_contents (tmp_file, in test_g_file_open_readwrite()
168 file = g_file_new_for_path (tmp_file); in test_g_file_open_readwrite()
178 g_unlink (tmp_file); in test_g_file_open_readwrite()
179 g_free (tmp_file); in test_g_file_open_readwrite()
185 char *tmp_file; in test_g_file_create_readwrite() local
195 &tmp_file, NULL); in test_g_file_create_readwrite()
199 file = g_file_new_for_path (tmp_file); in test_g_file_create_readwrite()
206 g_unlink (tmp_file); in test_g_file_create_readwrite()
[all …]
/third_party/openssl/test/recipes/
D80-test_ssl_new.t122 my $tmp_file = "${conf}.$$.tmp";
132 stdout => $tmp_file)),
140 $run_test = is(cmp_text($tmp_file, $conf_file), 0,
148 ok(run(test(["ssl_test", $tmp_file])), "running ssl_test $conf");
151 unlink glob $tmp_file;
/third_party/flutter/skia/infra/skqp/
Drun_skqp.sh27 tmp_file="$(mktemp "${TMPDIR:-/tmp}/skqp.XXXXXXXXXX")"
29 adb shell am instrument -w org.skia.skqp | tee "$tmp_file" | fold -s
33 if ! grep -q '^OK ' "$tmp_file"; then
/third_party/glib/gio/
Dglib-compile-resources.c219 char *tmp_file = NULL; in end_element() local
326 fd = g_file_open_tmp ("resource-XXXXXXXX", &tmp_file, error); in end_element()
333 … xmllint, "--nonet", "--noblanks", "--output", tmp_file, real_file, NULL); in end_element()
348 real_file = g_strdup (tmp_file); in end_element()
383 fd = g_file_open_tmp ("resource-XXXXXXXX", &tmp_file, error); in end_element()
390 jsonformat, "--output", tmp_file, real_file, NULL); in end_element()
405 real_file = g_strdup (tmp_file); in end_element()
431 fd = g_file_open_tmp ("resource-XXXXXXXX", &tmp_file, error); in end_element()
438 gdk_pixbuf_pixdata, real_file, tmp_file, NULL); in end_element()
450 real_file = g_strdup (tmp_file); in end_element()
[all …]
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_keys.sh58 local test_file="file.txt" tmp_file="file2.txt"
62 check_keys_policy "$pattern" > $tmp_file || return
63 keycheck_lines=$(cat $tmp_file)
Dima_selinux.sh68 local tmp_file="$TST_TMPDIR/selinux_policy_tmp_file.txt"
106 local tmp_file="$TST_TMPDIR/selinux_state_tmp_file.txt"
/third_party/mindspore/scripts/map_dump_file_to_code/
Dmap_file_to_code.py48 tmp_file = os.path.join(ir_file, filename)
49 tmp_file_size = os.path.getsize(tmp_file)
52 map_ir_file = tmp_file
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck_msg.c241 char *tmp_file = tempnam (tmp, "check_"); in open_tmp_file() local
253 char *uniq_tmp_file = ck_strdup_printf ("%s.%d", tmp_file, getpid ()); in open_tmp_file()
257 free (tmp_file); in open_tmp_file()
/third_party/cef/libcef/browser/native/
Dbrowser_platform_delegate_native_win.cc50 base::FilePath tmp_file; in WriteTempFileAndView() local
51 if (!base::CreateTemporaryFile(&tmp_file)) in WriteTempFileAndView()
56 tmp_file = tmp_file.AddExtension(L"txt"); in WriteTempFileAndView()
59 int write_ct = base::WriteFile(tmp_file, data.c_str(), data.size()); in WriteTempFileAndView()
62 ui::win::OpenFileViaShell(tmp_file); in WriteTempFileAndView()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dcommon.py358 self.tmp_file = os.fdopen(tmp_fd, 'wb')
366 return getattr(self.tmp_file, attrname)
371 self.tmp_file.close()
410 self.tmp_file.write(s.encode('utf-8'))
/third_party/node/tools/gyp/pylib/gyp/
Dcommon.py371 self.tmp_file = os.fdopen(tmp_fd, "wb")
379 return getattr(self.tmp_file, attrname)
384 self.tmp_file.close()
425 self.tmp_file.write(s.encode("utf-8"))
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp1263 RegisterFile tmp_file(reg_file); in get_reg_impl() local
1264 std::set<std::pair<unsigned, unsigned>> vars = collect_vars(ctx, tmp_file, best_win); in get_reg_impl()
1276 tmp_file.clear(op); in get_reg_impl()
1278 tmp_file.fill(op); in get_reg_impl()
1287 tmp_file.fill(op); in get_reg_impl()
1292 if (!get_regs_for_copies(ctx, tmp_file, pc, vars, bounds, instr, best_win)) in get_reg_impl()
1729 RegisterFile tmp_file(reg_file); in get_reg_create_vector() local
1734 tmp_file.fill(instr->operands[i]); in get_reg_create_vector()
1739 collect_vars(ctx, tmp_file, PhysRegInterval{best_pos, size}); in get_reg_create_vector()
1753 tmp_file.clear(instr->operands[i]); in get_reg_create_vector()
[all …]
/third_party/python/Lib/
Dmailbox.py294 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.name, dest)
[all …]
/third_party/python/Lib/test/
Dtest_urllib.py531 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))
Dtest_mailbox.py753 tmp_file = self._box._create_tmp()
754 head, tail = os.path.split(tmp_file.name)
779 tmp_file.write(_bytes_sample_message)
780 tmp_file.seek(0)
781 self.assertEqual(tmp_file.read(), _bytes_sample_message)
782 tmp_file.close()
/third_party/python/Doc/howto/
Durllib2.rst68 with tempfile.NamedTemporaryFile(delete=False) as tmp_file:
69 shutil.copyfileobj(response, tmp_file)
71 with open(tmp_file.name) as html:
/third_party/openssl/test/
DREADME.ssltest.md245 unlink glob $tmp_file;