Searched defs:grp (Results 1 - 4 of 4) sorted by relevance

/bionic/tests/
H A Dstubs_test.cpp20 #include <grp.h>
174 static void check_group(const group* grp, const char* group_name, gid_t gid) { argument
175 ASSERT_TRUE(grp != NULL);
176 ASSERT_STREQ(group_name, grp->gr_name);
177 ASSERT_EQ(gid, grp->gr_gid);
178 ASSERT_TRUE(grp->gr_mem != NULL);
179 ASSERT_STREQ(group_name, grp->gr_mem[0]);
180 ASSERT_TRUE(grp->gr_mem[1] == NULL);
187 group* grp = getgrgid(gid); local
190 check_group(grp, group_nam
195 group* grp = getgrnam(group_name); local
204 group* grp; local
217 group* grp; local
315 group* grp[3]; local
335 group* grp[3]; local
356 group* grp; local
[all...]
/bionic/libc/bionic/
H A Dstubs.cpp31 #include <grp.h>
48 // implemented by brute-force searching with getpwent(3), and the <grp.h>
50 // okay for all the <grp.h> functions to share state, and all the <passwd.h>
51 // functions to share state, but <grp.h> functions can't clobber <passwd.h>
465 group* grp = android_id_to_group(state, gid); local
466 if (grp != NULL) {
467 return grp;
470 grp = oem_id_to_group(gid, state);
471 if (grp != NULL) {
472 return grp;
486 group* grp = android_name_to_group(state, name); local
506 getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
526 getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
530 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.h90 struct sockaddr_in6 grp; member in struct:sioc_sg_req6

Completed in 101 milliseconds