Home
last modified time | relevance | path

Searched refs:avahi_strndup (Results 1 – 12 of 12) sorted by relevance

/external/avahi/avahi-common/
Dalternative.c89 if (!(c = avahi_strndup(s, l))) { in avahi_alternative_host_name()
103 if (!(c = avahi_strndup(s, AVAHI_LABEL_MAX-1-2))) in avahi_alternative_host_name()
157 if (!(c = avahi_strndup(s, l))) { in avahi_alternative_service_name()
170 if (!(c = avahi_strndup(s, AVAHI_LABEL_MAX-1-3))) in avahi_alternative_service_name()
Davahi-malloc.h69 char *avahi_strndup(const char *s, size_t l);
Davahi-malloc.c175 char *avahi_strndup(const char *s, size_t max) { in avahi_strndup() function
Dstrlst.c444 if (!(*key = avahi_strndup((char*) l->text, e - (char *) l->text))) in avahi_string_list_get_pair()
/external/avahi/avahi-utils/
Dstdb.c138 buffer = avahi_strndup(data.dptr, data.dsize); in stdb_lookup()
201 enum_key = avahi_strndup(key.dptr, key.dsize); in stdb_getent()
/external/avahi/avahi-daemon/
Dstatic-hosts.c206 ip = avahi_strndup(s, len); in static_hosts_load()
214 host = avahi_strndup(s, len); in static_hosts_load()
Dini-file-parser.c170 *(i++) = avahi_strndup(c, n); in avahi_split_csv()
Dstatic-services.c91 k = avahi_strndup(pattern, e - pattern); in replacestr()
513 k = avahi_strndup(n, length); in append_cdata()
Dmain.c211 resolv_conf_search_domains[j++] = avahi_strndup(p, k); in load_resolv_conf()
605 return avahi_strndup(buf, sizeof buf); in get_machine_id()
/external/avahi/avahi-core/
Diface-linux.c121 hw->name = avahi_strndup(RTA_DATA(a), RTA_PAYLOAD(a)); in netlink_callback()
Diface-pfroute.c88 hw->name = avahi_strndup(sdl->sdl_data, sdl->sdl_nlen); in rtm_info()
/external/avahi/avahi-compat-libdns_sd/
Dcompat.c199 token = avahi_strndup(t, l); in type_info_parse()