Lines Matching defs:cp
38 _TIFFprintAsciiBounded(FILE* fd, const char* cp, int max_chars);
389 char* cp;
393 for (cp = td->td_inknames;
394 i > 0 && cp < td->td_inknames + td->td_inknameslen;
395 cp = strchr(cp,'\0')+1, i--) {
397 td->td_inknameslen - (cp - td->td_inknames);
399 _TIFFprintAsciiBounded(fd, cp, max_chars);
674 _TIFFprintAscii(FILE* fd, const char* cp)
676 _TIFFprintAsciiBounded( fd, cp, strlen(cp));
680 _TIFFprintAsciiBounded(FILE* fd, const char* cp, int max_chars)
682 for (; max_chars > 0 && *cp != '\0'; cp++, max_chars--) {
685 if (isprint((int)*cp)) {
686 fputc(*cp, fd);
690 if (*tp++ == *cp)
695 fprintf(fd, "\\%03o", *cp & 0xff);