Searched refs:hp1 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/usr.sbin/nscd/
H A Dcachelib.c78 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-10-stable/lib/libc/net/
H A Dname6.c501 _hpmerge(struct hostent *hp1, struct hostent *hp2, int *errp) argument
510 if (hp1 == NULL)
513 return _hpcopy(hp1, errp);
515 #define HP(i) (i == 1 ? hp1 : hp2)
517 hp->h_name = (hp1->h_name != NULL ? hp1->h_name : hp2->h_name);
533 if (hp1->h_length != hp2->h_length) {
537 hp->h_addrtype = hp1->h_addrtype;
538 hp->h_length = hp1->h_length;

Completed in 105 milliseconds