Searched refs:high (Results 1 - 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DCharacter.java41 * supplementary character are made up of a <i>high surrogate</i> with a value
429 * The minimum value of a high surrogate or leading surrogate unit in UTF-16
437 * The maximum value of a high surrogate or leading surrogate unit in UTF-16
1145 * code point values in the high surrogate range 0xD800 to 0xDB7F
1150 * represents code point values in the high surrogate range 0xDB80 to
1677 * Indicates whether {@code ch} is a high- (or leading-) surrogate code unit
1683 * @return {@code true} if {@code ch} is a high-surrogate code unit;
1709 * Tests whether the given character is a high or low surrogate.
1720 * @param high
1721 * the high surrogat
1731 isSurrogatePair(char high, char low) argument
1769 toCodePoint(char high, char low) argument
[all...]
H A DRealToString.java287 boolean low, high;
301 high = R + M > S; // was M_plus
303 if (low || high) {
310 if (low && !high) {
312 } else if (high && !low) {
H A DAbstractStringBuilder.java511 char high = value[i];
512 if ((i + 1) < count && high >= 0xd800 && high <= 0xdbff) {
519 newData[--end] = high;
H A DString.java145 * Converts the byte array to a string, setting the high byte of every
150 * @param high
151 * the high byte to use.
157 public String(byte[] data, int high) { argument
158 this(data, high, 0, data.length);
175 * Converts the byte array to a string, setting the high byte of every
176 * character to {@code high}.
186 public String(byte[] data, int high, int offset, int byteCount) { argument
193 high <<= 8;
195 value[i] = (char) (high
[all...]
/libcore/luni/src/main/native/
H A Djava_lang_RealToString.cpp67 int high, low, i; local
202 high = compareHighPrecision (Temp, TempLength, S, SLength) >= 0;
204 if (low || high)
221 if (low && !high)
223 else if (high && !low)
H A Djava_nio_charset_Charsets.cpp209 jchar high = (jchar) ch; local
211 if (!U16_IS_SURROGATE_LEAD(high) || !U16_IS_SURROGATE_TRAIL(low)) {
219 ch = U16_GET_SUPPLEMENTARY(high, low);
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DPattern2Test.java925 * UBlocks[i].high; j++) { m =
927 * assertTrue(m.matches()); } if (UBlocks[i].high < 0xFFFF) { m =
928 * p.matcher(Character.toString((char)(UBlocks[i].high+1)));
936 * UBlocks[i].high; j++) { m =
938 * assertFalse(m.matches()); } if (UBlocks[i].high < 0xFFFF) { m =
939 * p.matcher(Character.toString((char)(UBlocks[i].high+1)));
951 for (j = UBlocks[i].low; j <= UBlocks[i].high; j++) {
955 if (UBlocks[i].high < 0xFFFF) {
956 m = p.matcher(Character.toString((char) (UBlocks[i].high + 1)));
966 for (j = UBlocks[i].low; j < UBlocks[i].high;
1342 UBInfo(int low, int high, String name) argument
1350 public int low, high; field in class:Pattern2Test.UBInfo
[all...]
/libcore/luni/src/main/java/java/util/
H A DDualPivotQuicksort.java1609 * @param high the index of the last element, inclusive, to be searched
1611 private static int findAnyZero(float[] a, int low, int high) { argument
1613 int middle = (low + high) >>> 1;
1619 high = middle - 1;
1982 * @param high the index of the last element, inclusive, to be searched
1984 private static int findAnyZero(double[] a, int low, int high) { argument
1986 int middle = (low + high) >>> 1;
1992 high = middle - 1;
H A DCollections.java1436 int low = 0, mid = list.size(), high = mid - 1, result = -1;
1437 while (low <= high) {
1438 mid = (low + high) >>> 1;
1444 high = mid - 1;
1491 int low = 0, mid = list.size(), high = mid - 1, result = -1;
1492 while (low <= high) {
1493 mid = (low + high) >>> 1;
1499 high = mid - 1;

Completed in 135 milliseconds