Searched refs:hp1 (Results 1 – 4 of 4) sorted by relevance
| /NextBSD/tools/regression/capsicum/libcapsicum/ |
| HD | dns.c | 121 hostent_compare(const struct hostent *hp0, const struct hostent *hp1) in hostent_compare() argument 124 if (hp0 == NULL && hp1 != NULL) in hostent_compare() 127 if (hp0 == NULL || hp1 == NULL) in hostent_compare() 130 if (hp0->h_name != NULL || hp1->h_name != NULL) { in hostent_compare() 131 if (hp0->h_name == NULL || hp1->h_name == NULL) in hostent_compare() 133 if (strcmp(hp0->h_name, hp1->h_name) != 0) in hostent_compare() 137 if (!hostent_aliases_compare(hp0->h_aliases, hp1->h_aliases)) in hostent_compare() 139 if (!hostent_aliases_compare(hp1->h_aliases, hp0->h_aliases)) in hostent_compare() 142 if (hp0->h_addrtype != hp1->h_addrtype) in hostent_compare() 145 if (hp0->h_length != hp1->h_length) in hostent_compare() [all …]
|
| /NextBSD/usr.sbin/nscd/ |
| HD | cachelib.c | 78 struct cache_ht_item_data_ *hp1, *hp2; in ht_items_cmp_func() local 82 hp1 = (struct cache_ht_item_data_ *)p1; in ht_items_cmp_func() 85 assert(hp1->key != NULL); in ht_items_cmp_func() 88 if (hp1->key_size != hp2->key_size) { in ht_items_cmp_func() 89 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : in ht_items_cmp_func() 91 result = memcmp(hp1->key, hp2->key, min_size); in ht_items_cmp_func() 94 return ((hp1->key_size < hp2->key_size) ? -1 : 1); in ht_items_cmp_func() 98 return (memcmp(hp1->key, hp2->key, hp1->key_size)); in ht_items_cmp_func() 104 struct cache_ht_item_data_ *hp1, *hp2; in ht_items_fixed_size_left_cmp_func() local 108 hp1 = (struct cache_ht_item_data_ *)p1; in ht_items_fixed_size_left_cmp_func() [all …]
|
| /NextBSD/lib/libc/net/ |
| HD | name6.c | 499 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) in _hpmerge() argument 508 if (hp1 == NULL) in _hpmerge() 511 return _hpcopy(hp1, errp); in _hpmerge() 513 #define HP(i) (i == 1 ? hp1 : hp2) in _hpmerge() 515 hp->h_name = (hp1->h_name != NULL ? hp1->h_name : hp2->h_name); in _hpmerge() 531 if (hp1->h_length != hp2->h_length) { in _hpmerge() 535 hp->h_addrtype = hp1->h_addrtype; in _hpmerge() 536 hp->h_length = hp1->h_length; in _hpmerge()
|
| /NextBSD/share/doc/smm/02.config/ |
| HD | spell.ok | 171 hp1
|