Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 1806) sorted by relevance

12345678910>>...73

/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c49 struct p2p_group *group, **groups; in p2p_group_init() local
51 group = os_zalloc(sizeof(*group)); in p2p_group_init()
52 if (group == NULL) in p2p_group_init()
58 os_free(group); in p2p_group_init()
61 groups[p2p->num_groups++] = group; in p2p_group_init()
64 group->p2p = p2p; in p2p_group_init()
65 group->cfg = config; in p2p_group_init()
66 group->group_formation = 1; in p2p_group_init()
67 group->beacon_update = 1; in p2p_group_init()
68 p2p_group_update_ies(group); in p2p_group_init()
[all …]
/external/boringssl/src/crypto/ec/
Dec.c290 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator() argument
292 if (group->curve_name != NID_undef) { in EC_GROUP_set_generator()
298 if (group->generator == NULL) { in EC_GROUP_set_generator()
299 group->generator = EC_POINT_new(group); in EC_GROUP_set_generator()
300 if (group->generator == NULL) { in EC_GROUP_set_generator()
305 if (!EC_POINT_copy(group->generator, generator)) { in EC_GROUP_set_generator()
310 if (!BN_copy(&group->order, order)) { in EC_GROUP_set_generator()
314 BN_zero(&group->order); in EC_GROUP_set_generator()
318 if (!BN_copy(&group->cofactor, cofactor)) { in EC_GROUP_set_generator()
322 BN_zero(&group->cofactor); in EC_GROUP_set_generator()
[all …]
Dsimple.c135 int ec_GFp_simple_group_init(EC_GROUP *group) { in ec_GFp_simple_group_init() argument
136 BN_init(&group->field); in ec_GFp_simple_group_init()
137 BN_init(&group->a); in ec_GFp_simple_group_init()
138 BN_init(&group->b); in ec_GFp_simple_group_init()
139 group->a_is_minus3 = 0; in ec_GFp_simple_group_init()
143 void ec_GFp_simple_group_finish(EC_GROUP *group) { in ec_GFp_simple_group_finish() argument
144 BN_free(&group->field); in ec_GFp_simple_group_finish()
145 BN_free(&group->a); in ec_GFp_simple_group_finish()
146 BN_free(&group->b); in ec_GFp_simple_group_finish()
149 void ec_GFp_simple_group_clear_finish(EC_GROUP *group) { in ec_GFp_simple_group_clear_finish() argument
[all …]
Doct.c76 static size_t ec_GFp_simple_point2oct(const EC_GROUP *group, in ec_GFp_simple_point2oct() argument
92 if (EC_POINT_is_at_infinity(group, point)) { in ec_GFp_simple_point2oct()
106 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_point2oct()
132 if (!EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx)) { in ec_GFp_simple_point2oct()
179 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GFp_simple_oct2point() argument
212 return EC_POINT_set_to_infinity(group, point); in ec_GFp_simple_oct2point()
215 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_oct2point()
241 if (BN_ucmp(x, &group->field) >= 0) { in ec_GFp_simple_oct2point()
247 if (!EC_POINT_set_compressed_coordinates_GFp(group, point, x, y_bit, ctx)) { in ec_GFp_simple_oct2point()
254 if (BN_ucmp(y, &group->field) >= 0) { in ec_GFp_simple_oct2point()
[all …]
Dec_montgomery.c120 int ec_GFp_mont_group_init(EC_GROUP *group) { in ec_GFp_mont_group_init() argument
123 ok = ec_GFp_simple_group_init(group); in ec_GFp_mont_group_init()
124 group->mont = NULL; in ec_GFp_mont_group_init()
125 group->one = NULL; in ec_GFp_mont_group_init()
129 void ec_GFp_mont_group_finish(EC_GROUP *group) { in ec_GFp_mont_group_finish() argument
130 BN_MONT_CTX_free(group->mont); in ec_GFp_mont_group_finish()
131 group->mont = NULL; in ec_GFp_mont_group_finish()
132 BN_free(group->one); in ec_GFp_mont_group_finish()
133 group->one = NULL; in ec_GFp_mont_group_finish()
134 ec_GFp_simple_group_finish(group); in ec_GFp_mont_group_finish()
[all …]
Dec_key.c133 ret->group = EC_GROUP_new_by_curve_name(nid); in EC_KEY_new_by_curve_name()
134 if (ret->group == NULL) { in EC_KEY_new_by_curve_name()
157 EC_GROUP_free(r->group); in EC_KEY_free()
173 if (src->group) { in EC_KEY_copy()
175 EC_GROUP_free(dest->group); in EC_KEY_copy()
176 dest->group = EC_GROUP_dup(src->group); in EC_KEY_copy()
177 if (dest->group == NULL) { in EC_KEY_copy()
183 if (src->pub_key && src->group) { in EC_KEY_copy()
185 dest->pub_key = EC_POINT_dup(src->pub_key, src->group); in EC_KEY_copy()
245 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) { return key->group; } in EC_KEY_get0_group()
[all …]
Dexample_mul.c78 EC_GROUP *group = NULL; in example_EC_POINT_mul() local
84 group = EC_GROUP_new_by_curve_name(NID_X9_62_prime256v1); in example_EC_POINT_mul()
85 p = EC_POINT_new(group); in example_EC_POINT_mul()
86 result = EC_POINT_new(group); in example_EC_POINT_mul()
91 group == NULL || in example_EC_POINT_mul()
93 !EC_POINT_set_to_infinity(group, p) || in example_EC_POINT_mul()
99 if (!EC_POINT_mul(group, result, NULL, p, n, NULL) || in example_EC_POINT_mul()
100 !EC_POINT_is_at_infinity(group, result)) { in example_EC_POINT_mul()
104 generator = EC_GROUP_get0_generator(group); in example_EC_POINT_mul()
107 if (!EC_POINT_mul(group, result, BN_value_one(), p, n, NULL) || in example_EC_POINT_mul()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceGroupTest.java27 private TestPreferenceGroup group; field in PreferenceGroupTest
38 group = new TestPreferenceGroup(context, attrs); in setUp()
39 shadow = Robolectric.shadowOf(group); in setUp()
55 assertThat( group.getPreferenceCount(), equalTo(0)); in shouldAddPreferences()
58 assertThat( group.addPreference(pref1), equalTo(true)); in shouldAddPreferences()
59 assertThat( group.getPreferenceCount(), equalTo(1)); in shouldAddPreferences()
62 assertThat( group.addPreference(pref1), equalTo(true)); in shouldAddPreferences()
63 assertThat( group.getPreferenceCount(), equalTo(1)); in shouldAddPreferences()
66 assertThat( group.addPreference(pref2), equalTo(true)); in shouldAddPreferences()
67 assertThat( group.getPreferenceCount(), equalTo(2)); in shouldAddPreferences()
[all …]
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt25 group: PIC
29 group: system_debug
32 group: malloc_functions
35 group: c_strings
45 group: c_string_formatting
51 group: floating_point
54 group: trigonometry
59 group: stdlib_qsort
62 group: pthread
66 group: system_locale
[all …]
/external/e2fsprogs/lib/ext2fs/
Dblknum.c28 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block2() argument
31 ((blk64_t)group * fs->super->s_blocks_per_group); in ext2fs_group_first_block2()
37 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block2() argument
39 return (group == fs->group_desc_count - 1 ? in ext2fs_group_last_block2()
41 ext2fs_group_first_block2(fs, group) + in ext2fs_group_last_block2()
48 int ext2fs_group_blocks_count(ext2_filsys fs, dgrp_t group) in ext2fs_group_blocks_count() argument
52 if (group == fs->group_desc_count - 1) { in ext2fs_group_blocks_count()
187 dgrp_t group) in ext2fs_group_desc() argument
190 group * EXT2_DESC_SIZE(fs->super)); in ext2fs_group_desc()
196 dgrp_t group) in ext4fs_group_desc() argument
[all …]
Dalloc_tables.c37 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, in flexbg_offset() argument
46 flexbg = group / flexbg_size; in flexbg_offset()
61 last_grp = group | (flexbg_size - 1); in flexbg_offset()
82 errcode_t ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group, in ext2fs_allocate_group_table() argument
91 group_blk = ext2fs_group_first_block2(fs, group); in ext2fs_allocate_group_table()
92 last_blk = ext2fs_group_last_block2(fs, group); in ext2fs_allocate_group_table()
101 last_grp = group | (flexbg_size - 1); in ext2fs_allocate_group_table()
104 rem_grps = last_grp - group + 1; in ext2fs_allocate_group_table()
116 start_blk += ((fs->stride * group) % in ext2fs_allocate_group_table()
126 if (group % flexbg_size) in ext2fs_allocate_group_table()
[all …]
Dalloc_stats.c20 int group = ext2fs_group_of_ino(fs, ino); in ext2fs_inode_alloc_stats2() local
33 ext2fs_bg_free_inodes_count_set(fs, group, ext2fs_bg_free_inodes_count(fs, group) - inuse); in ext2fs_inode_alloc_stats2()
35 ext2fs_bg_used_dirs_count_set(fs, group, ext2fs_bg_used_dirs_count(fs, group) + inuse); in ext2fs_inode_alloc_stats2()
39 ext2fs_bg_flags_clear(fs, group, EXT2_BG_INODE_UNINIT); in ext2fs_inode_alloc_stats2()
43 ext2fs_bg_itable_unused(fs, group) + in ext2fs_inode_alloc_stats2()
44 group * fs->super->s_inodes_per_group + 1; in ext2fs_inode_alloc_stats2()
47 …ext2fs_bg_itable_unused_set(fs, group, group * fs->super->s_inodes_per_group + fs->super->s_inodes… in ext2fs_inode_alloc_stats2()
48 ext2fs_group_desc_csum_set(fs, group); in ext2fs_inode_alloc_stats2()
63 int group = ext2fs_group_of_blk2(fs, blk); in ext2fs_block_alloc_stats2() local
76 ext2fs_bg_free_blocks_count_set(fs, group, ext2fs_bg_free_blocks_count(fs, group) - inuse); in ext2fs_block_alloc_stats2()
[all …]
/external/boringssl/src/include/openssl/
Dec.h108 OPENSSL_EXPORT void EC_GROUP_free(EC_GROUP *group);
121 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
125 OPENSSL_EXPORT int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order,
130 OPENSSL_EXPORT int EC_GROUP_get_cofactor(const EC_GROUP *group,
138 OPENSSL_EXPORT int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *out_p,
143 OPENSSL_EXPORT int EC_GROUP_get_curve_name(const EC_GROUP *group);
147 OPENSSL_EXPORT int EC_GROUP_get_degree(const EC_GROUP *group);
152 OPENSSL_EXPORT int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
156 OPENSSL_EXPORT int EC_GROUP_have_precompute_mult(const EC_GROUP *group);
163 OPENSSL_EXPORT EC_POINT *EC_POINT_new(const EC_GROUP *group);
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c40 struct wpa_group *group);
43 struct wpa_group *group);
45 struct wpa_group *group);
49 struct wpa_group *group);
51 struct wpa_group *group);
53 struct wpa_group *group);
252 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) { in wpa_rekey_gmk()
258 wpa_auth->group->GMK, WPA_GMK_LEN); in wpa_rekey_gmk()
271 struct wpa_group *group, *next; in wpa_rekey_gtk() local
274 group = wpa_auth->group; in wpa_rekey_gtk()
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/
Drcssmin.py220 group1, group2 = match.group(1, 2)
243 if match.group(1).endswith(r'\*/'):
253 def fn_space_post(group): argument
255 if group(5) is None or (
256 group(6) == ':' and not in_rule[0] and not at_group[0]):
257 return ' ' + space_sub(space_subber, group(4))
258 return space_sub(space_subber, group(4))
260 def fn_semicolon(group): argument
262 return ';' + space_sub(space_subber, group(7))
264 def fn_semicolon2(group): argument
[all …]
/external/vboot_reference/cgpt/
Dcgpt_prioritize.c26 group_t group[MAX_GROUPS]; // array of groups member
38 gl->group[i].priority = -1; in NewGroupList()
39 gl->group[i].num_parts = 0; in NewGroupList()
40 gl->group[i].part = (uint32_t *)malloc(sizeof(uint32_t) * max_p); in NewGroupList()
41 require(gl->group[i].part); in NewGroupList()
50 free(gl->group[i].part); in FreeGroups()
58 if (gl->group[i].priority == priority) in AddToGroup()
64 gl->group[i].priority = priority; in AddToGroup()
67 int j = gl->group[i].num_parts; in AddToGroup()
68 gl->group[i].part[j] = partition; in AddToGroup()
[all …]
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp411 …TestCaseGroup* group = new TestCaseGroup(m_context, "alignment", "Read pixels pack alignment param… in init() local
413group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_1", "", ReadPixelsTest::FLAG_NO_FLAGS, 1… in init()
414group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_2", "", ReadPixelsTest::FLAG_NO_FLAGS, 2… in init()
415group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_4", "", ReadPixelsTest::FLAG_NO_FLAGS, 4… in init()
416group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_8", "", ReadPixelsTest::FLAG_NO_FLAGS, 8… in init()
418group->addChild(new ReadPixelsTest(m_context, "rgba_int_1", "", ReadPixelsTest::FLAG_USE_RBO, 1, 0… in init()
419group->addChild(new ReadPixelsTest(m_context, "rgba_int_2", "", ReadPixelsTest::FLAG_USE_RBO, 2, 0… in init()
420group->addChild(new ReadPixelsTest(m_context, "rgba_int_4", "", ReadPixelsTest::FLAG_USE_RBO, 4, 0… in init()
421group->addChild(new ReadPixelsTest(m_context, "rgba_int_8", "", ReadPixelsTest::FLAG_USE_RBO, 8, 0… in init()
423group->addChild(new ReadPixelsTest(m_context, "rgba_uint_1", "", ReadPixelsTest::FLAG_USE_RBO, 1, … in init()
[all …]
/external/aac/libAACdec/src/
Drvlcconceal.cpp116 int band,bnds,group,startBand; in calcRefValFwd() local
139 for (group=conceal_group_min; group >= 0; group--) { in calcRefValFwd()
141 bnds = 16*group+band; in calcRefValFwd()
191 int band,bnds,group,startBand; in calcRefValBwd() local
215 for (group=conceal_group_max; group < pRvlc->numWindowGroups; group++) { in calcRefValBwd()
217 bnds = 16*group+band; in calcRefValBwd()
269 int band,bnds,startBand,endBand,group; in BidirectionalEstimation_UseLowerScfOfCurrentFrame() local
339 for (group=conceal_group_min; group <= conceal_group_max; group++) { in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
341 bnds = 16*group+band; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
348 if ((group+1) == conceal_group_max) in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
[all …]
Daacdec_pns.cpp152 const int group, in CPns_IsPnsUsed() argument
155 unsigned pns_band = group*16+band; in CPns_IsPnsUsed()
166 const int group, in CPns_SetCorrelation() argument
171 unsigned pns_band = group*16+band; in CPns_SetCorrelation()
186 const int group, in CPns_IsCorrelated() argument
190 unsigned pns_band = group*16+band; in CPns_IsCorrelated()
205 const int group, in CPns_IsOutOfPhase() argument
209 unsigned pns_band = group*16+band; in CPns_IsOutOfPhase()
225 int group /* = 0 */) in CPns_Read() argument
228 UINT pns_band = group*16+band; in CPns_Read()
[all …]
Dstereo.cpp113 int group,band; in CJointStereo_Read() local
127 for (group=0; group<windowGroups; group++) in CJointStereo_Read()
131 pJointStereoData->MsUsed[band] |= (FDKreadBits(bs,1) << group); in CJointStereo_Read()
158 int window, group, scaleFactorBandsTransmitted; in CJointStereo_ApplyMS() local
162 for (window = 0, group = 0; group < windowGroups; group++) in CJointStereo_ApplyMS()
164 UCHAR groupMask = 1 << group; in CJointStereo_ApplyMS()
166 for (int groupwin=0; groupwin<pWindowGroupLength[group]; groupwin++, window++) in CJointStereo_ApplyMS()
232 for (int window=0,group=0; group<windowGroups; group++) in CJointStereo_ApplyIS() local
236 UCHAR groupMask = 1 << group; in CJointStereo_ApplyIS()
238 CodeBook = &pAacDecoderChannelInfo[R]->pDynData->aCodeBook[group*16]; in CJointStereo_ApplyIS()
[all …]
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj491 … lastKnownFileType = sourcecode.cpp.cpp; path = DebuggerContentView.cpp; sourceTree = "<group>"; };
492 …ncoding = 4; lastKnownFileType = sourcecode.c.h; path = DebuggerViews.h; sourceTree = "<group>"; };
493 …lastKnownFileType = sourcecode.cpp.cpp; path = DebuggerCommandsView.cpp; sourceTree = "<group>"; };
494 …g = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SkDebugDumper.cpp; sourceTree = "<group>"; };
495 …ncoding = 4; lastKnownFileType = sourcecode.c.h; path = SkDebugDumper.h; sourceTree = "<group>"; };
496 …4; lastKnownFileType = sourcecode.cpp.cpp; path = DebuggerStateView.cpp; sourceTree = "<group>"; };
497 …= 4; lastKnownFileType = sourcecode.cpp.cpp; path = GrStencilBuffer.cpp; sourceTree = "<group>"; };
498 …g = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bitmapfilters.cpp; sourceTree = "<group>"; };
499 …eEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = blurs.cpp; sourceTree = "<group>"; };
500 …ing = 4; lastKnownFileType = sourcecode.cpp.cpp; path = complexclip.cpp; sourceTree = "<group>"; };
[all …]
/external/libvorbis/macosx/Vorbis.xcodeproj/
Dproject.pbxproj35 …t.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
36 …nce; explicitFileType = text.plist; fileEncoding = 4; path = Info.plist; sourceTree = "<group>"; };
40 … = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = codec.h; sourceTree = "<group>"; };
41 …BXFileReference; lastKnownFileType = sourcecode.c.h; path = vorbisenc.h; sourceTree = "<group>"; };
42 …XFileReference; lastKnownFileType = sourcecode.c.h; path = vorbisfile.h; sourceTree = "<group>"; };
43 …PBXFileReference; lastKnownFileType = sourcecode.c.c; path = analysis.c; sourceTree = "<group>"; };
44 …PBXFileReference; lastKnownFileType = sourcecode.c.h; path = backends.h; sourceTree = "<group>"; };
45 … PBXFileReference; lastKnownFileType = sourcecode.c.c; path = barkmel.c; sourceTree = "<group>"; };
46 … PBXFileReference; lastKnownFileType = sourcecode.c.c; path = bitrate.c; sourceTree = "<group>"; };
47 … PBXFileReference; lastKnownFileType = sourcecode.c.h; path = bitrate.h; sourceTree = "<group>"; };
[all …]
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECPointContext.java23 private final OpenSSLECGroupContext group; field in OpenSSLECPointContext
26 OpenSSLECPointContext(OpenSSLECGroupContext group, NativeRef.EC_POINT pointCtx) { in OpenSSLECPointContext() argument
27 this.group = group; in OpenSSLECPointContext()
38 if (!NativeCrypto.EC_GROUP_cmp(group.getNativeRef(), other.group.getNativeRef())) { in equals()
42 return NativeCrypto.EC_POINT_cmp(group.getNativeRef(), pointCtx, other.pointCtx); in equals()
47 group.getNativeRef(), pointCtx); in getECPoint()
63 public static OpenSSLECPointContext getInstance(int curveType, OpenSSLECGroupContext group, in getInstance() argument
65 OpenSSLECPointContext point = new OpenSSLECPointContext(group, new NativeRef.EC_POINT( in getInstance()
66 NativeCrypto.EC_POINT_new(group.getNativeRef()))); in getInstance()
67 NativeCrypto.EC_POINT_set_affine_coordinates(group.getNativeRef(), in getInstance()
DOpenSSLECPrivateKey.java42 protected transient OpenSSLECGroupContext group; field in OpenSSLECPrivateKey
44 public OpenSSLECPrivateKey(OpenSSLECGroupContext group, OpenSSLKey key) { in OpenSSLECPrivateKey() argument
45 this.group = group; in OpenSSLECPrivateKey()
50 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP( in OpenSSLECPrivateKey()
57 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPrivateKey()
59 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getNativeRef(), null, in OpenSSLECPrivateKey()
67 OpenSSLECGroupContext group; in wrapPlatformKey() local
69 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); in wrapPlatformKey()
73 return wrapPlatformKey(ecPrivateKey, group); in wrapPlatformKey()
112 OpenSSLECGroupContext group; in wrapJCAPrivateKeyForTLSStackOnly() local
[all …]
/external/fio/
Doptions.c1282 .group = FIO_OPT_G_DESC,
1291 .group = FIO_OPT_G_DESC,
1302 .group = FIO_OPT_G_FILENAME,
1312 .group = FIO_OPT_G_FILENAME,
1322 .group = FIO_OPT_G_FILENAME,
1335 .group = FIO_OPT_G_FILENAME,
1360 .group = FIO_OPT_G_FILENAME,
1373 .group = FIO_OPT_G_IO_BASIC,
1421 .group = FIO_OPT_G_IO_BASIC,
1442 .group = FIO_OPT_G_IO_BASIC,
[all …]

12345678910>>...73