Home
last modified time | relevance | path

Searched refs:hash_count (Results 1 – 15 of 15) sorted by relevance

/external/vboot_reference/host/lib21/
Dhost_fw_preamble.c22 uint32_t hash_count, in vb2_fw_preamble_create() argument
35 .hash_count = hash_count, in vb2_fw_preamble_create()
48 for (i = 0; i < hash_count; i++) in vb2_fw_preamble_create()
68 for (i = 0; i < hash_count; i++) { in vb2_fw_preamble_create()
/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c447 const u8 *hash, u8 hash_count) in p2ps_wildcard_hash() argument
452 for (i = 0; i < hash_count; i++) { in p2ps_wildcard_hash()
595 u8 hash_count, const u8 *hash, in p2p_buf_add_service_instance() argument
604 if (!adv_list || !hash || !hash_count) in p2p_buf_add_service_instance()
608 hash, hash_count * P2PS_HASH_LEN); in p2p_buf_add_service_instance()
609 p2ps_wildcard = p2ps_wildcard_hash(p2p, hash, hash_count) && in p2p_buf_add_service_instance()
643 for (i = 0; i < hash_count; i++) { in p2p_buf_add_service_instance()
/external/vboot_reference/firmware/lib21/
Dapi.c62 for (i = 0; i < pre->hash_count; i++) { in vb2api_init_hash2()
71 if (i >= pre->hash_count) in vb2api_init_hash2()
Dcommon.c408 for (i = 0; i < preamble->hash_count; i++, hash_offset = min_offset) { in vb2_verify_fw_preamble()
/external/vboot_reference/host/lib21/include/
Dhost_fw_preamble2.h31 uint32_t hash_count,
/external/python/cpython3/Lib/test/
Dtest_dict.py322 self.hash_count = 0
325 self.hash_count += 1
334 self.assertEqual(hashed1.hash_count, 1)
335 self.assertEqual(hashed2.hash_count, 1)
341 self.hash_count = 0
344 self.hash_count += 1
355 self.assertEqual(hashed1.hash_count, 1)
356 self.assertEqual(hashed2.hash_count, 1)
Dtest_set.py36 self.hash_count = 0
38 self.hash_count += 1
338 self.assertEqual(sum(elem.hash_count for elem in d), n)
340 self.assertEqual(sum(elem.hash_count for elem in d), n)
342 self.assertEqual(sum(elem.hash_count for elem in d), n)
345 self.assertEqual(sum(elem.hash_count for elem in d), n)
347 self.assertEqual(sum(elem.hash_count for elem in d), n)
349 self.assertEqual(sum(elem.hash_count for elem in d), n)
351 self.assertEqual(sum(elem.hash_count for elem in d), n)
/external/vboot_reference/firmware/lib21/include/
Dvb2_struct.h334 uint32_t hash_count; member
/external/python/cpython2/Lib/test/
Dtest_dict.py316 self.hash_count = 0
319 self.hash_count += 1
328 self.assertEqual(hashed1.hash_count, 1)
329 self.assertEqual(hashed2.hash_count, 1)
Dtest_set.py34 self.hash_count = 0
36 self.hash_count += 1
315 self.assertEqual(sum(elem.hash_count for elem in d), n)
317 self.assertEqual(sum(elem.hash_count for elem in d), n)
319 self.assertEqual(sum(elem.hash_count for elem in d), n)
322 self.assertEqual(sum(elem.hash_count for elem in d), n)
324 self.assertEqual(sum(elem.hash_count for elem in d), n)
326 self.assertEqual(sum(elem.hash_count for elem in d), n)
328 self.assertEqual(sum(elem.hash_count for elem in d), n)
/external/vboot_reference/tests/
Dvb21_host_fw_preamble_tests.c88 TEST_EQ(fp->hash_count, 3, " hash_count"); in preamble_tests()
Dvb21_api_tests.c97 pre->hash_count = 3; in reset_common_data()
Dvb21_common_tests.c484 pre->hash_count++; in test_verify_fw_preamble()
/external/protobuf/php/ext/google/protobuf/
Dupb.c4635 int hash_count = upb_inttable_count(t) - arr_count; in upb_inttable_compact() local
4636 int hash_size = hash_count ? (hash_count / MAX_LOAD) + 1 : 0; in upb_inttable_compact()
4639 assert(hash_count >= 0); in upb_inttable_compact()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c4887 size_t hash_count = upb_inttable_count(t) - arr_count; in upb_inttable_compact2() local
4888 size_t hash_size = hash_count ? (hash_count / MAX_LOAD) + 1 : 0; in upb_inttable_compact2()