/external/selinux/libsepol/src/ |
boolean_record.c | 25 sepol_bool_key_t *tmp_key = local 28 if (!tmp_key) { 33 tmp_key->name = strdup(name); 34 if (!tmp_key->name) { 36 free(tmp_key); 40 *key_ptr = tmp_key;
|
iface_record.c | 31 sepol_iface_key_t *tmp_key = local 34 if (!tmp_key) { 39 tmp_key->name = strdup(name); 40 if (!tmp_key->name) { 42 free(tmp_key); 46 *key_ptr = tmp_key;
|
node_record.c | 230 sepol_node_key_t *tmp_key = local 232 if (!tmp_key) 235 if (node_alloc_addr(handle, proto, &tmp_key->addr, &tmp_key->addr_sz) < 238 if (node_parse_addr(handle, addr, proto, tmp_key->addr) < 0) 241 if (node_alloc_addr(handle, proto, &tmp_key->mask, &tmp_key->mask_sz) < 244 if (node_parse_addr(handle, mask, proto, tmp_key->mask) < 0) 247 tmp_key->proto = proto; 249 *key_ptr = tmp_key; 280 sepol_node_key_t *tmp_key = local [all...] |
port_record.c | 33 sepol_port_key_t *tmp_key = local 36 if (!tmp_key) { 41 tmp_key->low = low; 42 tmp_key->high = high; 43 tmp_key->proto = proto; 45 *key_ptr = tmp_key;
|
assertion.c | 147 avtab_key_t tmp_key; local 157 memcpy(&tmp_key, k, sizeof(avtab_key_t)); 158 tmp_key.specified = AVTAB_XPERMS_ALLOWED; 166 tmp_key.source_type = i + 1; 167 tmp_key.target_type = j + 1; 168 for (node = avtab_search_node(avtab, &tmp_key); 170 node = avtab_search_node_next(node, tmp_key.specified)) { 336 avtab_key_t tmp_key; local 345 memcpy(&tmp_key, k, sizeof(avtab_key_t)); 346 tmp_key.specified = AVTAB_XPERMS_ALLOWED [all...] |
user_record.c | 34 sepol_user_key_t *tmp_key = local 37 if (!tmp_key) { 43 tmp_key->name = strdup(name); 44 if (!tmp_key->name) { 46 free(tmp_key); 50 *key_ptr = tmp_key;
|
/external/selinux/libsemanage/src/ |
seuser_record.c | 44 semanage_seuser_key_t *tmp_key = (semanage_seuser_key_t *) local 47 if (!tmp_key) { 51 tmp_key->name = strdup(name); 52 if (!tmp_key->name) { 54 free(tmp_key); 58 *key_ptr = tmp_key;
|
fcontext_record.c | 40 semanage_fcontext_key_t *tmp_key = local 43 if (!tmp_key) { 48 tmp_key->expr = strdup(expr); 49 if (!tmp_key->expr) { 51 free(tmp_key); 54 tmp_key->type = type; 56 *key_ptr = tmp_key;
|
/system/core/libcutils/ |
str_parms.c | 216 void *tmp_key = NULL; local 225 tmp_key = strdup(key); 226 if (tmp_key == NULL) { 235 old_val = hashmapPut(str_parms->map, tmp_key, tmp_val); 241 // For new keys, hashmap takes ownership of tmp_key and tmp_val. 242 RELEASE_OWNERSHIP(tmp_key); 244 tmp_key = tmp_val = NULL; 253 free(tmp_key);
|
/system/update_engine/payload_consumer/ |
delta_performer.cc | 1362 base::FilePath tmp_key; local 1560 base::FilePath tmp_key; local [all...] |
/system/keymaster/ |
soft_keymaster_context.cpp | [all...] |