Lines Matching defs:cp2
249 char *cp = trial, *cp2 = leaf->rn_key, *cp3 = leaf->rn_mask;
251 int length = min(*(u_char *)cp, *(u_char *)cp2);
257 cplim = cp + length; cp3 += skip; cp2 += skip;
258 for (cp += skip; cp < cplim; cp++, cp2++, cp3++)
259 if ((*cp ^ *cp2) & *cp3)
277 caddr_t cp = v, cp2;
306 cp += off; cp2 = t->rn_key + off; cplim = v + vlen;
307 for (; cp < cplim; cp++, cp2++)
308 if (*cp != *cp2)
335 test = (*cp ^ *cp2) & 0xff; /* find first bit that differs */
435 caddr_t cp2 = t->rn_key + head_off;
440 if (*cp2++ != *cp++)
446 cmp_res = (cp[-1] ^ cp2[-1]) & 0xff;