Home
last modified time | relevance | path

Searched refs:re (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeExceptionTest.java27 RuntimeException re = new RuntimeException(message, npe); in test_ConstructorLStringLThrowable() local
28 assertEquals(message, re.getMessage()); in test_ConstructorLStringLThrowable()
29 assertEquals(npe, re.getCause()); in test_ConstructorLStringLThrowable()
31 re = new RuntimeException(null, npe); in test_ConstructorLStringLThrowable()
32 assertNull(re.getMessage()); in test_ConstructorLStringLThrowable()
34 re = new RuntimeException(message, null); in test_ConstructorLStringLThrowable()
35 assertNull(re.getCause()); in test_ConstructorLStringLThrowable()
40 RuntimeException re = new RuntimeException(npe); in test_ConstructorLThrowable() local
41 assertEquals(npe, re.getCause()); in test_ConstructorLThrowable()
43 re = new RuntimeException((Throwable) null); in test_ConstructorLThrowable()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContextSpiTest.java70 } catch (RuntimeException re) { in engineCreateSSLEngine_01()
71 String str = re.getMessage(); in engineCreateSSLEngine_01()
90 } catch (RuntimeException re) { in engineCreateSSLEngine_02()
91 String str = re.getMessage(); in engineCreateSSLEngine_02()
122 } catch (RuntimeException re) { in commonTest_01()
123 String str = re.getMessage(); in commonTest_01()
133 } catch (RuntimeException re) { in commonTest_01()
134 String str = re.getMessage(); in commonTest_01()
144 } catch (RuntimeException re) { in commonTest_01()
145 String str = re.getMessage(); in commonTest_01()
[all …]
/libcore/tools/docs/crypto/
Dupdate_crypto_support.py29 import re
113 name = re.sub('WITH', 'with', name, flags=re.I)
114 name = re.sub('DESEDE', 'DESede', name, flags=re.I)
115 name = re.sub('HMAC', 'Hmac', name, flags=re.I)
/libcore/ojluni/src/test/java/util/Arrays/
DSortingHelper.java95 } catch (RuntimeException re) { in sort()
97 throw re; in sort()
153 } catch (RuntimeException re) { in sort()
155 throw re; in sort()
224 } catch (RuntimeException re) { in sort()
226 throw re; in sort()
282 } catch (RuntimeException re) { in sort()
284 throw re; in sort()
353 } catch (RuntimeException re) { in sort()
355 throw re; in sort()
[all …]
/libcore/tools/upstream/
Dupstream-diff60 import re
71 if re.match('\\.(c|cc|cpp|cxx|h|hpp|hxx|icc)$', ext):
77 if re.match('.+\\.java$', rel_path):
/libcore/ojluni/src/test/java/util/Properties/
DStringPropertyNames.java146 RuntimeException re = new RuntimeException("Test Failed: " + in checkProperties()
148 re.initCause(e); in checkProperties()
149 throw re; in checkProperties()
/libcore/tools/expected_upstream/
Dojluni_merge_to_main.py25 import re
112 REGEX_LICENSE_AND_IMPORT = re.compile(
113 r"^(" + LICENSE_BLOCK + ")(import .+;)$", re.MULTILINE)
303 result = re.search(REGEX_CHANGE_ID, commit.message, re.M)
316 result = re.search(REGEX_BUG_ID, commit.message, re.M)
DREADME.md117 * If you don't plan to re-land your change on `aosp/main`, you should
119 * If you plan to re-land your change, your re-landing commit won't be
124 2. Just accept that the re-landing commit won't be a merge commit.
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java1187 public static String[] fastSplit(String re, String input, int limit) { in fastSplit() argument
1189 int len = re.length(); in fastSplit()
1193 char ch = re.charAt(0); in fastSplit()
1206 ch = re.charAt(1); in fastSplit()
/libcore/tools/testmapping/
Dgen_smoke_tests.py26 import re
90 cts_match = re.match(CTS_LOG_LINE_PATTERN, line)
119 return re.match(pattern, message)
259 class_match = re.match(JAVA_CLASS_PATTERN, name)
DREADME22 9. Delete libcore/smoketest/ once you're happy.
/libcore/
DOWNERS11 # unless you know what you're doing.
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseTest.java126 static void checkWithThrowable(Class<? extends Throwable> re, in checkWithThrowable() argument
137 assertNotNull(_e, String.format("%sNo throwable thrown. Expected %s", message, re)); in checkWithThrowable()
138 …assertTrue(re.isInstance(_e), String.format("%sIncorrect throwable thrown, %s. Expected %s", messa… in checkWithThrowable()
/libcore/ojluni/src/main/java/java/math/
DMathContext.java199 } catch (RuntimeException re) { in MathContext()
/libcore/ojluni/src/test/java/nio/Buffer/
DBasicByte.java529 } catch (RuntimeException re) { in testAlign()
532 throw re; in testAlign()
DBasic-X.java.template529 } catch (RuntimeException re) {
532 throw re;
/libcore/expectations/
Dknownfailures.txt1666 description: "We're retiring the security manager. Unfortunately, tests all over the place
1667 need to check that they're secure, so they all fail when we refuse to install