Searched defs:hp (Results 1 - 2 of 2) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dhopalong.c91 hopstruct *hp = &hops[screen]; local
95 hp->centerx = xgwa.width / 2;
96 hp->centery = xgwa.height / 2;
97 range = sqrt((double) hp->centerx * hp->centerx +
98 (double) hp->centery * hp->centery) /
101 hp->pix = 0;
102 hp->inc = (int) ((random() / MAXRAND) * 200) - 100;
103 hp
129 hopstruct *hp = &hops[screen]; local
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Dcsconndi.c557 struct hostent *hp; /* entry in hosts table */ local
584 if ((hp = gethostbyname(phostname)) == NULL) {
588 if (hp->h_addrtype != AF_INET) { /* is IP host? */
594 inaddr.sin_family = hp->h_addrtype;
599 memmove ((char *)&t, (char *)hp->h_addr, sizeof(t));
603 memmove ((char *)&inaddr.sin_addr, (char *)hp->h_addr,

Completed in 12 milliseconds