Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 25 of 57) sorted by relevance

123

/external/aac/libAACenc/src/
Dgrp_data.cpp121 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/
Deap_pwd_common.c88 int compute_password_element(EAP_PWD_group *grp, u16 num, in compute_password_element() argument
120 grp->pwe = NULL; in compute_password_element()
121 grp->order = NULL; in compute_password_element()
122 grp->prime = NULL; in compute_password_element()
124 if ((grp->group = EC_GROUP_new_by_curve_name(nid)) == NULL) { in compute_password_element()
131 ((grp->pwe = EC_POINT_new(grp->group)) == NULL) || in compute_password_element()
132 ((grp->order = BN_new()) == NULL) || in compute_password_element()
133 ((grp->prime = BN_new()) == NULL) || in compute_password_element()
139 if (!EC_GROUP_get_curve_GFp(grp->group, grp->prime, NULL, NULL, NULL)) in compute_password_element()
145 if (!EC_GROUP_get_order(grp->group, grp->order, NULL)) { in compute_password_element()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c28 EAP_PWD_group *grp; member
152 if (data->grp) { in eap_pwd_deinit()
153 EC_GROUP_free(data->grp->group); in eap_pwd_deinit()
154 EC_POINT_free(data->grp->pwe); in eap_pwd_deinit()
155 BN_free(data->grp->order); in eap_pwd_deinit()
156 BN_free(data->grp->prime); in eap_pwd_deinit()
157 os_free(data->grp); in eap_pwd_deinit()
225 if ((data->grp = (EAP_PWD_group *) os_malloc(sizeof(EAP_PWD_group))) == in eap_pwd_perform_id_exchange()
234 if (compute_password_element(data->grp, data->group_num, in eap_pwd_perform_id_exchange()
245 BN_num_bits(data->grp->prime)); in eap_pwd_perform_id_exchange()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c29 EAP_PWD_group *grp; member
146 if (data->grp) { in eap_pwd_reset()
147 EC_GROUP_free(data->grp->group); in eap_pwd_reset()
148 EC_POINT_free(data->grp->pwe); in eap_pwd_reset()
149 BN_free(data->grp->order); in eap_pwd_reset()
150 BN_free(data->grp->prime); in eap_pwd_reset()
151 os_free(data->grp); in eap_pwd_reset()
201 ((data->my_element = EC_POINT_new(data->grp->group)) == NULL) || in eap_pwd_build_commit_req()
209 BN_rand_range(data->private_value, data->grp->order); in eap_pwd_build_commit_req()
210 BN_rand_range(mask, data->grp->order); in eap_pwd_build_commit_req()
[all …]
/external/openssh/
Djpake.c78 ret->grp = jpake_default_group(); in jpake_new()
193 jpake_step1(struct modp_group *grp, in jpake_step1() argument
215 if ((*priv1 = bn_rand_range_gt_one(grp->q)) == NULL || in jpake_step1()
216 (*priv2 = bn_rand_range_gt_one(grp->q)) == NULL) in jpake_step1()
226 if (BN_mod_exp(*g_priv1, grp->g, *priv1, grp->p, bn_ctx) == -1) in jpake_step1()
228 if (BN_mod_exp(*g_priv2, grp->g, *priv2, grp->p, bn_ctx) == -1) in jpake_step1()
232 if (schnorr_sign_buf(grp->p, grp->q, grp->g, in jpake_step1()
236 if (schnorr_sign_buf(grp->p, grp->q, grp->g, in jpake_step1()
246 jpake_step2(struct modp_group *grp, BIGNUM *s, in jpake_step2() argument
261 if (BN_cmp(theirpub1, grp->p) >= 0) in jpake_step2()
[all …]
Dschnorr.c565 modp_group_free(struct modp_group *grp) in modp_group_free() argument
567 if (grp->g != NULL) in modp_group_free()
568 BN_clear_free(grp->g); in modp_group_free()
569 if (grp->p != NULL) in modp_group_free()
570 BN_clear_free(grp->p); in modp_group_free()
571 if (grp->q != NULL) in modp_group_free()
572 BN_clear_free(grp->q); in modp_group_free()
573 bzero(grp, sizeof(*grp)); in modp_group_free()
574 xfree(grp); in modp_group_free()
618 struct modp_group *grp; in schnorr_selftest() local
[all …]
Dsshpty.c210 struct group *grp; in pty_setowner() local
216 grp = getgrnam("tty"); in pty_setowner()
217 if (grp) { in pty_setowner()
218 gid = grp->gr_gid; in pty_setowner()
/external/elfutils/libasm/
Dasm_newscn_ingrp.c37 asm_newscn_ingrp (ctx, scnname, type, flags, grp) in asm_newscn_ingrp() argument
42 AsmScnGrp_t *grp;
50 if (grp->nmembers == 0)
52 assert (grp->members == NULL);
53 grp->members = result->data.main.next_in_group = result;
58 = grp->members->data.main.next_in_group;
59 grp->members = grp->members->data.main.next_in_group = result;
62 ++grp->nmembers;
Dasm_scngrp_newsignature.c35 asm_scngrp_newsignature (grp, signature) in asm_scngrp_newsignature() argument
36 AsmScnGrp_t *grp; in asm_scngrp_newsignature()
39 if (grp == NULL || signature == NULL)
42 grp->signature = signature;
Dlibasm.h90 AsmScnGrp_t *grp);
102 extern int asm_scngrp_newsignature (AsmScnGrp_t *grp, AsmSym_t *signature);
/external/openssh/openbsd-compat/
Dgetgrouplist.c48 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()
Dport-aix.c436 char *cp, *grplist, *grp; in getgrouplist() local
456 while ((grp = strsep(&grplist, ",")) != NULL) { in getgrouplist()
457 l = strtol(grp, NULL, 10); in getgrouplist()
/external/iptables/extensions/
Dlibxt_owner.c140 struct group *grp; in owner_mt_parse_v0() local
156 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt_parse_v0()
157 id = grp->gr_gid; in owner_mt_parse_v0()
187 struct group *grp; in owner_mt6_parse_v0() local
203 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt6_parse_v0()
204 id = grp->gr_gid; in owner_mt6_parse_v0()
245 struct group *grp; in owner_mt_parse() local
262 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt_parse()
263 from = to = grp->gr_gid; in owner_mt_parse()
313 struct group *grp = getgrgid(info->gid); in owner_mt_print_item_v0() local
[all …]
/external/kernel-headers/original/linux/
Dif_vlan.h120 extern int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp,
124 vlan_gro_receive(struct napi_struct *napi, struct vlan_group *grp,
127 vlan_gro_frags(struct napi_struct *napi, struct vlan_group *grp,
143 static inline int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp, in __vlan_hwaccel_rx() argument
156 vlan_gro_receive(struct napi_struct *napi, struct vlan_group *grp, in vlan_gro_receive() argument
163 vlan_gro_frags(struct napi_struct *napi, struct vlan_group *grp, in vlan_gro_frags() argument
177 struct vlan_group *grp, in vlan_hwaccel_rx() argument
180 return __vlan_hwaccel_rx(skb, grp, vlan_tci, 0); in vlan_hwaccel_rx()
190 struct vlan_group *grp, in vlan_hwaccel_receive_skb() argument
193 return __vlan_hwaccel_rx(skb, grp, vlan_tci, 1); in vlan_hwaccel_receive_skb()
/external/elfutils/tests/
Dasm-tst6.c69 AsmScnGrp_t *grp; in main() local
74 grp = asm_newscngrp (ctx, buf, NULL, 0); in main()
75 if (grp == NULL) in main()
83 SHF_ALLOC | SHF_WRITE, grp); in main()
113 if (asm_scngrp_newsignature (grp, sym) != 0) in main()
122 scn = asm_newscn_ingrp (ctx, ".stab", SHT_PROGBITS, 0, grp); in main()
/external/valgrind/main/memcheck/tests/
Dvarinfo6.stdout.exp5 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
Dvcpu_bz2.stdout.exp5 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
Dorigin5-bz2.stdout.exp6 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/main/exp-sgcheck/tests/
Dhackedbz2.stdout.exp5 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/e2fsprogs/lib/ext2fs/
Dres_gdt.c126 unsigned int grp, last = 0; in ext2fs_create_resize_inode() local
166 while ((grp = list_backups(fs, &three, &five, &seven)) < in ext2fs_create_resize_inode()
168 blk_t expect = gdt_blk + grp * sb->s_blocks_per_group; in ext2fs_create_resize_inode()
173 expect, grp, gdt_blk, last); in ext2fs_create_resize_inode()
/external/genext2fs/
Dgenext2fs.c245 #define GRP_GET_GROUP_BBM(fs,grp) ( get_blk((fs),(fs)->gd[(grp)].bg_block_bitmap) ) argument
248 #define GRP_GET_GROUP_IBM(fs,grp) ( get_blk((fs),(fs)->gd[(grp)].bg_inode_bitmap) ) argument
830 int grp,offset; in get_nod() local
834 grp = GRP_GROUP_OF_INODE(fs,nod); in get_nod()
835 itab = (inode *)get_blk(fs, fs->gd[grp].bg_inode_table); in get_nod()
877 uint32 grp,nbgroups; in alloc_blk() local
879 grp = GRP_GROUP_OF_INODE(fs,nod); in alloc_blk()
881 if(!(bk = allocate(get_blk(fs,fs->gd[grp].bg_block_bitmap), 0))) { in alloc_blk()
882 for(grp=0;grp<nbgroups && !bk;grp++) in alloc_blk()
883 bk=allocate(get_blk(fs,fs->gd[grp].bg_block_bitmap),0); in alloc_blk()
[all …]
/external/dropbear/
Dsshpty.c358 struct group *grp; in pty_setowner() local
364 grp = getgrnam("tty"); in pty_setowner()
365 if (grp) { in pty_setowner()
366 gid = grp->gr_gid; in pty_setowner()
/external/svox/pico/lib/
Dpicoktab.c1016 picoos_uint8 *grp; in picoktab_isPartOfPosGroup() local
1023 grp = NULL; in picoktab_isPartOfPosGroup()
1036 while ((grp == NULL) && (i < PICOKTAB_MAXNRPOS_IN_COMB)) { in picoktab_isPartOfPosGroup()
1044 while ((grp == NULL) && (j < n)) { in picoktab_isPartOfPosGroup()
1046 grp = e + 1; in picoktab_isPartOfPosGroup()
1056 if (grp != NULL) { in picoktab_isPartOfPosGroup()
1058 if (pos == grp[i]) { in picoktab_isPartOfPosGroup()
/external/e2fsprogs/resize/
Dresize2fs.c1894 blk_t grp, data_needed, last_start; in calculate_minimum_resize_size() local
1915 for (grp = 0; grp < fs->group_desc_count; grp++) { in calculate_minimum_resize_size()
1916 if (ext2fs_bg_has_super(fs, grp)) in calculate_minimum_resize_size()
1943 for (grp = 0; grp < groups; grp++) { in calculate_minimum_resize_size()
1946 if (ext2fs_bg_has_super(fs, grp)) in calculate_minimum_resize_size()
1954 if (grp != (groups - 1)) in calculate_minimum_resize_size()
1981 for (grp = groups; grp < groups+extra_grps; grp++) { in calculate_minimum_resize_size()
1983 if (ext2fs_bg_has_super(fs, grp)) in calculate_minimum_resize_size()
1990 if (grp != (groups + extra_grps - 1)) in calculate_minimum_resize_size()
/external/wpa_supplicant_8/hostapd/
Dmain.c546 struct group *grp; in hostapd_get_ctrl_iface_group() local
547 grp = getgrnam(group); in hostapd_get_ctrl_iface_group()
548 if (grp == NULL) { in hostapd_get_ctrl_iface_group()
552 interfaces->ctrl_iface_group = grp->gr_gid; in hostapd_get_ctrl_iface_group()

123