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/libc/bionic/
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()
Dgrp_pwd.cpp60 return &__get_bionic_tls().group; in get_group_tls_buffer()
155 static group* android_iinfo_to_group(group_state_t* state, in android_iinfo_to_group()
159 group* gr = &state->group_; in android_iinfo_to_group()
184 static group* android_id_to_group(group_state_t* state, unsigned id) { in android_id_to_group()
193 static group* android_name_to_group(group_state_t* state, const char* name) { in android_name_to_group()
449 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group()
461 group* gr = &state->group_; in oem_id_to_group()
502 static group* app_id_to_group(gid_t gid, group_state_t* state) { in app_id_to_group()
510 group* gr = &state->group_; in app_id_to_group()
561 int getgrouplist(const char* /*user*/, gid_t group, gid_t* groups, int* ngroups) { in getgrouplist() argument
[all …]
/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.py66 name = m.group(1)
68 value = eval(token_re.sub(lambda x: str(constants[x.group(0)]),
69 m.group(2)))
244 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)
Dgensyscalls.py599 nr_name = m.group(1)
/bionic/tests/
Dgrp_pwd_test.cpp314 static void check_group(const group* grp, const char* group_name, gid_t gid, in check_group()
332 group* grp = getgrgid(gid); in check_getgrgid()
340 group* grp = getgrnam(group_name); in check_getgrnam()
347 group grp_storage; in check_getgrgid_r()
349 group* grp; in check_getgrgid_r()
360 group grp_storage; in check_getgrnam_r()
362 group* grp; in check_getgrnam_r()
482 group grp_storage[2]; in TEST()
484 group* grp[3]; in TEST()
502 group grp_storage[2]; in TEST()
[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/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/kernel/uapi/linux/
Digmp.h27 __be32 group; member
54 __be32 group; member
Dnetlink.h117 __u32 group; member
Dbatadv_packet.h93 __be16 group; member
/bionic/libc/private/
Dgrp_pwd.h37 group group_;
Dbionic_tls.h128 group_state_t group; member
/bionic/tools/bionicbb/
Dtasks.py33 info[match.group(1)] = match.group(2).strip()
Dpresubmit.py190 commands = [match.group(1).strip() for match in
/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)
Dcpp.py108 def __init__(self, tu=None, group=None, int_data=None, ptr_data=None, argument
113 self._group = group
/bionic/
Dandroid-changes-for-ndk-developers.md59 linker divides other libraries into the global group and the local
60 group. The global group is shared by all libraries and contains the main
62 flag set (by passing “-z global” to ld(1)). The local group is
64 libraries. The M dynamic linker searches the global group followed by
65 the local group. This allows ASAN, for example, to ensure that it can

12