Lines Matching defs:scratch
1834 char *scratch = data->state.scratch;
1839 /* Do we need to allocate a scratch buffer? */
1840 if(!scratch || data->set.crlf) {
1841 oldscratch = scratch;
1843 scratch = newscratch = malloc(2 * data->set.upload_buffer_size);
1845 failf(data, "Failed to alloc scratch buffer");
1858 memcpy(scratch, data->req.upload_fromhere, offset);
1871 memcpy(&scratch[si], &SMTP_EOB[eob_sent], smtp->eob - eob_sent);
1889 memcpy(&scratch[si], &SMTP_EOB_REPL[eob_sent],
1896 scratch[si++] = data->req.upload_fromhere[i];
1901 memcpy(&scratch[si], &SMTP_EOB[eob_sent], smtp->eob - eob_sent);
1908 data->req.upload_fromhere = scratch;
1911 data->state.scratch = scratch;
1913 /* Free the old scratch buffer */