/external/aac/libAACenc/src/ |
D | grp_data.cpp | 121 INT grp; /* counts through groups */ in FDKaacEnc_groupShortData() local 152 for (grp = 0; grp < noOfGroups; grp++) in FDKaacEnc_groupShortData() 156 groupedSfbOffset[i++] = offset + sfbOffset[sfb] * groupLen[grp]; in FDKaacEnc_groupShortData() 159 offset += groupLen[grp] * granuleLength_short; in FDKaacEnc_groupShortData() 165 for (grp = 0; grp < noOfGroups; grp++) in FDKaacEnc_groupShortData() 177 for (grp = 0; grp < noOfGroups; grp++) in FDKaacEnc_groupShortData() 182 for (j=1; j<groupLen[grp]; j++) in FDKaacEnc_groupShortData() 189 wnd += groupLen[grp]; in FDKaacEnc_groupShortData() 195 for (grp = 0; grp < noOfGroups; grp++) in FDKaacEnc_groupShortData() 200 for (j=1; j<groupLen[grp]; j++) in FDKaacEnc_groupShortData() [all …]
|
/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/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() 282 data->grp = os_zalloc(sizeof(EAP_PWD_group)); in eap_pwd_perform_id_exchange() 283 if (data->grp == NULL) { in eap_pwd_perform_id_exchange() 323 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/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()
|
D | mdev.c | 151 struct group *grp; in make_device() local 153 grp = getgrnam(str); in make_device() 155 if (!grp) goto end_line; in make_device() 156 gid = grp->gr_gid; in make_device()
|
/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 | 878 struct bufferevent_rate_limit_group *grp) in bufferevent_rate_limit_group_get_read_limit() argument 881 LOCK_GROUP(grp); in bufferevent_rate_limit_group_get_read_limit() 882 r = grp->rate_limit.read_limit; in bufferevent_rate_limit_group_get_read_limit() 883 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_get_read_limit() 891 struct bufferevent_rate_limit_group *grp) in bufferevent_rate_limit_group_get_write_limit() argument 894 LOCK_GROUP(grp); in bufferevent_rate_limit_group_get_write_limit() 895 r = grp->rate_limit.write_limit; in bufferevent_rate_limit_group_get_write_limit() 896 UNLOCK_GROUP(grp); in bufferevent_rate_limit_group_get_write_limit() 958 struct bufferevent_rate_limit_group *grp, ev_ssize_t decr) in bufferevent_rate_limit_group_decrement_read() argument 962 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/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/libnl/lib/ |
D | cache_mngr.c | 214 struct nl_af_group *grp; in nl_cache_mngr_add() local 255 for (grp = ops->co_groups; grp->ag_group; grp++) { in nl_cache_mngr_add() 256 err = nl_socket_add_membership(mngr->cm_handle, grp->ag_group); in nl_cache_mngr_add() 279 for (grp = ops->co_groups; grp->ag_group; grp++) in nl_cache_mngr_add() 280 nl_socket_drop_membership(mngr->cm_handle, grp->ag_group); in nl_cache_mngr_add()
|
/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/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
|
D | vcpu_bz2.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
|
D | origin5-bz2.stdout.exp | 6 pass 1: size is 17143, grp uses are 38 62 2 92 6 71 7 pass 2: size is 6506, grp uses are 28 71 0 86 9 77 8 pass 3: size is 6479, grp uses are 26 70 0 81 11 83 9 pass 4: size is 6469, grp uses are 26 69 0 74 17 85
|
/external/valgrind/exp-sgcheck/tests/ |
D | hackedbz2.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
|
/external/iproute2/bridge/ |
D | mdb.c | 187 char *d = NULL, *p = NULL, *grp = NULL; in mdb_modify() local 204 grp = *argv; in mdb_modify() 223 if (d == NULL || grp == NULL || p == NULL) { in mdb_modify() 240 if (!inet_pton(AF_INET, grp, &entry.addr.u.ip4)) { in mdb_modify() 241 if (!inet_pton(AF_INET6, grp, &entry.addr.u.ip6)) { in mdb_modify() 242 fprintf(stderr, "Invalid address \"%s\"\n", grp); in mdb_modify()
|
/external/e2fsprogs/lib/ext2fs/ |
D | res_gdt.c | 136 unsigned int grp, last = 0; in ext2fs_create_resize_inode() local 176 while ((grp = list_backups(fs, &three, &five, &seven)) < in ext2fs_create_resize_inode() 178 blk_t expect = gdt_blk + grp * sb->s_blocks_per_group; in ext2fs_create_resize_inode() 183 expect, grp, gdt_blk, last); in ext2fs_create_resize_inode()
|
/external/autotest/utils/ |
D | service_helper.py | 3 import subprocess, sys, os, optparse, signal, pwd, grp, re 62 group_info = grp.getgrgid(group) 64 group_info = grp.getgrnam(group)
|
/external/autotest/client/site_tests/security_SysLogPermissions/ |
D | security_SysLogPermissions.py | 5 import grp 19 syslog_gid = grp.getgrnam('syslog').gr_gid
|