Searched refs:hp1 (Results 1 – 4 of 4) sorted by relevance
/freebsd/usr.sbin/nscd/ |
H A D | cachelib.c | 80 hp1 = (struct cache_ht_item_data_ *)p1; in ht_items_cmp_func() 83 assert(hp1->key != NULL); in ht_items_cmp_func() 86 if (hp1->key_size != hp2->key_size) { in ht_items_cmp_func() 87 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : in ht_items_cmp_func() 96 return (memcmp(hp1->key, hp2->key, hp1->key_size)); in ht_items_cmp_func() 106 hp1 = (struct cache_ht_item_data_ *)p1; in ht_items_fixed_size_left_cmp_func() 109 assert(hp1->key != NULL); in ht_items_fixed_size_left_cmp_func() 112 if (hp1->key_size != hp2->key_size) { in ht_items_fixed_size_left_cmp_func() 113 min_size = (hp1->key_size < hp2->key_size) ? hp1->key_size : in ht_items_fixed_size_left_cmp_func() 118 if (min_size == hp1->key_size) in ht_items_fixed_size_left_cmp_func() [all …]
|
/freebsd/lib/libcasper/services/cap_dns/tests/ |
H A D | dns_test.c | 163 if (hp0 == NULL && hp1 != NULL) in hostent_compare() 166 if (hp0 == NULL || hp1 == NULL) in hostent_compare() 169 if (hp0->h_name != NULL || hp1->h_name != NULL) { in hostent_compare() 170 if (hp0->h_name == NULL || hp1->h_name == NULL) in hostent_compare() 172 if (strcmp(hp0->h_name, hp1->h_name) != 0) in hostent_compare() 176 if (!hostent_aliases_compare(hp0->h_aliases, hp1->h_aliases)) in hostent_compare() 178 if (!hostent_aliases_compare(hp1->h_aliases, hp0->h_aliases)) in hostent_compare() 181 if (hp0->h_addrtype != hp1->h_addrtype) in hostent_compare() 184 if (hp0->h_length != hp1->h_length) in hostent_compare() 187 if (!hostent_addr_list_compare(hp0->h_addr_list, hp1->h_addr_list, in hostent_compare() [all …]
|
/freebsd/lib/libc/net/ |
H A D | name6.c | 500 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) in _hpmerge() argument 509 if (hp1 == NULL) in _hpmerge() 512 return _hpcopy(hp1, errp); in _hpmerge() 514 #define HP(i) (i == 1 ? hp1 : hp2) in _hpmerge() 516 hp->h_name = (hp1->h_name != NULL ? hp1->h_name : hp2->h_name); in _hpmerge() 532 if (hp1->h_length != hp2->h_length) { in _hpmerge() 536 hp->h_addrtype = hp1->h_addrtype; in _hpmerge() 537 hp->h_length = hp1->h_length; in _hpmerge()
|
/freebsd/share/doc/smm/02.config/ |
H A D | spell.ok | 170 hp1
|