Lines Matching refs:stream
204 FILE * stream, *out_stream;
311 stream = fopen(file, "r");
312 if (!stream) {
321 fread((void *) &hdr_off, sizeof(long), 1, stream);
322 fread((void *) &hdr_type, sizeof(long), 1, stream);
326 fseek(stream, hdr_off, SEEK_SET);
327 fread((void *) &hdr_off, sizeof(long), 1, stream);
328 fread((void *) &hdr_type, sizeof(long), 1, stream);
332 fread((void *) &image_header, sizeof(image_header), 1, stream);
354 fseek(stream, 8, SEEK_SET);
355 fread((void *) data, image_header.dataSize, 1, stream);
356 fclose( stream );
413 stream = fopen(whdname, "r");
414 if (!stream) {
419 fread(&image, sizeof(image), 1, stream);
444 fread(fileArr, image.pd_dataSize, 1, stream);
445 fclose(stream);
1421 FILE * stream;
1425 if ( (stream = fopen(iname, "rb")) == NULL ) {
1431 fread(raw_clut, 256, 3, stream);
1432 fclose(stream);