Lines Matching refs:cp
3417 char *cp = tmp;
3425 while (*cp != '\0') {
3426 p = cp;
3434 if (p == cp)
3443 cp = p;
6484 char *tmp, *cp, *lasts;
6500 for (cp = strtok_r(tmp, TOKEN_PRIV_STR, &lasts); cp != NULL;
6501 cp = strtok_r(NULL, TOKEN_PRIV_STR, &lasts)) {
6502 if (strcmp(cp, ZONE_TOKEN) == 0) {
6548 if ((cp = strchr(token, TOKEN_PRIV_CHAR)) != NULL)
6549 *cp = '\0';
6604 char *cp, *limitpriv = NULL;
6644 cp = strchr(limitpriv, TOKEN_PRIV_CHAR);
6645 if (cp != NULL &&
6646 strncmp(limitpriv, DEFAULT_TOKEN, cp - limitpriv) == 0)
6647 err = verify_privset(cp + 1, privs, privname, B_TRUE, plp);
6664 char *cp;
6670 cp = zonepath + strlen(zonepath);
6671 while (cp > zonepath && cp[-1] == '/')
6672 *--cp = '\0';
6690 (void) strlcpy(cp, ze->zone_path,
6691 rp_sz - (cp - zonepath));
6698 if (found && *cp != '\0')
6938 char *cp;
6943 zoneid = (zoneid_t)strtol(str, &cp, 0);
6944 if (errno == 0 && cp != str && *cp == '\0' &&
8713 char *cp, *errbuf;
8777 cp = strchr(errbuf, '\n');
8778 if (cp != NULL)
8779 *cp = '\0';
8781 if (cp == NULL)
8783 errbuf = cp + 1;