/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | CharToByteISO2022.java | 148 public int convert(char[] input, int inOff, int inEnd, argument 169 if (input[charOff] < 0x80) { // ASCII 174 outputByte[1] = (byte)(input[charOff] & 0x7f); 177 outputByte[0] = (byte)(input[charOff] & 0x7f); 179 if(input[charOff] == '\n'){ 185 outputSize = unicodeToNative(input[charOff], outputByte);
|
H A D | ByteToCharDoubleByte.java | 51 * Size of bad input that caused conversion to stop 86 * @param input byte array containing text in Double/single Byte 87 * @param inStart offset in input array 95 public int convert(byte[] input, int inOff, int inEnd, argument 101 int inputSize = 0; // Size of input 107 // Loop until we hit the end of the input 112 byte1 = input[byteOff]; 132 byte2 = input[byteOff + inputSize] & 0xff;
|
H A D | CharToByteDBCS_ASCII.java | 67 public int convert(char[] input, int inOff, int inEnd, argument 84 inputChar = input[charOff]; 94 // Is this the last character of the input? 102 inputChar = input[charOff + inputSize];
|
H A D | CharToByteISCII91.java | 89 public int convert(char[] input, int inStart, int inEnd, byte[] output, int outStart, int outEnd) throws MalformedInputException, UnknownCharacterException, ConversionBufferFullException { argument 96 char inputChar = input[charOff]; 100 //check if input is in ASCII RANGE 122 // If input char is a high surrogate, ensure that the following 128 char nextChar = input[charOff];
|
/openjdk7/jdk/test/com/sun/crypto/provider/Mac/ |
H A D | HmacSaltLengths.java | 78 byte[] input = new byte[1024]; 79 new SecureRandom().nextBytes(input); 84 runTest("HmacPBESHA1", input, PASSWD, p);
|
/openjdk7/langtools/test/tools/javac/generics/ |
H A D | ParametricException.java | 93 FileInputStream input = new FileInputStream(parameter.getFirst()); // throws 94 input.read(parameter.getSecond()); // throws 95 input.close(); // throws
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/ |
H A D | Import.java | 69 InputSource input = null; 76 input = loader.loadSource(docToLoad, currLoadedDoc, xsltc); 77 if (input != null) { 78 docToLoad = input.getSystemId(); 86 if (input == null) { 99 input = new InputSource(docToLoad); 103 if (input == null) { 112 root = parser.parse(reader,input); 115 root = parser.parse(input);
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/transforms/implementations/ |
H A D | TransformC14NExclusive.java | 60 * @param input 61 * @return the transformed of the input 65 (XMLSignatureInput input, Transform _transformObject) 67 return enginePerformTransform(input, null, _transformObject); 70 protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input,OutputStream os, Transform _transformObject) argument 95 result =c14n.engineCanonicalize(input, inclusiveNamespaces); 64 enginePerformTransform(XMLSignatureInput input, Transform _transformObject) argument
|
H A D | TransformC14NExclusiveWithComments.java | 61 (XMLSignatureInput input, Transform _transformObject) 63 return enginePerformTransform(input, null, _transformObject); 66 protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input,OutputStream os, Transform _transformObject) argument 91 result =c14n.engineCanonicalize(input, inclusiveNamespaces); 60 enginePerformTransform(XMLSignatureInput input, Transform _transformObject) argument
|
H A D | TransformEnvelopedSignature.java | 58 protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, Transform _transformObject) argument 64 * If the actual input is an octet stream, then the application MUST 79 input.setExcludeNode(signatureElement); 80 input.addNodeFilter(new EnvelopedNodeFilter(signatureElement)); 81 return input;
|
H A D | TransformXPath2Filter.java | 91 * @param input 95 protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, Transform _transformObject) argument 121 if (input.getSubNode() != null) { 122 inputDoc = XMLUtils.getOwnerDocument(input.getSubNode()); 124 inputDoc = XMLUtils.getOwnerDocument(input.getNodeSet()); 134 input.getSourceURI()); 151 input.addNodeFilter(new XPath2NodeFilter(unionNodes, substractNodes, 153 input.setNodeSet(true); 154 return input;
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/PBE/ |
H A D | PKCS12Cipher.java | 82 byte[] input = new byte[1024]; 83 new SecureRandom().nextBytes(input); 88 runTest("PBEWithSHA1AndDESede", input, PASSWD, p); 89 runTest("PBEWithSHA1AndRC2_40", input, PASSWD, p);
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | KerberosClientKeyExchange.java | 88 HandshakeInStream input, SecretKey[] serverKeys) throws IOException { 91 init(protocolVersion, clientVersion, rand, input, serverKeys); 128 HandshakeInStream input, SecretKey[] serverKeys) throws IOException { 131 impl.init(protocolVersion, clientVersion, rand, input, serverKeys); 86 KerberosClientKeyExchange(ProtocolVersion protocolVersion, ProtocolVersion clientVersion, SecureRandom rand, HandshakeInStream input, SecretKey[] serverKeys) argument 126 init(ProtocolVersion protocolVersion, ProtocolVersion clientVersion, SecureRandom rand, HandshakeInStream input, SecretKey[] serverKeys) argument
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/ |
H A D | InputTests.java | 36 * input validation and proper error handling, might not be present in 104 inputRoot = new Group(iioRoot, "input", "Input Benchmarks"); 166 Object input; field in class:InputTests.Context 195 input = inputfile; 197 input = inputfile; 200 input = inputfile.toURI().toURL(); 219 input = out.toByteArray(); 231 iis = new FileImageInputStream((File)input); 234 origStream = ((URL)input).openStream(); 243 origStream = new ByteArrayInputStream((byte[])input); [all...] |
/openjdk7/jdk/test/sun/security/krb5/auto/ |
H A D | Context.java | 266 * @param in the input byte 379 public byte[] run(Context me, byte[] input) throws Exception { 385 me.x.wrap(new ByteArrayInputStream(input), os, p1); 388 out = me.x.wrap(input, 0, input.length, p1); 400 public byte[] run(Context me, byte[] input) throws Exception { 406 me.x.unwrap(new ByteArrayInputStream(input), os, p1); 409 bytes = me.x.unwrap(input, 0, input.length, p1); 420 public byte[] run(Context me, byte[] input) throw [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CDataTransferer.java | 264 * Translates either a byte array or an input stream which contain 441 String input; 447 input = bufferedReader.readLine().trim(); 448 if (input == null) { 451 } else if (input.startsWith(HTMLSupport.START_HTML)) { 453 (input.substring(HTMLSupport.START_HTML.length(), 454 input.length()).trim()); 464 } else if (input.startsWith(HTMLSupport.END_HTML)) { 466 (input.substring(HTMLSupport.END_HTML.length(), 467 input [all...] |
/openjdk7/jdk/src/share/classes/sun/reflect/generics/parser/ |
H A D | SignatureParser.java | 39 // The input is conceptually a character stream (though currently it's 43 // input format. 51 // is an assertion that the current input is a particular 60 // the code should never reach this point unless the input is an 62 // of the input wrt to a given production. It may be that at a later 63 // time the code might be called directly, and if the input is 67 private char[] input; // the input signature field in class:SignatureParser 68 private int index = 0; // index into the input 69 // used to mark end of input [all...] |
/openjdk7/jdk/test/java/lang/String/ |
H A D | Supplementary.java | 47 /* Text strings which are used as input data. 51 static final String[] input = { field in class:Supplementary 87 * in the above input data. For example, the first data in each array is 88 * for the first input string. 102 for (int i = 0; i < input.length; i++) { 103 String s = input[i]; 126 * in the above input data. For example, the first data in each array is 127 * for the first input string. 141 for (int i = 0; i < input.length; i++) { 142 String s = input[ [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixPath.java | 69 UnixPath(UnixFileSystem fs, String input) { argument 71 this(fs, encode(fs, normalizeAndCheck(input))); 75 // removes redundant slashes and check input for invalid characters 76 static String normalizeAndCheck(String input) { argument 77 int n = input.length(); 80 char c = input.charAt(i); 82 return normalize(input, n, i - 1); 83 checkNotNul(input, c); 87 return normalize(input, n, n - 1); 88 return input; 91 checkNotNul(String input, char c) argument 96 normalize(String input, int len, int off) argument 119 encode(UnixFileSystem fs, String input) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/ |
H A D | SignatureAlgorithmSpi.java | 63 * @param input 66 protected abstract void engineUpdate(byte[] input) argument 73 * @param input 76 protected abstract void engineUpdate(byte input) argument
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | PBECipherCore.java | 116 * <code>doFinal</code> operation, given the input length 126 * @param inputLen the input length (in bytes) 300 // password, and use the result as the input to the next digest 345 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 349 * @param input the input buffer 350 * @param inputOffset the offset in <code>input</code> where the input 352 * @param inputLen the input length 357 byte[] update(byte[] input, in argument 384 update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 420 doFinal(byte[] input, int inputOffset, int inputLen) argument 460 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ |
H A D | XMLReaderImpl.java | 58 public void parse(InputSource input) throws SAXException { argument 59 if(input!=THE_SOURCE)
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/ |
H A D | SAXParserFactoryAdaptor.java | 101 public void parse(InputSource input) throws IOException, SAXException { argument 102 parser.parse(input,this,this,this);
|
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/ |
H A D | Test4092905.java | 65 ObjectInputStream input = new ObjectInputStream(bais); 66 pcs = (PropertyChangeSupport) input.readObject();
|
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/ |
H A D | Test4092906.java | 66 ObjectInputStream input = new ObjectInputStream(bais); 67 pcs = (VetoableChangeSupport) input.readObject();
|