Lines Matching defs:cp
100 const u_char *cp;
106 cp = src;
110 while ((n = *cp++) != 0) {
123 if ((l = labellen(cp - 1)) < 0) {
139 if ((m = decode_bitstring(&cp, dn, eom)) < 0)
148 c = *cp++;
224 char *cp;
234 if ((cp = strchr(src, ']')) == NULL) {
238 if ((e = encode_bitsring(&src, cp + 2,
254 else if ((cp = strchr(digits, c)) != NULL) {
255 n = (int)(cp - digits) * 100;
257 (cp = strchr(digits, c)) == NULL) {
261 n += (int)(cp - digits) * 10;
263 (cp = strchr(digits, c)) == NULL) {
267 n += (int)(cp - digits);
359 const u_char *cp;
365 cp = src;
373 while ((n = *cp++) != 0) {
380 if ((l = labellen(cp - 1)) < 0) {
389 c = *cp++;
693 const u_char *cp;
697 cp = *ptrptr;
698 while (cp < eom && (n = *cp++) != 0) {
702 cp += n;
705 if ((l = labellen(cp - 1)) < 0) {
709 cp += l;
712 cp++;
720 if (cp > eom) {
724 *ptrptr = cp;
937 const u_char *dn, *cp, *sp;
952 cp = sp;
953 while ((n = *cp++) != 0) {
959 n = labellen(cp - 1); /* XXX */
966 mklower(*cp++))
969 if (*dn == '\0' && *cp == '\0') {
978 cp = msg + (((n & 0x3f) << 8) | *cp);
997 const unsigned char *cp = *cpp;
1001 if ((blen = (*cp & 0xff)) == 0)
1008 cp++;
1013 for (b = blen; b > 7; b -= 8, cp++) {
1014 i = snprintf(dn, eom - dn, "%02x", *cp & 0xff);
1020 tc = *cp++;
1026 tc = *cp++;
1038 *cpp = cp;
1048 const char *cp = *bp;
1058 if (end - cp < 2)
1062 if (*cp++ != 'x')
1064 if (!isxdigit((*cp) & 0xff)) /* reject '\[x/BLEN]' */
1067 for (tp = *dst + 1; cp < end && tp < eom; cp++) {
1068 switch((c = *cp)) {
1079 cp++; /* skip ']' */
1094 beg_blen = cp;
1114 if (cp >= end || tp >= eom)
1143 *bp = cp;