Home
last modified time | relevance | path

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

123

/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/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/luni/src/main/java/javax/crypto/spec/
DRC5ParameterSpec.java29 private final int version; field in RC5ParameterSpec
45 public RC5ParameterSpec(int version, int rounds, int wordSize) { in RC5ParameterSpec() argument
46 this.version = version; in RC5ParameterSpec()
73 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { in RC5ParameterSpec() argument
80 this.version = version; in RC5ParameterSpec()
112 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) { in RC5ParameterSpec() argument
122 this.version = version; in RC5ParameterSpec()
135 return version; in getVersion()
188 return (version == ps.version) in equals()
201 int result = version + rounds + wordSize; in hashCode()
/libcore/dex/src/main/java/com/android/dex/
DDexFormat.java86 String version = "" + ((char) magic[4]) + ((char) magic[5]) +((char) magic[6]); in magicToApi() local
88 if (version.equals(VERSION_CURRENT)) { in magicToApi()
90 } else if (version.equals(VERSION_FOR_API_13)) { in magicToApi()
101 String version; in apiToMagic() local
104 version = VERSION_CURRENT; in apiToMagic()
106 version = VERSION_FOR_API_13; in apiToMagic()
109 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/luni/src/main/java/org/apache/harmony/security/pkcs8/
DPrivateKeyInfo.java51 private final int version; field in PrivateKeyInfo
57 public PrivateKeyInfo(int version, AlgorithmIdentifier privateKeyAlgorithm, in PrivateKeyInfo() argument
59 this.version = version; in PrivateKeyInfo()
65 private PrivateKeyInfo(int version, in PrivateKeyInfo() argument
68 this(version, privateKeyAlgorithm, privateKey, attributes); in PrivateKeyInfo()
73 return version; in getVersion()
123 values[0] = ASN1Integer.fromIntValue(privateKeyInfo.version);
/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/luni/src/main/java/java/util/
DUUID.java51 private transient int version; field in UUID
96 version = (int) ((mostSigBits & 0x000000000000F000) >>> 12); in init()
98 if (variant != 2 && version != 1) { in init()
155 private static UUID makeUuid(byte[] hash, int version) { in makeUuid() argument
160 msb |= ((long) version) << 12; in makeUuid()
238 public int version() { in version() method in UUID
239 return version; in version()
269 if (version != 1) { in timestamp()
285 if (version != 1) { in clockSequence()
301 if (version != 1) { in node()
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
DTimeStampReq.java51 private final int version; field in TimeStampReq
65 public TimeStampReq(int version, MessageImprint messageImprint, in TimeStampReq() argument
68 this.version = version; in TimeStampReq()
76 private TimeStampReq(int version, MessageImprint messageImprint, in TimeStampReq() argument
79 this (version, messageImprint, reqPolicy, nonce, certReq, extensions); in TimeStampReq()
87 res.append(version); in toString()
152 return version; in getVersion()
203 values[0] = ASN1Integer.fromIntValue(req.version);
DTSTInfo.java66 private final int version; field in TSTInfo
86 public TSTInfo(int version, String policy, MessageImprint messageImprint, in TSTInfo() argument
90 this.version = version; in TSTInfo()
106 res.append(version); in toString()
199 return version; in getVersion()
287 values[0] = ASN1Integer.fromIntValue(info.version);
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/
DCertificationRequestInfo.java44 private final int version; field in CertificationRequestInfo
58 private CertificationRequestInfo(int version, Name subject, in CertificationRequestInfo() argument
60 this.version = version; in CertificationRequestInfo()
72 return version; in getVersion()
90 res.append(version); in toString()
127 values[0] = ASN1Integer.fromIntValue(certReqInfo.version);
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/
DSignedData.java51 private final int version; field in SignedData
58 private SignedData(int version, List<?> digestAlgorithms, ContentInfo contentInfo, in SignedData() argument
61 this.version = version; in SignedData()
82 return version; in getVersion()
89 res.append(version); in toString()
123 values[0] = new byte[] {(byte)sd.version};
DSignerInfo.java58 private final int version; field in SignerInfo
67 private SignerInfo(int version, in SignerInfo() argument
74 this.version = version; in SignerInfo()
136 res.append(version); in toString()
190 values[0] = new byte[] {(byte)si.version};
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DTBSCertificate.java66 private final int version; field in TBSCertificate
88 public TBSCertificate(int version, BigInteger serialNumber, in TBSCertificate() argument
94 this.version = version; in TBSCertificate()
106 private TBSCertificate(int version, BigInteger serialNumber, in TBSCertificate() argument
112 this(version, serialNumber, signature, issuer, validity, subject, in TBSCertificate()
121 return version; in getVersion()
199 sb.append("\n Version: V").append(version+1); in dumpValue()
270 values[0] = ASN1Integer.fromIntValue(tbs.version);
DTBSCertList.java69 private final int version; field in TBSCertList
194 private TBSCertList(int version, AlgorithmIdentifier signature, in TBSCertList() argument
198 this.version = version; in TBSCertList()
212 return version; in getVersion()
272 return version == that.version in equals()
290 return ((version * 37 + signature.hashCode()) * 37 in hashCode()
296 sb.append("X.509 CRL v").append(version); in dumpValue()
357 values[0] = (tbs.version > 1)
358 ? ASN1Integer.fromIntValue(tbs.version - 1) : null;
/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/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/luni/src/main/java/org/w3c/dom/
DDOMImplementation.java31 String version); in hasFeature() argument
134 String version); in getFeature() argument
/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/java/security/
DAuthProvider.java28 protected AuthProvider(String name, double version, String info) { super(name, version, info); } in AuthProvider() argument
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
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()
Ddomimplementationhasfeature01.java69 String version = ""; in runTest() local
87 success = domImpl.hasFeature(featureXML, version); in runTest()
94 success = domImpl.hasFeature(featureCore, version); in runTest()

123