Searched refs:input (Results 1 - 25 of 417) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/swing/
H A DInputVerifier.java39 * attach an instance of their subclass to the <code>JComponent</code> whose input they
41 * that requests it, the input verifier's <code>shouldYieldFocus</code> method is
59 * // string "pass" as input, and will allow focus to advance out of it
80 * public boolean verify(JComponent input) {
81 * JTextField tf = (JTextField) input;
101 * Checks whether the JComponent's input is valid. This method should
103 * of the argument's input.
105 * @param input the JComponent to verify
112 public abstract boolean verify(JComponent input); argument
116 * Calls <code>verify(input)</cod
131 shouldYieldFocus(JComponent input) argument
[all...]
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DAction.java31 byte[] run(Context s, byte[] input) throws Exception; argument
/openjdk7/jdk/src/share/classes/java/net/
H A DURISyntaxException.java43 private String input; field in class:URISyntaxException
47 * Constructs an instance from the given input string, reason, and error
50 * @param input The input string
51 * @param reason A string explaining why the input could not be parsed
56 * If either the input or reason strings are <tt>null</tt>
61 public URISyntaxException(String input, String reason, int index) { argument
63 if ((input == null) || (reason == null))
67 this.input = input;
81 URISyntaxException(String input, String reason) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DInvalidPathException.java39 private String input; field in class:InvalidPathException
43 * Constructs an instance from the given input string, reason, and error
46 * @param input the input string
47 * @param reason a string explaining why the input was rejected
52 * if either the input or reason strings are <tt>null</tt>
57 public InvalidPathException(String input, String reason, int index) { argument
59 if ((input == null) || (reason == null))
63 this.input = input;
77 InvalidPathException(String input, String reason) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DICUBinary.java67 * Takes a ICU generated big-endian input stream, parse the ICU standard
92 * FileInputStream input = new FileInputStream(filename);
93 * If (Utility.readICUDataHeader(input, dataformat, dataversion,
102 * @param inputStream input stream that contains the ICU data header
118 DataInputStream input = new DataInputStream(inputStream);
119 char headersize = input.readChar();
122 byte magic1 = input.readByte();
124 byte magic2 = input.readByte();
130 input.readChar(); // reading size
132 input
[all...]
/openjdk7/jdk/test/sun/security/util/DerValue/
H A DIndefinite.java36 byte[] input = {
42 new DerValue(new ByteArrayInputStream(input));
/openjdk7/jdk/src/share/classes/java/security/
H A DMessageDigestSpi.java53 // for re-use in engineUpdate(ByteBuffer input)
78 * @param input the byte to use for the update.
80 protected abstract void engineUpdate(byte input); argument
86 * @param input the array of bytes to use for the update.
93 protected abstract void engineUpdate(byte[] input, int offset, int len); argument
97 * updated using the <code>input.remaining()</code> bytes starting
98 * at <code>input.position()</code>.
102 * @param input the ByteBuffer
105 protected void engineUpdate(ByteBuffer input) { argument
106 if (input
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DMacSpi.java75 * @param input the input byte to be processed.
77 protected abstract void engineUpdate(byte input); argument
80 * Processes the first <code>len</code> bytes in <code>input</code>,
83 * @param input the input buffer.
84 * @param offset the offset in <code>input</code> where the input starts.
87 protected abstract void engineUpdate(byte[] input, int offset, int len); argument
90 * Processes <code>input
101 engineUpdate(ByteBuffer input) argument
[all...]
H A DNullCipherSpi.java79 protected byte[] engineUpdate(byte[] input, int inputOffset, argument
81 if (input == null) return null;
83 System.arraycopy(input, inputOffset, x, 0, inputLen);
87 protected int engineUpdate(byte[] input, int inputOffset, argument
90 if (input == null) return 0;
91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen);
95 protected byte[] engineDoFinal(byte[] input, int inputOffset, argument
98 return engineUpdate(input, inputOffset, inputLen);
101 protected int engineDoFinal(byte[] input, int inputOffset, argument
105 return engineUpdate(input, inputOffse
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/
H A DBase64Encoder.java54 public static String print(byte[] input, int offset, int len) { argument
56 int ptr = print(input,offset,len,buf,0);
70 public static int print(byte[] input, int offset, int len, char[] buf, int ptr) { argument
74 buf[ptr++] = encode(input[i]>>2);
75 buf[ptr++] = encode(((input[i])&0x3)<<4);
80 buf[ptr++] = encode(input[i]>>2);
82 ((input[i]&0x3)<<4) |
83 ((input[i+1]>>4)&0xF));
84 buf[ptr++] = encode((input[i+1]&0xF)<<2);
88 buf[ptr++] = encode(input[
[all...]
/openjdk7/jdk/test/java/io/StreamTokenizer/
H A DReadAhead.java44 private String input; field in class:ReadAhead.LimitedInputStream
45 private int limit; /* Do not allow input[limit] to be read */
48 public LimitedInputStream(String input, int limit) { argument
49 this.input = input;
56 return input.charAt(next++);
65 private String input; field in class:ReadAhead.LimitedReader
66 private int limit; /* Do not allow input[limit] to be read */
69 public LimitedReader(String input, int limit) { argument
70 this.input
99 create(String input, int limit) argument
[all...]
/openjdk7/jdk/test/java/io/InputStreamReader/
H A DGrowAfterEOF.java34 File input = new File(".", "TestEOFInput.txt");
35 RandomAccessFile rf = new RandomAccessFile(input, "rw");
38 (new InputStreamReader(new FileInputStream(input)));
56 input.delete();
59 input.delete();
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DCrc32CksumType.java80 public static byte[] int2quad(long input) { argument
83 output[i] = (byte)((input >>> (i * 8)) & 0xff);
88 public static long bytes2long(byte[] input) { argument
91 result |= (((long)input[0]) & 0xffL) << 24;
92 result |= (((long)input[1]) & 0xffL) << 16;
93 result |= (((long)input[2]) & 0xffL) << 8;
94 result |= (((long)input[3]) & 0xffL);
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/
H A DDigesterOutputStream.java40 * objects as input, rather than
42 * It also optionally caches the input bytes.
66 * @param buffer if true, caches the input bytes
77 public void write(byte[] input) { argument
78 write(input, 0, input.length);
82 public void write(int input) { argument
84 bos.write(input);
86 md.update((byte)input);
90 public void write(byte[] input, in argument
[all...]
/openjdk7/jdk/test/java/lang/Math/
H A DRoundTests.java62 private static int testNearHalfCases(double input, double expected) { argument
65 failures += Tests.test("Math.round", input, Math.round(input), expected);
66 failures += Tests.test("StrictMath.round", input, StrictMath.round(input), expected);
90 private static int testNearHalfCases(float input, float expected) { argument
93 failures += Tests.test("Math.round", input, Math.round(input), expected);
94 failures += Tests.test("StrictMath.round", input, StrictMath.round(input), expecte
[all...]
H A DHyperbolicTests.java335 double input = Double.longBitsToDouble(i);
338 StrictMath.exp(input + offset) *
339 StrictMath.exp( offset - ((input + offset) - input) );
341 failures += testSinhCaseWithUlpDiff(input, expected, 4.0);
357 public static int testSinhCaseWithTolerance(double input, argument
362 input, Math.sinh(input),
365 -input, Math.sinh(-input),
377 testSinhCaseWithUlpDiff(double input, double expected, double ulps) argument
715 testCoshCaseWithTolerance(double input, double expected, double tolerance) argument
735 testCoshCaseWithUlpDiff(double input, double expected, double ulps) argument
1009 testTanhCaseWithTolerance(double input, double expected, double tolerance) argument
1029 testTanhCaseWithUlpDiff(double input, double expected, double ulps) argument
[all...]
H A DTests.java52 public static int test(String testName, float input, argument
56 "\tFor input " + input + "\t(" + toHexString(input) + ")\n" +
65 public static int test(String testName, double input, argument
69 "\tFor input " + input + "\t(" + toHexString(input) + ")\n" +
104 public static int test(String testName, float input, argument
108 "\tFor input "
116 test(String testName, double input, int result, int expected) argument
129 test(String testName, float input, float result, float expected) argument
143 test(String testName, double input, double result, double expected) argument
243 testUlpDiff(String testName, double input, double result, double expected, double ulps) argument
274 testUlpDiffWithAbsBound(String testName, double input, double result, double expected, double ulps, double absBound) argument
299 testUlpDiffWithLowerBound(String testName, double input, double result, double expected, double ulps, double lowerBound) argument
321 testTolerance(String testName, double input, double result, double expected, double tolerance) argument
[all...]
H A DLog10Tests.java44 static int testLog10Case(double input, double expected) { argument
47 failures+=Tests.test("Math.log10(double)", input,
48 Math.log10(input), expected);
50 failures+=Tests.test("StrictMath.log10(double)", input,
51 StrictMath.log10(input), expected);
100 double input = Double.longBitsToDouble(rand.nextLong());
101 if(! FpUtils.isFinite(input))
104 input = Math.abs(input);
106 double expected = StrictMath.log(input)/LN_1
[all...]
H A DRint.java36 static int testRintCase(double input, double expected) { argument
39 failures += Tests.test("Math.rint", input, Math.rint(input), expected);
40 failures += Tests.test("Math.rint", -input, Math.rint(-input), -expected);
42 input, StrictMath.rint(input), expected);
43 failures += Tests.test("StrictMath.rint", -input,
44 StrictMath.rint(-input), -expected);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsPathParser.java74 * Parses the given input as a Windows path
76 static Result parse(String input) { argument
77 return parse(input, true);
81 * Parses the given input as a Windows path where it is known that the
84 static Result parseNormalizedPath(String input) { argument
85 return parse(input, false);
89 * Parses the given input as a Windows path.
94 private static Result parse(String input, boolean requireToNormalize) { argument
98 int len = input.length();
101 char c0 = input
[all...]
/openjdk7/jaxp/src/javax/xml/parsers/
H A DSAXParser.java55 * a variety of input sources. These input sources are InputStreams,
138 InputSource input = new InputSource(is);
139 this.parse(input, hb);
169 InputSource input = new InputSource(is);
170 input.setSystemId(systemId);
171 this.parse(input, hb);
194 InputSource input = new InputSource(is);
195 this.parse(input, dh);
222 InputSource input
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DSslMacCore.java109 * @param input the input byte to be processed.
111 void update(byte input) { argument
120 md.update(input);
124 * Processes the first <code>len</code> bytes in <code>input</code>,
127 * @param input the input buffer.
128 * @param offset the offset in <code>input</code> where the input starts.
131 void update(byte input[], in argument
143 update(ByteBuffer input) argument
211 engineUpdate(byte input) argument
214 engineUpdate(byte input[], int offset, int len) argument
217 engineUpdate(ByteBuffer input) argument
244 engineUpdate(byte input) argument
247 engineUpdate(byte input[], int offset, int len) argument
250 engineUpdate(ByteBuffer input) argument
[all...]
/openjdk7/jdk/test/java/nio/charset/coders/
H A DSurrogates.java37 static char[] input; field in class:Surrogates
48 input = sb.toString().toCharArray();
52 osw.write(input);
64 for (int i = 0; i < input.length; i += 7)
65 osw.write(input, i, Math.min(input.length - i, 7));
67 osw.write(input, 0, 1);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DScannerFactory.java71 public Scanner newScanner(CharSequence input, boolean keepDocComments) { argument
72 if (input instanceof CharBuffer) {
73 CharBuffer buf = (CharBuffer) input;
79 char[] array = input.toString().toCharArray();
84 public Scanner newScanner(char[] input, int inputLength, boolean keepDocComments) { argument
86 return new DocCommentScanner(this, input, inputLength);
88 return new Scanner(this, input, inputLength);
/openjdk7/jdk/src/share/classes/javax/imageio/spi/
H A DImageInputStreamSpi.java41 * a generic <code>InputStream</code> to be used as an input source;
42 * another might take input from a <code>URL</code>.
45 * pluggable service, it becomes possible to handle future input
96 * interface type that must be implemented by an input source in
123 * input streams created by this service provider.
139 * input streams created by this service provider.
152 * @param input an object of the class type returned by
162 * @exception IllegalArgumentException if <code>input</code> is
175 createInputStreamInstance(Object input, argument
185 * @param input a
197 createInputStreamInstance(Object input) argument
[all...]

Completed in 94 milliseconds

1234567891011>>