Searched refs:re (Results 1 - 25 of 128) sorted by relevance

123456

/openjdk10/nashorn/test/script/basic/
H A DJDK-8011394.js31 var re = new RegExp();
34 re.lastIndex = {
41 re.test("");
H A DJDK-8013873.js31 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 DNASHORN-402.js32 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 DJDK-8013878.js31 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 DJDK-8023531.js79 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 DCompletedFuture.java40 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 DJsr173MR1Req5Test.java54 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 DJsr173MR1Req8Test.java51 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 DVoiceXMLDTDTest.java50 XMLStreamReader re = ifac.createXMLStreamReader(getClass().getResource(INPUT_FILE1).toExternalForm(),
52 while (re.hasNext()) {
53 int event = re.next();
H A DDefaultAttributeTest.java60 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 DAnnoProcessor.java38 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 DTestElementsAnnotatedWith.java91 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 DTestKitTest.java55 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 Dsanitycheck.py27 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 DExceptions.java50 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 DTestUtil.java40 RuntimeException re = new RuntimeException
42 re.initCause(ex);
43 throw re;
/openjdk10/jdk/test/java/lang/management/ThreadMXBean/
H A DSharedSynchronizer.java75 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 DRawChannelImpl.java80 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 DInvalidConstructorInput.java42 } catch (RuntimeException re) {
56 } catch (RuntimeException re) {
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/handler/
H A DHandlerProcessor.java145 } 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 DMethodCallable.java60 } catch (RuntimeException re) {
61 throw re;
/openjdk10/jdk/test/java/awt/datatransfer/DataFlavor/
H A DGetReaderForTextIAEForStringSelectionTest.java48 Reader re = pt.getReaderForText(ss);
49 if(re == null) {
/openjdk10/jdk/test/java/rmi/activation/CommandEnvironment/
H A DDoctor.java70 } catch (RemoteException re) {
72 re.printStackTrace();
/openjdk10/jdk/test/java/util/logging/bundlesearch/
H A DLoadItUp2.java50 } catch (MissingResourceException re) {
/openjdk10/jdk/test/sun/java2d/marlin/
H A DArrayCacheSizeTest.java65 } catch (RuntimeException re) {
66 throw re;
111 } catch (RuntimeException re) {
112 throw re;

Completed in 419 milliseconds

123456