Searched refs:comp_ptr (Results 1 – 3 of 3) sorted by relevance
/external/libcups/filter/ |
D | rastertohp.c | 435 *comp_ptr, /* Pointer into compression buffer */ in CompressData() local 457 for (line_ptr = line, comp_ptr = CompBuffer; in CompressData() 459 comp_ptr += 2, line_ptr += count) in CompressData() 467 comp_ptr[0] = (unsigned char)(count - 1); in CompressData() 468 comp_ptr[1] = line_ptr[0]; in CompressData() 472 line_end = comp_ptr; in CompressData() 482 comp_ptr = CompBuffer; in CompressData() 492 *comp_ptr++ = 0x00; in CompressData() 493 *comp_ptr++ = *line_ptr++; in CompressData() 512 *comp_ptr++ = (unsigned char)(257 - count); in CompressData() [all …]
|
D | rastertoepson.c | 420 unsigned char *comp_ptr, /* Pointer into compression buffer */ in CompressData() local 440 for (comp_ptr = (unsigned char *)line; comp_ptr < line_end;) in CompressData() 446 temp = *comp_ptr; in CompressData() 467 *comp_ptr++ = temp; in CompressData() 474 if ((temp & 0x01) && comp_ptr < line_end && *comp_ptr & 0x80) in CompressData() 475 *comp_ptr &= 0x7f; in CompressData() 492 comp_ptr = CompBuffer; in CompressData() 502 *comp_ptr++ = 0x00; in CompressData() 503 *comp_ptr++ = *line_ptr++; in CompressData() 522 *comp_ptr++ = (unsigned char)(257 - count); in CompressData() [all …]
|
D | rastertolabel.c | 910 *comp_ptr, /* Pointer into compression buffer */ in PCLCompress() local 924 comp_ptr = CompBuffer; in PCLCompress() 993 *comp_ptr++ = (unsigned char)(((count - 1) << 5) | 31); in PCLCompress() 998 *comp_ptr++ = 255; in PCLCompress() 1002 *comp_ptr++ = (unsigned char)offset; in PCLCompress() 1010 *comp_ptr++ = (unsigned char)(((count - 1) << 5) | offset); in PCLCompress() 1013 memcpy(comp_ptr, start, count); in PCLCompress() 1014 comp_ptr += count; in PCLCompress() 1021 printf("\033*b%dW", (int)(comp_ptr - CompBuffer)); in PCLCompress() 1022 fwrite(CompBuffer, (size_t)(comp_ptr - CompBuffer), 1, stdout); in PCLCompress()
|