Home
last modified time | relevance | path

Searched refs:ch2 (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseContext.java215 char ch2 = cs2.charAt(offset2 + i); in subSequenceEquals() local
216 if (ch1 != ch2) { in subSequenceEquals()
223 char ch2 = cs2.charAt(offset2 + i); in subSequenceEquals() local
224 if (ch1 != ch2 && Character.toUpperCase(ch1) != Character.toUpperCase(ch2) && in subSequenceEquals()
225 Character.toLowerCase(ch1) != Character.toLowerCase(ch2)) { in subSequenceEquals()
241 boolean charEquals(char ch1, char ch2) { in charEquals() argument
243 return ch1 == ch2; in charEquals()
245 return charEqualsIgnoreCase(ch1, ch2); in charEquals()
DDateTimeFormatterBuilder.java3448 char ch2 = parseText.charAt(pos++); in parseNumber() local
3449 if (ch1 < '0' || ch1 > '9' || ch2 < '0' || ch2 > '9') { in parseNumber()
3452 int value = (ch1 - 48) * 10 + (ch2 - 48); in parseNumber()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java803 int ch2 = this.read(); in readShort() local
804 if ((ch1 | ch2) < 0) in readShort()
806 return (short)((ch1 << 8) + (ch2 << 0)); in readShort()
831 int ch2 = this.read(); in readUnsignedShort() local
832 if ((ch1 | ch2) < 0) in readUnsignedShort()
834 return (ch1 << 8) + (ch2 << 0); in readUnsignedShort()
859 int ch2 = this.read(); in readChar() local
860 if ((ch1 | ch2) < 0) in readChar()
862 return (char)((ch1 << 8) + (ch2 << 0)); in readChar()
887 int ch2 = this.read(); in readInt() local
[all …]
/libcore/ojluni/src/main/java/java/util/prefs/
DBase64.java170 int ch2 = base64toInt(s.charAt(inCursor++), alphaToInt); in base64ToByteArray() local
173 result[outCursor++] = (byte) ((ch1 << 4) | (ch2 >> 2)); in base64ToByteArray()
174 result[outCursor++] = (byte) ((ch2 << 6) | ch3); in base64ToByteArray()
184 int ch2 = base64toInt(s.charAt(inCursor++), alphaToInt); in base64ToByteArray() local
185 result[outCursor++] = (byte) ((ch1 << 4) | (ch2 >> 2)); in base64ToByteArray()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java577 char ch2 = 0; in generate() local
579 ch2 = Character.toLowerCase(pattern.charAt(ix)); in generate()
590 if (ch2 == 't') { in generate()
599 } else if (ch2 == 'h') { in generate()
612 } else if (ch2 == 'g') { in generate()
617 } else if (ch2 == 'u') { in generate()
622 } else if (ch2 == '%') { in generate()
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java261 char ch2 = offsetId.charAt(pos + 1); in parseNumber() local
262 if (ch1 < '0' || ch1 > '9' || ch2 < '0' || ch2 > '9') { in parseNumber()
265 return (ch1 - 48) * 10 + (ch2 - 48); in parseNumber()