Home
last modified time | relevance | path

Searched refs:tmp_mask (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dnode_record.c458 char *tmp_mask = NULL; in hidden_def() local
460 if (node_alloc_addr_string(handle, node->proto, &tmp_mask) < 0) in hidden_def()
463 if (node_expand_addr(handle, node->mask, node->proto, tmp_mask) < 0) in hidden_def()
466 *mask = tmp_mask; in hidden_def()
470 free(tmp_mask); in hidden_def()
500 char *tmp_mask = NULL; in hidden_def() local
503 if (node_alloc_addr(handle, proto, &tmp_mask, &tmp_mask_sz) < 0) in hidden_def()
506 if (node_parse_addr(handle, mask, proto, tmp_mask) < 0) in hidden_def()
510 node->mask = tmp_mask; in hidden_def()
515 free(tmp_mask); in hidden_def()
[all …]
/external/openssh/
Daddrmatch.c299 struct xaddr tmp_addr, tmp_mask, tmp_result; in addr_host_is_all0s() local
302 if (addr_hostmask(a->af, masklen, &tmp_mask) == -1) in addr_host_is_all0s()
304 if (addr_and(&tmp_result, &tmp_addr, &tmp_mask) == -1) in addr_host_is_all0s()
353 struct xaddr tmp_mask, tmp_result; in addr_netmatch() local
358 if (addr_netmask(host->af, masklen, &tmp_mask) == -1) in addr_netmatch()
360 if (addr_and(&tmp_result, host, &tmp_mask) == -1) in addr_netmatch()