/libcore/ojluni/src/main/java/sun/net/ |
H A D | SocksProxy.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 32 * Proxy wrapper class so we can determine the socks protocol version. 35 private final int version; field in class:SocksProxy 37 private SocksProxy(SocketAddress addr, int version) { argument 39 this.version = version; 42 public static SocksProxy create(SocketAddress addr, int version) { argument 43 return new SocksProxy(addr, version); [all...] |
/libcore/luni/src/main/java/android/system/ |
H A D | StructCapUserHeader.java | 29 * invalid version is provided. See 32 public int version; /* __u32 */ field in class:StructCapUserHeader 40 public StructCapUserHeader(int version, int pid) { argument 41 this.version = version;
|
H A D | StructUtsname.java | 35 /** The OS version, such as "#48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011". */ 36 public final String version; field in class:StructUtsname 44 public StructUtsname(String sysname, String nodename, String release, String version, String machine) { argument 48 this.version = version;
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
H A D | Locator2Impl.java | 25 * @version TBS 30 private String version; field in class:Locator2Impl 43 * <em>encoding</em> and <em>version</em>strings are copied, 54 version = l2.getXMLVersion (); 64 * Returns the current value of the version property. 66 * @return the current value of the version property. 71 { return version; } 89 * Assigns the current value of the version property. 91 * @param version the new "version" valu 94 setXMLVersion(String version) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DOMImplementationImpl.java | 52 public boolean hasFeature(String feature, String version) { argument 53 boolean anyVersion = version == null || version.length() == 0; 63 return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0"); 65 return anyVersion || version.equals("1.0") || version.equals("2.0") || version.equals("3.0"); 67 return anyVersion || version 87 getFeature(String feature, String version) argument [all...] |
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
H A D | RC5ParameterSpec.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 35 * <p> The parameters consist of a version number, a rounds count, a word 50 private int version; field in class:RC5ParameterSpec 55 * Constructs a parameter set for RC5 from the given version, number of 58 * @param version the version. 62 public RC5ParameterSpec(int version, int rounds, int wordSize) { argument 63 this.version 85 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) argument 112 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) argument [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | CertificateVersion.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 36 * This class defines the version of the X509 Certificate. 59 public static final String IDENT = "x509.info.version"; 63 public static final String NAME = "version"; 67 int version = V1; field in class:CertificateVersion 69 // Returns the version number. 71 return(version); 78 version 99 CertificateVersion(int version) argument [all...] |
H A D | X509CertInfo.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 84 protected CertificateVersion version = new CertificateVersion(); field in class:X509CertInfo 301 sb.append(" " + version.toString() + "\n"); 382 version.set(suffix, val); 469 version = null; 471 version.delete(suffix); 587 return(version); 589 return(version [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
H A D | RC5ParameterSpecTest.java | 20 * @version $Revision$ 38 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) method 44 int version = 1; 50 new RC5ParameterSpec(version, rounds, wordSize, null); 57 new RC5ParameterSpec(version, rounds, wordSize+8, iv); 64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] {1, 2, 3}); 70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds, 79 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int 85 int version = 1; 92 new RC5ParameterSpec(version, round [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | JTidyDOMImplementation.java | 36 * @param version This is the version number of the feature to test. In 37 * Level 2, the string can be either "2.0" or "1.0". If the version is 38 * not specified, supporting any version of the feature causes the 41 * specified version, <code>false</code> otherwise. 44 String version) { 46 return version == null || version.equals("1.0") || version.equals("2.0"); 55 * future version o 43 hasFeature(String feature, String version) argument 127 getFeature(String feature, String version) argument [all...] |
H A D | DOMTestIncompatibleException.java | 51 String version) { 55 buf.append("\" version=\""); 56 buf.append(version); 50 incompatibleFeature(String feature, String version) argument
|
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | DOMImplementation.java | 24 * version, as specified in . 26 * @param version This is the version number of the feature to test. 28 * specified version, <code>false</code> otherwise. 31 String version); 112 * specialized APIs of the specified feature and version, as specified 121 * @param version This is the version number of the feature to test. 123 * the specified feature and version, if any, or <code>null</code> if 134 String version); 30 hasFeature(String feature, String version) argument 133 getFeature(String feature, String version) argument [all...] |
/libcore/support/src/test/java/libcore/tlswire/record/ |
H A D | TlsRecord.java | 28 public TlsProtocolVersion version; field in class:TlsRecord 34 result.version = TlsProtocolVersion.read(in);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Provider2Test.java | 28 TestProvider(String name, double version, String info) { argument 29 super(name, version, info); 90 assertEquals("the version of the provider is not stored properly", 128 assertEquals("provTest version 1.2", provTest.toString()); 157 public MockProvider(String name, double version, String info) { argument 158 super(name, version, info);
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | AuthProvider.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 37 protected AuthProvider(String name, double version, String info) { argument
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | NodeIsSupported.java | 38 * The method "isSupported(feature,version)" Tests whether the DOM 44 * insensitive and versions "2.0", "1.0" and if the version is not specified, 45 * supporting any version of the feature should return true. Check if the value 85 String version = ""; 103 success = element.isSupported(featureXML, version); 110 success = element.isSupported(featureCore, version); 120 String version = ""; 138 success = attribute.isSupported(featureXML, version); 145 success = attribute.isSupported(featureCore, version);
|
H A D | DOMDocumentBuilderFactory.java | 51 public boolean hasFeature(String feature, String version) { argument 52 return builder.getDOMImplementation().hasFeature(feature, version);
|
H A D | DOMImplementationHasFeature.java | 12 * The "feature" parameter in the "hasFeature(feature,version)" method is the 18 * version)" method is invoked with feature equal to "core". The method should 76 String version = ""; 94 success = domImpl.hasFeature(featureXML, version); 101 success = domImpl.hasFeature(featureCore, version);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | domimplementationhasfeature01.java | 34 * The method "hasFeature(feature,version)" tests if the DOMImplementation implements 39 * "1.0" and if the version is not specified, supporting any version of the feature 69 String version = ""; 87 success = domImpl.hasFeature(featureXML, version); 94 success = domImpl.hasFeature(featureCore, version);
|
H A D | nodeissupported01.java | 34 * The method "isSupported(feature,version)" Tests whether the DOM implementation 39 * "2.0", "1.0" and if the version is not specified, supporting any version of the feature 69 String version = ""; 87 success = element.isSupported(featureXML, version); 94 success = element.isSupported(featureCore, version);
|
H A D | nodeissupported02.java | 34 * The method "isSupported(feature,version)" Tests whether the DOM implementation 39 * "2.0", "1.0" and if the version is not specified, supporting any version of the feature 69 String version = ""; 87 success = attribute.isSupported(featureXML, version); 94 success = attribute.isSupported(featureCore, version);
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS8Key.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 66 /* The version for this key */ 67 public static final BigInteger version = BigInteger.ZERO; field in class:PKCS8Key 124 if (!version.equals(parsedVersion)) { 125 throw new IOException("version mismatch: (supported: " + 126 Debug.toHexString(version) + 310 * PKCS#8 format: a sequence consisting of a version, an algorithm 333 BigInteger version [all...] |
/libcore/ojluni/src/main/java/sun/security/timestamp/ |
H A D | TimestampToken.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 44 * version INTEGER { v1(1) }, 75 private int version; field in class:TimestampToken 140 // Parse version 141 version = tstInfo.data.getInteger();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | UUIDTest.java | 34 assertEquals(1, uuid.version()); 66 * @see UUID#version() 70 assertEquals(0, uuid.version()); 72 assertEquals(1, uuid.version()); 74 assertEquals(2, uuid.version()); 76 assertEquals(3, uuid.version()); 78 assertEquals(4, uuid.version()); 80 assertEquals(5, uuid.version()); 271 assertEquals(4, uuid.version()); 286 assertEquals(3, uuid.version()); [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | AdaptableX509CertSelector.java | 6 * under the terms of the GNU General Public License version 2 only, as 14 * version 2 for more details (a copy is included in the LICENSE file that 17 * You should have received a copy of the GNU General Public License version 71 * when we face root CA key updates for version 1 certificates, according 75 * Conservatively, we will only check the validity periods for version 76 * 1 and version 2 certificates. For version 3 certificates, we can 150 * version 1 and version 2, or the certificate does not include 167 // Conservatively, we only support the replacement for version [all...] |