Home
last modified time | relevance | path

Searched refs:ckey (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_symtab.c150 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 …]
Dcil_symtab.h61 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…
Dcil_verify.c834 struct cil_complex_symtab_key ckey; in __cil_verify_rule() local
839 ckey.key1 = (intptr_t)roletrans->src; in __cil_verify_rule()
840 ckey.key2 = (intptr_t)roletrans->tgt; in __cil_verify_rule()
841 ckey.key3 = (intptr_t)roletrans->obj; in __cil_verify_rule()
842 ckey.key4 = CIL_ROLETRANSITION; in __cil_verify_rule()
847 ckey.key1 = (intptr_t)typerule->src; in __cil_verify_rule()
848 ckey.key2 = (intptr_t)typerule->tgt; in __cil_verify_rule()
849 ckey.key3 = (intptr_t)typerule->obj; in __cil_verify_rule()
850 ckey.key4 = (intptr_t)typerule->rule_kind; in __cil_verify_rule()
858 rc = cil_complex_symtab_insert(symtab, &ckey, NULL); in __cil_verify_rule()
[all …]
/external/vboot_reference/tests/
Dvb21_host_key_tests.c37 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/igt-gpu-tools/tests/
Dkms_legacy_colorkey.c38 struct drm_intel_sprite_colorkey ckey = { in test_plane() local
42 igt_assert(drmCommandWrite(drm_fd, DRM_I915_SET_SPRITE_COLORKEY, &ckey, in test_plane()
43 sizeof(ckey)) == expected_ret); in test_plane()
/external/icu/icu4c/source/common/
Dunifiedcache.cpp50 const CacheKeyBase *ckey = (const CacheKeyBase *) key.pointer; in ucache_hashKeys() local
51 return ckey->hashCode(); in ucache_hashKeys()
/external/python/cpython3/Lib/test/
Dtest_winreg.py194 access=KEY_ALL_ACCESS) as ckey:
195 self.assertTrue(ckey.handle != 0)
/external/libxml2/
Dxmlschemas.c23155 xmlSchemaPSVIIDCKeyPtr ckey, bkey, *bkeySeq; in xmlSchemaXPathProcessHistory() local
23176 ckey = (*keySeq)[j]; in xmlSchemaXPathProcessHistory()
23178 res = xmlSchemaAreValuesEqual(ckey->val, bkey->val); in xmlSchemaXPathProcessHistory()
/external/libabigail/tests/data/test-abidiff/
Dtest-PR18166-libtirpc.so.abi3223 …<parameter type-id='type-id-382' name='ckey' filepath='/home/max/src/v6/libtirpc/src/rpc_soc.c' li…
4143 …<parameter type-id='type-id-408' name='ckey' filepath='/home/max/src/v6/libtirpc/src/auth_des.c' l…
/external/libtextclassifier/native/annotator/pod_ner/test_data/
Dvocab.txt29184 ##ckey