/openjdk10/nashorn/test/script/basic/ |
H A D | JDK-8024512.js | 25 * JDK-8024512: Regex /[^\[]/ doesn't match 31 print("[M]".match(/(\[[^\[]*\])/)); 32 print("[[]".match(/(\[[^\[]*\])/)); 34 print("[M]".match(/(\[[^\[^]*\])/)); 35 print("[[]".match(/(\[[^\[^]*\])/)); 36 print("[^]".match(/(\[[^\[^]*\])/)); 38 print("[M]".match(/(\[[^\[]\])/)); 39 print("[[]".match(/(\[[^\[]\])/)); 41 print("[M]".match(/(\[[^\[^]\])/)); 42 print("[[]".match(/(\[[ [all...] |
H A D | NASHORN-402.js | 34 var match; variable 35 while ((match = re.exec(str)) != null) { 36 print(match.index + "-" + re.lastIndex + " " + match[0]); 37 if (! (match instanceof Array)) { 40 if (! Array.isArray(match)) {
|
H A D | JDK-8007619.js | 35 var match = emailPattern.exec(input); variable 37 while (match != null) { 38 print("Match = " + match); 48 match = emailPattern.exec(input);
|
H A D | JDK-8012460.js | 42 print(">=0.6.0-".match(validComparator)); 43 print("=0.6.0-".match(validComparator)); 44 print("0.6.0-".match(validComparator)); 45 print("<=0.6.0-".match(validComparator)); 46 print(">=0.6.0-a:b-c.d".match(validComparator)); 47 print("=0.6.0-a:b-c.d".match(validComparator)); 48 print("0.6.0+a:b-c.d".match(validComparator)); 49 print("<=0.6.0+a:b-c.d".match(validComparator));
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ |
H A D | SWITCH.java | 26 * TABLESWITCH instruction, depending on whether the match values (int[]) can be 33 private int[] match; field in class:SWITCH 40 * Template for switch() constructs. If the match array can be 49 * @param match array of match values (case 2: ... case 7: ..., etc.) 54 public SWITCH(final int[] match, final InstructionHandle[] targets, final InstructionHandle target, final int max_gap) { argument 55 this.match = match.clone(); 57 if ((match_length = match.length) < 2) { 58 instruction = new TABLESWITCH(match, target 71 SWITCH(final int[] match, final InstructionHandle[] targets, final InstructionHandle target) argument [all...] |
H A D | Select.java | 41 private int[] match; // matches, i.e., case 1: ... TODO could be package-protected? field in class:Select 59 * @param match array of matching values 63 Select(final short opcode, final int[] match, final InstructionHandle[] targets, final InstructionHandle defaultTarget) { argument 66 this.match = match; 73 if ((match_length = match.length) != targets.length) { 75 + match.length + " Target length: " + targets.length); 148 buf.append("(").append(match[i]).append(", ").append(s).append(" = {").append( 206 copy.match = match [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/match/ |
H A D | MatchGenerator.java | 23 package org.graalvm.compiler.core.match; 28 * Code generator for complex match patterns. 32 * @returns null if the match can't be generated or a {@link ComplexMatchResult} that can be 35 ComplexMatchResult match(NodeMatchRules matchRules, Object... args); method in interface:MatchGenerator
|
/openjdk10/jdk/src/java.base/share/classes/java/security/cert/ |
H A D | CRLSelector.java | 57 boolean match(CRL crl); method in interface:CRLSelector
|
H A D | CertSelector.java | 58 boolean match(Certificate cert); method in interface:CertSelector
|
/openjdk10/jdk/test/sun/security/krb5/etype/ |
H A D | ETypeOrder.java | 43 int match = 0; 45 for (; match < correct.length; match++) { 46 if (etypes[i] == correct[match]) { 47 System.out.println("Find " + etypes[i] + " at #" + match); 51 throw new Exception("No match or bad order for " + etypes[i]);
|
/openjdk10/jdk/test/java/util/Locale/ |
H A D | Bug8135061.java | 43 * return null as the language range does not match with the language 50 Locale match = Locale.lookup(ranges, locales); 51 if (match != null) { 53 + match); 68 Locale match = Locale.lookup(ranges, locales); 69 if (!match.toLanguageTag().equals("nv")) { 71 + " result: " + match);
|
/openjdk10/hotspot/test/gc/arguments/ |
H A D | FlagsValue.java | 40 String match = m.group(); 41 return Long.parseLong(match.substring(match.lastIndexOf(" ") + 1, match.length()));
|
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/util/ |
H A D | RegExComparator.java | 42 public boolean equals(String caption, String match) { argument 43 if (match == null) { 53 new Object[]{match, caption}, 70 return parse(caption, match); 80 * @param match a pattern 83 public boolean parse(String caption, String match) { argument 84 if (match.length() == 0 87 } else if (match.length() == 0) { 90 int c0 = match.charAt(0); 92 if (match [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/javax/xml/catalog/ |
H A D | GroupEntry.java | 71 //A flag to indicate whether the current match is a system or uri 74 //A match of a rewrite type 77 //The length of the longest match of a rewrite type 80 //A match of a suffix type 83 //The length of the longest match of a suffix type 222 * current catalog in order to find a match. 232 String match = null; 236 match = ((SystemEntry) entry).match(systemId); 238 if (match ! [all...] |
H A D | CatalogEntry.java | 46 public String match(String match) { argument
|
H A D | NextCatalog.java | 44 public String match(String match) { argument
|
H A D | SystemSuffix.java | 84 * Try to match the specified systemId with the entry. Return the match if it 86 * of any previous match. 89 * @param currentMatch The length of systemIdSuffix of previous match if any. 90 * @return The replacement URI if the match is successful, null if not. 93 public String match(String systemId, int currentMatch) { method in class:SystemSuffix 103 * Try to match the specified systemId with the entry. 106 * @return The replacement URI if the match is successful, null if not. 109 public String match(String systemId) { method in class:SystemSuffix 110 return match(systemI [all...] |
H A D | UriSuffix.java | 84 * Try to match the specified systemId with the entry. Return the match if it 86 * of any previous match. 89 * @param currentMatch The length of uriSuffix of previous match if any. 90 * @return The replacement URI if the match is successful, null if not. 93 public String match(String systemId, int currentMatch) { method in class:UriSuffix 103 public String match(String systemId) { method in class:UriSuffix 104 return match(systemId, 0);
|
/openjdk10/jdk/test/sun/security/provider/KeyStore/ |
H A D | CaseSensitiveAliases.java | 110 match(p2, ks.getKey("alias", pw)); 111 match(p2, ks.getKey("Alias", pw)); 112 match(p2, ks.getKey("ALIAS", pw)); 113 match(a2, ks.getCertificateChain("alias")); 114 match(a2, ks.getCertificateChain("Alias")); 115 match(a2, ks.getCertificateChain("ALIAS")); 120 match(null, ks.getKey("alias", pw)); 121 match(p1, ks.getKey("Alias", pw)); 122 match(p2, ks.getKey("ALIAS", pw)); 123 match(nul 131 private static void match(Key p1, Key p2) throws Exception { method in class:CaseSensitiveAliases 138 private static void match(Certificate[] a1, Certificate[] a2) throws Exception { method in class:CaseSensitiveAliases [all...] |
/openjdk10/jdk/test/java/awt/datatransfer/DataFlavor/ |
H A D | DefaultMatchTest.java | 27 @summary tests that DataFlavor.match() does not throw NPE. 53 b = df1.match(df2); 54 b = df2.match(df1); 55 b = df2.match(df3); 57 throw new RuntimeException("The test FAILED: DataFlavor.match still throws NPE");
|
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ |
H A D | NativeRegExp.java | 306 * @param string string to match against regexp 307 * @return array containing the matches or {@code null} if no match 388 final RegExpResult match = Global.instance().getLastRegExpResult(); 389 return match == null ? "" : match.getInput(); 409 final RegExpResult match = Global.instance().getLastRegExpResult(); 410 return match == null ? "" : match.getGroup(0); 420 final RegExpResult match = Global.instance().getLastRegExpResult(); 421 return match [all...] |
/openjdk10/jdk/test/java/util/logging/HigherResolutionTimeStamps/ |
H A D | XmlFormatterNanos.java | 209 String match = "."+expectedNanos; 210 if (str.contains(match) != useInstant) { 214 + "\n\texpected match for: '" + match + "'" 217 System.out.println("Found expected match for '"+match+"' in \n"+str); 219 match = "<millis>"+instant.toEpochMilli()+"</millis>"; 220 if (!str.contains(match)) { 224 + "\n\texpected match for: '" + match [all...] |
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/ |
H A D | AliasFileParser.java | 76 * method to match the current Token to a specified token type and 77 * value Throws a SyntaxException if token doesn't match. 79 private void match(int ttype, String token) method in class:AliasFileParser 92 * method to match the current Token to a specified token type. 93 * Throws a SyntaxException if token doesn't match. 95 private void match(int ttype) throws IOException, SyntaxException { method in class:AliasFileParser 103 private void match(String token) throws IOException, SyntaxException { method in class:AliasFileParser 104 match(StreamTokenizer.TT_WORD, token); 135 match(ALIAS); 137 match(StreamTokenize [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/.mx.graal/ |
H A D | outputparser.py | 43 Produces a value map for each match of a given regular expression 57 for match in self.regex.finditer(text): 60 key = self.get_template_value(match, keyTemplate) 61 value = self.get_template_value(match, valueTemplate) 66 def get_template_value(self, match, template): 69 return match.group(groupName)
|
/openjdk10/langtools/test/tools/javac/code/ |
H A D | ArrayClone.java | 53 String match = "[ \t]+[0-9]+:[ \t]+invokevirtual[ \t]+#[0-9]+[ \t]+// Method \"\\[Ljava/lang/String;\".clone:\\(\\)Ljava/lang/Object;"; 54 if (line.matches(match))
|