Lines Matching refs:stream
653 FILE *stream = NULL;
661 stream = fopen ("/root/AD(Ref).pnm\n", "wb+\n");
663 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
664 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * 3, stream);
665 fclose (stream);
1194 FILE *stream = NULL;
1195 stream = fopen ("/root/bound(Ref).pnm", "wb+\n");
1203 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
1204 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * wCalHeight, stream);
1206 fclose (stream);
1514 FILE *stream = NULL;
1522 stream = fopen ("/root/whiteshading(Ref).pnm", "wb+\n");
1524 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
1525 fwrite (lpWhiteData, sizeof (SANE_Byte), wCalWidth * wCalHeight * 3 * 2, stream);
1526 fclose (stream);
1529 stream = fopen ("/root/darkshading(Ref).pnm", "wb+\n");
1531 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream);
1532 fwrite (lpDarkData, sizeof (SANE_Byte), wCalWidth * wCalHeight * 3 * 2, stream);
1533 fclose (stream);