/external/tinyalsa/ |
D | mixer.c | 57 struct mixer_ctl_group *grp; member 90 static void mixer_grp_close(struct mixer_ctl_group *grp) in mixer_grp_close() argument 94 if (!grp) in mixer_grp_close() 97 if (grp->ctl) { in mixer_grp_close() 98 for (n = 0; n < grp->count; n++) { in mixer_grp_close() 99 if (grp->ctl[n].ename) { in mixer_grp_close() 100 unsigned int max = grp->ctl[n].info->value.enumerated.items; in mixer_grp_close() 102 free(grp->ctl[n].ename[m]); in mixer_grp_close() 103 free(grp->ctl[n].ename); in mixer_grp_close() 106 free(grp->ctl); in mixer_grp_close() [all …]
|
/external/tinyalsa_new/src/ |
D | mixer.c | 76 struct mixer_ctl_group *grp; member 123 static void mixer_grp_close(struct mixer *mixer, struct mixer_ctl_group *grp) in mixer_grp_close() argument 127 if (!grp) in mixer_grp_close() 130 if (grp->ctl) { in mixer_grp_close() 131 for (n = 0; n < grp->count; n++) in mixer_grp_close() 132 mixer_cleanup_control(&grp->ctl[n]); in mixer_grp_close() 133 free(grp->ctl); in mixer_grp_close() 136 free(grp); in mixer_grp_close() 177 static int add_controls(struct mixer *mixer, struct mixer_ctl_group *grp) in add_controls() argument 182 const unsigned int old_count = grp->count; in add_controls() [all …]
|
/external/aac/libAACenc/src/ |
D | grp_data.cpp | 133 INT grp; /* counts through groups */ in FDKaacEnc_groupShortData() local 163 for (grp = 0; grp < noOfGroups; grp++) { in FDKaacEnc_groupShortData() 165 groupedSfbOffset[i++] = offset + sfbOffset[sfb] * groupLen[grp]; in FDKaacEnc_groupShortData() 168 offset += groupLen[grp] * granuleLength_short; in FDKaacEnc_groupShortData() 174 for (grp = 0; grp < noOfGroups; grp++) { in FDKaacEnc_groupShortData() 184 for (grp = 0; grp < noOfGroups; grp++) { in FDKaacEnc_groupShortData() 187 for (j = 1; j < groupLen[grp]; j++) { in FDKaacEnc_groupShortData() 193 wnd += groupLen[grp]; in FDKaacEnc_groupShortData() 199 for (grp = 0; grp < noOfGroups; grp++) { in FDKaacEnc_groupShortData() 202 for (j = 1; j < groupLen[grp]; j++) { in FDKaacEnc_groupShortData() [all …]
|
/external/arm-trusted-firmware/plat/xilinx/zynqmp/include/ |
D | platform_def.h | 102 #define PLAT_ARM_G1S_IRQ_PROPS(grp) \ argument 103 INTR_PROP_DESC(ARM_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, grp, \ 105 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_0, GIC_HIGHEST_SEC_PRIORITY, grp, \ 107 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, grp, \ 109 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, grp, \ 111 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, grp, \ 113 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, grp, \ 115 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, grp, \ 117 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, grp, \ 119 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_7, GIC_HIGHEST_SEC_PRIORITY, grp, \ [all …]
|
/external/toybox/toys/posix/ |
D | id.c | 88 struct group *grp; in do_id() local 110 grp = xgetgrgid(FLAG(r) ? gid : egid); in do_id() 111 if (FLAG(g)) showone("", grp->gr_name, grp->gr_gid, 1); in do_id() 118 showone("", grp->gr_name, grp->gr_gid, 0); in do_id() 121 if ((grp=getgrgid(groups[i]))) showone(" ",grp->gr_name,grp->gr_gid,0); in do_id() 131 showid(" gid=", grp->gr_gid, grp->gr_name); in do_id() 139 grp = xgetgrgid(egid); in do_id() 140 showid(" egid=", grp->gr_gid, grp->gr_name); in do_id() 144 showid(" groups=", gid, grp->gr_name); in do_id() 147 if ((grp=getgrgid(groups[i]))) showid(",", grp->gr_gid, grp->gr_name); in do_id()
|
/external/arm-trusted-firmware/plat/hisilicon/poplar/include/ |
D | platform_def.h | 141 #define POPLAR_G1S_IRQ_PROPS(grp) \ argument 142 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_0, GIC_HIGHEST_SEC_PRIORITY, grp, \ 144 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, grp, \ 146 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, grp, \ 148 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, grp, \ 150 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, grp, \ 152 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, grp, \ 154 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, grp, \ 156 INTR_PROP_DESC(HISI_IRQ_SEC_SGI_7, GIC_HIGHEST_SEC_PRIORITY, grp, \ 158 INTR_PROP_DESC(HISI_IRQ_SEC_TIMER0, GIC_HIGHEST_SEC_PRIORITY, grp, \ [all …]
|
/external/arm-trusted-firmware/plat/marvell/armada/a8k/common/include/ |
D | platform_def.h | 134 #define PLAT_MARVELL_G0_IRQ_PROPS(grp) \ argument 135 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_0, GIC_HIGHEST_SEC_PRIORITY, grp, \ 137 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, grp, \ 139 INTR_PROP_DESC(MARVELL_IRQ_PIC0, GIC_HIGHEST_SEC_PRIORITY, grp, \ 142 #define PLAT_MARVELL_G1S_IRQ_PROPS(grp) \ argument 144 grp, GIC_INTR_CFG_LEVEL), \ 145 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, grp, \ 147 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, grp, \ 149 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, grp, \ 151 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, grp, \ [all …]
|
/external/arm-trusted-firmware/plat/arm/board/arm_fpga/include/ |
D | platform_def.h | 57 #define PLATFORM_G1S_PROPS(grp) \ argument 58 INTR_PROP_DESC(ARM_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 60 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 62 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 64 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 66 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 68 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 70 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_7, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 73 #define PLATFORM_G0_PROPS(grp) \ argument 74 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_0, PLAT_SDEI_NORMAL_PRI, (grp), \ [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_grp.py | 6 grp = support.import_module('grp') variable 24 entries = grp.getgrall() 30 entries = grp.getgrall() 35 e2 = grp.getgrgid(e.gr_gid) 42 e2 = grp.getgrnam(name) 50 self.assertRaises(TypeError, grp.getgrgid) 51 self.assertRaises(TypeError, grp.getgrnam) 52 self.assertRaises(TypeError, grp.getgrall, 42) 54 self.assertRaises(ValueError, grp.getgrnam, 'a\x00b') 59 for (n, p, g, mem) in grp.getgrall(): [all …]
|
/external/arm-trusted-firmware/plat/arm/board/corstone700/common/include/ |
D | platform_def.h | 248 #define ARM_G1S_IRQ_PROPS(grp) \ argument 250 (grp), GIC_INTR_CFG_LEVEL), \ 252 (grp), GIC_INTR_CFG_EDGE), \ 254 (grp), GIC_INTR_CFG_EDGE), \ 256 (grp), GIC_INTR_CFG_EDGE), \ 258 (grp), GIC_INTR_CFG_EDGE), \ 260 (grp), GIC_INTR_CFG_EDGE), \ 262 (grp), GIC_INTR_CFG_EDGE) 264 #define ARM_G0_IRQ_PROPS(grp) \ argument 265 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, (grp), \ [all …]
|
/external/toybox/toys/pending/ |
D | groupdel.c | 25 struct group *grp = xgetgrnam(toys.optargs[toys.optc-1]); in groupdel_main() local 34 if (grp->gr_mem) for (i = 0; grp->gr_mem[i]; i++) { in groupdel_main() 35 if (!found && !strcmp(*toys.optargs, grp->gr_mem[i])) found++; in groupdel_main() 36 else len += strlen(grp->gr_mem[i]) + 1; in groupdel_main() 42 for (i = 0; grp->gr_mem[i]; ) { in groupdel_main() 44 s = stpcpy(s, grp->gr_mem[i]); in groupdel_main() 52 if (pw->pw_gid == grp->gr_gid) break; in groupdel_main() 58 update_password("/etc/group", grp->gr_name, entry); in groupdel_main() 59 update_password("/etc/gshadow", grp->gr_name, entry); in groupdel_main()
|
D | groupadd.c | 62 struct group *grp = NULL; in groupadd_main() local 71 if (!(grp = getgrnam(toys.optargs[1]))) in groupadd_main() 73 if (!grp->gr_mem) entry = xmprintf("%s", *toys.optargs); in groupadd_main() 77 for (i = 0; grp->gr_mem[i]; i++) in groupadd_main() 78 if (!strcmp(grp->gr_mem[i], *toys.optargs)) return; in groupadd_main() 81 for (i=0; grp->gr_mem[i]; i++) { in groupadd_main() 82 entry = xrealloc(entry, strlen(entry) + strlen(grp->gr_mem[i]) + 2); in groupadd_main() 83 strcat(entry, grp->gr_mem[i]); in groupadd_main() 89 update_password(GROUP_PATH, grp->gr_name, entry); in groupadd_main() 90 update_password(SECURE_GROUP_PATH, grp->gr_name, entry); in groupadd_main()
|
/external/arm-trusted-firmware/plat/arm/board/a5ds/include/ |
D | platform_def.h | 61 #define ARM_G1S_IRQ_PROPS(grp) \ argument 62 INTR_PROP_DESC(ARM_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 64 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 66 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 68 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 70 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 72 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 74 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_7, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 77 #define ARM_G0_IRQ_PROPS(grp) \ argument 78 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, (grp), \ [all …]
|
/external/arm-trusted-firmware/plat/arm/board/fvp_ve/include/ |
D | platform_def.h | 70 #define ARM_G1S_IRQ_PROPS(grp) \ argument 71 INTR_PROP_DESC(ARM_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 73 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 75 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 77 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 79 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 81 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 83 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_7, GIC_HIGHEST_SEC_PRIORITY, (grp), \ 86 #define ARM_G0_IRQ_PROPS(grp) \ argument 87 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, (grp), \ [all …]
|
/external/arm-trusted-firmware/plat/ti/k3/include/ |
D | platform_def.h | 131 #define PLAT_ARM_G1S_IRQ_PROPS(grp) \ argument 132 INTR_PROP_DESC(ARM_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, grp, \ 134 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, grp, \ 136 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, grp, \ 138 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, grp, \ 140 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, grp, \ 142 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, grp, \ 144 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_7, GIC_HIGHEST_SEC_PRIORITY, grp, \ 147 #define PLAT_ARM_G0_IRQ_PROPS(grp) \ argument 148 INTR_PROP_DESC(ARM_IRQ_SEC_SGI_0, GIC_HIGHEST_SEC_PRIORITY, grp, \ [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 91 EAP_PWD_group *grp; in get_eap_pwd_group() local 97 grp = os_zalloc(sizeof(EAP_PWD_group)); in get_eap_pwd_group() 98 if (!grp) in get_eap_pwd_group() 100 grp->group = crypto_ec_init(num); in get_eap_pwd_group() 101 if (!grp->group) { in get_eap_pwd_group() 103 os_free(grp); in get_eap_pwd_group() 107 grp->group_num = num; in get_eap_pwd_group() 110 return grp; in get_eap_pwd_group() 118 int compute_password_element(EAP_PWD_group *grp, u16 num, in compute_password_element() argument 143 if (grp->pwe) in compute_password_element() [all …]
|
/external/arm-trusted-firmware/plat/mediatek/mt8173/include/ |
D | platform_def.h | 121 #define PLAT_ARM_G1S_IRQ_PROPS(grp) \ argument 122 INTR_PROP_DESC(MT_IRQ_SEC_SGI_0, GIC_HIGHEST_SEC_PRIORITY, grp, \ 124 INTR_PROP_DESC(MT_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, grp, \ 126 INTR_PROP_DESC(MT_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, grp, \ 128 INTR_PROP_DESC(MT_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, grp, \ 130 INTR_PROP_DESC(MT_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, grp, \ 132 INTR_PROP_DESC(MT_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, grp, \ 134 INTR_PROP_DESC(MT_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, grp, \ 136 INTR_PROP_DESC(MT_IRQ_SEC_SGI_7, GIC_HIGHEST_SEC_PRIORITY, grp, \ 139 #define PLAT_ARM_G0_IRQ_PROPS(grp) argument
|
/external/arm-trusted-firmware/plat/marvell/armada/a3k/common/include/ |
D | platform_def.h | 125 #define PLAT_MARVELL_G0_IRQ_PROPS(grp) \ argument 126 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_0, GIC_HIGHEST_SEC_PRIORITY, grp, \ 128 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, grp, \ 131 #define PLAT_MARVELL_G1S_IRQ_PROPS(grp) \ argument 133 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_LEVEL), \ 134 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_1, GIC_HIGHEST_SEC_PRIORITY, grp, \ 136 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_2, GIC_HIGHEST_SEC_PRIORITY, grp, \ 138 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_3, GIC_HIGHEST_SEC_PRIORITY, grp, \ 140 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_4, GIC_HIGHEST_SEC_PRIORITY, grp, \ 142 INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_5, GIC_HIGHEST_SEC_PRIORITY, grp, \ [all …]
|
/external/arm-trusted-firmware/plat/arm/board/juno/include/ |
D | platform_def.h | 261 #define PLAT_ARM_G1S_IRQ_PROPS(grp) \ argument 262 CSS_G1S_IRQ_PROPS(grp), \ 263 ARM_G1S_IRQ_PROPS(grp), \ 265 (grp), GIC_INTR_CFG_LEVEL), \ 267 (grp), GIC_INTR_CFG_LEVEL), \ 269 (grp), GIC_INTR_CFG_LEVEL), \ 271 (grp), GIC_INTR_CFG_LEVEL), \ 273 (grp), GIC_INTR_CFG_LEVEL), \ 275 (grp), GIC_INTR_CFG_LEVEL), \ 277 (grp), GIC_INTR_CFG_LEVEL), \ [all …]
|
/external/arm-trusted-firmware/plat/intel/soc/common/include/ |
D | platform_def.h | 195 #define PLAT_INTEL_SOCFPGA_G1S_IRQ_PROPS(grp) \ argument 197 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_LEVEL), \ 199 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE), \ 201 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE), \ 203 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE), \ 205 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE), \ 207 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE), \ 209 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE), \ 211 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE), \ 213 GIC_HIGHEST_SEC_PRIORITY, grp, GIC_INTR_CFG_EDGE) [all …]
|
/external/libnl/lib/genl/ |
D | family.c | 52 struct genl_family_grp *grp, *t_grp; in family_free_data() local 62 nl_list_for_each_entry_safe(grp, t_grp, &family->gf_mc_grps, list) { in family_free_data() 63 nl_list_del(&grp->list); in family_free_data() 64 free(grp); in family_free_data() 74 struct genl_family_grp *grp; in family_clone() local 83 nl_list_for_each_entry(grp, &src->gf_mc_grps, list) { in family_clone() 84 err = genl_family_add_grp(dst, grp->id, grp->name); in family_clone() 115 struct genl_family_grp *grp; in family_dump_details() local 142 nl_list_for_each_entry(grp, &family->gf_mc_grps, list) { in family_dump_details() 143 nl_dump_line(p, " grp %s (0x%02x)\n", grp->name, grp->id); in family_dump_details() [all …]
|
/external/arm-trusted-firmware/plat/qemu/common/sp_min/ |
D | sp_min_setup.c | 34 #define PLATFORM_G1S_PROPS(grp) \ argument 36 grp, GIC_INTR_CFG_LEVEL), \ 38 grp, GIC_INTR_CFG_LEVEL), \ 40 grp, GIC_INTR_CFG_LEVEL), \ 42 grp, GIC_INTR_CFG_LEVEL), \ 44 grp, GIC_INTR_CFG_LEVEL), \ 46 grp, GIC_INTR_CFG_LEVEL), \ 48 grp, GIC_INTR_CFG_LEVEL), \ 50 grp, GIC_INTR_CFG_LEVEL) 52 #define PLATFORM_G0_PROPS(grp) argument
|
/external/elfutils/libasm/ |
D | asm_newscn_ingrp.c | 41 GElf_Xword flags, AsmScnGrp_t *grp) in asm_newscn_ingrp() argument 49 if (grp->nmembers == 0) in asm_newscn_ingrp() 51 assert (grp->members == NULL); in asm_newscn_ingrp() 52 grp->members = result->data.main.next_in_group = result; in asm_newscn_ingrp() 57 = grp->members->data.main.next_in_group; in asm_newscn_ingrp() 58 grp->members = grp->members->data.main.next_in_group = result; in asm_newscn_ingrp() 61 ++grp->nmembers; in asm_newscn_ingrp()
|
/external/python/cpython2/Lib/test/ |
D | test_grp.py | 6 grp = test_support.import_module('grp') variable 24 entries = grp.getgrall() 30 entries = grp.getgrall() 35 e2 = grp.getgrgid(e.gr_gid) 42 e2 = grp.getgrnam(name) 50 self.assertRaises(TypeError, grp.getgrgid) 51 self.assertRaises(TypeError, grp.getgrnam) 52 self.assertRaises(TypeError, grp.getgrall, 42) 57 for (n, p, g, mem) in grp.getgrall(): 86 self.assertRaises(KeyError, grp.getgrnam, fakename) [all …]
|
/external/openssh/openbsd-compat/ |
D | getgrouplist.c | 48 struct group *grp; in getgrouplist() local 70 while ((grp = getgrent())) { in getgrouplist() 71 if (grp->gr_gid == agroup) in getgrouplist() 74 if (groups[i] == grp->gr_gid) in getgrouplist() 78 for (i = 0; grp->gr_mem[i]; i++) { in getgrouplist() 79 if (!strcmp(grp->gr_mem[i], uname)) { in getgrouplist() 84 groups[ngroups++] = grp->gr_gid; in getgrouplist()
|