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/
H A 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/
H A 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/
H A 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')
H A 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')
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Dima_keys.sh108 local temp_file="file.txt"
125 tst_hexdump -d > $temp_file
127 if [ ! -s $temp_file ]; then
132 if ! openssl x509 -in $temp_file -inform der > /dev/null; then
137 if cmp -s $temp_file $cert_file; then
/third_party/gn/src/util/
H A Datomic_write.cc18 base::File temp_file = in WriteFileAtomically() local
20 if (!temp_file.IsValid()) { in WriteFileAtomically()
23 if (temp_file.WriteAtCurrentPos(data, size) != size) { in WriteFileAtomically()
/third_party/libabigail/include/
H A Dabg-tools-utils.h125 class temp_file;
127 /// Convenience typedef for a shared_ptr to @ref temp_file.
128 typedef shared_ptr<temp_file> temp_file_sptr;
138 /// When the instance of @ref temp_file is destroyed, the underlying
141 class temp_file class
146 temp_file();
161 }; // end class temp_file
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djmemsys.h140 short temp_file; /* file reference number to temp file */ member
145 FILE *temp_file; /* stdio reference to temp file */ member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
H A Dgen_mtl_internal_shaders.py112 with open(temp_fname, 'wb') as temp_file:
115 temp_file.write(include_str.encode('utf-8'))
/third_party/vixl/tools/
H A Dclang_format.py112 temp_file, temp_file_name = tempfile.mkstemp(prefix = 'clang_format_')
115 stdout = temp_file, stderr = subprocess.STDOUT)
139 subprocess.run(cmd_format, stdout=temp_file, stderr=subprocess.STDOUT)
/third_party/PyYAML/tests/lib/
H A Dtest_yaml_ext.py251 with tempfile.TemporaryFile() as temp_file:
253 temp_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/gn/src/base/files/
H A Dfile_util_win.cc286 File CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) { in CreateAndOpenTemporaryFileInDir() argument
320 *temp_file = in CreateAndOpenTemporaryFileInDir()
324 *temp_file = std::move(temp_name); in CreateAndOpenTemporaryFileInDir()
H A Dfile_util.h186 // |temp_file| is populated with the full path to the created file.
187 File CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* temp_file);
H A Dfile_util_posix.cc389 File CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) { in CreateAndOpenTemporaryFileInDir() argument
390 ScopedFD fd = CreateAndOpenFdForTemporaryFileInDir(dir, temp_file); in CreateAndOpenTemporaryFileInDir()
/third_party/python/Lib/test/
H A Dtest_fileinput.py320 temp_file = self.writeTmp(b'Initial text.', mode='wb')
321 with FileInput(temp_file, mode='rb', inplace=True) as fobj:
326 with open(temp_file, 'rb') as f:
330 temp_file = self.writeTmp(b'Initial text \x88', mode='wb')
331 with FileInput(temp_file, inplace=True,
336 with open(temp_file, 'rb') as f:
H A Dtest_shutil.py1804 # Give the temp_file an ".exe" suffix for all.
1806 self.temp_file = tempfile.NamedTemporaryFile(dir=self.temp_dir,
1809 os.chmod(self.temp_file.name, stat.S_IXUSR)
1810 self.addCleanup(self.temp_file.close)
1811 self.dir, self.file = os.path.split(self.temp_file.name)
1819 self.assertEqual(rv, self.temp_file.name)
1824 rv = shutil.which(self.temp_file.name, path=self.temp_dir)
1825 self.assertEqual(rv, self.temp_file.name)
1855 os.chmod(self.temp_file.name, stat.S_IREAD)
1856 if os.access(self.temp_file
[all...]
/third_party/libabigail/src/
H A Dabg-tools-utils.cc1301 /// The private data of the @ref temp_file type.
1302 struct temp_file::priv
1338 /// Default constructor of @ref temp_file.
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()
1369 /// is invoked on an instance of @ref temp_file that is not usable.
1371 /// temp_file::is_good() member function on it first.
1375 temp_file
[all...]
/third_party/libabigail/tools/
H A Dabilint.cc854 using abigail::tools_utils::temp_file; in main()
857 temp_file_sptr tmp_file = temp_file::create(); in main()
H A 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/
H A Drequest.py288 for temp_file in _url_tempfiles:
290 os.unlink(temp_file)

Completed in 28 milliseconds