Lines Matching defs:buffer
57 JOCTET * buffer; /* start of buffer */
75 /* Allocate the output buffer --- it will be released when done with image */
76 dest->buffer = (JOCTET *)
79 dest->pub.next_output_byte = dest->buffer;
85 * Empty the output buffer --- called whenever buffer fills up.
87 * In typical applications, this should write the entire output buffer
89 * reset the pointer & count to the start of the buffer, and return TRUE
90 * indicating that the buffer has been dumped.
93 * overrun, a FALSE return indicates that the buffer cannot be emptied now.
97 * output buffer. Note that there are substantial restrictions on the use of
104 * write it out when emptying the buffer externally.
112 if (dest->outfile->Write(dest->buffer, OUTPUT_BUF_SIZE) != (ssize_t) OUTPUT_BUF_SIZE)
115 dest->pub.next_output_byte = dest->buffer;
124 * after all data has been written. Usually needs to flush buffer.
137 /* Write any data remaining in the buffer */
139 if (dest->outfile->Write(dest->buffer, datacount) != (ssize_t) datacount)