Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 28) sorted by relevance

12

/bionic/tests/headers/posix/
Dgrp_h.c34 TYPE(struct group); in grp_h()
35 STRUCT_MEMBER(struct group, char*, gr_name); in grp_h()
36 STRUCT_MEMBER(struct group, gid_t, gr_gid); in grp_h()
37 STRUCT_MEMBER(struct group, char**, gr_mem); in grp_h()
43 FUNCTION(getgrent, struct group* (*f)(void)); in grp_h()
44 FUNCTION(getgrgid, struct group* (*f)(gid_t)); in grp_h()
45 FUNCTION(getgrgid_r, int (*f)(gid_t, struct group*, char*, size_t, struct group**)); in grp_h()
46 FUNCTION(getgrnam, struct group* (*f)(const char*)); in grp_h()
47 FUNCTION(getgrnam_r, int (*f)(const char*, struct group*, char*, size_t, struct group**)); in grp_h()
/bionic/libc/include/
Dgrp.h41 struct group { struct
50 struct group* getgrgid(gid_t __gid);
51 struct group* getgrnam(const char* __name);
54 struct group* getgrent(void) __INTRODUCED_IN(26);
58 int getgrgid_r(gid_t __gid, struct group* __group, char* __buf, size_t __n, struct group** __result…
59 int getgrnam_r(const char* __name, struct group* __group, char* __buf, size_t __n, struct group** _…
/bionic/tests/
Dgrp_pwd_test.cpp480 static void check_group(const group* grp, const char* group_name, gid_t gid, in check_group()
498 group* grp = getgrgid(gid); in check_getgrgid()
506 group* grp = getgrnam(group_name); in check_getgrnam()
513 group grp_storage; in check_getgrgid_r()
515 group* grp; in check_getgrgid_r()
526 group grp_storage; in check_getgrnam_r()
528 group* grp; in check_getgrnam_r()
549 group* group = nullptr; in expect_no_group_id() local
550 group = getgrgid(gid); in expect_no_group_id()
551 EXPECT_EQ(nullptr, group) << "name = '" << group->gr_name << "'"; in expect_no_group_id()
[all …]
Dgrp_pwd_file_test.cpp70 group& name_group = name_group_state.group_; in FindAndCheckGroupEntry()
80 group& id_group = id_group_state.group_; in FindAndCheckGroupEntry()
/bionic/libc/tools/
Dgenserv.py55 service = Service( m.group(1), int(m.group(2)), m.group(3) )
56 rest = string.strip(m.group(4))
62 service.add_alias(m.group(1))
63 rest = string.strip(m.group(2))
Dcheck-symbols.py60 symbol = string.split(m.group(2), '@')[0]
61 if m.group(1) == 'FUNC' and functions_or_variables == 'functions':
63 elif m.group(1) == 'OBJECT' and functions_or_variables == 'variables':
Dgenseccomp.py50 name = m.group(1)
99 name = m.group(1)
101 value = eval(token_re.sub(lambda x: str(constants[x.group(0)]),
102 m.group(2)))
299 syscall_NRs[m.group(1)] = parse_syscall_NRs(filename)
Dgenfunctosyscallnrs.py52 syscall_NRs[m.group(1)] = parse_syscall_NRs(filename)
Dsymbols.py50 symbol = m.group(2)
/bionic/libc/bionic/
Dgrp_pwd.cpp85 auto result = &__get_bionic_tls().group; in get_group_tls_buffer()
115 static group* android_iinfo_to_group(group_state_t* state, in android_iinfo_to_group()
119 group* gr = &state->group_; in android_iinfo_to_group()
457 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group()
471 group* gr = &state->group_; in oem_id_to_group()
507 static group* app_id_to_group(gid_t gid, group_state_t* state) { in app_id_to_group()
515 group* gr = &state->group_; in app_id_to_group()
591 int getgrouplist(const char* /*user*/, gid_t group, gid_t* groups, int* ngroups) { in getgrouplist() argument
596 groups[0] = group; in getgrouplist()
679 static group* getgrgid_internal(gid_t gid, group_state_t* state) { in getgrgid_internal()
[all …]
Dinitgroups.c35 initgroups (const char *user, gid_t group) in initgroups() argument
42 if (getgrouplist(user, group, groups, &numgroups) < 0) { in initgroups()
46 if (getgrouplist(user,group,groups,&numgroups) < 0) { in initgroups()
/bionic/libc/kernel/uapi/linux/
Digmp.h27 __be32 group; member
54 __be32 group; member
Dnetlink.h117 __u32 group; member
Dbatadv_packet.h95 __be16 group; member
Dkvm.h946 __u32 group; member
/bionic/libc/kernel/tools/
Dclean_header.py98 if m and m.group(2) != 'generic':
99 arch = m.group(2)
Dkernel.py85 header = m.group(1)
313 name = m.group(1)
314 value = m.group(2)
Dupdate_all.py96 nr_name = m.group(1)
Dcpp.py105 def __init__(self, tu=None, group=None, int_data=None, ptr_data=None, argument
110 self._group = group
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_NFLOG.h28 __u16 group; member
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_nflog.h29 __u16 group; member
/bionic/libc/private/
Dgrp_pwd.h37 group group_;
Dbionic_tls.h128 group_state_t group; member
/bionic/benchmarks/linker_relocation/regen/
Ddump_relocs.py73 result = m.group(1)
87 result.append(m.group(1))
/bionic/
Dandroid-changes-for-ndk-developers.md66 linker divides other libraries into the global group and the local
67 group. The global group is shared by all libraries and contains the main
69 flag set (by passing “-z global” to ld(1)). The local group is
71 libraries. The M dynamic linker searches the global group followed by
72 the local group. This allows ASAN, for example, to ensure that it can

12