Lines Matching refs:cp2
178 char *cp = trial, *cp2 = leaf->rn_key, *cp3 = leaf->rn_mask; in rn_satisfies_leaf() local
180 int length = min(*(u_char *)cp, *(u_char *)cp2); in rn_satisfies_leaf()
186 cplim = cp + length; cp3 += skip; cp2 += skip; in rn_satisfies_leaf()
187 for (cp += skip; cp < cplim; cp++, cp2++, cp3++) in rn_satisfies_leaf()
188 if ((*cp ^ *cp2) & *cp3) in rn_satisfies_leaf()
199 caddr_t cp = v, cp2; in rn_match() local
228 cp += off; cp2 = t->rn_key + off; cplim = v + vlen; in rn_match()
229 for (; cp < cplim; cp++, cp2++) in rn_match()
230 if (*cp != *cp2) in rn_match()
255 test = (*cp ^ *cp2) & 0xff; /* find first bit that differs */ in rn_match()
350 caddr_t cp2 = t->rn_key + head_off; in rn_insert() local
355 if (*cp2++ != *cp++) in rn_insert()
358 if (!(t->rn_flags & RNF_ROOT) || *(cp2-1) == 0) { in rn_insert()
364 cmp_res = (cp[-1] ^ cp2[-1]) & 0xff; in rn_insert()