/openjdk10/nashorn/test/script/basic/ |
H A D | JDK-8011394.js | 31 var re = new RegExp(); 34 re.lastIndex = { 41 re.test("");
|
H A D | JDK-8013873.js | 31 var re = /[a\-c]/; variable 32 print(re.exec("a")); 33 print(re.exec("-")); 34 print(re.exec("c")); 35 print(re.exec("b")); 36 print(re.exec("\\")); 38 re = /^\-$/; 39 print(re.exec("-")); 40 print(re.exec("\\-"));
|
H A D | NASHORN-402.js | 32 var re = new RegExp; 33 re.compile ("\\w+", "g"); 35 while ((match = re.exec(str)) != null) { 36 print(match.index + "-" + re.lastIndex + " " + match[0]);
|
H A D | JDK-8013878.js | 31 var re = /(a)(b)(c)/; variable 34 print(re.exec(str).length); 35 print(re.exec(str).concat(['d', 'e', 'f'])); 36 print(re.exec(str).join('-')); 37 print(re.exec(str).push('d')); 38 print(re.exec(str).pop()); 39 print(re.exec(str).reverse()); 40 print(re.exec(str).shift()); 41 print(re.exec(str).sort()); 42 print(re [all...] |
H A D | JDK-8023531.js | 79 var re = /abc/; variable 80 re.compile(""); 81 if (re.toString() !== "/(?:)/") { 83 } else if (!re.test("")) { 87 re.compile("", "g"); 88 if (re.toString() !== "/(?:)/g") { 90 } else if (!re.test("")) { 94 re.compile("", "i"); 95 if (re.toString() !== "/(?:)/i") { 97 } else if (!re [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/util/ |
H A D | CompletedFuture.java | 40 private final Throwable re; field in class:CompletedFuture 42 public CompletedFuture(T v, Throwable re) { argument 44 this.re = re; 60 if (re != null) { 61 throw new ExecutionException(re);
|
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/ |
H A D | Jsr173MR1Req5Test.java | 54 XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(), 56 while (re.hasNext()) { 57 int event = re.next(); 59 // System.out.println("#attrs = " + re.getAttributeCount()); 60 Assert.assertTrue(re.getAttributeCount() == 3); 63 re.close(); 78 XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(), 80 while (re.hasNext()) { 81 int event = re.next(); 83 // System.out.println("#attrs = " + re [all...] |
H A D | Jsr173MR1Req8Test.java | 51 XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(), 53 while (re.hasNext()) { 54 int event = re.next(); 56 // System.out.println("#attrs = " + re.getAttributeCount()); 57 Assert.assertTrue(re.getAttributeCount() == 2); 59 // System.out.println("attr1 = " + re.getAttributeValue("", 61 Assert.assertTrue(re.getAttributeValue("", "attr1").equals("pass")); 64 re.close();
|
H A D | VoiceXMLDTDTest.java | 50 XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(), 52 while (re.hasNext()) { 53 int event = re.next();
|
H A D | DefaultAttributeTest.java | 60 XMLStreamReader re = ifac.createXMLStreamReader(this.getClass().getResource(INPUT_FILE).toExternalForm(), 63 while (re.hasNext()) { 64 int event = re.next(); 65 if (event == XMLStreamConstants.START_ELEMENT && re.getLocalName().equals("bookurn")) { 66 Assert.assertTrue(re.getAttributeCount() == 0, "No attributes are expected for <bookurn> "); 67 Assert.assertTrue(re.getNamespaceCount() == 2, "Two namespaces are expected for <bookurn> ");
|
/openjdk10/langtools/test/tools/javac/7129225/ |
H A D | AnnoProcessor.java | 38 public boolean process(Set<? extends TypeElement> set, RoundEnvironment re) { argument 39 messager.printMessage(Kind.NOTE, "RUNNING - lastRound = " + re.processingOver());
|
/openjdk10/langtools/test/tools/javac/processing/environment/round/ |
H A D | TestElementsAnnotatedWith.java | 91 private RoundEnvironment re; field in class:TestElementsAnnotatedWith.TestingRoundEnvironment 93 public TestingRoundEnvironment(RoundEnvironment re) { argument 94 this.re = re; 99 return re.errorRaised(); 104 return re.getElementsAnnotatedWith(a); 115 return re.getElementsAnnotatedWith(a); 126 return re.getRootElements(); 131 return re.processingOver(); 150 void checkSetOfAnnotatedElements(RoundEnvironment re) { argument [all...] |
/openjdk10/jdk/test/java/net/httpclient/ |
H A D | TestKitTest.java | 55 RuntimeException re = TestKit.assertThrows( 59 assertEquals(re.getMessage(), 67 re = TestKit.assertThrows( 71 assertEquals(re.getMessage(), 106 RuntimeException re = TestKit.assertThrows( 110 assertEquals(re.getClass(), RuntimeException.class); 111 assertEquals(re.getMessage(), 115 re = TestKit.assertThrows( 119 assertNotNull(re); 120 assertNull(re [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/.mx.graal/ |
H A D | sanitycheck.py | 27 import re, mx, mx_graal, os, sys, StringIO, subprocess namespace 156 score = re.compile(r"^Valid run, Score is (?P<score>[0-9]+)$", re.MULTILINE) 157 error = re.compile(r"VALIDATION ERROR") 158 success = re.compile(r"^Valid run, Score is [0-9]+$", re.MULTILINE) 169 jops = re.compile(r"^RUN RESULT: hbIR \(max attempted\) = [0-9]+, hbIR \(settled\) = [0-9]+, max-jOPS = (?P<max>[0-9]+), critical-jOPS = (?P<critical>[0-9]+)$", re.MULTILINE) 171 success = re.compile(r"org.spec.jbb.controller: Run finished", re [all...] |
/openjdk10/jdk/test/java/lang/reflect/ReflectPermission/ |
H A D | Exceptions.java | 50 RuntimeException re = new RuntimeException("no exception thrown"); 53 fail("null", re); 61 fail("\"\"", re); 70 fail("null, null", re); 78 fail("\"\", null", re);
|
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/UTIL/ |
H A D | TestUtil.java | 40 RuntimeException re = new RuntimeException 42 re.initCause(ex); 43 throw re;
|
/openjdk10/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | SharedSynchronizer.java | 75 RuntimeException re = new RuntimeException(e.getMessage()); 76 re.initCause(e); 77 throw re;
|
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ |
H A D | RawChannelImpl.java | 80 private final RawEvent re; field in class:RawChannelImpl.NonBlockingRawAsyncEvent 82 NonBlockingRawAsyncEvent(RawEvent re) { argument 84 this.re = re; 94 return re.interestOps(); 99 re.handle();
|
/openjdk10/jdk/test/javax/security/auth/x500/X500Principal/ |
H A D | InvalidConstructorInput.java | 42 } catch (RuntimeException re) { 56 } catch (RuntimeException re) {
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/handler/ |
H A D | HandlerProcessor.java | 145 } catch (RuntimeException re) { 146 logger.log(Level.FINER, "exception in handler chain", re); 147 throw re; 202 } catch (RuntimeException re) { 203 logger.log(Level.FINER, "exception in handler chain", re); 204 throw re; 360 } catch (RuntimeException re) { 362 "exception in handler chain", re); 363 throw re; 373 } catch (RuntimeException re) { [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | MethodCallable.java | 60 } catch (RuntimeException re) { 61 throw re;
|
/openjdk10/jdk/test/java/awt/datatransfer/DataFlavor/ |
H A D | GetReaderForTextIAEForStringSelectionTest.java | 48 Reader re = pt.getReaderForText(ss); 49 if(re == null) {
|
/openjdk10/jdk/test/java/rmi/activation/CommandEnvironment/ |
H A D | Doctor.java | 70 } catch (RemoteException re) { 72 re.printStackTrace();
|
/openjdk10/jdk/test/java/util/logging/bundlesearch/ |
H A D | LoadItUp2.java | 50 } catch (MissingResourceException re) {
|
/openjdk10/jdk/test/sun/java2d/marlin/ |
H A D | ArrayCacheSizeTest.java | 65 } catch (RuntimeException re) { 66 throw re; 111 } catch (RuntimeException re) { 112 throw re;
|