Home
last modified time | relevance | path

Searched refs:ch2 (Results 1 – 8 of 8) 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.java3867 char ch2 = 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.java821 int ch2 = this.read(); in readShort() local
822 if ((ch1 | ch2) < 0) in readShort()
824 return (short)((ch1 << 8) + (ch2 << 0)); in readShort()
849 int ch2 = this.read(); in readUnsignedShort() local
850 if ((ch1 | ch2) < 0) in readUnsignedShort()
852 return (ch1 << 8) + (ch2 << 0); in readUnsignedShort()
877 int ch2 = this.read(); in readChar() local
878 if ((ch1 | ch2) < 0) in readChar()
880 return (char)((ch1 << 8) + (ch2 << 0)); in readChar()
905 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/util/
DUUID.java220 char ch2 = name.charAt(pos + 1); 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()
274 char ch2 = name.charAt(13); in fromStringCurrentJava() local
277 if (ch1 == '-' && ch2 == '-' && ch3 == '-' && ch4 == '-') { in fromStringCurrentJava()
/libcore/ojluni/src/test/java/nio/channels/Channels/
DBasic2.java52 AsynchronousSocketChannel ch2 = listener.accept().get(); in basic2Test() local
60 Reader reader = new Reader(Channels.newInputStream(ch2)); in basic2Test()
78 if (ch1.isOpen() || ch2.isOpen()) in basic2Test()
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java262 char ch2 = offsetId.charAt(pos + 1); in parseNumber() local
263 if (ch1 < '0' || ch1 > '9' || ch2 < '0' || ch2 > '9') { in parseNumber()
266 return (ch1 - 48) * 10 + (ch2 - 48); in parseNumber()