Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c1356 int new_alias; in add_alias_to_buffer() local
1375 new_alias = result->alias_idx - len; in add_alias_to_buffer()
1377 if (new_alias < result->addr_idx) in add_alias_to_buffer()
1389 start = result->buffer + new_alias; in add_alias_to_buffer()
1391 result->alias_idx = new_alias; in add_alias_to_buffer()
/external/selinux/libsepol/src/
Dexpand.c630 type_datum_t *alias, *new_alias; in alias_copy_callback() local
667 new_alias = (type_datum_t *) malloc(sizeof(type_datum_t)); in alias_copy_callback()
668 if (!new_alias) { in alias_copy_callback()
673 memset(new_alias, 0, sizeof(type_datum_t)); in alias_copy_callback()
675 new_alias->s.value = state->typemap[alias->s.value - 1]; in alias_copy_callback()
677 new_alias->s.value = state->typemap[alias->primary - 1]; in alias_copy_callback()
681 new_alias->flags = alias->flags; in alias_copy_callback()
685 (hashtab_datum_t) new_alias); in alias_copy_callback()
689 free(new_alias); in alias_copy_callback()
694 state->typemap[alias->s.value - 1] = new_alias->s.value; in alias_copy_callback()
[all …]