Lines Matching defs:cp
3712 char *cp;
3722 (cp = strchr(pe->pe_name + 1, ']')) != NULL) {
3724 *cp = '\0';
3725 if (cp[1] == ':' && cp[2] != '\0')
3726 pe->pe_serv = cp + 2;
3729 cp = strchr(pe->pe_name, ':');
3730 if (cp != NULL && strchr(cp + 1, ':') == NULL) {
3731 *cp = '\0';
3732 if (cp[1] != '\0')
3733 pe->pe_serv = cp + 1;
3734 if (cp == pe->pe_name)