Lines Matching refs:buffer
29 JOCTET * buffer; /* start of buffer */
47 /* Allocate the output buffer --- it will be released when done with image */
48 dest->buffer = (JOCTET *)
52 dest->pub.next_output_byte = dest->buffer;
58 * Empty the output buffer --- called whenever buffer fills up.
60 * In typical applications, this should write the entire output buffer
62 * reset the pointer & count to the start of the buffer, and return TRUE
63 * indicating that the buffer has been dumped.
66 * overrun, a FALSE return indicates that the buffer cannot be emptied now.
70 * output buffer. Note that there are substantial restrictions on the use of
77 * write it out when emptying the buffer externally.
85 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) !=
89 dest->pub.next_output_byte = dest->buffer;
98 * after all data has been written. Usually needs to flush buffer.
111 /* Write any data remaining in the buffer */
113 if (JFWRITE(dest->outfile, dest->buffer, datacount) != datacount)