Lines Matching refs:stream
688 FILE *stream = NULL;
697 stream = fopen ("/root/AD(Tra).pnm", "wb+\n");
699 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
700 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * 3, stream);
701 fclose (stream);
1184 FILE *stream = NULL;
1191 stream = fopen ("/root/bound(Tra).pnm", "wb+\n");
1193 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
1194 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * wCalHeight, stream);
1195 fclose (stream);
1368 FILE *stream = NULL;
1375 stream = fopen ("/root/whiteshading(Tra).pnm", "wb+\n");
1377 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
1378 fwrite (lpWhiteData, sizeof (SANE_Byte), wCalWidth * wCalHeight * 3 * 2, stream);
1379 fclose (stream);
1382 stream = fopen ("/root/darkshading(Tra).pnm", "wb+\n");
1384 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
1385 fwrite (lpDarkData, sizeof (SANE_Byte), wCalWidth * wCalHeight * 3 * 2, stream);
1386 fclose (stream);