Lines Matching refs:stream
13 void create_numbers_file( FILE *stream, char *outfile );
34 FILE * stream, *out_stream;
78 stream = fopen(numsfile, "r");
79 if (!stream) {
83 create_numbers_file( stream, numsout );
84 fclose(stream);
92 stream = fopen(file, "r");
93 if (!stream) {
100 fread((void *) &width, sizeof(short), 1, stream);
102 fread((void *) &height, sizeof(short), 1, stream);
104 fread((void *) &depth, sizeof(short), 1, stream);
124 nextP = fgetc(stream);
146 fclose( stream );
208 create_numbers_file( FILE *stream, char *outfile )
224 fread((void *) &totalwidth, sizeof(short), 1, stream);
226 fread((void *) &height, sizeof(short), 1, stream);
228 fread((void *) &depth, sizeof(short), 1, stream);
251 nextP = fgetc( stream );