Searched refs:ckey (Results 1 – 7 of 7) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_symtab.c | 150 void cil_complex_symtab_hash(struct cil_complex_symtab_key *ckey, int mask, intptr_t *hash) in cil_complex_symtab_hash() argument 152 intptr_t sum = ckey->key1 + ckey->key2 + ckey->key3 + ckey->key4; in cil_complex_symtab_hash() 166 struct cil_complex_symtab_key *ckey, in cil_complex_symtab_insert() argument 177 node->ckey = ckey; in cil_complex_symtab_insert() 180 cil_complex_symtab_hash(ckey, symtab->mask, &hash); in cil_complex_symtab_insert() 184 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert() 185 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert() 186 ckey->key3 == curr->ckey->key3 && in cil_complex_symtab_insert() 187 ckey->key4 == curr->ckey->key4) { in cil_complex_symtab_insert() 192 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert() [all …]
|
D | cil_symtab.h | 61 struct cil_complex_symtab_key *ckey; member 85 …_insert(struct cil_complex_symtab *symtab, struct cil_complex_symtab_key *ckey, struct cil_complex… 86 …_search(struct cil_complex_symtab *symtab, struct cil_complex_symtab_key *ckey, struct cil_complex…
|
D | cil_verify.c | 832 struct cil_complex_symtab_key ckey; in __cil_verify_rule() local 837 ckey.key1 = (intptr_t)roletrans->src; in __cil_verify_rule() 838 ckey.key2 = (intptr_t)roletrans->tgt; in __cil_verify_rule() 839 ckey.key3 = (intptr_t)roletrans->obj; in __cil_verify_rule() 840 ckey.key4 = CIL_ROLETRANSITION; in __cil_verify_rule() 845 ckey.key1 = (intptr_t)typerule->src; in __cil_verify_rule() 846 ckey.key2 = (intptr_t)typerule->tgt; in __cil_verify_rule() 847 ckey.key3 = (intptr_t)typerule->obj; in __cil_verify_rule() 848 ckey.key4 = (intptr_t)typerule->rule_kind; in __cil_verify_rule() 856 rc = cil_complex_symtab_insert(symtab, &ckey, NULL); in __cil_verify_rule() [all …]
|
/external/vboot_reference/tests/ |
D | vb21_host_key_tests.c | 37 const struct vb2_private_key *ckey; in private_key_tests() local 151 TEST_EQ(vb2_private_key_hash(&ckey, VB2_HASH_INVALID), in private_key_tests() 154 TEST_PTR_EQ(ckey, NULL, " key_ptr"); in private_key_tests() 156 TEST_SUCC(vb2_private_key_hash(&ckey, combo->hash_alg), "Hash key"); in private_key_tests() 157 TEST_PTR_NEQ(ckey, NULL, " key_ptr"); in private_key_tests() 158 TEST_EQ(ckey->hash_alg, combo->hash_alg, " hash_alg"); in private_key_tests() 159 TEST_EQ(ckey->sig_alg, VB2_SIG_NONE, " sig_alg"); in private_key_tests() 160 TEST_EQ(memcmp(&ckey->guid, vb2_hash_guid(combo->hash_alg), in private_key_tests() 161 sizeof(ckey->guid)), 0, " guid"); in private_key_tests() 163 TEST_SUCC(vb2_private_key_write(ckey, testfile), "Write hash key"); in private_key_tests()
|
/external/icu/icu4c/source/common/ |
D | unifiedcache.cpp | 49 const CacheKeyBase *ckey = (const CacheKeyBase *) key.pointer; in ucache_hashKeys() local 50 return ckey->hashCode(); in ucache_hashKeys()
|
/external/python/cpython3/Lib/test/ |
D | test_winreg.py | 193 access=KEY_ALL_ACCESS) as ckey: 194 self.assertTrue(ckey.handle != 0)
|
/external/libxml2/ |
D | xmlschemas.c | 23031 xmlSchemaPSVIIDCKeyPtr ckey, bkey, *bkeySeq; in xmlSchemaXPathProcessHistory() local 23042 ckey = (*keySeq)[j]; in xmlSchemaXPathProcessHistory() 23044 res = xmlSchemaAreValuesEqual(ckey->val, bkey->val); in xmlSchemaXPathProcessHistory()
|