Searched refs:hp (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/test/sun/net/www/
H A DEmbeddedEquals.java38 HeaderParser hp = new HeaderParser (test);
39 String r1 = hp.findValue ("nonce");
43 r1 = hp.findValue ("AlGoRiThm");
H A DHeaderTests.java96 HeaderParser hp = new HeaderParser (s2).subsequence (1,12);
97 check (hp, s23_expect);
99 hp = new HeaderParser (s3).subsequence (1,12);
100 check (hp, s23_expect);
102 hp = new HeaderParser (s3).subsequence (0,11);
103 check (hp, s23_expect1);
105 hp = new HeaderParser (s2).subsequence (4,6);
106 check (hp, s23_expect2);
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A De_remainder.c52 int hx,hp; local
58 hp = __HI(p); /* high word of p */
61 hp &= 0x7fffffff;
65 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
67 ((hp>=0x7ff00000)&& /* p is NaN */
68 (((hp-0x7ff00000)|lp)!=0)))
72 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */
73 if (((hx-hp)|(lx-lp))==0) return zero*x;
76 if (hp<0x00200000) {
/openjdk7/jdk/src/solaris/native/java/net/
H A DInet4AddressImpl.c348 struct hostent res, res2, *hp; local
359 gethostbyname_r(hostname, &res, (char*)buf, sizeof(buf), &hp, &h_error);
361 hp = gethostbyname_r(hostname, &res, (char*)buf, sizeof(buf), &h_error);
363 if (hp) {
365 gethostbyaddr_r(hp->h_addr, hp->h_length, AF_INET,
366 &res2, (char*)buf2, sizeof(buf2), &hp, &h_error);
368 hp = gethostbyaddr_r(hp->h_addr, hp
409 struct hostent res, *hp = 0; local
522 struct hostent hent, *hp = 0; local
[all...]
/openjdk7/jdk/test/sun/security/krb5/
H A DIPv6.java64 for (String[] hp: kdcs) {
65 if (hp[1] != null) out.println(" kdc = "+hp[0]+":"+hp[1]);
66 else out.println(" kdc = " + hp[0]);
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DAuthenticationHeader.java150 HeaderParser hp = new HeaderParser (raw);
151 Iterator keys = hp.keys();
155 if (hp.findValue(i) == null) { /* found a scheme name */
157 HeaderParser hpn = hp.subsequence (lastSchemeIndex, i);
165 HeaderParser hpn = hp.subsequence (lastSchemeIndex, i);
/openjdk7/jdk/src/windows/native/java/net/
H A DInet4AddressImpl.c138 struct hostent *hp; local
214 if ((hp = gethostbyname((char*)hostname)) != NULL) {
215 struct in_addr **addrp = (struct in_addr **) hp->h_addr_list;
230 addrp = (struct in_addr **) hp->h_addr_list;
261 struct hostent *hp; local
271 hp = gethostbyaddr((char *)&addr, sizeof(addr), AF_INET);
272 if (hp == NULL) {
276 if (hp->h_name == NULL) { /* Deal with bug in Windows XP */
280 return JNU_NewStringPlatform(env, hp->h_name);
H A DTwoStacksPlainDatagramSocketImpl.c226 struct hostent *hp; local
233 hp = (struct hostent *)gethostbyname(hostname);
234 if (hp != NULL) {
235 struct in_addr **addrp = (struct in_addr **) hp->h_addr_list;
/openjdk7/jdk/src/share/transport/socket/
H A DsocketTransport.c227 struct hostent *hp = dbgsysGetHostByName(hostname); local
228 if (hp == NULL) {
236 memcpy(&(sa->sin_addr), hp->h_addr_list[0], hp->h_length);

Completed in 311 milliseconds