Home
last modified time | relevance | path

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

1234567

/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/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/xml/sax/ext/
DLocator2Impl.java34 private String version; field in Locator2Impl
58 version = l2.getXMLVersion (); in Locator2Impl()
75 { return version; } in getXMLVersion()
98 public void setXMLVersion (String version) in setXMLVersion() argument
99 { this.version = version; } in setXMLVersion()
/libcore/ojluni/src/main/java/java/lang/
DClassValue.java230 e = makeEntry(e.version(), computeValue(type)); in getFromHashMap()
246 return (e != null && e.get() == this.version); in match()
303 private volatile Version<T> version = new Version<>(this); field in ClassValue
304 Version<T> version() { return version; } in version() method in ClassValue
305 void bumpVersion() { version = new Version<>(this); } in bumpVersion()
312 boolean isLive() { return classValue.version() == this; } in isLive()
328 Entry(Version<T> version, T value) { in Entry() argument
329 super(version); in Entry()
334 Entry(Version<T> version) { in Entry() argument
335 super(version); in Entry()
[all …]
/libcore/tools/expected_upstream/
Dojluni_merge_package.sh43 libcore/EXPECTED_UPSTREAM. Also it will find new files in the new version of
140 local version="${3}"
143 local second_arg="${version}"
147 first_arg="${version}"
187 local version="${2}"
200 merge-class modify "${package}.${class_name}" "${version}"
202 merge-class add "${package}.${class_name}" "${version}"
206 local version_id=$(echo "${version}" | grep -oE "^[^/]+")
216 merge-class add "${package}.${class_name}" "${version}"
228 local version="${3}"
[all …]
/libcore/ojluni/src/test/java/util/UUID/
DUUIDTest.java66 if (4 != u1.version()) { in randomUUIDTest()
85 if (3 != u1.version()) { in nameUUIDFromBytesTest()
128 if (test.version() != 4) in versionTest()
134 if (test.version() != 3) in versionTest()
137 if (test.version() != 1) in versionTest()
140 if (test.version() != 2) in versionTest()
143 if (test.version() != 3) in versionTest()
146 if (test.version() != 4) in versionTest()
149 if (test.version() != 1) in versionTest()
152 if (test.version() != 2) in versionTest()
[all …]
/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/
DStructCapUserHeader.java45 public int version; /* __u32 */ field in StructCapUserHeader
63 public StructCapUserHeader(int version, int pid) { in StructCapUserHeader() argument
64 this.version = version; in StructCapUserHeader()
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/
DLICENSE232 spirit to the present version, but may differ in detail to address new problems
235 Each version is given a distinguishing version number. If the Program
236 specifies a version number of this License which applies to it and "any later
237 version", you have the option of following the terms and conditions either of
238 that version or of any later version published by the Free Software Foundation.
239 If the Program does not specify a version number of this License, you may
240 choose any version ever published by the Free Software Foundation.
289 Software Foundation; either version 2 of the License, or (at your option)
290 any later version.
306 Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
[all …]
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/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()
333 BigInteger version = val.data.getBigInteger(); in decode() local
334 if (!version.equals(PKCS8Key.version)) { in decode()
336 Debug.toHexString(PKCS8Key.version) + in decode()
338 Debug.toHexString(version)); in decode()
389 tmp.putInteger(version); in encode()
/libcore/ojluni/src/main/resources/java/time/chrono/
Dhijrah-config-Hijrah-umalqura_islamic-umalqura.properties5 # under the terms of the GNU General Public License version 2 only, as
13 # version 2 for more details (a copy is included in the LICENSE file that
16 # You should have received a copy of the GNU General Public License version
28 # <version> ::= 'version' '=' <version string>
34 # version ... (Required)
57 version=1.8.0_1 key
/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/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/ojluni/src/main/java/java/net/
DHttpCookie.java94 private int version = 1; // Version=1 ... RFC 2965 style field in HttpCookie
212 int version = guessCookieVersion(header); in parse() local
225 if (version == 0) { in parse()
557 return version; in getVersion()
579 version = v; in setVersion()
986 int version = Integer.parseInt(attrValue);
987 cookie.setVersion(version);
1132 int version = 0; in guessCookieVersion() local
1137 version = 0; in guessCookieVersion()
1140 version = 1; in guessCookieVersion()
[all …]
/libcore/expectations/
DskippedCtsTest.txt27 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
34 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
49 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
76 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
110 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
143 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
153 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
166 …uggy or non-breaking behaviors, but the behavior has been fixed in a new mainline module version.",
/libcore/ojluni/src/main/native/
Djvm.h184 JVM_IsSupportedJNIVersion(jint version);
663 JVM_DTraceActivate(JNIEnv* env, jint version, jstring module_name,
1300 JVM_GetManagement(jint version);
1400 #define JVM_VERSION_MAJOR(version) (((version) & 0xFF000000) >> 24) argument
1401 #define JVM_VERSION_MINOR(version) (((version) & 0x00FF0000) >> 16) argument
1402 #define JVM_VERSION_MICRO(version) (((version) & 0x0000FF00) >> 8) argument
1407 #define JVM_VERSION_BUILD(version) (((version) & 0x000000FF)) argument
1435 #define JDK_VERSION_MAJOR(version) (((version) & 0xFF000000) >> 24) argument
1436 #define JDK_VERSION_MINOR(version) (((version) & 0x00FF0000) >> 16) argument
1437 #define JDK_VERSION_MICRO(version) (((version) & 0x0000FF00) >> 8) argument
[all …]
/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()

1234567