Lines Matching refs:cntp
405 convert_to_aclent_t(char *entryp, int *cntp, aclent_t **aclpp, int mode)
417 if (*cntp > 1)
419 sizeof (aclent_t) * (*cntp));
421 new_aclp = (aclent_t *) malloc(sizeof (aclent_t) * (*cntp));
424 gettext("Insufficient memory for acl %d\n"), *cntp);
445 cur_cnt = *cntp - 1;
453 *cntp -= 1;
458 if (!found) /* Add it to the end: no need to change cntp */
459 memcpy(new_aclp + *cntp -1, &tmpacl, sizeof (aclent_t));
473 *cntp = *cntp - 2;
478 *cntp -= 1;
483 memcpy(new_aclp + *cntp -1, &tmpacl, sizeof (aclent_t));
499 cur_cnt = *cntp;