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

/openjdk7/jdk/src/windows/native/sun/net/spi/
H A DDefaultProxySelector.c114 const char* cproto; local
188 cproto = (*env)->GetStringUTFChars(env, proto, &isCopy);
189 if (cproto == NULL)
195 if ((strcmp(cproto, "http") == 0) ||
196 (strcmp(cproto, "ftp") == 0) ||
197 (strcmp(cproto, "gopher") == 0))
199 if (strcmp(cproto, "https") == 0)
201 if (strcmp(cproto, "socks") == 0) {
208 sprintf(pproto,"%s=", cproto);
210 (*env)->ReleaseStringUTFChars(env, proto, cproto);
[all...]
/openjdk7/jdk/src/solaris/native/sun/net/spi/
H A DDefaultProxySelector.c170 const char *cproto; local
179 cproto = (*env)->GetStringUTFChars(env, proto, &isCopy);
180 if (cproto != NULL) {
201 if (strcasecmp(cproto, "http") == 0) {
218 if (strcasecmp(cproto, "https") == 0) {
237 if (strcasecmp(cproto, "ftp") == 0) {
256 if (strcasecmp(cproto, "gopher") == 0) {
275 if (strcasecmp(cproto, "socks") == 0) {
289 (*env)->ReleaseStringUTFChars(env, proto, cproto);

Completed in 23 milliseconds