/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 88 int compute_password_element(EAP_PWD_group *grp, u16 num, in compute_password_element() argument 143 grp->pwe = NULL; in compute_password_element() 144 grp->order = NULL; in compute_password_element() 145 grp->prime = NULL; in compute_password_element() 147 if ((grp->group = EC_GROUP_new_by_curve_name(nid)) == NULL) { in compute_password_element() 154 ((grp->pwe = EC_POINT_new(grp->group)) == NULL) || in compute_password_element() 155 ((grp->order = BN_new()) == NULL) || in compute_password_element() 156 ((grp->prime = BN_new()) == NULL) || in compute_password_element() 162 if (!EC_GROUP_get_curve_GFp(grp->group, grp->prime, NULL, NULL, NULL)) in compute_password_element() 168 if (!EC_GROUP_get_order(grp->group, grp->order, NULL)) { in compute_password_element() [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/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 31 EAP_PWD_group *grp; member 151 if (data->grp) { in eap_pwd_reset() 152 EC_GROUP_free(data->grp->group); in eap_pwd_reset() 153 EC_POINT_clear_free(data->grp->pwe); in eap_pwd_reset() 154 BN_clear_free(data->grp->order); in eap_pwd_reset() 155 BN_clear_free(data->grp->prime); in eap_pwd_reset() 156 os_free(data->grp); in eap_pwd_reset() 214 ((data->my_element = EC_POINT_new(data->grp->group)) == NULL) || in eap_pwd_build_commit_req() 222 if (BN_rand_range(data->private_value, data->grp->order) != 1 || in eap_pwd_build_commit_req() 223 BN_rand_range(mask, data->grp->order) != 1 || in eap_pwd_build_commit_req() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 31 EAP_PWD_group *grp; member 165 if (data->grp) { in eap_pwd_deinit() 166 EC_GROUP_free(data->grp->group); in eap_pwd_deinit() 167 EC_POINT_clear_free(data->grp->pwe); in eap_pwd_deinit() 168 BN_clear_free(data->grp->order); in eap_pwd_deinit() 169 BN_clear_free(data->grp->prime); in eap_pwd_deinit() 170 os_free(data->grp); in eap_pwd_deinit() 280 data->grp = os_zalloc(sizeof(EAP_PWD_group)); in eap_pwd_perform_id_exchange() 281 if (data->grp == NULL) { in eap_pwd_perform_id_exchange() 321 res = compute_password_element(data->grp, data->group_num, in eap_pwd_perform_id_exchange() [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()
|
D | chgrp.c | 83 char *grp; in chgrp_main() local 86 if ((grp = strchr(own, ':')) || (grp = strchr(own, '.'))) { in chgrp_main() 87 *(grp++) = 0; in chgrp_main() 88 TT.group_name = grp; in chgrp_main()
|
/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) 57 for (n, p, g, mem) in grp.getgrall(): 86 self.assertRaises(KeyError, grp.getgrnam, fakename) [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/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()
|
D | asm_scngrp_newsignature.c | 38 asm_scngrp_newsignature (AsmScnGrp_t *grp, AsmSym_t *signature) in asm_scngrp_newsignature() argument 40 if (grp == NULL || signature == NULL) in asm_scngrp_newsignature() 43 grp->signature = signature; in asm_scngrp_newsignature()
|
/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/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/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 …]
|
D | cache_mngr.c | 225 struct nl_af_group *grp; in nl_cache_mngr_add_cache() local 264 for (grp = ops->co_groups; grp->ag_group; grp++) { in nl_cache_mngr_add_cache() 265 err = nl_socket_add_membership(mngr->cm_sock, grp->ag_group); in nl_cache_mngr_add_cache() 287 for (grp = ops->co_groups; grp->ag_group; grp++) in nl_cache_mngr_add_cache() 288 nl_socket_drop_membership(mngr->cm_sock, grp->ag_group); in nl_cache_mngr_add_cache()
|
/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()
|
/external/libxaac/decoder/ |
D | ixheaacd_ext_ch_ele.c | 312 WORD32 sfb, k, grp, grp_len; in ixheaacd_ms_stereo() local 317 for (grp = 0; grp < ptr_sfb_info->num_groups; grp++) { in ixheaacd_ms_stereo() 318 for (grp_len = 0; grp_len < ptr_sfb_info->group_len[grp]; grp_len++) { in ixheaacd_ms_stereo() 469 WORD32 grp, sfb, grp_len, i = 0, k; in ixheaacd_cplx_pred_upmixing() local 483 for (grp = 0; grp < pstr_sfb_info->num_groups; grp++) { in ixheaacd_cplx_pred_upmixing() 484 for (grp_len = 0; grp_len < pstr_sfb_info->group_len[grp]; grp_len++) { in ixheaacd_cplx_pred_upmixing() 486 if (cplx_pred_used[grp][sfb] == 1) { in ixheaacd_cplx_pred_upmixing() 514 for (grp = 0, i = 0; grp < pstr_sfb_info->num_groups; grp++) { in ixheaacd_cplx_pred_upmixing() 515 for (grp_len = 0; grp_len < pstr_sfb_info->group_len[grp]; grp_len++) { in ixheaacd_cplx_pred_upmixing() 517 alpha_q_re_temp = alpha_q_re[grp][sfb] * 1677722; in ixheaacd_cplx_pred_upmixing() [all …]
|
/external/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 93 struct group *grp; in readgroups() local 101 while ((grp = getgrent()) != 0) { in readgroups() 102 for (i = 0; grp->gr_mem[i]; i++) { in readgroups() 103 if (strcmp(grp->gr_mem[i], TESTUSER) == 0) { in readgroups() 104 groups[ngrps++] = grp->gr_gid; in readgroups()
|
/external/libbrillo/brillo/ |
D | userdb_utils.cc | 43 struct group* grp = nullptr; in GetGroupInfo() local 45 if (getgrnam_r(group.c_str(), &grp_buf, buf.data(), buf_len, &grp) || !grp) { in GetGroupInfo() 51 *gid = grp->gr_gid; in GetGroupInfo()
|
/external/libxkbcommon/xkbcommon/test/data/rules/ |
D | evdev | 908 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle) 912 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):1 916 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):2 920 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):3 924 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):4 928 grp:shift_toggle = +group(shifts_toggle) 940 grp:switch = +group(switch) 941 grp:lswitch = +group(lswitch) 942 grp:win_switch = +group(win_switch) 943 grp:lwin_switch = +group(lwin_switch) [all …]
|
D | evdev-xkbcommon | 913 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle) 917 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):1 921 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):2 925 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):3 929 $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):4 933 grp:shift_toggle = +group(shifts_toggle) 943 grp:switch = +group(switch) 944 grp:lswitch = +group(lswitch) 945 grp:win_switch = +group(win_switch) 946 grp:lwin_switch = +group(lwin_switch) [all …]
|
/external/valgrind/memcheck/tests/ |
D | varinfo6.stdout.exp | 5 pass 1: size is 17143, grp uses are 38 62 2 92 6 71 6 pass 2: size is 6506, grp uses are 28 71 0 86 9 77 7 pass 3: size is 6479, grp uses are 26 70 0 81 11 83 8 pass 4: size is 6469, grp uses are 26 69 0 74 17 85
|