Home
last modified time | relevance | path

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

/external/parameter-framework/test/functional-tests/PfwTestCase/Domains/
DtDomain_Split.py71 self.temp_file="f_temp_file"
75 if os.path.exists(self.temp_file):
76 os.remove(self.temp_file)
115 f_temp_file = open(self.temp_file, "w")
120 for line in open(self.temp_file, "r"):
126 os.remove(self.temp_file)
132 f_temp_file = open(self.temp_file, "w")
138 for line in open(self.temp_file, "r"):
155 os.remove(self.temp_file)
178 f_temp_file = open(self.temp_file, "w")
[all …]
/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()
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
/external/parameter-framework/test/functional-tests/PfwTestCase/Functions/
DtFunction_listingFunctions.py64 self.temp_file="tempfile"
71 if os.path.exists(self.temp_file):
72 os.remove(self.temp_file)
316 f_temp_file = open(self.temp_file, "w")
321 f_temp_file = open(self.temp_file, "r")
368 f_temp_file = open(self.temp_file, "w")
373 f_temp_file = open(self.temp_file, "r")
420 f_temp_file = open(self.temp_file, "w")
425 f_temp_file = open(self.temp_file, "r")
469 f_temp_file = open(self.temp_file, "w")
[all …]
/external/google-breakpad/src/tools/windows/symupload/
Dsymupload.cc133 FILE *temp_file = NULL; in DumpSymbolsToTempFile() local
135 if (_wfopen_s(&temp_file, temp_filename, L"w") != 0) in DumpSymbolsToTempFile()
139 if (!(temp_file = _wfopen(temp_filename, L"w"))) in DumpSymbolsToTempFile()
145 bool success = writer.WriteMap(temp_file); in DumpSymbolsToTempFile()
146 fclose(temp_file); in DumpSymbolsToTempFile()
/external/linux-tools-perf/src/tools/perf/util/
Dtrace-event-info.c517 snprintf(tdata->temp_file, sizeof(tdata->temp_file), in tracing_data_get()
519 if (!mkstemp(tdata->temp_file)) { in tracing_data_get()
524 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get()
526 pr_debug("Can't read '%s'", tdata->temp_file); in tracing_data_get()
579 err = record_file(tdata->temp_file, 0); in tracing_data_put()
580 unlink(tdata->temp_file); in tracing_data_put()
Dtrace-event.h52 char temp_file[50]; member
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/vinn/
Dd8_runner.py164 temp_file = os.path.join(temp_dir, '%s.js' % name)
166 temp_file = os.path.join(temp_dir, 'temp_program.js')
167 with open(temp_file, 'w') as f:
169 return RunFile(temp_file, source_paths, js_args, stdout, stdin)
/external/pdfium/core/src/fxcodec/libjpeg/
Djmemsys.h132 FXSYS_FILE * temp_file; /* stdio reference to temp file */ member
/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()