Home
last modified time | relevance | path

Searched refs:ret_s (Results 1 – 6 of 6) sorted by relevance

/external/avahi/avahi-core/
Ddomain-util.c54 static int load_lsb_distrib_id(char *ret_s, size_t size) { in load_lsb_distrib_id() argument
57 assert(ret_s); in load_lsb_distrib_id()
76 snprintf(ret_s, size, "%s", p); in load_lsb_distrib_id()
87 char *avahi_get_host_name(char *ret_s, size_t size) { in avahi_get_host_name() argument
88 assert(ret_s); in avahi_get_host_name()
91 if (gethostname(ret_s, size) >= 0) { in avahi_get_host_name()
92 ret_s[size-1] = 0; in avahi_get_host_name()
93 strip_bad_chars(ret_s); in avahi_get_host_name()
95 *ret_s = 0; in avahi_get_host_name()
97 if (strcmp(ret_s, "localhost") == 0 || strncmp(ret_s, "localhost.", 10) == 0) { in avahi_get_host_name()
[all …]
Ddomain-util.h32 char *avahi_get_host_name(char *ret_s, size_t size);
/external/avahi/avahi-common/
Daddress.c67 char* avahi_reverse_lookup_name(const AvahiAddress *a, char *ret_s, size_t length) { in avahi_reverse_lookup_name() argument
68 assert(ret_s); in avahi_reverse_lookup_name()
75 ret_s, length, in avahi_reverse_lookup_name()
82 ret_s, length, in avahi_reverse_lookup_name()
102 return ret_s; in avahi_reverse_lookup_name()
Ddomain.c178 char *avahi_normalize_name(const char *s, char *ret_s, size_t size) { in avahi_normalize_name() argument
183 assert(ret_s); in avahi_normalize_name()
186 r = ret_s; in avahi_normalize_name()
187 *ret_s = 0; in avahi_normalize_name()
198 return ret_s; in avahi_normalize_name()
216 return ret_s; in avahi_normalize_name()
Daddress.h90 char *avahi_address_snprint(char *ret_s, size_t length, const AvahiAddress *a);
101 char* avahi_reverse_lookup_name(const AvahiAddress *a, char *ret_s, size_t length);
Ddomain.h50 char *avahi_normalize_name(const char *s, char *ret_s, size_t size);