Searched refs:hp1 (Results 1 - 3 of 3) sorted by relevance
/freebsd-current/lib/libcasper/services/cap_dns/tests/ |
H A D | dns_test.c | 160 hostent_compare(const struct hostent *hp0, const struct hostent *hp1) argument 163 if (hp0 == NULL && hp1 != NULL) 166 if (hp0 == NULL || hp1 == NULL) 169 if (hp0->h_name != NULL || hp1->h_name != NULL) { 170 if (hp0->h_name == NULL || hp1->h_name == NULL) 172 if (strcmp(hp0->h_name, hp1->h_name) != 0) 176 if (!hostent_aliases_compare(hp0->h_aliases, hp1->h_aliases)) 178 if (!hostent_aliases_compare(hp1->h_aliases, hp0->h_aliases)) 181 if (hp0->h_addrtype != hp1->h_addrtype) 184 if (hp0->h_length != hp1 [all...] |
/freebsd-current/usr.sbin/nscd/ |
H A D | cachelib.c | 76 struct cache_ht_item_data_ *hp1, *hp2; local 80 hp1 = (struct cache_ht_item_data_ *)p1; 83 assert(hp1->key != NULL); 86 if (hp1->key_size != hp2->key_size) { 87 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : 89 result = memcmp(hp1->key, hp2->key, min_size); 92 return ((hp1->key_size < hp2->key_size) ? -1 : 1); 96 return (memcmp(hp1->key, hp2->key, hp1 102 struct cache_ht_item_data_ *hp1, *hp2; local [all...] |
/freebsd-current/lib/libc/net/ |
H A D | name6.c | 500 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) argument 509 if (hp1 == NULL) 512 return _hpcopy(hp1, errp); 514 #define HP(i) (i == 1 ? hp1 : hp2) 516 hp->h_name = (hp1->h_name != NULL ? hp1->h_name : hp2->h_name); 532 if (hp1->h_length != hp2->h_length) { 536 hp->h_addrtype = hp1->h_addrtype; 537 hp->h_length = hp1->h_length;
|
Completed in 185 milliseconds