Lines Matching refs:h_name

148 	if (src->h_name != NULL) {  in clone_hostent()
149 dest->h_name = strdup(src->h_name); in clone_hostent()
150 ATF_REQUIRE(dest->h_name != NULL); in clone_hostent()
195 free(ht->h_name); in free_hostent()
222 if (ht1->h_name == NULL || ht2->h_name == NULL) in compare_hostent()
227 strcmp(ht1->h_name, ht2->h_name) != 0) in compare_hostent()
378 rv = check_addrinfo_for_name(ai, he->h_name); in is_hostent_equal()
408 ht->h_name, ht->h_addrtype, ht->h_length); in sdump_hostent()
517 he->h_name = strdup(line); in hostent_read_hostlist_func()
518 ATF_REQUIRE(he->h_name != NULL); in hostent_read_hostlist_func()
565 ht->h_name = strdup(s); in hostent_read_snapshot_func()
566 ATF_REQUIRE(ht->h_name != NULL); in hostent_read_snapshot_func()
686 if (ht->h_name == NULL) in hostent_test_correctness()
727 printf("doing reverse lookup for %s\n", he->h_name); in hostent_test_gethostbyaddr()
735 "for %s: %s\n", __func__, he->h_name, in hostent_test_gethostbyaddr()
768 printf("using getaddrinfo() to resolve %s\n", he->h_name); in hostent_test_getaddrinfo_eq()
773 rv = getaddrinfo(he->h_name, NULL, &hints, &ai); in hostent_test_getaddrinfo_eq()
780 rv = getaddrinfo(he->h_name, NULL, &hints, &ai); in hostent_test_getaddrinfo_eq()
814 printf("doing reverse lookup for %s\n", he->h_name); in hostent_test_getnameinfo_eq()
826 "for %s: %s\n", __func__, he->h_name, in hostent_test_getnameinfo_eq()
878 printf("comparing %s with %s\n", result->h_name, in hostent_test_getnameinfo_eq()
888 if (strcmp(result->h_name, buffer) == 0) { in hostent_test_getnameinfo_eq()
914 "equal for %s\n", he->h_name); in hostent_test_getnameinfo_eq()