Home
last modified time | relevance | path

Searched refs:upper (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DDualPivotQuicksort.java269 int upper = end; // The index of the first element of the right part in sort() local
292 a[e5] = a[upper]; in sort()
298 while (a[--upper] > pivot2); in sort()
319 for (int unused = --lower, k = ++upper; --k > lower; ) { in sort()
326 a[k] = a[--upper]; in sort()
327 a[upper] = a[lower]; in sort()
336 a[k] = a[--upper]; in sort()
337 a[upper] = ak; in sort()
345 a[end] = a[upper]; a[upper] = pivot2; in sort()
352 sorter.forkSorter(bits | 1, lower + 1, upper); in sort()
[all …]
DFormatter.java3718 boolean upper = f.contains(Flags.UPPERCASE);
3719 sb.append(upper ? "0X" : "0x");
3731 if (upper) {
3743 sb.append(upper ? 'P' : 'p');
/libcore/luni/src/test/java/libcore/libcore/util/
DHexEncodingTest.java48 assertEquals(upper(expected), actualUpper); in testEncodeByte()
63 String encodedUpper = upper((String) testCase[1]); in testEncodeBytes()
125 private static String upper(String string) { in upper() method in HexEncodingTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamWriterTest.java455 int upper = UPPER; in testSingleCharIO() local
458 upper = 128; in testSingleCharIO()
461 upper = 256; in testSingleCharIO()
465 for (int c = 0; c < upper; ++c) { in testSingleCharIO()
473 for (int expected = 0; expected < upper; ++expected) { in testSingleCharIO()
498 int upper = UPPER; in testBlockIO() local
501 upper = 128; in testBlockIO()
504 upper = 256; in testBlockIO()
509 for (int c = 0; c < upper; ++c) { in testBlockIO()
523 while (expected < upper) { in testBlockIO()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
Dgenerate-vh-tests.sh94 Type="$(tr '[:lower:]' '[:upper:]' <<< ${type:0:1})${type:1}"
/libcore/ojluni/src/test/java/lang/StackWalker/
DLocalsAndOperands.java523 int upper = (int)(expected & 0xFFFFFFFFL); in assertLongIsInSlots() local
526 if (!((primitiveValueEquals(primVal0, upper) && in assertLongIsInSlots()
529 primitiveValueEquals(primVal1, upper)))) { in assertLongIsInSlots()
531 upper, lower, expected, in assertLongIsInSlots()
/libcore/luni/src/test/java/libcore/java/lang/
DLongTest.java262 int upper = (int) (val >>> 32), lower = (int) val;
263 BigInteger b = (BigInteger.valueOf(Integer.toUnsignedLong(upper))).shiftLeft(32).
/libcore/ojluni/src/test/java/lang/Long/
DUnsigned.java155 int upper = (int)(((long)x) >> 32); in toUnsignedBigInt() local
159 (BigInteger.valueOf(Integer.toUnsignedLong(upper))).shiftLeft(32). in toUnsignedBigInt()
/libcore/tools/docs/crypto/
Dupdate_crypto_support.py89 name = name.upper()
/libcore/ojluni/src/main/java/java/lang/
DLong.java262 int upper = (int) (i >>> 32); in toUnsignedBigInteger() local
266 return (BigInteger.valueOf(Integer.toUnsignedLong(upper))).shiftLeft(32). in toUnsignedBigInteger()
/libcore/ojluni/src/test/java/math/BigInteger/
DBigIntegerTest.java674 int upper = factor * BITS_SCHOENHAGE_BASE + 33; in stringConv_schoenhage() local
675 int lower = upper - 35; in stringConv_schoenhage()
677 for (int bits = upper; bits >= lower; bits--) { in stringConv_schoenhage()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandlesTest.java513 MethodHandle upper = MethodHandles.lookup().findVirtual(String.class, "toUpperCase", in test_filterArguments_nullFiltersAreTreatedAsIdentity() local
517 MethodHandle filtered = MethodHandles.filterArguments(handle, 0, upper, null); in test_filterArguments_nullFiltersAreTreatedAsIdentity()
521 MethodHandle filtered = MethodHandles.filterArguments(handle, 0, null, upper); in test_filterArguments_nullFiltersAreTreatedAsIdentity()
/libcore/expectations/
Dknownfailures.txt47 …description: "can't compile a pattern with negative look-behind and quantifiers with upper bounds",
1295 "libcore.xml.JaxenXPathTestSuite$4#xml/web.xml /web-app/servlet[1] upper-case( servlet-class )",
1296 …"libcore.xml.JaxenXPathTestSuite$4#xml/web.xml /web-app/servlet[1] upper-case( servlet-class, 'es-…
1297 …"libcore.xml.JaxenXPathTestSuite$4#xml/web.xml /web-app/servlet[1] upper-case( servlet-class, 'fr'…
1298 …"libcore.xml.JaxenXPathTestSuite$4#xml/web.xml /web-app/servlet[1] upper-case( servlet-class, 'fr-…
/libcore/ojluni/src/test/java/util/regex/
DRegExTest.java3800 Matcher upper = Pattern.compile("\\p{Upper}").matcher(""); in unicodeClassesTest() local
3891 POSIX_ASCII.isUpper(cp) != upper.reset(str).matches() || in unicodeClassesTest()
/libcore/ojluni/src/main/java/java/nio/
DX-Buffer.java.template2279 * upper bounds check is performed