Lines Matching defs:ostream

55 					FILE * ostream,
518 FILE * ostream;
520 if ( (ostream = fopen(qtraw, "wb")) == NULL ) {
528 WriteQTRawFile( ostream, data, height, width, depth, pixels );
529 fclose(ostream);
560 FILE * ostream;
563 if ( (ostream = fopen(kraw, "wb")) == NULL ) {
573 fwrite(&sum, sizeof(sum), 1, ostream);
576 fwrite(&encodedSize, sizeof(encodedSize), 1, ostream);
578 fwrite(&tag, sizeof(tag), 1, ostream);
579 fwrite(&width, sizeof(width), 1, ostream);
580 fwrite(&height, sizeof(height), 1, ostream);
581 fwrite(&depth, sizeof(depth), 1, ostream);
582 fwrite(&lines, sizeof(lines), 1, ostream);
583 fwrite(&fg, sizeof(fg), 1, ostream);
584 fwrite(&bg, sizeof(bg), 1, ostream);
585 fwrite(fileArr, encodedSize, 1, ostream);
597 fwrite(arr, 3, 1, ostream);
599 fclose(ostream);
1444 FILE * ostream;
1448 if ( (ostream = fopen(oname, "w")) == NULL ) {
1454 fprintf(ostream, "// This Clut was generated from %s\n", (clutin)?clutin:"built-in appleClut8");
1455 fprintf(ostream, "unsigned int appleClut8[256] = {\n");
1458 if ( (i % 16) == 0 ) fprintf(ostream, "// %02X\n", i);
1459 fprintf(ostream, "\t0x%06X, 0x%06X, 0x%06X, 0x%06X, 0x%06X, 0x%06X, 0x%06X, 0x%06X%s\n",
1463 fprintf(ostream, "};\n");
1464 fclose(ostream);
1468 WriteQTRawFile( FILE * ostream, unsigned char * data, int height, int width, int depth, unsigned int size )
1484 fwrite(&tmp, sizeof(unsigned int), 1, ostream);
1487 fwrite(&tmp, sizeof(unsigned int), 1, ostream);
1494 fwrite(data++, 1, 1, ostream);
1497 fwrite(&data[-1], 1, 1, ostream);
1500 fwrite(data, csize, 1, ostream);
1503 fwrite(&tmp, sizeof(unsigned int), 1, ostream);
1505 fwrite(&tmp, sizeof(unsigned int), 1, ostream);
1526 fwrite(&image_header, sizeof(image_header)-2, 1, ostream);
1533 FILE * ostream;
1550 if ( (ostream = fopen(name, "wb")) == NULL ) {
1580 WriteQTRawFile( ostream, (unsigned char *) raw_clut, H, 256*W, D, H*256*W*D );
1582 fclose(ostream);
1589 FILE * ostream;
1593 if ( (ostream = fopen("font.qtif", "wb")) == NULL ) {
1619 WriteQTRawFile( ostream, (unsigned char *) fonts, 16, 256*8, 1, 16*256*8 );
1620 fclose(ostream);