Home
last modified time | relevance | path

Searched refs:tmp_key (Results 1 – 14 of 14) sorted by relevance

/third_party/selinux/libsepol/src/
Dnode_record.c228 sepol_node_key_t *tmp_key = in sepol_node_key_create() local
230 if (!tmp_key) in sepol_node_key_create()
233 if (node_alloc_addr(handle, proto, &tmp_key->addr, &tmp_key->addr_sz) < in sepol_node_key_create()
236 if (node_parse_addr(handle, addr, proto, tmp_key->addr) < 0) in sepol_node_key_create()
239 if (node_alloc_addr(handle, proto, &tmp_key->mask, &tmp_key->mask_sz) < in sepol_node_key_create()
242 if (node_parse_addr(handle, mask, proto, tmp_key->mask) < 0) in sepol_node_key_create()
245 tmp_key->proto = proto; in sepol_node_key_create()
247 *key_ptr = tmp_key; in sepol_node_key_create()
254 sepol_node_key_free(tmp_key); in sepol_node_key_create()
276 sepol_node_key_t *tmp_key = in sepol_node_key_extract() local
[all …]
Dboolean_record.c25 sepol_bool_key_t *tmp_key = in sepol_bool_key_create() local
28 if (!tmp_key) { in sepol_bool_key_create()
33 tmp_key->name = strdup(name); in sepol_bool_key_create()
34 if (!tmp_key->name) { in sepol_bool_key_create()
36 free(tmp_key); in sepol_bool_key_create()
40 *key_ptr = tmp_key; in sepol_bool_key_create()
Diface_record.c31 sepol_iface_key_t *tmp_key = in sepol_iface_key_create() local
34 if (!tmp_key) { in sepol_iface_key_create()
39 tmp_key->name = strdup(name); in sepol_iface_key_create()
40 if (!tmp_key->name) { in sepol_iface_key_create()
42 free(tmp_key); in sepol_iface_key_create()
46 *key_ptr = tmp_key; in sepol_iface_key_create()
Dibendport_record.c54 sepol_ibendport_key_t *tmp_key = in sepol_ibendport_key_create() local
57 if (!tmp_key) { in sepol_ibendport_key_create()
62 if (sepol_ibendport_alloc_ibdev_name(handle, &tmp_key->ibdev_name) < 0) in sepol_ibendport_key_create()
65 strncpy(tmp_key->ibdev_name, ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_key_create()
66 tmp_key->port = port; in sepol_ibendport_key_create()
68 *key_ptr = tmp_key; in sepol_ibendport_key_create()
75 sepol_ibendport_key_free(tmp_key); in sepol_ibendport_key_create()
Dassertion.c152 avtab_key_t tmp_key; in report_assertion_extended_permissions() local
163 memcpy(&tmp_key, k, sizeof(avtab_key_t)); in report_assertion_extended_permissions()
164 tmp_key.specified = AVTAB_XPERMS_ALLOWED; in report_assertion_extended_permissions()
167 tmp_key.source_type = i + 1; in report_assertion_extended_permissions()
169 tmp_key.target_type = j + 1; in report_assertion_extended_permissions()
170 for (node = avtab_search_node(avtab, &tmp_key); in report_assertion_extended_permissions()
172 node = avtab_search_node_next(node, tmp_key.specified)) { in report_assertion_extended_permissions()
329 avtab_key_t tmp_key; in check_assertion_extended_permissions_avtab() local
338 memcpy(&tmp_key, k, sizeof(avtab_key_t)); in check_assertion_extended_permissions_avtab()
339 tmp_key.specified = AVTAB_XPERMS_ALLOWED; in check_assertion_extended_permissions_avtab()
[all …]
Dibpkey_record.c103 sepol_ibpkey_key_t *tmp_key = in sepol_ibpkey_key_create() local
106 if (!tmp_key) { in sepol_ibpkey_key_create()
111 if (ibpkey_parse_subnet_prefix(handle, subnet_prefix, &tmp_key->subnet_prefix) < 0) in sepol_ibpkey_key_create()
114 tmp_key->low = low; in sepol_ibpkey_key_create()
115 tmp_key->high = high; in sepol_ibpkey_key_create()
117 *key_ptr = tmp_key; in sepol_ibpkey_key_create()
124 sepol_ibpkey_key_free(tmp_key); in sepol_ibpkey_key_create()
Dport_record.c33 sepol_port_key_t *tmp_key = in sepol_port_key_create() local
36 if (!tmp_key) { in sepol_port_key_create()
41 tmp_key->low = low; in sepol_port_key_create()
42 tmp_key->high = high; in sepol_port_key_create()
43 tmp_key->proto = proto; in sepol_port_key_create()
45 *key_ptr = tmp_key; in sepol_port_key_create()
Duser_record.c35 sepol_user_key_t *tmp_key = in sepol_user_key_create() local
38 if (!tmp_key) { in sepol_user_key_create()
44 tmp_key->name = strdup(name); in sepol_user_key_create()
45 if (!tmp_key->name) { in sepol_user_key_create()
47 free(tmp_key); in sepol_user_key_create()
51 *key_ptr = tmp_key; in sepol_user_key_create()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpool_urbg.cc164 pthread_key_t tmp_key; in GetPoolID() local
165 int err = pthread_key_create(&tmp_key, nullptr); in GetPoolID()
169 return tmp_key; in GetPoolID()
/third_party/node/deps/openssl/openssl/crypto/ec/
Dec_key.c699 BIGNUM *tmp_key = NULL; in EC_KEY_set_private_key() local
771 tmp_key = BN_dup(priv_key); in EC_KEY_set_private_key()
772 if (tmp_key == NULL) in EC_KEY_set_private_key()
775 BN_set_flags(tmp_key, BN_FLG_CONSTTIME); in EC_KEY_set_private_key()
778 if (bn_wexpand(tmp_key, fixed_top) == NULL) { in EC_KEY_set_private_key()
779 BN_clear_free(tmp_key); in EC_KEY_set_private_key()
784 key->priv_key = tmp_key; in EC_KEY_set_private_key()
/third_party/openssl/crypto/ec/
Dec_key.c699 BIGNUM *tmp_key = NULL; in EC_KEY_set_private_key() local
771 tmp_key = BN_dup(priv_key); in EC_KEY_set_private_key()
772 if (tmp_key == NULL) in EC_KEY_set_private_key()
775 BN_set_flags(tmp_key, BN_FLG_CONSTTIME); in EC_KEY_set_private_key()
778 if (bn_wexpand(tmp_key, fixed_top) == NULL) { in EC_KEY_set_private_key()
779 BN_clear_free(tmp_key); in EC_KEY_set_private_key()
784 key->priv_key = tmp_key; in EC_KEY_set_private_key()
/third_party/openssl/test/helpers/
Dhandshake.c1415 EVP_PKEY *tmp_key; in do_handshake_internal() local
1685 if (SSL_get_peer_tmp_key(client.ssl, &tmp_key)) { in do_handshake_internal()
1686 ret->tmp_key_type = pkey_type(tmp_key); in do_handshake_internal()
1687 EVP_PKEY_free(tmp_key); in do_handshake_internal()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DMessage.php1252 foreach ($value as $tmp_key => $tmp_value) {
1258 $tmp_key,
/third_party/ffmpeg/libavformat/
Dmov.c304 char tmp_key[AV_FOURCC_MAX_STRING_SIZE] = {0}; in mov_read_udta_string() local
451 key = av_fourcc_make_string(tmp_key, atom.type); in mov_read_udta_string()