Lines Matching refs:hn
39 _cleanup_free_ char *hn = NULL; in _nss_myhostname_gethostbyname4_r() local
78 hn = gethostname_malloc(); in _nss_myhostname_gethostbyname4_r()
79 if (!hn) { in _nss_myhostname_gethostbyname4_r()
87 if (!streq(name, hn) && !streq_ptr(startswith(name, hn), ".")) in _nss_myhostname_gethostbyname4_r()
94 canonical = hn; in _nss_myhostname_gethostbyname4_r()
325 _cleanup_free_ char *hn = NULL; in _nss_myhostname_gethostbyname3_r() local
372 hn = gethostname_malloc(); in _nss_myhostname_gethostbyname3_r()
373 if (!hn) { in _nss_myhostname_gethostbyname3_r()
380 if (!streq(name, hn) && !streq_ptr(startswith(name, hn), ".")) in _nss_myhostname_gethostbyname3_r()
387 canonical = hn; in _nss_myhostname_gethostbyname3_r()
421 _cleanup_free_ char *hn = NULL; in _nss_myhostname_gethostbyaddr2_r() local
493 hn = gethostname_malloc(); in _nss_myhostname_gethostbyaddr2_r()
494 if (!hn) { in _nss_myhostname_gethostbyaddr2_r()
502 canonical = hn; in _nss_myhostname_gethostbyaddr2_r()
504 additional = hn; in _nss_myhostname_gethostbyaddr2_r()