Lines Matching refs:gr
422 char *gr;
465 for (gr = strtok_r(access_list, ":", &lasts);
466 gr != NULL; gr = strtok_r(NULL, ":", &lasts)) {
473 if (*gr == '-') {
475 gr++;
492 if (*gr == '.') {
493 if (*(gr + 1) == '\0') { /* single dot */
497 off = strlen(host) - strlen(gr);
499 strcasecmp(host + off, gr) == 0) {
509 if (*gr == '@') {
510 if (smb_netmatch(&buf, gr + 1))
516 if (strcasecmp(gr, host) == 0)
663 char *gr;
695 for (i = 0, gr = glist; i < grc && !belong; ) {
701 response = (*gr != '-') ? B_TRUE : B_FALSE;
707 for (n = 0; i < grc; i++, n++, gr += strlen(gr) + 1) {
708 if ((response && *gr == '-') ||
709 (!response && *gr != '-'))
712 grl[n] = response ? gr : gr + 1;