Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 94) sorted by relevance

1234

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DRC5ParameterSpecTest.java44 int version = 1; in testRC5ParameterSpec1() local
50 new RC5ParameterSpec(version, rounds, wordSize, null); in testRC5ParameterSpec1()
57 new RC5ParameterSpec(version, rounds, wordSize+8, iv); in testRC5ParameterSpec1()
64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] {1, 2, 3}); in testRC5ParameterSpec1()
70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds, in testRC5ParameterSpec1()
85 int version = 1; in testRC5ParameterSpec2() local
92 new RC5ParameterSpec(version, rounds, wordSize, null, offset); in testRC5ParameterSpec2()
99 new RC5ParameterSpec(version, rounds, wordSize+8, iv, offset); in testRC5ParameterSpec2()
106 new RC5ParameterSpec(version, rounds, wordSize, iv, offset+1); in testRC5ParameterSpec2()
113 new RC5ParameterSpec(version, rounds, wordSize, new byte[] { 1, 2, in testRC5ParameterSpec2()
[all …]
/libcore/ojluni/src/main/java/sun/security/x509/
DCertificateVersion.java67 int version = V1; field in CertificateVersion
71 return(version); in getVersion()
78 version = derVal.getInteger(); in construct()
90 version = V1; in CertificateVersion()
99 public CertificateVersion(int version) throws IOException { in CertificateVersion() argument
102 if (version == V1 || version == V2 || version == V3) in CertificateVersion()
103 this.version = version; in CertificateVersion()
106 version + " not supported.\n"); in CertificateVersion()
117 version = V1; in CertificateVersion()
130 version = V1; in CertificateVersion()
[all …]
DX509CertInfo.java84 protected CertificateVersion version = new CertificateVersion(); field in X509CertInfo
301 sb.append(" " + version.toString() + "\n"); in toString()
382 version.set(suffix, val); in set()
469 version = null; in delete()
471 version.delete(suffix); in delete()
587 return(version); in get()
589 return(version.get(suffix)); in get()
638 version = new CertificateVersion(tmp); in parse()
660 if ((version.compare(CertificateVersion.V1) == 0) && in parse()
671 if (version.compare(CertificateVersion.V1) == 0) { in parse()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMImplementationImpl.java52 public boolean hasFeature(String feature, String version) { in hasFeature() argument
53 boolean anyVersion = version == null || version.length() == 0; in hasFeature()
63 … return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0"); in hasFeature()
65 … return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0"); in hasFeature()
67 return anyVersion || version.equals("1.0") || version.equals("1.1"); in hasFeature()
87 public Object getFeature(String feature, String version) { in getFeature() argument
88 return hasFeature(feature, version) ? this : null; in getFeature()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DRC5ParameterSpec.java50 private int version; field in RC5ParameterSpec
62 public RC5ParameterSpec(int version, int rounds, int wordSize) { in RC5ParameterSpec() argument
63 this.version = version; in RC5ParameterSpec()
85 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { in RC5ParameterSpec() argument
86 this(version, rounds, wordSize, iv, 0); in RC5ParameterSpec()
112 public RC5ParameterSpec(int version, int rounds, int wordSize, in RC5ParameterSpec() argument
114 this.version = version; in RC5ParameterSpec()
132 return this.version; in getVersion()
183 return ((version == other.version) && in equals()
200 retval += (version + rounds + wordSize); in hashCode()
/libcore/ojluni/src/main/java/sun/net/
DSocksProxy.java35 private final int version; field in SocksProxy
37 private SocksProxy(SocketAddress addr, int version) { in SocksProxy() argument
39 this.version = version; in SocksProxy()
42 public static SocksProxy create(SocketAddress addr, int version) { in create() argument
43 return new SocksProxy(addr, version); in create()
47 return version; in protocolVersion()
/libcore/dex/src/main/java/com/android/dex/
DDexFormat.java92 String version = "" + ((char) magic[4]) + ((char) magic[5]) +((char) magic[6]); in magicToApi() local
94 if (version.equals(VERSION_CURRENT)) { in magicToApi()
96 } else if (version.equals(VERSION_FOR_API_13)) { in magicToApi()
107 String version; in apiToMagic() local
110 version = VERSION_CURRENT; in apiToMagic()
112 version = VERSION_FOR_API_13; in apiToMagic()
115 return MAGIC_PREFIX + version + MAGIC_SUFFIX; in apiToMagic()
/libcore/luni/src/main/java/org/xml/sax/ext/
DLocator2Impl.java30 private String version; field in Locator2Impl
54 version = l2.getXMLVersion (); in Locator2Impl()
71 { return version; } in getXMLVersion()
94 public void setXMLVersion (String version) in setXMLVersion() argument
95 { this.version = version; } in setXMLVersion()
/libcore/support/src/test/java/tests/resources/manifest/
Dhyts_MANIFEST.MF7 com.ibm.ive.eccomm.service.registry; specification-version=1.0.0,
8 com.ibm.ive.eccomm.service.session; specification-version=1.0.0,
9 com.ibm.ive.eccomm.service.framework; specification-version=1.2.0,
10 org.osgi.framework; specification-version=1.0.0,
11 org.osgi.service.log; specification-version=1.0.0,
12 com.ibm.ive.eccomm.flash; specification-version=1.2.0,
19 Export-Package: com.ibm.ive.eccomm.client.services.authentication; specification-version=1.0.0,
20 com.ibm.ive.eccomm.service.authentication; specification-version=1.0.0,
21 com.ibm.ive.eccomm.common; specification-version=1.0.0,
22 com.ibm.ive.eccomm.client.services.registry.store; specification-version=1.0.0
/libcore/dom/src/test/java/org/w3c/domts/
DJTidyDOMImplementation.java44 String version) { in hasFeature() argument
46 return version == null || version.equals("1.0") || version.equals("2.0"); in hasFeature()
127 public Object getFeature(String feature, String version) { in getFeature() argument
/libcore/luni/src/main/java/android/system/
DStructUtsname.java36 public final String version; field in StructUtsname
44 …public StructUtsname(String sysname, String nodename, String release, String version, String machi… in StructUtsname() argument
48 this.version = version; in StructUtsname()
/libcore/ojluni/src/main/java/sun/security/internal/spec/
DTlsMasterSecretParameterSpec.java96 static int checkVersion(int version) { in checkVersion() argument
97 if ((version < 0) || (version > 255)) { in checkVersion()
101 return version; in checkVersion()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DUUIDTest.java34 assertEquals(1, uuid.version()); in test_ConstructorJJ()
70 assertEquals(0, uuid.version()); in test_version()
72 assertEquals(1, uuid.version()); in test_version()
74 assertEquals(2, uuid.version()); in test_version()
76 assertEquals(3, uuid.version()); in test_version()
78 assertEquals(4, uuid.version()); in test_version()
80 assertEquals(5, uuid.version()); in test_version()
271 assertEquals(4, uuid.version()); in test_randomUUID()
286 assertEquals(3, uuid.version()); in test_nameUUIDFromBytes()
293 assertEquals(3, uuid.version()); in test_nameUUIDFromBytes()
[all …]
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS8Key.java67 public static final BigInteger version = BigInteger.ZERO; field in PKCS8Key
124 if (!version.equals(parsedVersion)) { in parseKey()
126 Debug.toHexString(version) + in parseKey()
344 BigInteger version = val.data.getBigInteger(); in decode() local
345 if (!version.equals(this.version)) { in decode()
347 Debug.toHexString(this.version) + in decode()
349 Debug.toHexString(version)); in decode()
400 tmp.putInteger(version); in encode()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProvider2Test.java28 TestProvider(String name, double version, String info) { in TestProvider() argument
29 super(name, version, info); in TestProvider()
157 public MockProvider(String name, double version, String info) { in MockProvider() argument
158 super(name, version, info); in MockProvider()
/libcore/ojluni/
DNOTICE16 The original version of this source code and documentation is copyrighted *
28 The original version of this source code and documentation is copyrighted *
40 The original version of this source code and documentation is copyrighted *
103 The original version of this source code and documentation is copyrighted *
119 The original version of this source code and documentation is
130 The original version of this source code and documentation is
144 The original version of this source code and documentation is copyrighted
156 The original version of this source code and documentation is copyrighted
168 The original version of this source code and documentation is copyrighted
180 The original version of this source code and documentation
[all …]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAdaptableX509CertSelector.java146 int version = xcert.getVersion(); in match() local
149 if (version < 3) { in match()
169 (version < 3 || xcert.getExtensionValue("2.5.29.14") == null)) { in match()
182 if (isSNSensitive && version < 3) { in match()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeIsSupported.java85 String version = ""; in testIsSupported1() local
103 success = element.isSupported(featureXML, version); in testIsSupported1()
110 success = element.isSupported(featureCore, version); in testIsSupported1()
120 String version = ""; in testIsSupported2() local
138 success = attribute.isSupported(featureXML, version); in testIsSupported2()
145 success = attribute.isSupported(featureCore, version); in testIsSupported2()
/libcore/luni/src/main/java/org/w3c/dom/
DDOMImplementation.java31 String version); in hasFeature() argument
134 String version); in getFeature() argument
/libcore/support/src/test/java/libcore/tlswire/record/
DTlsRecord.java28 public TlsProtocolVersion version; field in TlsRecord
34 result.version = TlsProtocolVersion.read(in); in read()
/libcore/ojluni/src/main/java/java/util/
DUUID.java245 public int version() { in version() method in UUID
291 if (version() != 1) { in timestamp()
317 if (version() != 1) { in clockSequence()
341 if (version() != 1) { in node()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Ddomimplementationhasfeature01.java69 String version = ""; in runTest() local
87 success = domImpl.hasFeature(featureXML, version); in runTest()
94 success = domImpl.hasFeature(featureCore, version); in runTest()
Dnodeissupported01.java69 String version = ""; in runTest() local
87 success = element.isSupported(featureXML, version); in runTest()
94 success = element.isSupported(featureCore, version); in runTest()
Dnodeissupported02.java69 String version = ""; in runTest() local
87 success = attribute.isSupported(featureXML, version); in runTest()
94 success = attribute.isSupported(featureCore, version); in runTest()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java107 private int version = 1; // Version=1 ... RFC 2965 style field in HttpCookie
234 int version = guessCookieVersion(header); in parse() local
248 if (version == 0) { in parse()
685 return version; in getVersion()
712 version = v; in setVersion()
1090 int version = Integer.parseInt(attrValue);
1091 cookie.setVersion(version);
1203 int version = 0; in guessCookieVersion() local
1208 version = 0; in guessCookieVersion()
1211 version = 1; in guessCookieVersion()
[all …]

1234