Searched refs:hp1 (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/tools/regression/capsicum/libcasper/ |
H A D | dns.c | 178 hostent_compare(const struct hostent *hp0, const struct hostent *hp1) argument 181 if (hp0 == NULL && hp1 != NULL) 184 if (hp0 == NULL || hp1 == NULL) 187 if (hp0->h_name != NULL || hp1->h_name != NULL) { 188 if (hp0->h_name == NULL || hp1->h_name == NULL) 190 if (strcmp(hp0->h_name, hp1->h_name) != 0) 194 if (!hostent_aliases_compare(hp0->h_aliases, hp1->h_aliases)) 196 if (!hostent_aliases_compare(hp1->h_aliases, hp0->h_aliases)) 199 if (hp0->h_addrtype != hp1->h_addrtype) 202 if (hp0->h_length != hp1 [all...] |
/freebsd-11.0-release/usr.sbin/nscd/ |
H A D | cachelib.c | 78 struct cache_ht_item_data_ *hp1, *hp2; local 82 hp1 = (struct cache_ht_item_data_ *)p1; 85 assert(hp1->key != NULL); 88 if (hp1->key_size != hp2->key_size) { 89 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : 91 result = memcmp(hp1->key, hp2->key, min_size); 94 return ((hp1->key_size < hp2->key_size) ? -1 : 1); 98 return (memcmp(hp1->key, hp2->key, hp1 104 struct cache_ht_item_data_ *hp1, *hp2; local [all...] |
/freebsd-11.0-release/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 114 milliseconds