Lines Matching defs:dp
577 unsigned char *cp, *dp;
587 dp = cp;
591 *dp++ = c;
606 *dp++ = *sp++;
610 memmove(dp, sp, strlen((const void *)sp) + 1);
614 *dp++ = MAGIC;
615 *dp++ = c;
617 *dp = '\0';
620 sp = dp = cp;
623 *dp++ = c;
632 *dp++ = MAGIC;
633 *dp++ = c;
635 *dp = '\0';
1306 char *cp, *dp, *ep;
1308 if (!len || !(dp = memchr(buf, '\0', len)))
1312 cp = dp;
1318 *dp++ = *cp++;
1322 *dp = '\0';
1693 char *dp, *ip, *sp, *tp;
1710 dp = ip = sp = p;
1735 else if (dp > sp) {
1740 while (dp > sp)
1741 if (*--dp == '/')
1747 *dp++ = '/';
1749 *dp++ = '.';
1750 *dp++ = '.';
1752 sp = dp;
1760 *dp++ = '/';
1763 memmove(dp, tp, len);
1764 dp += len;
1770 if (dp == p)
1772 *dp++ = needslash ? '/' : '.';
1773 *dp = '\0';