Home
last modified time | relevance | path

Searched refs:ch1 (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseContext.java214 char ch1 = cs1.charAt(offset1 + i); in subSequenceEquals() local
216 if (ch1 != ch2) { in subSequenceEquals()
222 char ch1 = cs1.charAt(offset1 + 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.java3866 char ch1 = parseText.charAt(pos++); in parseDigits() local
3868 if (ch1 < '0' || ch1 > '9' || ch2 < '0' || ch2 > '9') { in parseDigits()
3871 int value = (ch1 - 48) * 10 + (ch2 - 48); in parseDigits()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java820 int ch1 = this.read(); in readShort() local
822 if ((ch1 | ch2) < 0) in readShort()
824 return (short)((ch1 << 8) + (ch2 << 0)); in readShort()
848 int ch1 = this.read(); in readUnsignedShort() local
850 if ((ch1 | ch2) < 0) in readUnsignedShort()
852 return (ch1 << 8) + (ch2 << 0); in readUnsignedShort()
876 int ch1 = this.read(); in readChar() local
878 if ((ch1 | ch2) < 0) in readChar()
880 return (char)((ch1 << 8) + (ch2 << 0)); in readChar()
904 int ch1 = this.read(); in readInt() local
[all …]
/libcore/ojluni/src/main/java/java/util/prefs/
DBase64.java169 int ch1 = base64toInt(s.charAt(inCursor++), alphaToInt); in base64ToByteArray() local
172 result[outCursor++] = (byte) ((ch0 << 2) | (ch1 >> 4)); in base64ToByteArray()
173 result[outCursor++] = (byte) ((ch1 << 4) | (ch2 >> 2)); in base64ToByteArray()
180 int ch1 = base64toInt(s.charAt(inCursor++), alphaToInt); in base64ToByteArray() local
181 result[outCursor++] = (byte) ((ch0 << 2) | (ch1 >> 4)); in base64ToByteArray()
185 result[outCursor++] = (byte) ((ch1 << 4) | (ch2 >> 2)); in base64ToByteArray()
/libcore/ojluni/src/test/java/nio/channels/Channels/
DBasic2.java50 AsynchronousSocketChannel ch1 = AsynchronousSocketChannel.open(); in basic2Test() local
51 ch1.connect(isa).get(); in basic2Test()
55 Writer writer = new Writer(Channels.newOutputStream(ch1)); in basic2Test()
78 if (ch1.isOpen() || ch2.isOpen()) in basic2Test()
/libcore/ojluni/src/main/java/java/util/
DUUID.java219 char ch1 = name.charAt(pos); in parse4Nibbles() local
223 return (ch1 | ch2 | ch3 | ch4) > 0xff ? in parse4Nibbles()
224 -1 : ns[ch1] << 12 | ns[ch2] << 8 | ns[ch3] << 4 | ns[ch4]; in parse4Nibbles()
273 char ch1 = name.charAt(8); in fromStringCurrentJava() local
277 if (ch1 == '-' && ch2 == '-' && ch3 == '-' && ch4 == '-') { in fromStringCurrentJava()
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java261 char ch1 = offsetId.charAt(pos); in parseNumber() local
263 if (ch1 < '0' || ch1 > '9' || ch2 < '0' || ch2 > '9') { in parseNumber()
266 return (ch1 - 48) * 10 + (ch2 - 48); in parseNumber()