Lines Matching defs:cp
172 register char *cp;
178 cp = buf + sizeof(buf);
179 *--cp = '\0';
184 *--cp = byte % 10 + '0';
187 *--cp = byte % 10 + '0';
190 *--cp = byte + '0';
192 *--cp = '.';
196 return cp + 1;
281 register const char *cp;
311 cp = inet_ntop(AF_INET6, &addr, ntop_buf, sizeof(ntop_buf));
312 p->name = strdup(cp);
473 register char *cp;
497 cp = buf;
499 *cp++ = hex[*ep >> 4 ];
500 *cp++ = hex[*ep++ & 0xf];
502 *cp++ = ':';
503 *cp++ = hex[*ep >> 4 ];
504 *cp++ = hex[*ep++ & 0xf];
508 snprintf(cp, BUFSIZE - (2 + 5*3), " (oui %s)",
511 *cp = '\0';
521 register char *cp;
529 cp = buf;
531 *cp++ = hex[*(ep + i - 1) >> 4];
532 *cp++ = hex[*(ep + i - 1) & 0xf];
533 *cp++ = ':';
535 cp --;
537 *cp = '\0';
548 register char *cp;
564 tp->e_name = cp = (char *)malloc(len*3);
567 *cp++ = hex[*ep >> 4];
568 *cp++ = hex[*ep++ & 0xf];
570 *cp++ = ':';
571 *cp++ = hex[*ep >> 4];
572 *cp++ = hex[*ep++ & 0xf];
574 *cp = '\0';
581 register char *cp;
593 cp = buf;
595 *cp++ = hex[port >> 12 & 0xf];
596 *cp++ = hex[port >> 8 & 0xf];
597 *cp++ = hex[port >> 4 & 0xf];
598 *cp++ = hex[port & 0xf];
599 *cp++ = '\0';
608 register char *cp;
616 cp = buf;
618 *cp++ = hex[j];
619 *cp++ = hex[*pi++ & 0xf];
621 *cp++ = ':';
623 *cp++ = hex[j];
624 *cp++ = hex[*pi++ & 0xf];
626 *cp = '\0';
636 register char *cp;
646 tp->e_name = cp = (char *)malloc(sizeof("xx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xxxx.xx"));
647 if (cp == NULL)
651 *cp++ = hex[*nsap >> 4];
652 *cp++ = hex[*nsap++ & 0xf];
655 *cp++ = '.';
658 *cp = '\0';
703 register char *cp;
715 cp = buf;
717 *cp++ = hex[port >> 12 & 0xf];
718 *cp++ = hex[port >> 8 & 0xf];
719 *cp++ = hex[port >> 4 & 0xf];
720 *cp++ = hex[port & 0xf];
721 *cp++ = '\0';