/openjdk7/jdk/src/share/classes/com/sun/imageio/spi/ |
H A D | FileImageInputStreamSpi.java | 50 public ImageInputStream createInputStreamInstance(Object input, argument 53 if (input instanceof File) { 55 return new FileImageInputStream((File)input);
|
H A D | InputStreamImageInputStreamSpi.java | 61 public ImageInputStream createInputStreamInstance(Object input, argument 65 if (input instanceof InputStream) { 66 InputStream is = (InputStream)input;
|
H A D | RAFImageInputStreamSpi.java | 51 public ImageInputStream createInputStreamInstance(Object input, argument 54 if (input instanceof RandomAccessFile) { 56 return new FileImageInputStream((RandomAccessFile)input); 62 ("input not a RandomAccessFile!");
|
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | ByteToCharEUC_TW.java | 74 public int convert(byte[] input, int inOff, int inEnd, argument 92 if ( (input[byteOff] & MSB) == 0) { // ASCII 94 outputChar[0] = (char) input[byteOff]; 95 } else if (input[byteOff] == SS2) { // Codeset 2 98 firstByte = input[byteOff]; 104 if ( (input[byteOff] & MSB) != 0) { // 2nd byte 107 input[byteOff] & 0xff, 117 cnsPlane = (input[byteOff] & (byte)0x0f); 130 if ( (input[byteOff] & MSB) != 0) { // 1st byte 131 firstByte = input[byteOf [all...] |
H A D | ByteToCharUTF8.java | 60 public int convert(byte[] input, int inOff, int inEnd, argument 75 System.arraycopy(input, inOff, newBuf, savedSize, inEnd - inOff); 76 input = newBuf; 90 byte1 = input[byteOff++] & 0xff; 101 byte2 = input[byteOff++] & 0xff; 116 savedBytes[1] = input[byteOff++]; 120 byte2 = input[byteOff++] & 0xff; 121 byte3 = input[byteOff++] & 0xff; 138 savedBytes[1] = input[byteOff++]; 141 savedBytes[1] = input[byteOf [all...] |
H A D | ByteToCharConverter.java | 65 * Length of bad input that caused a MalformedInputException. 100 * this means multibyte input sequences can be split between calls. 106 * @param input byte array containing text to be converted. 107 * @param inStart begin conversion at this offset in input array. 108 * @param inEnd stop conversion at this offset in input array (exclusive). 112 * @exception MalformedInputException if the input buffer contains any 113 * sequence of bytes that is illegal for the input character set. 118 * to converting all the input. 120 public abstract int convert(byte[] input, int inStart, int inEnd, argument 130 * the given input arra [all...] |
H A D | ByteToCharISO2022JP.java | 65 public int convert(byte[] input, int inOff, int inEnd, argument 81 input[0] != 'B' && 82 input[0] != 'J' && 83 input[0] != 'I') && 85 input[0] != '@' && 86 input[0] != 'B')) || 88 (input[0] != 0x28 && 89 input[0] != 0x24))) { 96 savedBytes[1] = input[0]; 105 System.arraycopy(input, inOf [all...] |
H A D | CharToByteASCII.java | 53 public int convert(char[] input, int inOff, int inEnd, argument 62 int inputSize; // Size of input 72 if (input[inOff] >= 0xdc00 && input[inOff] <= 0xdfff) { 86 // Loop until we hit the end of the input 90 // Get the input character 91 inputChar = input[charOff]; 101 // Is this the last character in the input? 108 inputChar = input[charOff + 1];
|
H A D | CharToByteSingleByte.java | 96 * @param input char array containing text in Unicode 97 * @param inStart offset in input array 105 * which occurs at the end of an input buffer. 109 public int convert(char[] input, int inOff, int inEnd, argument 117 int inputSize; // Size of input 129 if (input[inOff] >= 0xdc00 && input[inOff] <= 0xdfff) { 140 // Loop until we hit the end of the input 145 // Get the input character 146 inputChar = input[charOf [all...] |
/openjdk7/corba/src/share/classes/org/omg/CORBA/portable/ |
H A D | InvokeHandler.java | 61 * @param input The <code>InputStream</code> containing the marshalled arguments. 69 OutputStream _invoke(String method, InputStream input, argument
|
/openjdk7/jdk/test/javax/naming/ldap/LdapName/ |
H A D | TrailingSpaceTest.java | 37 String[] input = {"cn=Tyler\\ ", 61 for (int i = 0; i < input.length; i++) { 63 Rdn rdn = new Rdn(input[i]); 66 input[i] + "]"); 83 " input #" + (i + 1));
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/ |
H A D | Canonicalizer11.java | 404 void circumventBugIfNeeded(XMLSignatureInput input) argument 407 if (!input.isNeedsToBeExpanded()) 410 if (input.getSubNode() != null) { 411 doc = XMLUtils.getOwnerDocument(input.getSubNode()); 413 doc = XMLUtils.getOwnerDocument(input.getNodeSet()); 525 // 1. The input buffer is initialized with the now-appended path 526 // components then replace occurrences of "//" in the input buffer 527 // with "/" until no more occurrences of "//" are in the input buffer. 528 String input = path; 529 while (input 674 printStep(String step, String output, String input) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | HmacCore.java | 149 * @param input the input byte to be processed. 151 void update(byte input) { argument 159 md.update(input); 163 * Processes the first <code>len</code> bytes in <code>input</code>, 166 * @param input the input buffer. 167 * @param offset the offset in <code>input</code> where the input starts. 170 void update(byte input[], in argument 181 update(ByteBuffer input) argument 256 engineUpdate(byte input) argument 259 engineUpdate(byte input[], int offset, int len) argument 262 engineUpdate(ByteBuffer input) argument 292 engineUpdate(byte input) argument 295 engineUpdate(byte input[], int offset, int len) argument 298 engineUpdate(ByteBuffer input) argument 328 engineUpdate(byte input) argument 331 engineUpdate(byte input[], int offset, int len) argument 334 engineUpdate(ByteBuffer input) argument [all...] |
H A D | HmacMD5.java | 81 * @param input the input byte to be processed. 83 protected void engineUpdate(byte input) { argument 84 hmac.update(input); 88 * Processes the first <code>len</code> bytes in <code>input</code>, 91 * @param input the input buffer. 92 * @param offset the offset in <code>input</code> where the input starts. 95 protected void engineUpdate(byte input[], in argument 99 engineUpdate(ByteBuffer input) argument [all...] |
H A D | HmacSHA1.java | 81 * @param input the input byte to be processed. 83 protected void engineUpdate(byte input) { argument 84 hmac.update(input); 88 * Processes the first <code>len</code> bytes in <code>input</code>, 91 * @param input the input buffer. 92 * @param offset the offset in <code>input</code> where the input starts. 95 protected void engineUpdate(byte input[], in argument 99 engineUpdate(ByteBuffer input) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | IDN.java | 93 * In this case, the input string should not be used in an internationalized domain name. 104 * @param input the string to be processed 109 * @throws IllegalArgumentException if the input string doesn't conform to RFC 3490 specification 111 public static String toASCII(String input, int flag) argument 116 while (p < input.length()) { 117 q = searchDots(input, p); 118 out.append(toASCIIInternal(input.substring(p, q), flag)); 120 if (p < input.length()) out.append('.'); 134 * {@link #toASCII(String, int) toASCII}(input, 0); 137 * @param input th 143 toASCII(String input) argument 166 toUnicode(String input, int flag) argument 195 toUnicode(String input) argument 425 isAllASCII(String input) argument 440 startsWithACEPrefix(StringBuffer input) argument 461 toASCIILower(StringBuffer input) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | SignatureSpi.java | 138 * @param input the ByteBuffer 141 protected void engineUpdate(ByteBuffer input) { argument 142 if (input.hasRemaining() == false) { 146 if (input.hasArray()) { 147 byte[] b = input.array(); 148 int ofs = input.arrayOffset(); 149 int pos = input.position(); 150 int lim = input.limit(); 152 input.position(lim); 154 int len = input [all...] |
H A D | MessageDigest.java | 288 * @param input the byte with which to update the digest. 290 public void update(byte input) { argument 291 engineUpdate(input); 299 * @param input the array of bytes. 306 public void update(byte[] input, int offset, int len) { argument 307 if (input == null) { 308 throw new IllegalArgumentException("No input buffer given"); 310 if (input.length - offset < len) { 313 engineUpdate(input, offset, len); 320 * @param input th 322 update(byte[] input) argument 337 update(ByteBuffer input) argument 397 digest(byte[] input) argument 563 engineUpdate(byte input) argument 567 engineUpdate(byte[] input, int offset, int len) argument 571 engineUpdate(ByteBuffer input) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/transforms/implementations/ |
H A D | TransformBase64Decode.java | 53 * The base64 Transform element has no content. The input 58 * <p>This transform requires an octet stream for input. 60 * given as input, then it is converted to an octet stream by 91 * @param input 99 (XMLSignatureInput input, Transform _transformObject) 102 return enginePerformTransform(input, null, _transformObject); 105 protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, argument 110 if (input.isElement()) { 111 Node el=input.getSubNode(); 112 if (input 98 enginePerformTransform(XMLSignatureInput input, Transform _transformObject) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CipherSpi.java | 60 * set of operations) to be performed on the given input, to produce some 265 * or <code>doFinal</code> operation, given the input length 275 * @param inputLen the input length (in bytes) 326 * derived from the input parameters, and there are no reasonable 375 * derived from the input parameters, and there are no reasonable 428 * derived from the input parameters, and there are no reasonable 466 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 470 * @param input the input buffer 471 * @param inputOffset the offset in <code>input</cod 479 engineUpdate(byte[] input, int inputOffset, int inputLen) argument 508 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 543 engineUpdate(ByteBuffer input, ByteBuffer output) argument 600 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 657 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 718 engineDoFinal(ByteBuffer input, ByteBuffer output) argument 735 bufferCrypt(ByteBuffer input, ByteBuffer output, boolean isUpdate) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | DocFinder.java | 41 * The class that encapsulates the input. 176 * @param input the input object used to perform the search. 180 public static Output search(Input input) { argument 182 if (input.isInheritDocTag) { 185 } else if (input.taglet == null) { 187 output.inlineTags = input.isFirstSentence ? 188 input.method.firstSentenceTags() : 189 input.method.inlineTags(); 190 output.holder = input [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/transforms/ |
H A D | TransformSpi.java | 57 * @param input {@link XMLSignatureInput} as the input of transformation 69 XMLSignatureInput input, OutputStream os, Transform _transformObject) 74 return enginePerformTransform(input, _transformObject); 83 * @param input {@link XMLSignatureInput} as the input of transformation 94 XMLSignatureInput input, Transform _transformObject) 103 return tmp.enginePerformTransform(input); 114 * @param input {@link XMLSignatureInput} as the input o 68 enginePerformTransform( XMLSignatureInput input, OutputStream os, Transform _transformObject) argument 93 enginePerformTransform( XMLSignatureInput input, Transform _transformObject) argument 123 enginePerformTransform( XMLSignatureInput input) argument [all...] |
/openjdk7/jdk/test/java/lang/Float/ |
H A D | ParseFloat.java | 175 * proper value; just whether the input is accepted appropriately 178 private static void testParsing(String [] input, argument 180 for(int i = 0; i < input.length; i++) { 184 d = Float.parseFloat(input[i]); 189 "good string `" + input[i] + 196 "bad string `" + input[i] +
|
/openjdk7/jdk/test/java/lang/StrictMath/ |
H A D | Tests.java | 35 double input, 40 "\tFor input " + input + "\t(" + Double.toHexString(input) + ")\n" + 53 "\tFor input " + input1 + "\t(" + Double.toHexString(input1) + "), " + 34 test(String testName, double input, double result, double expected) argument
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | DHClientKeyExchange.java | 74 DHClientKeyExchange(HandshakeInStream input) throws IOException { argument 75 if (input.available() >= 2) { 76 dh_Yc = input.getBytes16();
|