Home | History | Annotate | Download | only in src

Lines Matching refs:sd

1762     SAVESTREAM sd;
1766 memset(&sd, 0, sizeof(sd));
1768 sd.stream = fopen(cFileName, "wt");
1769 if (!sd.stream) return FALSE;
1774 WriteHeader(it8, &sd);
1775 WriteDataFormat(&sd, it8);
1776 WriteData(&sd, it8);
1779 if (fclose(sd
1788 SAVESTREAM sd;
1792 memset(&sd, 0, sizeof(sd));
1794 sd.stream = NULL;
1795 sd.Base = (cmsUInt8Number*) MemPtr;
1796 sd.Ptr = sd.Base;
1798 sd.Used = 0;
1800 if (sd.Base)
1801 sd.Max = *BytesNeeded; // Write to memory?
1803 sd.Max = 0; // Just counting the needed bytes
1808 WriteHeader(it8, &sd);
1809 WriteDataFormat(&sd, it8);
1810 WriteData(&sd, it8);
1813 sd.Used++; // The \0 at the very end
1815 if (sd.Base)
1816 *sd.Ptr = 0;
1818 *BytesNeeded = sd.Used;