Home
last modified time | relevance | path

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

/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 FILE * temp_file; /* stdio reference to temp file */ member
/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/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()