Lines Matching refs:cp
34 char *cp, *cp2; in internal_ismember() local
37 cp = stpcpy (buf, nis_leaf_of_r (group, leafbuf, sizeof (leafbuf) - 1)); in internal_ismember()
38 cp = stpcpy (cp, ".groups_dir"); in internal_ismember()
42 *cp++ = '.'; in internal_ismember()
43 strcpy (cp, cp2); in internal_ismember()
64 cp = NIS_RES_OBJECT (res)->GR_data.gr_members.gr_members_val[i]; in internal_ismember()
65 if (cp[0] == '-') in internal_ismember()
67 if (strcmp (&cp[1], principal) == 0) in internal_ismember()
72 if (cp[1] == '@') in internal_ismember()
73 switch (internal_ismember (principal, &cp[2])) in internal_ismember()
85 if (cp[1] == '*') in internal_ismember()
88 char buf2[strlen (cp) + 2]; in internal_ismember()
91 nis_domain_of_r (cp, buf2, sizeof buf2)) == 0) in internal_ismember()
102 cp = NIS_RES_OBJECT (res)->GR_data.gr_members.gr_members_val[i]; in internal_ismember()
103 if (cp[0] != '-') in internal_ismember()
105 if (strcmp (cp, principal) == 0) in internal_ismember()
110 if (cp[0] == '@') in internal_ismember()
111 switch (internal_ismember (principal, &cp[1])) in internal_ismember()
123 if (cp[0] == '*') in internal_ismember()
126 char buf2[strlen (cp) + 2]; in internal_ismember()
129 nis_domain_of_r (cp, buf2, sizeof buf2)) == 0) in internal_ismember()