Home
last modified time | relevance | path

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

12345678910>>...96

/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/
Dsimple.c91 int ec_GFp_simple_group_init(EC_GROUP *group) { in ec_GFp_simple_group_init() argument
92 BN_init(&group->field); in ec_GFp_simple_group_init()
93 BN_init(&group->a); in ec_GFp_simple_group_init()
94 BN_init(&group->b); in ec_GFp_simple_group_init()
95 group->a_is_minus3 = 0; in ec_GFp_simple_group_init()
99 void ec_GFp_simple_group_finish(EC_GROUP *group) { in ec_GFp_simple_group_finish() argument
100 BN_free(&group->field); in ec_GFp_simple_group_finish()
101 BN_free(&group->a); in ec_GFp_simple_group_finish()
102 BN_free(&group->b); in ec_GFp_simple_group_finish()
105 void ec_GFp_simple_group_clear_finish(EC_GROUP *group) { in ec_GFp_simple_group_clear_finish() argument
[all …]
Dec_montgomery.c77 int ec_GFp_mont_group_init(EC_GROUP *group) { in ec_GFp_mont_group_init() argument
80 ok = ec_GFp_simple_group_init(group); in ec_GFp_mont_group_init()
81 group->mont = NULL; in ec_GFp_mont_group_init()
82 group->one = NULL; in ec_GFp_mont_group_init()
86 void ec_GFp_mont_group_finish(EC_GROUP *group) { in ec_GFp_mont_group_finish() argument
87 BN_MONT_CTX_free(group->mont); in ec_GFp_mont_group_finish()
88 group->mont = NULL; in ec_GFp_mont_group_finish()
89 BN_free(group->one); in ec_GFp_mont_group_finish()
90 group->one = NULL; in ec_GFp_mont_group_finish()
91 ec_GFp_simple_group_finish(group); in ec_GFp_mont_group_finish()
[all …]
Dec.c374 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator() argument
376 if (group->curve_name != NID_undef) { in EC_GROUP_set_generator()
382 if (group->generator == NULL) { in EC_GROUP_set_generator()
383 group->generator = EC_POINT_new(group); in EC_GROUP_set_generator()
384 if (group->generator == NULL) { in EC_GROUP_set_generator()
389 if (!EC_POINT_copy(group->generator, generator)) { in EC_GROUP_set_generator()
394 if (!BN_copy(&group->order, order)) { in EC_GROUP_set_generator()
398 BN_zero(&group->order); in EC_GROUP_set_generator()
402 if (!BN_copy(&group->cofactor, cofactor)) { in EC_GROUP_set_generator()
406 BN_zero(&group->cofactor); in EC_GROUP_set_generator()
[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()
98 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_point2oct()
124 if (!EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx)) { in ec_GFp_simple_point2oct()
171 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GFp_simple_oct2point() argument
195 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_oct2point()
221 if (BN_ucmp(x, &group->field) >= 0) { in ec_GFp_simple_oct2point()
227 if (!EC_POINT_set_compressed_coordinates_GFp(group, point, x, y_bit, ctx)) { in ec_GFp_simple_oct2point()
234 if (BN_ucmp(y, &group->field) >= 0) { in ec_GFp_simple_oct2point()
239 if (!EC_POINT_set_affine_coordinates_GFp(group, point, x, y, ctx)) { in ec_GFp_simple_oct2point()
[all …]
Dec_key.c127 ret->group = EC_GROUP_new_by_curve_name(nid); in EC_KEY_new_by_curve_name()
128 if (ret->group == NULL) { in EC_KEY_new_by_curve_name()
151 EC_GROUP_free(r->group); in EC_KEY_free()
167 if (src->group) { in EC_KEY_copy()
169 EC_GROUP_free(dest->group); in EC_KEY_copy()
170 dest->group = EC_GROUP_dup(src->group); in EC_KEY_copy()
171 if (dest->group == NULL) { in EC_KEY_copy()
177 if (src->pub_key && src->group) { in EC_KEY_copy()
179 dest->pub_key = EC_POINT_dup(src->pub_key, src->group); in EC_KEY_copy()
239 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) { return key->group; } in EC_KEY_get0_group()
[all …]
/external/robolectric/v1/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/tcpdump/tests/
Dhsrp_1.out1 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
2 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
3 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
4 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
5 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
6 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
7 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
8 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
9 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
10 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
[all …]
Dhsrp_1-v.out2 …192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1 helloti…
4 …192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1 hellot…
6 …192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1 helloti…
8 …192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1 hellot…
10 …192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1 helloti…
12 …192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1 helloti…
14 …192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1 hellot…
16 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
18 …192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1 helloti…
20 …192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1 hellot…
[all …]
/external/avahi/avahi-client/
Dentrygroup.c39 void avahi_entry_group_set_state(AvahiEntryGroup *group, AvahiEntryGroupState state) { in avahi_entry_group_set_state() argument
40 assert(group); in avahi_entry_group_set_state()
42 if (group->state_valid && group->state == state) in avahi_entry_group_set_state()
45 group->state = state; in avahi_entry_group_set_state()
46 group->state_valid = 1; in avahi_entry_group_set_state()
48 if (group->callback) in avahi_entry_group_set_state()
49 group->callback(group, state, group->userdata); in avahi_entry_group_set_state()
52 static int retrieve_state(AvahiEntryGroup *group) { in retrieve_state() argument
61 assert(group); in retrieve_state()
62 client = group->client; in retrieve_state()
[all …]
/external/autotest/server/cros/dynamic_suite/
Dhost_spec_unittest.py67 group = host_spec.ExplicitHostGroup(hosts_per_spec)
69 self.assertTrue(host.hostname in group.as_args()['hosts'])
85 group = host_spec.MetaHostGroup(labels, num)
86 args = group.as_args()
96 group = host_spec.ExplicitHostGroup(hosts_per_spec)
99 group.mark_host_success(host_list[0].hostname)
100 self.assertTrue(group.enough_hosts_succeeded())
101 self.assertTrue(specs[1] in group.doomed_specs)
104 group.mark_host_success(host_list[2].hostname)
105 self.assertTrue(group.enough_hosts_succeeded())
[all …]
/external/valgrind/solaris/
Dvalgrind.p5m10 dir path=usr/bin owner=root group=bin mode=0755
11 file path=usr/bin/callgrind_annotate owner=root group=bin mode=0755
12 file path=usr/bin/callgrind_control owner=root group=bin mode=0755
13 file path=usr/bin/cg_annotate owner=root group=bin mode=0755
14 file path=usr/bin/cg_diff owner=root group=bin mode=0755
15 file path=usr/bin/cg_merge owner=root group=bin mode=0755
16 file path=usr/bin/ms_print owner=root group=bin mode=0755
17 file path=usr/bin/valgrind owner=root group=bin mode=0755
18 file path=usr/bin/valgrind-di-server owner=root group=bin mode=0755
19 file path=usr/bin/valgrind-listener owner=root group=bin mode=0755
[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 …]
/external/chromium-trace/catapult/dashboard/dashboard/models/
Dalert_group_test.py67 anomalies[0].group = group_keys[0]
69 anomalies[1].group = group_keys[0]
71 anomalies[2].group = group_keys[1]
76 self.assertEqual(anomalies[0].group, anomalies[1].group)
77 self.assertNotEqual(anomalies[0].group, anomalies[2].group)
85 self.assertNotEqual(anomalies[1].group, anomalies[2].group)
98 self.assertEqual(anomalies[0].group, anomalies[1].group)
107 self.assertNotEqual(anomalies[0].group, anomalies[1].group)
108 self.assertIsNone(anomalies[1].group)
109 group = anomalies[0].group.get()
[all …]
Dalert.py41 group = ndb.KeyProperty(indexed=True) variable in Alert
61 if not self.group:
66 if self.group.kind() != 'AlertGroup':
67 self.group = None
69 group = self.group.get()
70 if not group:
81 alert_class.group == group.key).fetch()
86 if self.bug_id > 0 and group.bug_id != self.bug_id:
87 group.bug_id = self.bug_id
88 group.put()
[all …]
Dalert_group.py100 for group in groups:
101 if (_IsOverlapping(alert_entity, group.start_revision, group.end_revision)
102 and group.alert_kind == kind
103 and test_suite in group.test_suites):
104 _AddAlertToGroup(alert_entity, group)
111 group = AlertGroup()
112 group.start_revision = alert_entity.start_revision
113 group.end_revision = alert_entity.end_revision
114 group.test_suites = [test_suite]
115 group.alert_kind = kind
[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 const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
129 OPENSSL_EXPORT int EC_GROUP_get_cofactor(const EC_GROUP *group,
137 OPENSSL_EXPORT int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *out_p,
142 OPENSSL_EXPORT int EC_GROUP_get_curve_name(const EC_GROUP *group);
146 OPENSSL_EXPORT unsigned EC_GROUP_get_degree(const EC_GROUP *group);
153 OPENSSL_EXPORT EC_POINT *EC_POINT_new(const EC_GROUP *group);
169 const EC_GROUP *group);
173 OPENSSL_EXPORT int EC_POINT_set_to_infinity(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);
50 struct wpa_group *group);
52 struct wpa_group *group);
54 struct wpa_group *group);
253 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) { in wpa_rekey_gmk()
259 wpa_auth->group->GMK, WPA_GMK_LEN); in wpa_rekey_gmk()
272 struct wpa_group *group, *next; in wpa_rekey_gtk() local
275 group = wpa_auth->group; in wpa_rekey_gtk()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_libdispatch_mac.cc209 TSAN_INTERCEPTOR(long_t, dispatch_group_wait, dispatch_group_t group, in TSAN_INTERCEPTOR() argument
211 SCOPED_TSAN_INTERCEPTOR(dispatch_group_wait, group, timeout); in TSAN_INTERCEPTOR()
212 long_t result = REAL(dispatch_group_wait)(group, timeout); in TSAN_INTERCEPTOR()
213 if (result == 0) Acquire(thr, pc, (uptr)group); in TSAN_INTERCEPTOR()
217 TSAN_INTERCEPTOR(void, dispatch_group_leave, dispatch_group_t group) { in TSAN_INTERCEPTOR() argument
218 SCOPED_TSAN_INTERCEPTOR(dispatch_group_leave, group); in TSAN_INTERCEPTOR()
219 Release(thr, pc, (uptr)group); in TSAN_INTERCEPTOR()
220 REAL(dispatch_group_leave)(group); in TSAN_INTERCEPTOR()
223 TSAN_INTERCEPTOR(void, dispatch_group_async, dispatch_group_t group, in TSAN_INTERCEPTOR() argument
225 SCOPED_TSAN_INTERCEPTOR(dispatch_group_async, group, queue, block); in TSAN_INTERCEPTOR()
[all …]
/external/chromium-trace/catapult/third_party/py_vulcanize/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/autotest/client/site_tests/hardware_GobiGPS/
Dhardware_GobiGPS.py62 if match and match.group(2) == 'A' and not got_fix:
64 logging.debug('Time = %s', match.group(1))
65 logging.debug('Status = %s', match.group(2))
66 logging.debug('Latitude = %s %s', match.group(3),
67 match.group(4))
68 logging.debug('Longitude = %s %s', match.group(5),
69 match.group(6))
70 logging.debug('Speed = %s', match.group(7))
71 logging.debug('Track Angle = %s', match.group(8))
72 logging.debug('Date = %s', match.group(9))
[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 …]

12345678910>>...96