Home
last modified time | relevance | path

Searched refs:my_hash (Results 1 – 6 of 6) sorted by relevance

/external/clearsilver/util/
Dneo_hash.c26 NE_HASH *my_hash = NULL; in ne_hash_init() local
28 my_hash = (NE_HASH *) calloc(1, sizeof(NE_HASH)); in ne_hash_init()
29 if (my_hash == NULL) in ne_hash_init()
32 my_hash->size = 256; in ne_hash_init()
33 my_hash->num = 0; in ne_hash_init()
34 my_hash->hash_func = hash_func; in ne_hash_init()
35 my_hash->comp_func = comp_func; in ne_hash_init()
37 my_hash->nodes = (NE_HASHNODE **) calloc (my_hash->size, sizeof(NE_HASHNODE *)); in ne_hash_init()
38 if (my_hash->nodes == NULL) in ne_hash_init()
40 free(my_hash); in ne_hash_init()
[all …]
/external/ipsec-tools/src/racoon/
Disakmp_newg.c148 vchar_t *my_hash = NULL;
166 my_hash = isakmp_prf(iph1->skeyid_a, buf, iph1);
168 if (my_hash == NULL)
172 plogdump(LLV_DEBUG, my_hash->v, my_hash->l);
179 result = memcmp(my_hash->v, r_hash, my_hash->l);
180 vfree(my_hash);
Disakmp_quick.c494 vchar_t *my_hash = NULL; local
502 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
503 if (my_hash == NULL)
506 result = memcmp(my_hash->v, r_hash, my_hash->l);
507 vfree(my_hash);
767 vchar_t *my_hash = NULL; local
776 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
778 if (my_hash == NULL)
781 result = memcmp(my_hash->v, r_hash, my_hash->l);
782 vfree(my_hash);
[all …]
Doakley.c1239 vchar_t *my_hash = NULL; local
1287 my_hash = oakley_ph1hash_common(iph1, VALIDATE);
1291 my_hash = oakley_ph1hash_common(iph1, VALIDATE);
1293 my_hash = oakley_ph1hash_base_i(iph1, VALIDATE);
1300 if (my_hash == NULL)
1303 result = memcmp(my_hash->v, r_hash, my_hash->l);
1304 vfree(my_hash);
1476 my_hash = oakley_ph1hash_common(iph1, VALIDATE);
1480 my_hash = oakley_ph1hash_base_r(iph1, VALIDATE);
1482 my_hash = oakley_ph1hash_base_i(iph1, VALIDATE);
[all …]
/external/bluetooth/glib/tests/
Dhash-test.c125 my_hash (gconstpointer key) in my_hash() function
396 hash_table = g_hash_table_new (my_hash, my_hash_equal); in main()
Dtestglib.c487 my_hash (gconstpointer key) in my_hash() function
1037 hash_table = g_hash_table_new (my_hash, my_hash_equal); in hash_table_tests()