Lines Matching defs:ng
108 netgroup_name_t *ng;
124 ng = tab->hash_list[h];
126 while (ng != NULL) {
127 if (strcmp(name, ng->name) == 0)
129 ng = ng->next_hash;
132 if (ng == NULL) {
153 netgroup_name_t *ng;
158 ng = tab->to_do;
159 if (ng != NULL) {
160 tab->to_do = ng->next;
161 ng->next = tab->done;
162 tab->done = ng;
164 return (ng);
170 netgroup_name_t *ng, *next;
175 for (ng = tab->to_do; ng != NULL; ng = next) {
176 if (ng->name != NULL)
177 free(ng->name);
178 next = ng->next;
179 free(ng);
182 for (ng = tab->done; ng != NULL; ng = next) {
183 if (ng->name != NULL)
184 free(ng->name);
185 next = ng->next;
186 free(ng);
560 netgroup_name_t *ng;
568 while ((ng = get_next_netgroup(&tab)) != NULL) {
571 "(ng->name: %s)", ng->name ? ng->name : "null !");
573 if (_ldap_filter_name(name, ng->name, sizeof (name)) != 0)
769 netgroup_name_t *ng;
792 if ((ng = get_next_netgroup(&p->tab)) != NULL) {
793 if (_ldap_filter_name(name, ng->name,