Home
last modified time | relevance | path

Searched refs:temp_file (Results 1 – 20 of 20) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/temp/
Dmktemp.c26 char temp_file[] = "test-XXXXXX"; in mktemp_0100() local
27 char *ret = mktemp(temp_file); in mktemp_0100()
41 char temp_file[] = "test"; in mktemp_0200() local
42 char *ret = mktemp(temp_file); in mktemp_0200()
56 char temp_file[] = "test-XX"; in mktemp_0300() local
57 char *ret = mktemp(temp_file); in mktemp_0300()
/third_party/ninja/src/
Dminidump-win32.cc38 char temp_file[MAX_PATH]; in CreateWin32MiniDump() local
39 sprintf(temp_file, "%s\\ninja_crash_dump_%lu.dmp", in CreateWin32MiniDump()
43 DeleteFileA(temp_file); in CreateWin32MiniDump()
62 HANDLE hFile = CreateFileA(temp_file, GENERIC_READ | GENERIC_WRITE, 0, NULL, in CreateWin32MiniDump()
66 temp_file, GetLastErrorString().c_str()); in CreateWin32MiniDump()
86 Warning("minidump created: %s", temp_file); in CreateWin32MiniDump()
/third_party/skia/infra/bots/buildstats/
Dbuildstats_web.py43 temp_file = input_file + '_tmp'
44 subprocess.check_call(['cp', input_file, temp_file])
45 subprocess.check_call(['gzip', temp_file])
47 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz')
Dbuildstats_wasm.py58 temp_file = input_file + '_tmp'
59 subprocess.check_call(['cp', input_file, temp_file])
60 subprocess.check_call(['gzip', temp_file])
62 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz')
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_keys.sh112 local temp_file="file.txt"
129 tst_hexdump -d > $temp_file
131 if [ ! -s $temp_file ]; then
136 if ! openssl x509 -in $temp_file -inform der > /dev/null; then
141 if cmp -s $temp_file $cert_file; then
/third_party/libabigail/include/
Dabg-tools-utils.h125 class temp_file; variable
128 typedef shared_ptr<temp_file> temp_file_sptr;
141 class temp_file
146 temp_file();
/third_party/skia/third_party/externals/libjpeg-turbo/
Djmemsys.h140 short temp_file; /* file reference number to temp file */ member
145 FILE *temp_file; /* stdio reference to temp file */ member
/third_party/vixl/tools/
Dclang_format.py96 temp_file, temp_file_name = tempfile.mkstemp(prefix = 'clang_format_')
99 stdout = temp_file, stderr = subprocess.STDOUT)
122 stdout=temp_file, stderr=subprocess.STDOUT)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dgen_mtl_internal_shaders.py112 with open(temp_fname, 'wb') as temp_file:
115 temp_file.write(include_str.encode('utf-8'))
/third_party/PyYAML/tests/lib/
Dtest_yaml_ext.py251 with tempfile.TemporaryFile() as temp_file:
253temp_file.write(bytes(('-' + (' ' * (2**SIZE_LINE-4))+ '{}\n')*(2**SIZE_ITERATION), 'utf-8'))
254 temp_file.seek(0)
255 yaml.load(temp_file, Loader=yaml.CLoader)
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstqueue2.c1486 if (QUEUE_IS_USING_TEMP_FILE (queue) && FSEEK_FILE (queue->temp_file, offset)) in gst_queue2_read_data_at_offset()
1493 res = fread (dst, 1, length, queue->temp_file); in gst_queue2_read_data_at_offset()
1505 if (ferror (queue->temp_file)) in gst_queue2_read_data_at_offset()
1507 if (feof (queue->temp_file) && length > 0) in gst_queue2_read_data_at_offset()
1780 if (queue->temp_file) in gst_queue2_open_temp_location_file()
1804 queue->temp_file = fdopen (fd, "wb+"); in gst_queue2_open_temp_location_file()
1806 if (queue->temp_file == NULL) in gst_queue2_open_temp_location_file()
1858 if (queue->temp_file == NULL) in gst_queue2_close_temp_location_file()
1863 fflush (queue->temp_file); in gst_queue2_close_temp_location_file()
1864 fclose (queue->temp_file); in gst_queue2_close_temp_location_file()
[all …]
Dgstqueue2.h152 FILE *temp_file; member
/third_party/libabigail/src/
Dabg-tools-utils.cc1302 struct temp_file::priv
1341 temp_file::temp_file() in temp_file() function in abigail::tools_utils::temp_file
1350 temp_file::is_good() const in is_good()
1358 temp_file::get_path() const in get_path()
1375 temp_file::get_stream() in get_stream()
1386 temp_file::create() in create()
1388 temp_file_sptr result(new temp_file); in create()
/third_party/python/Lib/test/
Dtest_shutil.py1746 self.temp_file = tempfile.NamedTemporaryFile(dir=self.temp_dir,
1749 os.chmod(self.temp_file.name, stat.S_IXUSR)
1750 self.addCleanup(self.temp_file.close)
1751 self.dir, self.file = os.path.split(self.temp_file.name)
1759 self.assertEqual(rv, self.temp_file.name)
1764 rv = shutil.which(self.temp_file.name, path=self.temp_dir)
1765 self.assertEqual(rv, self.temp_file.name)
1796 os.chmod(self.temp_file.name, stat.S_IREAD)
1797 if os.access(self.temp_file.name, os.W_OK):
1819 self.assertEqual(rv, self.temp_file.name[:-4] + self.ext)
[all …]
Dtest_fileinput.py330 temp_file = self.writeTmp(b'Initial text.', mode='wb')
331 with FileInput(temp_file, mode='rb', inplace=True) as fobj:
336 with open(temp_file, 'rb') as f:
/third_party/libabigail/tools/
Dabilint.cc854 using abigail::tools_utils::temp_file; in main()
857 temp_file_sptr tmp_file = temp_file::create(); in main()
Dabidw.cc46 using abigail::tools_utils::temp_file;
713 temp_file_sptr tmp_file = temp_file::create(); in load_corpus_and_write_abixml()
/third_party/python/Lib/urllib/
Drequest.py288 for temp_file in _url_tempfiles:
290 os.unlink(temp_file)
/third_party/ffmpeg/doc/
Dmuxers.texi970 @item temp_file
/third_party/libabigail/
DChangeLog5516 * include/abg-tools-utils.h (temp_file): Likewise.
13775 * src/abg-tools-utils (temp_file::priv): remove filebuf_ member,
13778 (temp_file::priv::priv): initialize fstream_ based on
13780 (temp_file::priv::~priv): adjust destruction accordingly
13781 (temp_file::is_good): test the fstream rather than the fd
13782 (temp_file::get_stream): adjust return type to std::fstream
13783 and adjust implementation based on the changes in temp_file::priv
29179 * include/abg-tools-utils.h (abigail::tools_utils::temp_file):
29182 * src/abg-tools-utils.cc (temp_file::priv): Define new type.
29183 (temp_file::{temp_file, is_good, get_path, get_stream, create}):
[all …]