Lines Matching refs:namep
292 struct name_list *namep; in __internal_getnetgrent_r() local
295 for (namep = datap->known_groups; namep != NULL; in __internal_getnetgrent_r()
296 namep = namep->next) in __internal_getnetgrent_r()
297 if (strcmp (datap->val.group, namep->name) == 0) in __internal_getnetgrent_r()
299 if (namep == NULL) in __internal_getnetgrent_r()
300 for (namep = datap->needed_groups; namep != NULL; in __internal_getnetgrent_r()
301 namep = namep->next) in __internal_getnetgrent_r()
302 if (strcmp (datap->val.group, namep->name) == 0) in __internal_getnetgrent_r()
304 if (namep != NULL) in __internal_getnetgrent_r()
309 namep = (struct name_list *) malloc (sizeof (struct name_list) in __internal_getnetgrent_r()
311 if (namep == NULL) in __internal_getnetgrent_r()
316 namep->next = datap->needed_groups; in __internal_getnetgrent_r()
317 memcpy (namep->name, datap->val.group, group_len); in __internal_getnetgrent_r()
318 datap->needed_groups = namep; in __internal_getnetgrent_r()
416 struct name_list *namep; in weak_alias() local
418 for (namep = entry.known_groups; namep != NULL; in weak_alias()
419 namep = namep->next) in weak_alias()
420 if (strcmp (entry.val.group, namep->name) == 0) in weak_alias()
422 if (namep == NULL) in weak_alias()
423 for (namep = entry.needed_groups; namep != NULL; in weak_alias()
424 namep = namep->next) in weak_alias()
425 if (strcmp (entry.val.group, namep->name) == 0) in weak_alias()
427 if (namep == NULL in weak_alias()
431 namep = in weak_alias()
432 (struct name_list *) malloc (sizeof (*namep) in weak_alias()
434 if (namep == NULL) in weak_alias()
441 namep->next = entry.needed_groups; in weak_alias()
442 memcpy (namep->name, entry.val.group, group_len); in weak_alias()
443 entry.needed_groups = namep; in weak_alias()