Searched refs:grp (Results 1 - 8 of 8) sorted by relevance

/bionic/tests/
H A Dgrp_pwd_test.cpp20 #include <grp.h>
229 static void check_group(const group* grp, const char* group_name, gid_t gid) { argument
230 ASSERT_TRUE(grp != NULL);
231 ASSERT_STREQ(group_name, grp->gr_name);
232 ASSERT_EQ(gid, grp->gr_gid);
233 ASSERT_TRUE(grp->gr_mem != NULL);
234 ASSERT_STREQ(group_name, grp->gr_mem[0]);
235 ASSERT_TRUE(grp->gr_mem[1] == NULL);
242 group* grp = getgrgid(gid); local
245 check_group(grp, group_nam
250 group* grp = getgrnam(group_name); local
259 group* grp; local
272 group* grp; local
394 group* grp[3]; local
414 group* grp[3]; local
435 group* grp; local
441 group* grp; local
[all...]
/bionic/libc/private/
H A Dgrp_pwd.h31 #include <grp.h>
/bionic/libc/bionic/
H A Dinitgroups.c28 #include <grp.h>
H A Dgrp_pwd.cpp31 #include <grp.h>
50 // implemented by brute-force searching with getpwent(3), and the <grp.h>
52 // okay for all the <grp.h> functions to share state, and all the <passwd.h>
53 // functions to share state, but <grp.h> functions can't clobber <passwd.h>
529 group* grp = android_id_to_group(state, gid); local
530 if (grp != NULL) {
531 return grp;
534 grp = oem_id_to_group(gid, state);
535 if (grp != NULL) {
536 return grp;
550 group* grp = android_name_to_group(state, name); local
570 getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
590 getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
594 getgrnam_r(const char* name, struct group* grp, char* buf, size_t buflen, struct group **result) argument
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dmroute.h91 struct in_addr grp; member in struct:sioc_sg_req
H A Dmroute6.h87 struct sockaddr_in6 grp; member in struct:sioc_sg_req6
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dmroute.h91 struct in_addr grp; member in struct:sioc_sg_req
H A Dmroute6.h87 struct sockaddr_in6 grp; member in struct:sioc_sg_req6

Completed in 231 milliseconds