/openjdk7/jdk/test/sun/nio/cs/ |
H A D | TestUTF_16.java | 38 byte[] input) 41 String out = new String(input, charset); 49 String input, 53 byte[] testBytes = input.getBytes(charset); 184 throw new Exception ("Incorrectly parsed BOM in middle of input"); 36 testDecode(String charset, String expected, byte[] input) argument 48 testEncode(String charset, String input, byte[] expected) argument
|
H A D | TestUTF8BOM.java | 40 private static void testDecode(String expected, byte[] input) argument 43 String out = new String(input, "utf8"); 51 bf.put(input).flip();
|
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/ |
H A D | ClassPathLoader.java | 80 DataInputStream input 83 // Can't rely on input available() since it will be 91 input.readFully(data); 100 try { input.close(); } catch (IOException ex) {} 103 // Couldn't get the input stream for the file. This is
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageReaderSpi.java | 80 public boolean canDecodeInput(Object input) throws IOException { argument 81 if (!(input instanceof ImageInputStream)) { 85 ImageInputStream stream = (ImageInputStream)input;
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/ |
H A D | PNGImageReaderSpi.java | 79 public boolean canDecodeInput(Object input) throws IOException { argument 80 if (!(input instanceof ImageInputStream)) { 84 ImageInputStream stream = (ImageInputStream)input;
|
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/ |
H A D | NTLMAuthSequence.java | 75 byte[] input = null; 80 input = (new BASE64Decoder()).decodeBuffer(token); 81 byte[] b = getNextToken (crdHandle, input, status);
|
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | ByteToCharDBCS_ASCII.java | 68 public int convert(byte[] input, int inOff, int inEnd, argument 84 byte1 = input[byteOff] & 0xff; 102 outputChar = decodeDouble(byte1, input[byteOff+inputSize] & 0xff);
|
H A D | CharToByteEUC_JP.java | 77 * @param input char array containing text in Unicode 78 * @param inStart offset in input array 86 public int convert(char[] input, int inOff, int inEnd, argument 93 int inputSize = 0; // Size of input 104 if (input[inOff] >= 0xdc00 && input[inOff] <= 0xdfff) { 115 // Loop until we hit the end of the input 119 inputChar = input[charOff]; // Get the input character 123 // Is this the last character of the input [all...] |
H A D | CharToByteEUC_JP_Solaris.java | 89 * @param input char array containing text in Unicode 90 * @param inStart offset in input array 98 public int convert(char[] input, int inOff, int inEnd, argument 105 int inputSize = 0; // Size of input 116 if (input[inOff] >= 0xdc00 && input[inOff] <= 0xdfff) { 127 // Loop until we hit the end of the input 131 inputChar = input[charOff]; // Get the input character 135 // Is this the last character of the input [all...] |
H A D | CharToByteGB18030.java | 86 public int convert(char[] input, int inOff, int inEnd, argument 96 int inputSize; // Size of the input 102 if (input[inOff] >= 0xDC00 && input[inOff] <= 0xDFFF) { 109 System.arraycopy(input, inOff, newBuf, 1, inEnd - inOff); 111 input = newBuf; 125 inputChar = input[charOff++]; 128 // Is this the last character of the input? 135 inputChar = input[charOff];
|
H A D | ByteToCharJISAutoDetect.java | 74 public int convert(byte[] input, int inOff, int inEnd, argument 96 int byte1 = input[cnt]&0xff; 124 byte2 = input[++cnt] & 0xff; 146 int nextbyte = input[cnt+1] & 0xff; 196 num += detectedConv.convert(input, inOff + num, inEnd, 205 num += defaultConv.convert(input, inOff + num, inEnd,
|
/openjdk7/jdk/test/sun/security/krb5/canonicalize/ |
H A D | Test.java | 57 static void check(String input, String output) throws Exception { argument 58 System.out.println(input + " -> " + output); 59 PrincipalName pn = new PrincipalName("host/"+input,
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | XbmImageDecoder.java | 56 if (!(input instanceof BufferedInputStream)) { 59 input = new BufferedInputStream(input, 80); 86 while (!aborted && (c = input.read()) != -1) { 175 input.close();
|
/openjdk7/jdk/src/share/classes/sun/security/timestamp/ |
H A D | HttpTimestamper.java | 126 BufferedInputStream input = null; 129 input = new BufferedInputStream(connection.getInputStream()); 146 replyBuffer = IOUtils.readFully(input, contentLength, false); 153 if (input != null) { 154 input.close();
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ |
H A D | ThrowsTaglet.java | 52 public void inherit(DocFinder.Input input, DocFinder.Output output) { argument 54 if (input.tagId == null) { 55 ThrowsTag throwsTag = (ThrowsTag) input.tag; 57 input.tagId = exception == null ? 61 exception = input.method.containingClass().findClass(input.tagId); 64 ThrowsTag[] tags = input.method.throwsTags(); 66 if (input.tagId.equals(tags[i].exceptionName()) || 68 (input.tagId.equals(tags[i].exception().qualifiedName())))) { 69 output.holder = input [all...] |
/openjdk7/jdk/test/java/lang/Math/ |
H A D | Expm1Tests.java | 184 public static int testExpm1Case(double input, argument 186 return testExpm1CaseWithUlpDiff(input, expected, 1, null); 189 public static int testExpm1CaseWithUlpDiff(double input, argument 207 input, mathOutput=Math.expm1(input), 210 input, strictOutput=StrictMath.expm1(input),
|
H A D | Log1pTests.java | 176 public static int testLog1pCase(double input, argument 178 return testLog1pCaseWithUlpDiff(input, expected, 1); 181 public static int testLog1pCaseWithUlpDiff(double input, argument 186 input, Math.log1p(input), 189 input, StrictMath.log1p(input),
|
H A D | CeilAndFloorTests.java | 34 private static int testCeilCase(double input, double expected) { argument 36 failures += Tests.test("Math.ceil", input, Math.ceil(input), expected); 37 failures += Tests.test("StrictMath.ceil", input, StrictMath.ceil(input), expected); 41 private static int testFloorCase(double input, double expected) { argument 43 failures += Tests.test("Math.floor", input, Math.floor(input), expected); 44 failures += Tests.test("StrictMath.floor", input, StrictMath.floor(input), expecte [all...] |
/openjdk7/jdk/test/java/lang/StringBuffer/ |
H A D | Supplementary.java | 42 /* Text strings which are used as input data. 46 static final String[] input = { field in class:Supplementary 71 * in the above input data. For example, the first data in each array is 72 * for the first input string. 85 for (int i = 0; i < input.length; i++) { 86 StringBuffer sb = new StringBuffer(input[i]); 108 * in the above input data. For example, the first data in each array is 109 * for the first input string. 122 for (int i = 0; i < input.length; i++) { 123 StringBuffer sb = new StringBuffer(input[ [all...] |
/openjdk7/jdk/test/java/lang/StringBuilder/ |
H A D | Supplementary.java | 42 /* Text strings which are used as input data. 46 static final String[] input = { field in class:Supplementary 71 * in the above input data. For example, the first data in each array is 72 * for the first input string. 85 for (int i = 0; i < input.length; i++) { 86 StringBuilder sb = new StringBuilder(input[i]); 108 * in the above input data. For example, the first data in each array is 109 * for the first input string. 122 for (int i = 0; i < input.length; i++) { 123 StringBuilder sb = new StringBuilder(input[ [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | Cipher.java | 62 * set of operations) to be performed on the given input, to produce some 921 * <code>doFinal</code> operation, given the input length 931 * @param inputLen the input length (in bytes) 1122 * derived from the input parameters, and there are no reasonable 1175 * derived from the input parameters, and there are no reasonable 1244 * derived from the input parameters, and there are no reasonable 1305 * derived from the input parameters, and there are no reasonable 1375 * derived from the input parameters, and there are no reasonable 1436 * derived from the input parameters, and there are no reasonable 1514 * derived from the input parameter 1702 update(byte[] input) argument 1741 update(byte[] input, int inputOffset, int inputLen) argument 1793 update(byte[] input, int inputOffset, int inputLen, byte[] output) argument 1851 update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 1909 update(ByteBuffer input, ByteBuffer output) argument 2077 doFinal(byte[] input) argument 2134 doFinal(byte[] input, int inputOffset, int inputLen) argument 2206 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output) argument 2285 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 2365 doFinal(ByteBuffer input, ByteBuffer output) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | Config.java | 412 * @param input the String to be converted to an Integer. 417 private int parseIntValue(String input) throws NumberFormatException { argument 419 if (input.startsWith("+")) { 420 String temp = input.substring(1); 422 } else if (input.startsWith("0x")) { 423 String temp = input.substring(2); 494 value = Integer.parseInt(input); 1025 public int getType(String input) { argument 1027 if (input == null) { 1030 if (input [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | HandshakeMessage.java | 351 ServerHello(HandshakeInStream input, int messageLength) argument 353 protocolVersion = ProtocolVersion.valueOf(input.getInt8(), 354 input.getInt8()); 355 svr_random = new RandomCookie(input); 356 sessionId = new SessionId(input.getBytes8()); 357 cipherSuite = CipherSuite.valueOf(input.getInt8(), input.getInt8()); 358 compression_method = (byte)input.getInt8(); 360 extensions = new HelloExtensions(input); 437 CertificateMsg(HandshakeInStream input) throw argument 607 RSA_ServerKeyExchange(HandshakeInStream input) argument 750 DH_ServerKeyExchange(HandshakeInStream input, ProtocolVersion protocolVersion) argument 772 DH_ServerKeyExchange(HandshakeInStream input, PublicKey publicKey, byte clntNonce[], byte svrNonce[], int messageSize, Collection<SignatureAndHashAlgorithm> localSupportedSignAlgs, ProtocolVersion protocolVersion) argument 1018 ECDH_ServerKeyExchange(HandshakeInStream input, PublicKey signingKey, byte[] clntNonce, byte[] svrNonce, Collection<SignatureAndHashAlgorithm> localSupportedSignAlgs, ProtocolVersion protocolVersion) argument 1186 DistinguishedName(HandshakeInStream input) argument 1308 CertificateRequest(HandshakeInStream input, ProtocolVersion protocolVersion) argument 1498 ServerHelloDone(HandshakeInStream input) argument 1565 CertificateVerify(HandshakeInStream input, Collection<SignatureAndHashAlgorithm> localSupportedSignAlgs, ProtocolVersion protocolVersion) argument 1867 Finished(ProtocolVersion protocolVersion, HandshakeInStream input, CipherSuite cipherSuite) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/ |
H A D | MessageDigestAlgorithm.java | 163 * @param input 166 public byte[] digest(byte input[]) { argument 167 return this.algorithm.digest(input); 228 * @param input 230 public void update(byte[] input) { argument 231 this.algorithm.update(input); 238 * @param input 240 public void update(byte input) { argument 241 this.algorithm.update(input);
|
/openjdk7/hotspot/test/compiler/7184394/ |
H A D | TestAESBase.java | 46 byte[] input; field in class:TestAESBase 84 input = new byte[msgSize]; 85 for (int i=0; i<input.length; i++) { 86 input[i] = (byte) (i & 0xff); 108 encode = cipher.doFinal(input); 114 showArray(input, "input: ");
|