/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | OSVersion.m | 36 char *ver = JRSCopyOSVersion(); 37 if (ver == NULL) { 41 int len = strlen(ver); 45 if (len >= 3 && ver[2] == '.') { 48 v = (ver[0] - '0') * 10 + (ver[1] - '0'); 49 for (i = 3; i < len && isdigit(ver[i]); ++i) { 50 v = v * 10 + (ver[i] - '0'); 54 free(ver);
|
/openjdk7/jdk/test/java/net/CookieHandler/ |
H A D | TestHttpCookie.java | 84 TestHttpCookie ver(int index, int ver) { argument 86 if (cookie == null || (ver != cookie.getVersion())) { 87 raiseError("version", Integer.toString(cookie.getVersion()), Integer.toString(ver)); 92 TestHttpCookie ver(int ver) { return ver(0, ver); } argument 240 .n("Customer").v("WILE_E_COYOTE").ver(1).p("/acme"); 244 .n("Customer").v("WILE_E_COYOTE").ver( [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/ |
H A D | Messages.java | 145 * @param ver 148 public static Message createUsingPayload(Source payload, SOAPVersion ver) { argument 151 return new EmptyMessageImpl(ver); 156 return new EmptyMessageImpl(ver); 161 return new EmptyMessageImpl(ver); 164 return new PayloadSourceMessage(payload, ver); 176 * @param ver 179 public static Message createUsingPayload(XMLStreamReader payload, SOAPVersion ver) { argument 180 return new PayloadStreamReaderMessage(payload, ver); 191 * @param ver 194 createUsingPayload(Element payload, SOAPVersion ver) argument [all...] |
/openjdk7/jdk/src/windows/native/java/lang/ |
H A D | java_props_md.c | 323 OSVERSIONINFOEX ver; local 357 ver.dwOSVersionInfoSize = sizeof(ver); 358 GetVersionEx((OSVERSIONINFO *) &ver); 386 * where ((&ver.wServicePackMinor) + 2) = 1 398 switch (ver.dwPlatformId) { 403 if (ver.dwMajorVersion == 4) { 404 switch (ver.dwMinorVersion) { 415 if (ver.dwMajorVersion <= 4) { 417 } else if (ver [all...] |
H A D | ProcessImpl_md.c | 154 OSVERSIONINFO ver; local 158 ver.dwOSVersionInfoSize = sizeof(ver); 159 GetVersionEx(&ver); 160 if (ver.dwPlatformId == VER_PLATFORM_WIN32_NT)
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | CloseWhenKeyIdle.java | 69 String[] ver = System.getProperty("os.version").split("\\.", 0); 70 if (ver.length >=2 ) { 71 int major = Integer.parseInt(ver[0]); 72 int minor = Integer.parseInt(ver[1]);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ |
H A D | DOMMessage.java | 60 public DOMMessage(SOAPVersion ver, Element payload) { argument 61 this(ver,null,payload); 64 public DOMMessage(SOAPVersion ver, HeaderList headers, Element payload) { argument 65 this(ver,headers,payload,null); 68 public DOMMessage(SOAPVersion ver, HeaderList headers, Element payload, AttachmentSet attachments) { argument 69 super(ver);
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | Iocp.c | 64 OSVERSIONINFOEX ver; local 65 ver.dwOSVersionInfoSize = sizeof(ver); 66 GetVersionEx((OSVERSIONINFO *) &ver); 67 return (ver.dwPlatformId == VER_PLATFORM_WIN32_NT) ? 68 (jint)(ver.dwMajorVersion) : (jint)0;
|
H A D | Net.c | 92 OSVERSIONINFO ver; local 93 ver.dwOSVersionInfoSize = sizeof(ver); 94 GetVersionEx(&ver); 95 if ((ver.dwPlatformId == VER_PLATFORM_WIN32_NT) && 96 (ver.dwMajorVersion >= 6) && ipv6_available()) 105 OSVERSIONINFO ver; local 107 ver.dwOSVersionInfoSize = sizeof(ver); 108 GetVersionEx(&ver); [all...] |
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/ |
H A D | MonitoredVmUtil.java | 51 StringMonitor ver = 53 return (ver == null) ? "Unknown" : ver.stringValue();
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ |
H A D | ORBVersionServiceContext.java | 46 public ORBVersionServiceContext( ORBVersion ver ) 48 this.version = ver ;
|
/openjdk7/jdk/src/share/classes/sun/rmi/log/ |
H A D | ReliableLog.java | 472 private String versionName(String prefix, int ver) { argument 473 ver = (ver == 0) ? version : ver; 474 return fName(prefix) + String.valueOf(ver); 509 * @param ver the version to remove 512 private void deleteSnapshot(int ver) throws IOException { argument 513 if (ver == 0) return; 514 deleteFile(versionName(snapshotPrefix, ver)); 520 * @param ver th 523 deleteLogFile(int ver) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/krb5/ |
H A D | KerberosPreMasterSecret.java | 253 ProtocolVersion ver) { 257 pm[0] = ver.major; 258 pm[1] = ver.minor; 252 generatePreMaster(SecureRandom rand, ProtocolVersion ver) argument
|
/openjdk7/jdk/src/windows/native/java/util/ |
H A D | TimeZone_md.c | 155 OSVERSIONINFO ver; local 181 ver.dwOSVersionInfoSize = sizeof(ver); 182 GetVersionEx(&ver); 183 isNT = ver.dwPlatformId == VER_PLATFORM_WIN32_NT; 184 isVista = isNT && ver.dwMajorVersion >= 6;
|
/openjdk7/jdk/test/java/net/Socks/ |
H A D | SocksServer.java | 120 int ver = in.read(); 172 int ver = in.read(); 174 if (ver == -1 || cmd == -1) { 181 if (ver != 0 && ver != 4) { 258 int ver = in.read(); 396 int ver = in.read(); 398 if (ver == -1 || cmd == -1) {
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Package.java | 358 String ver = specVersion; 363 if (ver != null && ver.length() > 0) 364 ver = ", version " + ver; 366 ver = ""; 367 return "package " + pkgName + spec + ver;
|
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | PackerImpl.java | 287 int ver; 288 if ((ver = props.getInteger(Utils.COM_PREFIX+"min.class.majver")) != 0) 289 pkg.min_class_majver = (short) ver; 290 if ((ver = props.getInteger(Utils.COM_PREFIX+"min.class.minver")) != 0) 291 pkg.min_class_minver = (short) ver; 292 if ((ver = props.getInteger(Utils.COM_PREFIX+"max.class.majver")) != 0) 293 pkg.max_class_majver = (short) ver; 294 if ((ver = props.getInteger(Utils.COM_PREFIX+"max.class.minver")) != 0) 295 pkg.max_class_minver = (short) ver; 296 if ((ver [all...] |
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | TwoStacksPlainDatagramSocketImpl.c | 191 OSVERSIONINFO ver; local 197 ver.dwOSVersionInfoSize = sizeof(ver); 198 GetVersionEx(&ver); 201 if (ver.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS && 202 ver.dwMajorVersion == 4 && 203 (ver.dwMinorVersion == 0 || ver.dwMinorVersion == 10)) { 308 OSVERSIONINFO ver; local 309 ver 379 OSVERSIONINFO ver; local [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt.h | 245 jint ver = JNI_VERSION_1_2) 247 m_env((JNIEnv *)JNU_GetEnv(pVM, ver)), 252 attachArgs.version = ver;
|
/openjdk7/jdk/src/share/back/ |
H A D | transport.c | 191 jint ver; local 194 ver = (*onLoad)(jvm, &callback, JDWPTRANSPORT_VERSION_1_0, &t); 195 if (ver != JNI_OK) { 196 switch (ver) { 211 ERROR_MESSAGE(("unrecognized error %d from transport", ver));
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | io_util_md.c | 49 OSVERSIONINFO ver; local 50 ver.dwOSVersionInfoSize = sizeof(ver); 51 GetVersionEx(&ver); 52 if (ver.dwPlatformId == VER_PLATFORM_WIN32_NT) {
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/ |
H A D | SnmpMib.java | 801 final int ver= req.getVersion(); 825 if (ver == SnmpDefinitions.snmpVersionOne) { 843 SnmpRequestTree.mapSetException(x.getStatus(),ver); 871 SnmpRequestTree.mapGetException(x.getStatus(),ver); 943 final int ver= req.getVersion(); 982 if (ver == SnmpDefinitions.snmpVersionOne) {
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/ |
H A D | DOMSerializerImpl.java | 482 String ver = null; 487 ver = (String)getVersion.invoke(doc, (Object[]) null); 493 if(ver != null && ver.equals("1.1")) { 693 String ver = null; 701 ver = (String) getVersion.invoke(fDocument, (Object[]) null); 708 if (ver != null && ver.equals("1.1")) { 893 String ver = null; 904 ver [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | FontUtilities.java | 93 float ver = Float.parseFloat(version); 94 if (ver > 5.10f) {
|
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SunGraphicsEnvironment.java | 88 float ver = Float.parseFloat(version); 89 if (ver > 5.10f) {
|