/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | RC5ParameterSpecTest.java | 44 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/ |
D | DOMImplementationImpl.java | 52 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/ |
D | RC5ParameterSpec.java | 29 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/ |
D | DexFormat.java | 86 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/ |
D | Locator2Impl.java | 30 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/ |
D | hyts_MANIFEST.MF | 7 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/ |
D | PrivateKeyInfo.java | 51 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/ |
D | JTidyDOMImplementation.java | 44 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/ |
D | StructUtsname.java | 36 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/ |
D | UUID.java | 51 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/ |
D | TimeStampReq.java | 51 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);
|
D | TSTInfo.java | 66 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/ |
D | CertificationRequestInfo.java | 44 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/ |
D | SignedData.java | 51 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};
|
D | SignerInfo.java | 58 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/ |
D | TBSCertificate.java | 66 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);
|
D | TBSCertList.java | 69 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/ |
D | UUIDTest.java | 34 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/ |
D | Provider2Test.java | 28 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/ |
D | DOMImplementation.java | 31 String version); in hasFeature() argument 134 String version); in getFeature() argument
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | NodeIsSupported.java | 85 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/ |
D | AuthProvider.java | 28 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/ |
D | nodeissupported01.java | 69 String version = ""; in runTest() local 87 success = element.isSupported(featureXML, version); in runTest() 94 success = element.isSupported(featureCore, version); in runTest()
|
D | nodeissupported02.java | 69 String version = ""; in runTest() local 87 success = attribute.isSupported(featureXML, version); in runTest() 94 success = attribute.isSupported(featureCore, version); in runTest()
|
D | domimplementationhasfeature01.java | 69 String version = ""; in runTest() local 87 success = domImpl.hasFeature(featureXML, version); in runTest() 94 success = domImpl.hasFeature(featureCore, version); in runTest()
|