/openjdk7/jdk/test/java/lang/Runtime/exec/ |
H A D | ExecWithInput.java | 26 * @summary Ensure that piped input always works with exec'd processes 47 * Execute /bin/cat supplying two lines of input. cat should 48 * read the input lines and copy them to stdout. On completion, 56 String input = i + ": line 1\n" + i + ": line 2\n"; 57 StringBufferInputStream in = new StringBufferInputStream(input); 116 // see EOF on input, it is necessary to close stdin
|
/openjdk7/jdk/test/sun/security/util/DerValue/ |
H A D | BadValue.java | 27 * @summary ASN.1/DER input stream parser needs more work 78 byte[] input = {0x04, (byte)0x84, 0x40, 0x00, 0x42, 0x46, 0x4b}; 80 new DerValue(new ByteArrayInputStream(input));
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | Aes128.java | 55 byte[] input, int start, int len) throws GeneralSecurityException { 56 return CRYPTO.calculateChecksum(baseKey, usage, input, start, len); 54 calculateChecksum(byte[] baseKey, int usage, byte[] input, int start, int len) argument
|
H A D | Aes256.java | 55 byte[] input, int start, int len) throws GeneralSecurityException { 56 return CRYPTO.calculateChecksum(baseKey, usage, input, start, len); 54 calculateChecksum(byte[] baseKey, int usage, byte[] input, int start, int len) argument
|
H A D | Des3.java | 58 byte[] input, int start, int len) throws GeneralSecurityException { 59 return CRYPTO.calculateChecksum(baseKey, usage, input, start, len); 57 calculateChecksum(byte[] baseKey, int usage, byte[] input, int start, int len) argument
|
H A D | crc32.java | 104 byte[] input = new byte[1]; 105 input[0] = b; 106 //engineUpdate(input, 0, 1); 107 engineUpdate(input, seed, 1); 115 protected synchronized void engineUpdate(byte input[], int offset, argument 117 processData(input, offset, len); 269 public static byte[] int2quad(long input) { argument 272 output[i] = (byte)((input >>> (i * 8)) & 0xff);
|
/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | IntTrie.java | 57 * <p>Unserialize the 32-bit-aligned input stream and use the data for the 59 * @param inputStream file input stream to a ICU data file, containing 133 * <p>Parses the input stream and stores its trie content into a index and 135 * @param inputStream data input stream containing trie data 144 DataInputStream input = new DataInputStream(inputStream); 146 m_data_[i] = input.readInt();
|
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | ByteToCharEUC.java | 75 public int convert(byte[] input, int inOff, int inEnd, argument 89 byte1 = input[byteOff];
|
H A D | ByteToCharGB18030.java | 88 public int convert(byte[] input, int inOff, int inEnd, argument 101 // partial input from a previous conversion attempt. 116 System.arraycopy(input, inOff, newBuf, savedSize, inEnd - inOff); 118 input = newBuf; 135 // Get the input byte 136 byte1 = input[readOff++] & 0xFF; 163 byte2 = input[readOff++] & 0xFF; 183 savedBytes[2] = input[readOff++]; 188 byte3 = input[readOff++] & 0xFF; 194 byte4 = input[readOf [all...] |
H A D | CharToByteISO2022JP.java | 45 * Bytes for substitute for unmappable input. 77 public int convert(char[] input, int inOff, int inEnd, argument 84 int inputSize; // Size of the input 93 // Make copies of input and output indexes 100 if (input[inOff] >= 0xdc00 && input[inOff] <= 0xdfff) { 111 // Loop until we run out of input 116 // Get the input character 117 inputChar = input[charOff]; 123 // Is this the last character of the input [all...] |
H A D | ByteToCharDBCS_EBCDIC.java | 77 public int convert(byte[] input, int inOff, int inEnd, argument 92 byte1 = input[byteOff] & 0xff; 152 byte2 = input[byteOff+inputSize] & 0xff;
|
H A D | CharToByteEUC.java | 64 public int convert(char[] input, int inOff, int inEnd, argument 87 inputChar = input[charOff]; 98 // Is this the last character of the input? 106 inputChar = input[charOff + inputSize]; 250 // only return true if input char was unicode null - all others are
|
/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestJavacTaskScanner.java | 181 public Scanner newScanner(CharSequence input, boolean keepDocComments) { argument 183 if (input instanceof CharBuffer) { 184 return new MyScanner(this, (CharBuffer)input, test); 186 char[] array = input.toString().toCharArray(); 192 public Scanner newScanner(char[] input, int inputLength, boolean keepDocComments) { argument 194 return new MyScanner(this, input, inputLength, test); 203 protected MyScanner(ScannerFactory fac, char[] input, int inputLength, TestJavacTaskScanner test) { argument 204 super(fac, input, inputLength);
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ColorModel.java | 1634 * image, extracted from the input <code>Raster</code>, provided that 1715 float input, output; 1722 input = ((float) i) / 255.0f; 1723 if (input <= 0.0031308f) { 1724 output = input * 12.92f; 1726 output = 1.055f * ((float) Math.pow(input, (1.0 / 2.4))) 1738 float input, output; 1741 input = ((float) i) / 255.0f; 1742 if (input <= 0.04045f) { 1743 output = input / 12.9 [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/ |
H A D | DnsContextFactory.java | 222 * @param input the input server[:port] list, must not be null 224 * @return the filtered list, all non-permitted input removed 226 private static List filterNameServers(List input, boolean oneIsEnough) { argument 228 if (security == null || input == null || input.isEmpty()) { 229 return input; 232 for (Object o: input) {
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/transforms/implementations/ |
H A D | TransformXPath.java | 70 * @param input 74 protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, Transform _transformObject) argument 80 * If the actual input is an octet stream, then the application MUST 105 input.setNeedsToBeExpanded(needsCircunvent(str)); 112 input.addNodeFilter(new XPathNodeFilter( xpathElement, xpathnode, str)); 113 input.setNodeSet(true); 114 return input;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/ |
H A D | W3CAddressingWSDLGeneratorExtension.java | 64 public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method) { argument 69 if (a != null && !a.input().equals("")) { 70 addAttribute(input, a.input()); 75 addAttribute(input, defaultAction); 93 //this assumes that fromjava case there won't be input name. 94 // if there is input name in future, then here name=inputName
|
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/ |
H A D | DatatypeConverterImpl.java | 380 throw new IllegalArgumentException("input is empty"); 761 public static String _printBase64Binary(byte[] input) { argument 762 return _printBase64Binary(input, 0, input.length); 765 public static String _printBase64Binary(byte[] input, int offset, int len) { argument 767 int ptr = _printBase64Binary(input, offset, len, buf, 0); 781 public static int _printBase64Binary(byte[] input, int offset, int len, char[] buf, int ptr) { argument 786 buf[ptr++] = encode(input[i] >> 2); 788 ((input[i] & 0x3) << 4) 789 | ((input[ 823 _printBase64Binary(byte[] input, int offset, int len, byte[] out, int ptr) argument [all...] |
/openjdk7/jdk/test/java/lang/Double/ |
H A D | ParseHexFloatingPoint.java | 42 static int test(String testName, String input, argument 48 ": For input " + input + 56 static int testCase(String input, double expected) { argument 61 input = input.toLowerCase(java.util.Locale.US); 67 String s1 = input; 154 String input = threeTests[i]; 155 failures += testCase(input, 3.0); 157 input [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/ |
H A D | XSLTC.java | 296 * processing instruction in the case where the input document to the 309 * @param url An URL containing the input XSL stylesheet 313 // Open input stream from URL and wrap inside InputSource 315 final InputSource input = new InputSource(stream); 316 input.setSystemId(url.toString()); 317 return compile(input, _className); 327 * @param url An URL containing the input XSL stylesheet 332 // Open input stream from URL and wrap inside InputSource 334 final InputSource input = new InputSource(stream); 335 input 362 compile(InputSource input, String name) argument 491 compile(String name, InputSource input, int outputType) argument 506 compile(String name, InputSource input) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/ |
H A D | DynArrayImpl.java | 68 InputStream input; 71 input = any.create_input_stream(); 82 anys[i] = DynAnyUtil.extractAnyFromStream(contentType, input, orb);
|
H A D | DynSequenceImpl.java | 73 InputStream input; 76 input = any.create_input_stream(); 81 length = input.read_long(); 88 anys[i] = DynAnyUtil.extractAnyFromStream(contentType, input, orb);
|
/openjdk7/jdk/src/share/sample/nio/chatserver/ |
H A D | Client.java | 36 * input validation and proper error handling, might not be present in 155 ByteBuffer input = ByteBuffer.allocate(256); 159 channel.read(input, input, completionHandler);
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/ |
H A D | TextTests.java | 36 * input validation and proper error handling, might not be present in 109 static Float[] floatObjectList(float[] input) { argument 110 Float[] result = new Float[input.length]; 112 result[i] = new Float(input[i]); 117 static String[] floatStringList(float[] input) { argument 118 return floatStringList("", input, ""); 121 static String[] floatStringList(float[] input, String sfx) { argument 122 return floatStringList("", input, sfx); 125 static String[] floatStringList(String pfx, float[] input, String sfx) { argument 126 String[] result = new String[input 133 intStringList(int[] input) argument 137 intStringList(int[] input, String sfx) argument 141 intStringList(String pfx, int[] input, String sfx) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ImageDecoder.java | 35 InputStream input; field in class:ImageDecoder 45 input = is; 176 if (input != null) { 178 input.close();
|