/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/u-boot/arch/arm/mach-tegra/ |
D | pinmux-common.c | 84 #define MUX_REG(grp) _R(0x80 + ((tegra_soc_pingroups[grp].ctl_id / 16) * 4)) argument 85 #define MUX_SHIFT(grp) ((tegra_soc_pingroups[grp].ctl_id % 16) * 2) argument 87 #define PULL_REG(grp) _R(0xa0 + ((tegra_soc_pingroups[grp].pull_id / 16) * 4)) argument 88 #define PULL_SHIFT(grp) ((tegra_soc_pingroups[grp].pull_id % 16) * 2) argument 90 #define TRI_REG(grp) _R(0x14 + (((grp) / 32) * 4)) argument 91 #define TRI_SHIFT(grp) ((grp) % 32) argument 382 u32 *reg = REG(grp); in pinmux_set_schmt() 407 u32 *reg = REG(grp); in pinmux_set_hsm() 515 static void pinmux_set_drvup_slwf(enum pmux_drvgrp grp, int slwf) in pinmux_set_drvup_slwf() argument 517 u32 *reg = DRV_REG(grp); in pinmux_set_drvup_slwf() [all …]
|
/external/toybox/toys/posix/ |
D | id.c | 89 struct group *grp; in do_id() local 107 grp = xgetgrgid(i ? gid : egid); in do_id() 108 if (flags & FLAG_g) s_or_u(grp->gr_name, grp->gr_gid, 1); in do_id() 112 showid(" gid=", grp->gr_gid, grp->gr_name); in do_id() 120 grp = xgetgrgid(egid); in do_id() 121 showid(" egid=", grp->gr_gid, grp->gr_name); in do_id() 125 showid(" groups=", grp->gr_gid, grp->gr_name); in do_id() 139 if (!(grp = getgrgid(groups[i]))) perror_msg(0); in do_id() 140 else if (toys.optflags&FLAG_G) s_or_u(grp->gr_name, grp->gr_gid, 0); in do_id() 141 else if (grp->gr_gid != egid) showid("", grp->gr_gid, grp->gr_name); in do_id()
|
/external/u-boot/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier.h | 116 #define __UNIPHIER_PINCTRL_GROUP(grp) \ argument 118 .name = #grp, \ 119 .pins = grp##_pins, \ 120 .num_pins = ARRAY_SIZE(grp##_pins), \ 121 .muxvals = grp##_muxvals + \ 122 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \ 123 ARRAY_SIZE(grp##_muxvals)), \ 133 #define UNIPHIER_PINCTRL_GROUP(grp) \ argument 134 { .num_pins = ARRAY_SIZE(grp##_pins) + ARRAY_SIZE(grp##_muxvals) } 137 #define UNIPHIER_PINCTRL_GROUP(grp) __UNIPHIER_PINCTRL_GROUP(grp) argument [all …]
|
/external/u-boot/arch/arm/mach-mvebu/serdes/axp/ |
D | board_env_spec.h | 100 #define GPP_DATA_OUT_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x00) argument 102 #define GPP_DATA_OUT_EN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x04) argument 103 #define GPP_BLINK_EN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x08) argument 104 #define GPP_DATA_IN_POL_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x0C) argument 105 #define GPP_DATA_IN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x10) argument 106 #define GPP_INT_CAUSE_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x14) argument 107 #define GPP_INT_MASK_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x18) argument 108 #define GPP_INT_LVL_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x1C) argument 109 #define GPP_OUT_SET_REG(grp) (0x18130 + ((grp) * 0x40)) argument 111 #define GPP_OUT_CLEAR_REG(grp) (0x18134 + ((grp) * 0x40)) argument
|
/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/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/libnl/lib/genl/ |
D | family.c | 49 struct genl_family_grp *grp, *t_grp; in family_free_data() local 59 nl_list_for_each_entry_safe(grp, t_grp, &family->gf_mc_grps, list) { in family_free_data() 60 nl_list_del(&grp->list); in family_free_data() 61 free(grp); in family_free_data() 71 struct genl_family_grp *grp; in family_clone() local 80 nl_list_for_each_entry(grp, &src->gf_mc_grps, list) { in family_clone() 81 err = genl_family_add_grp(dst, grp->id, grp->name); in family_clone() 112 struct genl_family_grp *grp; in family_dump_details() local 139 nl_list_for_each_entry(grp, &family->gf_mc_grps, list) { in family_dump_details() 140 nl_dump_line(p, " grp %s (0x%02x)\n", grp->name, grp->id); in family_dump_details() [all …]
|
/external/u-boot/arch/arm/mach-imx/mx6/ |
D | ddr.c | 602 const struct mx6sx_iomux_grp_regs *grp) in mx6sx_dram_iocfg() argument 611 writel(grp->grp_ddr_type, &mx6_grp_iomux->grp_ddr_type); in mx6sx_dram_iocfg() 612 writel(grp->grp_ddrpke, &mx6_grp_iomux->grp_ddrpke); in mx6sx_dram_iocfg() 620 writel(grp->grp_addds, &mx6_grp_iomux->grp_addds); in mx6sx_dram_iocfg() 629 writel(grp->grp_ctlds, &mx6_grp_iomux->grp_ctlds); in mx6sx_dram_iocfg() 632 writel(grp->grp_ddrmode_ctl, &mx6_grp_iomux->grp_ddrmode_ctl); in mx6sx_dram_iocfg() 641 writel(grp->grp_ddrmode, &mx6_grp_iomux->grp_ddrmode); in mx6sx_dram_iocfg() 642 writel(grp->grp_b0ds, &mx6_grp_iomux->grp_b0ds); in mx6sx_dram_iocfg() 643 writel(grp->grp_b1ds, &mx6_grp_iomux->grp_b1ds); in mx6sx_dram_iocfg() 645 writel(grp->grp_b2ds, &mx6_grp_iomux->grp_b2ds); in mx6sx_dram_iocfg() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 35 EAP_PWD_group *grp; member 157 if (data->grp) { in eap_pwd_reset() 158 crypto_ec_deinit(data->grp->group); in eap_pwd_reset() 159 crypto_ec_point_deinit(data->grp->pwe, 1); in eap_pwd_reset() 160 os_free(data->grp); in eap_pwd_reset() 250 prime_len = crypto_ec_prime_len(data->grp->group); in eap_pwd_build_commit_req() 251 order_len = crypto_ec_order_len(data->grp->group); in eap_pwd_build_commit_req() 254 data->my_element = crypto_ec_point_init(data->grp->group); in eap_pwd_build_commit_req() 264 if (eap_pwd_get_rand_mask(data->grp, data->private_value, mask, in eap_pwd_build_commit_req() 268 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask, in eap_pwd_build_commit_req() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 99 EAP_PWD_group *grp; in get_eap_pwd_group() local 105 grp = os_zalloc(sizeof(EAP_PWD_group)); in get_eap_pwd_group() 106 if (!grp) in get_eap_pwd_group() 108 grp->group = crypto_ec_init(num); in get_eap_pwd_group() 109 if (!grp->group) { in get_eap_pwd_group() 111 os_free(grp); in get_eap_pwd_group() 115 grp->group_num = num; in get_eap_pwd_group() 118 return grp; in get_eap_pwd_group() 135 int compute_password_element(EAP_PWD_group *grp, u16 num, in compute_password_element() argument 159 if (grp->pwe) in compute_password_element() [all …]
|
/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/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/u-boot/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 219 static int armada_37xx_get_func_reg(struct armada_37xx_pin_group *grp, in armada_37xx_get_func_reg() argument 224 for (f = 0; (f < NB_FUNCS) && grp->funcs[f]; f++) in armada_37xx_get_func_reg() 225 if (!strcmp(grp->funcs[f], func)) in armada_37xx_get_func_reg() 268 struct armada_37xx_pin_group *grp) in armada_37xx_pmx_set_by_name() argument 272 unsigned int mask = grp->reg_mask; in armada_37xx_pmx_set_by_name() 276 name, grp->name); in armada_37xx_pmx_set_by_name() 278 func = armada_37xx_get_func_reg(grp, name); in armada_37xx_pmx_set_by_name() 283 val = grp->val[func]; in armada_37xx_pmx_set_by_name() 295 struct armada_37xx_pin_group *grp = &info->groups[group_selector]; in armada_37xx_pmx_group_set() local 298 return armada_37xx_pmx_set_by_name(dev, name, grp); in armada_37xx_pmx_group_set() [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()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | sz.h | 59 pszind_t grp = shift << LG_SIZE_CLASS_GROUP; in sz_psz2ind() local 68 pszind_t ind = grp + mod; in sz_psz2ind() 79 size_t grp = pind >> LG_SIZE_CLASS_GROUP; in sz_pind2sz_compute() local 82 size_t grp_size_mask = ~((!!grp)-1); in sz_pind2sz_compute() 84 (LG_SIZE_CLASS_GROUP-1))) << grp) & grp_size_mask; in sz_pind2sz_compute() 86 size_t shift = (grp == 0) ? 1 : grp; in sz_pind2sz_compute() 140 szind_t grp = shift << LG_SIZE_CLASS_GROUP; in sz_size2index_compute() local 149 szind_t index = NTBINS + grp + mod; in sz_size2index_compute() 182 size_t grp = reduced_index >> LG_SIZE_CLASS_GROUP; in sz_index2size_compute() local 186 size_t grp_size_mask = ~((!!grp)-1); in sz_index2size_compute() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 36 EAP_PWD_group *grp; member 159 if (data->grp) { in eap_pwd_deinit() 160 crypto_ec_deinit(data->grp->group); in eap_pwd_deinit() 161 crypto_ec_point_deinit(data->grp->pwe, 1); in eap_pwd_deinit() 162 os_free(data->grp); in eap_pwd_deinit() 263 if (data->id_server || data->grp) { in eap_pwd_perform_id_exchange() 280 data->grp = get_eap_pwd_group(data->group_num); in eap_pwd_perform_id_exchange() 281 if (data->grp == NULL) { in eap_pwd_perform_id_exchange() 329 if (!data->grp) { in eap_pwd_perform_commit_exchange() 336 prime_len = crypto_ec_prime_len(data->grp->group); in eap_pwd_perform_commit_exchange() [all …]
|
/external/iptables/extensions/ |
D | libxt_owner.c | 141 struct group *grp; in owner_mt_parse_v0() local 157 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt_parse_v0() 158 id = grp->gr_gid; in owner_mt_parse_v0() 188 struct group *grp; in owner_mt6_parse_v0() local 204 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt6_parse_v0() 205 id = grp->gr_gid; in owner_mt6_parse_v0() 246 struct group *grp; in owner_mt_parse() local 263 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt_parse() 264 from = to = grp->gr_gid; in owner_mt_parse() 314 struct group *grp = getgrgid(info->gid); in owner_mt_print_item_v0() local [all …]
|
/external/libevent/ |
D | bufferevent_ratelim.c | 949 struct bufferevent_rate_limit_group *grp) in bufferevent_rate_limit_group_get_read_limit() argument 952 LOCK_GROUP(grp); in bufferevent_rate_limit_group_get_read_limit() 953 r = grp->rate_limit.read_limit; in bufferevent_rate_limit_group_get_read_limit() 954 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_get_read_limit() 962 struct bufferevent_rate_limit_group *grp) in bufferevent_rate_limit_group_get_write_limit() argument 965 LOCK_GROUP(grp); in bufferevent_rate_limit_group_get_write_limit() 966 r = grp->rate_limit.write_limit; in bufferevent_rate_limit_group_get_write_limit() 967 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_get_write_limit() 1029 struct bufferevent_rate_limit_group *grp, ev_ssize_t decr) in bufferevent_rate_limit_group_decrement_read() argument 1033 LOCK_GROUP(grp); in bufferevent_rate_limit_group_decrement_read() [all …]
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | mv_ddr_sys_env_lib.h | 18 #define GPP_DATA_OUT_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x00) argument 19 #define GPP_DATA_OUT_EN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x04) argument 20 #define GPP_DATA_IN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x10) argument
|
/external/elfutils/tests/ |
D | asm-tst6.c | 61 AsmScnGrp_t *grp; in main() local 66 grp = asm_newscngrp (ctx, buf, NULL, 0); in main() 67 if (grp == NULL) in main() 75 SHF_ALLOC | SHF_WRITE, grp); in main() 105 if (asm_scngrp_newsignature (grp, sym) != 0) in main() 114 scn = asm_newscn_ingrp (ctx, ".stab", SHT_PROGBITS, 0, grp); in main()
|
/external/u-boot/arch/arm/dts/ |
D | imx7-colibri.dts | 60 pinctrl_gpmi_nand: gpmi-nand-grp { 79 pinctrl_i2c4: i2c4-grp { 86 pinctrl_i2c4_gpio: i2c4-gpio-grp { 93 pinctrl_uart1: uart1-grp { 102 pinctrl_uart1_ctrl1: uart1-ctrl1-grp { 111 pinctrl_i2c1: i2c1-grp { 118 pinctrl_i2c1_gpio: i2c1-gpio-grp {
|
/external/libnl/lib/ |
D | cache.c | 837 struct nl_af_group *grp; in nl_cache_resync() local 857 grp = cache->c_ops->co_groups; in nl_cache_resync() 859 if (grp && grp->ag_group && in nl_cache_resync() 861 nl_cache_set_arg1(cache, grp->ag_family); in nl_cache_resync() 874 if (grp) in nl_cache_resync() 875 grp++; in nl_cache_resync() 876 } while (grp && grp->ag_group && in nl_cache_resync() 962 struct nl_af_group *grp; in nl_cache_refill() local 969 grp = cache->c_ops->co_groups; in nl_cache_refill() 971 if (grp && grp->ag_group && in nl_cache_refill() [all …]
|
/external/iw/ |
D | genl.c | 37 struct handler_args *grp = arg; in family_handler() local 59 grp->group, nla_len(tb_mcgrp[CTRL_ATTR_MCAST_GRP_NAME]))) in family_handler() 61 grp->id = nla_get_u32(tb_mcgrp[CTRL_ATTR_MCAST_GRP_ID]); in family_handler() 73 struct handler_args grp = { in nl_get_multicast_id() local 104 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, family_handler, &grp); in nl_get_multicast_id() 110 ret = grp.id; in nl_get_multicast_id()
|