Lines Matching defs:cp
38 _TIFFprintAsciiBounded(FILE* fd, const char* cp, size_t max_chars);
391 char* cp;
395 for (cp = td->td_inknames;
396 i > 0 && cp < td->td_inknames + td->td_inknameslen;
397 cp = strchr(cp,'\0')+1, i--) {
399 td->td_inknameslen - (cp - td->td_inknames);
401 _TIFFprintAsciiBounded(fd, cp, max_chars);
676 _TIFFprintAscii(FILE* fd, const char* cp)
678 _TIFFprintAsciiBounded( fd, cp, strlen(cp));
682 _TIFFprintAsciiBounded(FILE* fd, const char* cp, size_t max_chars)
684 for (; max_chars > 0 && *cp != '\0'; cp++, max_chars--) {
687 if (isprint((int)*cp)) {
688 fputc(*cp, fd);
692 if (*tp++ == *cp)
697 fprintf(fd, "\\%03o", *cp & 0xff);