Home
last modified time | relevance | path

Searched refs:printf_buffer (Results 1 – 1 of 1) sorted by relevance

/external/libcups/cups/
Dfile.c58 char *printf_buffer; /* cupsFilePrintf buffer */ member
459 if (fp->printf_buffer) in cupsFileClose()
460 free(fp->printf_buffer); in cupsFileClose()
1363 if (!fp->printf_buffer) in cupsFilePrintf()
1369 if ((fp->printf_buffer = malloc(1024)) == NULL) in cupsFilePrintf()
1376 bytes = vsnprintf(fp->printf_buffer, fp->printf_size, format, ap); in cupsFilePrintf()
1391 if ((temp = realloc(fp->printf_buffer, (size_t)(bytes + 1))) == NULL) in cupsFilePrintf()
1394 fp->printf_buffer = temp; in cupsFilePrintf()
1398 bytes = vsnprintf(fp->printf_buffer, fp->printf_size, format, ap); in cupsFilePrintf()
1404 if (cups_write(fp, fp->printf_buffer, (size_t)bytes) < 0) in cupsFilePrintf()
[all …]