Home
last modified time | relevance | path

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

/external/libcups/filter/
Drastertolabel.c66 unsigned char *CompBuffer; /* Compression buffer */ variable
294 CompBuffer = malloc(2 * header->cupsBytesPerLine + 1); in StartPage()
421 CompBuffer = malloc(2 * header->cupsBytesPerLine + 1); in StartPage()
699 if (CompBuffer) in EndPage()
701 free(CompBuffer); in EndPage()
702 CompBuffer = NULL; in EndPage()
816 for (ptr = Buffer, compptr = CompBuffer, i = header->cupsBytesPerLine; in OutputLine()
830 for (compptr = CompBuffer + 1, repeat_char = CompBuffer[0], repeat_count = 1; in OutputLine()
924 comp_ptr = CompBuffer; in PCLCompress()
1021 printf("\033*b%dW", (int)(comp_ptr - CompBuffer)); in PCLCompress()
[all …]
Drastertohp.c35 *CompBuffer, /* Compression buffer */ variable
346 CompBuffer = malloc(header->cupsBytesPerLine * 2 + 2); in StartPage()
348 CompBuffer = NULL; in StartPage()
389 if (CompBuffer) in EndPage()
390 free(CompBuffer); in EndPage()
457 for (line_ptr = line, comp_ptr = CompBuffer; in CompressData()
471 line_ptr = CompBuffer; in CompressData()
482 comp_ptr = CompBuffer; in CompressData()
540 line_ptr = CompBuffer; in CompressData()
Drastertoepson.c54 *CompBuffer, /* Compression buffer */ variable
299 if ((CompBuffer = calloc(2, header->cupsWidth + 1)) == NULL) in StartPage()
306 CompBuffer = NULL; in StartPage()
369 if (CompBuffer) in EndPage()
370 free(CompBuffer); in EndPage()
492 comp_ptr = CompBuffer; in CompressData()
550 line_ptr = CompBuffer; in CompressData()
638 temp = CompBuffer; in OutputLine()
679 for (width = header->cupsWidth, tempptr = CompBuffer; in OutputLine()
700 for (width = header->cupsWidth, tempptr = CompBuffer, in OutputLine()
[all …]