/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UCharacterIterator.java | 143 int ch2 = current(); local 148 if(UTF16.isTrailSurrogate((char)ch2)){ 151 return Character.toCodePoint((char)ch, (char)ch2); 194 int ch2 = next(); local 195 if(UTF16.isTrailSurrogate((char)ch2)){ 196 return Character.toCodePoint((char)ch1, (char)ch2); 197 }else if (ch2 != DONE) { 229 int ch2 = previous(); local 230 if(UTF16.isLeadSurrogate((char)ch2)){ 231 return Character.toCodePoint((char)ch2, (char)ch1) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UCharacterIterator.java | 153 int ch2 = current(); local 158 if(UTF16.isTrailSurrogate((char)ch2)){ 161 return Character.toCodePoint((char)ch, (char)ch2); 208 int ch2 = next(); local 209 if(UTF16.isTrailSurrogate((char)ch2)){ 210 return Character.toCodePoint((char)ch1, (char)ch2); 211 }else if (ch2 != DONE) { 245 int ch2 = previous(); local 246 if(UTF16.isLeadSurrogate((char)ch2)){ 247 return Character.toCodePoint((char)ch2, (char)ch1) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
UTF16Util.java | 31 int ch2 = s.charAt(i); local 32 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { 33 ch = (ch << 10) + ch2 - suppOffset; 49 int ch2 = s.charAt(i); local 50 if (0xd800 <= ch2 && ch2 <= 0xdbff) { 51 ch = (ch2 << 10) + ch - suppOffset; 67 int ch2 = s.charAt(i); local 68 if (0xdc00 <= ch2 && ch2 <= 0xdfff) 85 int ch2 = s.charAt(i); local [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
UTF16Util.java | 30 int ch2 = s.charAt(i); local 31 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { 32 ch = (ch << 10) + ch2 - suppOffset; 48 int ch2 = s.charAt(i); local 49 if (0xd800 <= ch2 && ch2 <= 0xdbff) { 50 ch = (ch2 << 10) + ch - suppOffset; 66 int ch2 = s.charAt(i); local 67 if (0xdc00 <= ch2 && ch2 <= 0xdfff) 84 int ch2 = s.charAt(i); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
XML11Char.java | 301 char ch2 = name.charAt(1);
local 302 if ( !XMLChar.isLowSurrogate(ch2) ||
303 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
316 char ch2 = name.charAt(i);
local 317 if ( !XMLChar.isLowSurrogate(ch2) ||
318 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) {
351 char ch2 = ncName.charAt(1);
local 352 if ( !XMLChar.isLowSurrogate(ch2) ||
353 !isXML11NCNameStart(XMLChar.supplemental(ch, ch2)) ) {
366 char ch2 = ncName.charAt(i); local 399 char ch2 = nmtoken.charAt(i); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XML11Char.java | 296 char ch2 = name.charAt(1); local 297 if ( !XMLChar.isLowSurrogate(ch2) || 298 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) { 311 char ch2 = name.charAt(i); local 312 if ( !XMLChar.isLowSurrogate(ch2) || 313 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) { 346 char ch2 = ncName.charAt(1); local 347 if ( !XMLChar.isLowSurrogate(ch2) || 348 !isXML11NCNameStart(XMLChar.supplemental(ch, ch2)) ) { 361 char ch2 = ncName.charAt(i) local 394 char ch2 = nmtoken.charAt(i); local [all...] |
/libcore/ojluni/src/main/java/java/io/ |
DataInputStream.java | 313 int ch2 = in.read(); local 314 if ((ch1 | ch2) < 0) 316 return (short)((ch1 << 8) + (ch2 << 0)); 338 int ch2 = in.read(); local 339 if ((ch1 | ch2) < 0) 341 return (ch1 << 8) + (ch2 << 0); 363 int ch2 = in.read(); local 364 if ((ch1 | ch2) < 0) 366 return (char)((ch1 << 8) + (ch2 << 0)); 388 int ch2 = in.read() local [all...] |
RandomAccessFile.java | 725 int ch2 = this.read(); local 726 if ((ch1 | ch2) < 0) 728 return (short)((ch1 << 8) + (ch2 << 0)); 753 int ch2 = this.read(); local 754 if ((ch1 | ch2) < 0) 756 return (ch1 << 8) + (ch2 << 0); 781 int ch2 = this.read(); local 782 if ((ch1 | ch2) < 0) 784 return (char)((ch1 << 8) + (ch2 << 0)); 809 int ch2 = this.read(); local [all...] |
/frameworks/av/media/mtp/ |
MtpStringBuffer.cpp | 85 char ch2 = *src++; local 86 if (! ch2) { 93 *dest++ = ch2; 168 uint16_t ch2 = *src++; local 169 ch = ((ch1 & 0x1F) << 6) | (ch2 & 0x3F); 172 uint16_t ch2 = *src++; local 174 ch = ((ch1 & 0x0F) << 12) | ((ch2 & 0x3F) << 6) | (ch3 & 0x3F);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ReplaceableUCharacterIterator.java | 107 int ch2 = current(); local 111 if(UTF16.isTrailSurrogate((char)ch2)){ 113 return Character.toCodePoint((char)ch, (char)ch2);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ReplaceableUCharacterIterator.java | 105 int ch2 = current(); local 109 if(UTF16.isTrailSurrogate((char)ch2)){ 111 return Character.toCodePoint((char)ch, (char)ch2);
|
/toolchain/binutils/binutils-2.25/cpu/ |
iq2000.opc | 76 int ch1, ch2; 90 ch2 = (*strp)[2]; 91 if (('1' <= ch1 && ch1 <= '2') && ('0' <= ch2 && ch2 <= '9')) 93 if ('3' == ch1 && (ch2 == '0' || ch2 == '1'))
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
UnicodeNormalizer.java | 120 int ch2; local 121 for (; k > 0; k -= UTF16Util.codePointLength(ch2)) { 122 ch2 = UTF16Util.prevCodePoint(target, k); 123 if (data.getCanonicalClass(ch2) <= chClass) break;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
UnicodeNormalizer.java | 119 int ch2; local 120 for (; k > 0; k -= UTF16Util.codePointLength(ch2)) { 121 ch2 = UTF16Util.prevCodePoint(target, k); 122 if (data.getCanonicalClass(ch2) <= chClass) break;
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3inputstream.c | 782 UTF32 ch2; local 824 ch2 = *((UTF16*)input->nextChar); 828 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) 861 UTF32 ch2; local 893 ch2 = *nextChar; 897 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) 1064 UTF32 ch2; local 1141 UTF32 ch2; local 1283 UTF32 ch2; local 1362 UTF32 ch2; local [all...] |
antlr3convertutf.c | 107 UTF32 ch, ch2; local 115 ch2 = *source; 117 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { 119 + (ch2 - UNI_SUR_LOW_START) + halfBase; 149 ANTLR3_FPRINTF(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); 222 UTF32 ch2 = *source; local 224 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { 226 + (ch2 - UNI_SUR_LOW_START) + halfBase [all...] |
/art/runtime/ |
utf.cc | 142 const uint16_t ch2 = *utf16_in; local 147 if (ch2 >= 0xdc00 && ch2 <= 0xdfff) { 150 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; 257 const uint16_t ch2 = *chars; local 261 if (ch2 >= 0xdc00 && ch2 < 0xe000) {
|
/hardware/intel/img/psb_video/src/ |
psb_surface_ext.h | 39 #define MAKEFOURCC(ch0, ch1, ch2, ch3) \ 41 ((unsigned long)(unsigned char) (ch2) << 16) | ((unsigned long)(unsigned char) (ch3) << 24 ))
|
/external/e2fsprogs/misc/ |
util.c | 40 int ch1 = *s1++, ch2 = *s2++; local 43 if (isupper (ch2)) 44 ch2 = tolower (ch2); 45 if (ch1 != ch2) 46 return ch1 - ch2;
|
/external/google-breakpad/src/common/ |
convert_UTF.c | 135 UTF32 ch, ch2; local 143 ch2 = *source; 145 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { 147 + (ch2 - UNI_SUR_LOW_START) + halfBase; 177 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); 249 UTF32 ch2 = *source; local 251 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { 253 + (ch2 - UNI_SUR_LOW_START) + halfBase [all...] |
/external/llvm/lib/Support/ |
ConvertUTF.c | 173 UTF32 ch, ch2; local 181 ch2 = *source; 183 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { 185 + (ch2 - UNI_SUR_LOW_START) + halfBase; 215 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); 238 UTF32 ch2 = *source; local 240 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { 242 + (ch2 - UNI_SUR_LOW_START) + halfBase [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
FileHandler.java | 473 char ch2 = 0; local 475 ch2 = Character.toLowerCase(pattern.charAt(ix)); 486 if (ch2 == 't') { 495 } else if (ch2 == 'h') { 507 } else if (ch2 == 'g') { 512 } else if (ch2 == 'u') { 517 } else if (ch2 == '%') {
|
/external/ceres-solver/examples/ |
pgm_image.h | 237 char ch1, ch2; 238 inputfile >> ch1 >> ch2; 239 if (!inputfile || ch1 != 'P' || (ch2 != '2' && ch2 != '5')) { 258 if (ch2 == '2') {
|
/external/webrtc/webrtc/p2p/base/ |
port_unittest.cc | 574 void ConnectStartedChannels(TestChannel* ch1, TestChannel* ch2) { 578 WAIT(!ch2->remote_address().IsNil(), kTimeout); 581 ch2->AcceptConnection(GetCandidate(ch1->port())); 582 ch2->Ping(); 583 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2->conn()->write_state(), 590 void StartConnectAndStopChannels(TestChannel* ch1, TestChannel* ch2) { 593 ch2->Start(); 595 ch1->CreateConnection(GetCandidate(ch2->port())); 596 ConnectStartedChannels(ch1, ch2); 600 ch2->Stop() [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
IsoTypeReader.java | 26 long ch2 = readUInt8(bb); local 29 return ((ch4 << 24) + (ch3 << 16) + (ch2 << 8) + (ch1 << 0));
|