/openjdk10/nashorn/test/script/basic/ |
H A D | JDK-8073868.js | 31 function test(input) { 32 var comma = input.indexOf(","); 33 Assert.assertEquals(/([^\s]+),(.*)+/.exec(input)[0], input.trimLeft()); 34 Assert.assertEquals(/([^\s]+),(.*)+/.exec(input)[1], input.substring(0, comma).trimLeft()); 35 Assert.assertEquals(/([^\s]+),(.*)+/.exec(input)[2], input.substring(comma + 1)); 36 Assert.assertEquals(/(.*)+/.exec(input)[0], input); [all...] |
H A D | JDK-8007619.js | 33 var input= "Please send mail to foo@acme.com and bar@gov.in ASAP!"; variable 35 var match = emailPattern.exec(input); 46 print("RegExp.input = " + RegExp.input); 48 match = emailPattern.exec(input);
|
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/drivers/input/ |
H A D | package-info.java | 25 * Contains low-level drivers to perform user input.<br> 30 package org.netbeans.jemmy.drivers.input;
|
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/ |
H A D | CSVParseException.java | 33 final String input; field in class:CSVParseException 36 public CSVParseException(String msg, String input, int index) { argument 38 this.input = input; 42 public String getInput() { return input; } 53 return super.getMessage() + " at index " + index + ": " + input;
|
/openjdk10/jdk/test/javax/net/ssl/templates/ |
H A D | SSLExplorer.java | 70 ByteBuffer input = source.duplicate(); 73 if (input.remaining() < RECORD_HEADER_SIZE) { 78 byte firstByte = input.get(); 79 byte secondByte = input.get(); 80 byte thirdByte = input.get(); 86 return (((input.get() & 0xFF) << 8) | (input.get() & 0xFF)) + 5; 148 ByteBuffer input = source.duplicate(); 151 if (input.remaining() < RECORD_HEADER_SIZE) { 156 byte firstByte = input 221 exploreV2HelloRecord( ByteBuffer input, byte firstByte, byte secondByte, byte thirdByte) argument 269 exploreTLSRecord( ByteBuffer input, byte firstByte, byte secondByte, byte thirdByte) argument 325 exploreHandshake( ByteBuffer input, byte recordMajorVersion, byte recordMinorVersion, int recordLength) argument 376 exploreClientHello( ByteBuffer input, byte recordMajorVersion, byte recordMinorVersion) argument 421 exploreExtensions(ByteBuffer input) argument 459 exploreSNIExt(ByteBuffer input, int extLen) argument 519 getInt8(ByteBuffer input) argument 523 getInt16(ByteBuffer input) argument 527 getInt24(ByteBuffer input) argument 532 ignoreByteVector8(ByteBuffer input) argument 536 ignoreByteVector16(ByteBuffer input) argument 540 ignoreByteVector24(ByteBuffer input) argument 544 ignoreByteVector(ByteBuffer input, int length) argument [all...] |
/openjdk10/jdk/test/sun/security/krb5/auto/ |
H A D | Action.java | 31 byte[] run(Context s, byte[] input) throws Exception; argument
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/util/ |
H A D | FilePermCompat.java | 62 public static Permission newPermPlusAltPath(Permission input) { argument 63 if (compat && input instanceof FilePermission) { 65 .newPermPlusAltPath((FilePermission) input); 67 return input; 70 public static Permission newPermUsingAltPath(Permission input) { argument 71 if (input instanceof FilePermission) { 73 .newPermUsingAltPath((FilePermission) input);
|
/openjdk10/jdk/src/java.base/share/classes/java/net/ |
H A D | URISyntaxException.java | 43 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 {@code null} 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...] |
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/ |
H A D | InvalidPathException.java | 41 private String input; field in class:InvalidPathException 45 * Constructs an instance from the given input string, reason, and error 48 * @param input the input string 49 * @param reason a string explaining why the input was rejected 54 * if either the input or reason strings are {@code null} 59 public InvalidPathException(String input, String reason, int index) { argument 61 if ((input == null) || (reason == null)) 65 this.input = input; 79 InvalidPathException(String input, String reason) argument [all...] |
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/hpack/ |
H A D | StringReader.java | 54 boolean read(ByteBuffer input, Appendable output) { argument 58 if (!input.hasRemaining()) { 62 int p = input.position(); 63 huffman = (input.get(p) & 0b10000000) != 0; 68 boolean lengthRead = intReader.read(input); 76 boolean isLast = input.remaining() >= remainingLength; 77 int oldLimit = input.limit(); 79 input.limit(input.position() + remainingLength); 81 remainingLength -= Math.min(input [all...] |
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/misc/ |
H A D | JavaIOFilePermissionAccess.java | 34 * @param input the input 36 * or the input itself if no alt path is available. 38 FilePermission newPermPlusAltPath(FilePermission input); argument 43 * @param input the input 47 FilePermission newPermUsingAltPath(FilePermission input); argument
|
/openjdk10/jdk/test/sun/security/util/DerValue/ |
H A D | Indefinite.java | 37 byte[] input = { 43 new DerValue(new ByteArrayInputStream(input));
|
/openjdk10/common/bin/ |
H A D | print-config.js | 41 var input = {}; 42 input.get = function(dependencyName, attribute) { 45 print(JSON.stringify(getJibProfiles(input), null, 2));
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | InputVerifier.java | 33 * user to navigate the input focus. To do this, clients create a subclass of 40 * Swing component, the input verifier's 60 * // string "pass" as input, and will allow focus to advance to the second text 73 * public boolean verify(JComponent input) { 74 * return "pass".equals(((JTextField) input).getText()); 77 * public boolean verifyTarget(JComponent input) { 78 * return "accept".equals(((JTextField) input).getText()); 102 * Checks whether the JComponent's input is valid. This method should 104 * of the argument's input. 106 * @param input th 111 verify(JComponent input) argument 131 shouldYieldFocus(JComponent input) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/security/ |
H A D | MessageDigestSpi.java | 54 // for re-use in engineUpdate(ByteBuffer input) 79 * @param input the byte to use for the update. 81 protected abstract void engineUpdate(byte input); argument 87 * @param input the array of bytes to use for the update. 94 protected abstract void engineUpdate(byte[] input, int offset, int len); argument 98 * updated using the {@code input.remaining()} bytes starting 99 * at {@code input.position()}. 103 * @param input the ByteBuffer 106 protected void engineUpdate(ByteBuffer input) { argument 107 if (input [all...] |
/openjdk10/jdk/src/java.base/share/classes/javax/crypto/ |
H A D | MacSpi.java | 75 * @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 D | NullCipherSpi.java | 79 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...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/staxex/ |
H A D | Base64Encoder.java | 54 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...] |
/openjdk10/jdk/test/java/io/StreamTokenizer/ |
H A D | ReadAhead.java | 44 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...] |
/openjdk10/jdk/test/java/io/InputStreamReader/ |
H A D | GrowAfterEOF.java | 34 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();
|
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/ |
H A D | RegExpResult.java | 34 final String input; field in class:RegExpResult 39 * @param input regexp input 43 public RegExpResult(final String input, final int index, final Object[] groups) { argument 44 this.input = input; 58 * Get the input for the map 59 * @return input 62 return input;
|
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/crypto/ |
H A D | Crc32CksumType.java | 80 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);
|
/openjdk10/jdk/test/java/lang/Math/ |
H A D | Log10Tests.java | 41 static int testLog10Case(double input, double expected) { argument 44 failures+=Tests.test("Math.log10(double)", input, 45 Math.log10(input), expected); 47 failures+=Tests.test("StrictMath.log10(double)", input, 48 StrictMath.log10(input), expected); 97 double input = Double.longBitsToDouble(rand.nextLong()); 98 if(! Double.isFinite(input)) 101 input = Math.abs(input); 103 double expected = StrictMath.log(input)/LN_1 [all...] |
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/fs/ |
H A D | WindowsPathParser.java | 74 * 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...] |
/openjdk10/langtools/test/jdk/jshell/ |
H A D | CompletenessTest.java | 92 "java.util.Scanner input = new java.util.Scanner(System.in)", 93 "java.util.Scanner input = new java.util.Scanner(System.in) { }", 203 private void assertStatus(String input, Completeness status, String source) { argument 227 assertAnalyze(input, status, augSrc); 231 for (String input : ins) { 232 assertStatus(input, status, input); 262 String input = in + ";"; 263 assertStatus(input, COMPLETE, input); [all...] |