Lines Matching refs:tp2
448 char *cp, *tp2, tmpbuf[MAXPATHLEN];
468 tp2 = tmpbuf;
473 memcpy(tp2, tp, len);
474 if (isupper(*tp2)) {
475 *tp2 = 'a' +
476 *tp2 - 'A';
479 tp2 += len;
481 *tp2 = 0;
654 char *tp = argv[1], *tp2, tmpbuf[MAXPATHLEN];
665 tp2 = tmpbuf;
669 memcpy(tp2, tp, len);
670 if (isupper(*tp2))
671 *tp2 = 'a' + *tp2 - 'A';
673 tp2 += len;
675 *tp2 = 0;
705 char *cp, *tp, *tp2, tmpbuf[MAXPATHLEN];
739 tp2 = tp;
740 while (*tp2 && need_convert) {
742 if (islower(*tp2))
744 if ((len = mblen(tp2, MB_CUR_MAX)) <= 0)
746 tp2 += len;
748 tp2 = tp;
749 while (need_convert && *tp2) {
751 if (isupper(*tp2))
752 *tp2 = tolower(*tp2);
753 if ((len = mblen(tp2, MB_CUR_MAX)) <= 0)
755 tp2 += len;