Home
last modified time | relevance | path

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

/external/qemu/distrib/jpeg-6b/
Djmemansi.c101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
103 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
116 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
125 fclose(info->temp_file); in close_backing_store()
144 if ((info->temp_file = tmpfile()) == NULL) in jpeg_open_backing_store()
Djmem-android.c103 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
105 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
116 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
118 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
127 fclose(info->temp_file); in close_backing_store()
163 if ((info->temp_file = getTempFile()) == NULL) in jpeg_open_backing_store()
Djmemname.c208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
210 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
223 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
232 fclose(info->temp_file); /* close the file */ in close_backing_store()
251 if ((info->temp_file = fopen(info->temp_name, RW_BINARY)) == NULL) in jpeg_open_backing_store()
Djmemmac.c161 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in read_backing_store()
164 retVal = FSRead ( info->temp_file, &bytes, in read_backing_store()
179 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in write_backing_store()
182 retVal = FSWrite ( info->temp_file, &bytes, in write_backing_store()
192 FSClose ( info->temp_file ); in close_backing_store()
253 osErr = FSpOpenDF ( &theSpec, fsRdWrPerm, &(info->temp_file) ); in jpeg_open_backing_store()
Djmemsys.h160 short temp_file; /* file reference number to temp file */ member
165 short temp_file; /* file reference number to temp file */ member
170 FILE * temp_file; /* stdio reference to temp file */ member
Djmem-ashmem.c116 close(info->temp_file); in close_backing_store()
134 info->temp_file = fd; in get_ashmem()
/external/jpeg/
Djmemansi.c101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
103 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
116 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
125 fclose(info->temp_file); in close_backing_store()
144 if ((info->temp_file = tmpfile()) == NULL) in jpeg_open_backing_store()
Djmem-android.c103 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
105 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
116 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
118 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
127 fclose(info->temp_file); in close_backing_store()
163 if ((info->temp_file = getTempFile()) == NULL) in jpeg_open_backing_store()
Djmemname.c208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
210 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
223 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
232 fclose(info->temp_file); /* close the file */ in close_backing_store()
251 if ((info->temp_file = fopen(info->temp_name, RW_BINARY)) == NULL) in jpeg_open_backing_store()
Djmemmac.c161 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in read_backing_store()
164 retVal = FSRead ( info->temp_file, &bytes, in read_backing_store()
179 if ( SetFPos ( info->temp_file, fsFromStart, file_offset ) != noErr ) in write_backing_store()
182 retVal = FSWrite ( info->temp_file, &bytes, in write_backing_store()
192 FSClose ( info->temp_file ); in close_backing_store()
253 osErr = FSpOpenDF ( &theSpec, fsRdWrPerm, &(info->temp_file) ); in jpeg_open_backing_store()
Djmemsys.h160 short temp_file; /* file reference number to temp file */ member
165 short temp_file; /* file reference number to temp file */ member
170 FILE * temp_file; /* stdio reference to temp file */ member
Djmem-ashmem.c117 close(info->temp_file); in close_backing_store()
135 info->temp_file = fd; in get_ashmem()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_store_file_unittest.cc33 const FilePath temp_file = in SetUp() local
35 file_util::Delete(temp_file, false); in SetUp()
63 const FilePath temp_file = in TEST_F() local
67 EXPECT_FALSE(file_util::PathExists(temp_file)); in TEST_F()
71 EXPECT_TRUE(file_util::PathExists(temp_file)); in TEST_F()
78 EXPECT_TRUE(file_util::PathExists(temp_file)); in TEST_F()
83 EXPECT_FALSE(file_util::PathExists(temp_file)); in TEST_F()
/external/webkit/Tools/Scripts/webkitpy/common/system/
Dzipfileset.py42 temp_file = NetworkTransaction().run(lambda: urllib.urlretrieve(zip_url)[0])
43 return (temp_file, zipfile.ZipFile(temp_file))
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_temp_storage_unittest.cc30 FilePath temp_file; in SetUp() local
32 file_util::CreateTemporaryFileInDir(temp_dir_.path(), &temp_file)); in SetUp()
33 local_state_.reset(PrefService::CreatePrefService(temp_file, NULL, NULL)); in SetUp()
/external/chromium/chrome/browser/history/
Dredirect_uitest.cc111 FilePath temp_file; in TEST_F() local
113 &temp_file)); in TEST_F()
115 file_util::WriteFile(temp_file, in TEST_F()
121 GURL first_url = net::FilePathToFileURL(temp_file); in TEST_F()
/external/bluetooth/glib/gio/
Dglocalfileoutputstream.c993 char *temp_file; in _g_local_file_output_stream_replace() local
999 temp_file = NULL; in _g_local_file_output_stream_replace()
1013 fd = handle_overwrite_open (filename, etag, create_backup, &temp_file, in _g_local_file_output_stream_replace()
1051 stream->priv->tmp_filename = temp_file; in _g_local_file_output_stream_replace()
/external/chromium/base/
Dfile_util_win.cc564 FilePath temp_file; in CreateTemporaryFile() local
569 if (CreateTemporaryFileInDir(*path, &temp_file)) { in CreateTemporaryFile()
570 *path = temp_file; in CreateTemporaryFile()
598 FilePath* temp_file) { in CreateTemporaryFileInDir() argument
616 *temp_file = FilePath(temp_file_str); in CreateTemporaryFileInDir()
Dfile_util.h273 FilePath* temp_file);
Dfile_util_posix.cc444 bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) { in CreateTemporaryFileInDir() argument
446 int fd = CreateAndOpenFdForTemporaryFile(dir, temp_file); in CreateTemporaryFileInDir()
/external/chromium/chrome/browser/download/
Ddownload_util.cc199 bool CreateTemporaryFileForDownload(FilePath* temp_file) { in CreateTemporaryFileForDownload() argument
201 temp_file)) in CreateTemporaryFileForDownload()
203 return file_util::CreateTemporaryFile(temp_file); in CreateTemporaryFileForDownload()
Dsave_package.cc482 FilePath temp_file; in GenerateFileName() local
483 file_util::CreateTemporaryFile(&temp_file); in GenerateFileName()
484 file_name = temp_file.RemoveExtension().BaseName().value(); in GenerateFileName()
/external/netperf/
Dnetlib.c1534 char *temp_file; in alloc_sendfile_buf_ring() local
1545 temp_file = tmpnam(NULL); in alloc_sendfile_buf_ring()
1546 if (NULL != temp_file) { in alloc_sendfile_buf_ring()
1547 fildes = open(temp_file,O_RDWR | O_EXCL | O_CREAT,0600); in alloc_sendfile_buf_ring()
1558 unlink(temp_file); in alloc_sendfile_buf_ring()
/external/chromium/net/http/
Dhttp_network_transaction_unittest.cc6148 FilePath temp_file; in TEST_F() local
6149 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file)); in TEST_F()
6151 ASSERT_TRUE(file_util::WriteFile(temp_file, temp_file_content.c_str(), in TEST_F()
6153 ASSERT_TRUE(file_util::MakeFileUnreadable(temp_file)); in TEST_F()
6157 element.SetToFilePath(temp_file); in TEST_F()
6189 file_util::Delete(temp_file, false); in TEST_F()
6203 FilePath temp_file; in TEST_F() local
6204 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file)); in TEST_F()
6207 ASSERT_TRUE(file_util::WriteFile(temp_file, temp_file_contents.c_str(), in TEST_F()
6212 element.SetToFilePath(temp_file); in TEST_F()
[all …]