/external/cldr/tools/java/com/ibm/icu/dev/test/ |
D | UTF16Util.java | 31 int ch2 = s.charAt(i); in nextCodePoint() local 32 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint() 33 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint() 49 int ch2 = s.charAt(i); in prevCodePoint() local 50 if (0xd800 <= ch2 && ch2 <= 0xdbff) { in prevCodePoint() 51 ch = (ch2 << 10) + ch - suppOffset; in prevCodePoint() 67 int ch2 = s.charAt(i); in nextCodePoint() local 68 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint() 69 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint() 85 int ch2 = s.charAt(i); in prevCodePoint() local [all …]
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | UTF16Util.java | 32 int ch2 = s.charAt(i); in nextCodePoint() local 33 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint() 34 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint() 50 int ch2 = s.charAt(i); in prevCodePoint() local 51 if (0xd800 <= ch2 && ch2 <= 0xdbff) { in prevCodePoint() 52 ch = (ch2 << 10) + ch - suppOffset; in prevCodePoint() 68 int ch2 = s.charAt(i); in nextCodePoint() local 69 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint() 70 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint() 86 int ch2 = s.charAt(i); in prevCodePoint() local [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | UTF16Util.java | 36 int ch2 = s.charAt(i); in nextCodePoint() local 37 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint() 38 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint() 54 int ch2 = s.charAt(i); in prevCodePoint() local 55 if (0xd800 <= ch2 && ch2 <= 0xdbff) { in prevCodePoint() 56 ch = (ch2 << 10) + ch - suppOffset; in prevCodePoint() 72 int ch2 = s.charAt(i); in nextCodePoint() local 73 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint() 74 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint() 90 int ch2 = s.charAt(i); in prevCodePoint() local [all …]
|
/external/rust/crates/shlex/src/ |
D | lib.rs | 54 '\\' => if let Some(ch2) = self.next_char() { in parse_word() 55 if ch2 != '\n' as u8 { result.push(ch2); } in parse_word() 63 if let Some(ch2) = self.next_char() { ch = ch2; } else { break; } in parse_word() 70 if let Some(ch2) = self.next_char() { in parse_double() 71 match ch2 as char { in parse_double() 87 _ => { result.push(ch2); }, in parse_double() 97 if let Some(ch2) = self.next_char() { in parse_single() 98 match ch2 as char { in parse_single() 100 _ => { result.push(ch2); }, in parse_single() 124 while let Some(ch2) = self.next_char() { in next() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UCharacterIterator.java | 152 int ch2 = current(); in currentCodePoint() local 157 if (UTF16.isTrailSurrogate((char) ch2)) { in currentCodePoint() 160 return Character.toCodePoint((char) ch, (char) ch2); in currentCodePoint() 200 int ch2 = next(); in nextCodePoint() local 201 if (UTF16.isTrailSurrogate((char) ch2)) { in nextCodePoint() 202 return Character.toCodePoint((char) ch1, (char) ch2); in nextCodePoint() 203 } else if (ch2 != DONE) { in nextCodePoint() 230 int ch2 = previous(); in previousCodePoint() local 231 if (UTF16.isLeadSurrogate((char) ch2)) { in previousCodePoint() 232 return Character.toCodePoint((char) ch2, (char) ch1); in previousCodePoint() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UCharacterIterator.java | 163 int ch2 = current(); in currentCodePoint() local 168 if (UTF16.isTrailSurrogate((char) ch2)) { in currentCodePoint() 171 return Character.toCodePoint((char) ch, (char) ch2); in currentCodePoint() 215 int ch2 = next(); in nextCodePoint() local 216 if (UTF16.isTrailSurrogate((char) ch2)) { in nextCodePoint() 217 return Character.toCodePoint((char) ch1, (char) ch2); in nextCodePoint() 218 } else if (ch2 != DONE) { in nextCodePoint() 247 int ch2 = previous(); in previousCodePoint() local 248 if (UTF16.isLeadSurrogate((char) ch2)) { in previousCodePoint() 249 return Character.toCodePoint((char) ch2, (char) ch1); in previousCodePoint() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
D | XML11Char.java | 301 char ch2 = name.charAt(1); in isXML11ValidName() local 302 if ( !XMLChar.isLowSurrogate(ch2) || in isXML11ValidName() 303 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) { in isXML11ValidName() 316 char ch2 = name.charAt(i); in isXML11ValidName() local 317 if ( !XMLChar.isLowSurrogate(ch2) || in isXML11ValidName() 318 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) { in isXML11ValidName() 351 char ch2 = ncName.charAt(1); in isXML11ValidNCName() local 352 if ( !XMLChar.isLowSurrogate(ch2) || in isXML11ValidNCName() 353 !isXML11NCNameStart(XMLChar.supplemental(ch, ch2)) ) { in isXML11ValidNCName() 366 char ch2 = ncName.charAt(i); in isXML11ValidNCName() local [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | XML11Char.java | 296 char ch2 = name.charAt(1); in isXML11ValidName() local 297 if ( !XMLChar.isLowSurrogate(ch2) || in isXML11ValidName() 298 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) { in isXML11ValidName() 311 char ch2 = name.charAt(i); in isXML11ValidName() local 312 if ( !XMLChar.isLowSurrogate(ch2) || in isXML11ValidName() 313 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) { in isXML11ValidName() 346 char ch2 = ncName.charAt(1); in isXML11ValidNCName() local 347 if ( !XMLChar.isLowSurrogate(ch2) || in isXML11ValidNCName() 348 !isXML11NCNameStart(XMLChar.supplemental(ch, ch2)) ) { in isXML11ValidNCName() 361 char ch2 = ncName.charAt(i); in isXML11ValidNCName() local [all …]
|
/external/python/cpython3/Objects/stringlib/ |
D | codecs.h | 100 Py_UCS4 ch2; in STRINGLIB() local 112 ch2 = (unsigned char)s[1]; in STRINGLIB() 113 if (!IS_CONTINUATION_BYTE(ch2)) in STRINGLIB() 116 ch = (ch << 6) + ch2 - in STRINGLIB() 130 Py_UCS4 ch2, ch3; in STRINGLIB() local 136 ch2 = (unsigned char)s[1]; in STRINGLIB() 137 if (!IS_CONTINUATION_BYTE(ch2) || in STRINGLIB() 138 (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED)) in STRINGLIB() 143 ch2 = (unsigned char)s[1]; in STRINGLIB() 145 if (!IS_CONTINUATION_BYTE(ch2)) { in STRINGLIB() [all …]
|
/external/antlr/runtime/C/src/ |
D | antlr3inputstream.c | 789 UTF32 ch2; in antlr3UTF16Consume() local 831 ch2 = *((UTF16*)input->nextChar); in antlr3UTF16Consume() 835 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) in antlr3UTF16Consume() 868 UTF32 ch2; in antlr3UTF16LA() local 900 ch2 = *nextChar; in antlr3UTF16LA() 904 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) in antlr3UTF16LA() 939 ch2 = *(nextChar-1); in antlr3UTF16LA() 940 if (ch2 >= UNI_SUR_HIGH_START && ch2 <= UNI_SUR_HIGH_END) in antlr3UTF16LA() 975 ch2 = *nextChar; in antlr3UTF16LA() 979 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) in antlr3UTF16LA() [all …]
|
D | antlr3convertutf.c | 107 UTF32 ch, ch2; in ConvertUTF16toUTF32() local 115 ch2 = *source; in ConvertUTF16toUTF32() 117 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32() 119 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32() 149 ANTLR3_FPRINTF(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32() 222 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local 224 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8() 226 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
|
/external/python/cpython2/Demo/threads/ |
D | squasher.py | 60 ch2 = co.tran(codisassembler) 61 if ch2 == '*': 65 ch = ch2 68 ch2 = co.tran(codisassembler) 69 if ch2 not in ' \t': 72 ch = ch2
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/ |
D | NonBlockingJsonParserBase.java | 736 int ch2 = quads[ix >> 2]; // current quad, need to shift+mask in _addName() local 738 ch2 = (ch2 >> ((3 - byteIx) << 3)); in _addName() 741 if ((ch2 & 0xC0) != 0x080) { in _addName() 742 _reportInvalidOther(ch2); in _addName() 744 ch = (ch << 6) | (ch2 & 0x3F); in _addName() 746 ch2 = quads[ix >> 2]; in _addName() 748 ch2 = (ch2 >> ((3 - byteIx) << 3)); in _addName() 751 if ((ch2 & 0xC0) != 0x080) { in _addName() 752 _reportInvalidOther(ch2); in _addName() 754 ch = (ch << 6) | (ch2 & 0x3F); in _addName() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | ragreedy-hoist-spill.ll | 76 %ch2.0 = phi i32 [ 0, %while.body.preheader ], [ %ch.12.ch2.12, %do.body ] 79 %ch.0.ch2.0 = select i1 undef, i32 14, i32 %ch2.0 80 %ch2.2 = select i1 undef, i32 0, i32 %ch.0.ch2.0 81 %ch.2.ch2.2 = select i1 undef, i32 0, i32 %ch2.2 82 %ch2.4 = select i1 undef, i32 278, i32 %ch.2.ch2.2 83 %ch2.5 = select i1 undef, i32 0, i32 %ch2.4 85 %ch.5.ch2.5 = select i1 undef, i32 undef, i32 %ch2.5 86 %ch2.7 = select i1 undef, i32 0, i32 %ch.5.ch2.5 88 %ch.7.ch2.7 = select i1 false, i32 0, i32 %ch2.7 90 %ch2.9 = select i1 undef, i32 undef, i32 %ch.7.ch2.7 [all …]
|
/external/webrtc/p2p/base/ |
D | port_unittest.cc | 603 void ConnectStartedChannels(TestChannel* ch1, TestChannel* ch2) { in ConnectStartedChannels() argument 608 WAIT(!ch2->remote_address().IsNil(), kShortTimeout); in ConnectStartedChannels() 611 ch2->AcceptConnection(GetCandidate(ch1->port())); in ConnectStartedChannels() 612 ch2->Ping(); in ConnectStartedChannels() 613 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2->conn()->write_state(), in ConnectStartedChannels() 620 void StartConnectAndStopChannels(TestChannel* ch1, TestChannel* ch2) { in StartConnectAndStopChannels() argument 623 ch2->Start(); in StartConnectAndStopChannels() 625 ch1->CreateConnection(GetCandidate(ch2->port())); in StartConnectAndStopChannels() 626 ConnectStartedChannels(ch1, ch2); in StartConnectAndStopChannels() 630 ch2->Stop(); in StartConnectAndStopChannels() [all …]
|
/external/freetype/src/tools/ftrandom/ |
D | ftrandom.c | 280 int ch2 = getc( foo ); in figurefiletype() local 287 if ( ( ch1 == 0 && ch2 == 1 && ch3 == 0 && ch4 == 0 ) || in figurefiletype() 288 ( ch1 == 'O' && ch2 == 'T' && ch3 == 'T' && ch4 == 'O' ) || in figurefiletype() 289 ( ch1 == 't' && ch2 == 'r' && ch3 == 'u' && ch4 == 'e' ) || in figurefiletype() 290 ( ch1 == 't' && ch2 == 't' && ch3 == 'c' && ch4 == 'f' ) ) in figurefiletype() 295 else if ( ch1 == 0x80 && ch2 == '\01' ) in figurefiletype() 300 else if ( ch1 == '%' && ch2 == '!' ) in figurefiletype() 309 else if ( ch1 == 1 && ch2 == 0 && ch3 == 4 ) in figurefiletype() 314 else if ( ch1 == 'S' && ch2 == 'T' && ch3 == 'A' && ch4 == 'R' ) in figurefiletype() 319 else if ( ch1 == 'P' && ch2 == 'F' && ch3 == 'R' && ch4 == '0' ) in figurefiletype() [all …]
|
/external/e2fsprogs/misc/ |
D | util.c | 57 int ch1 = *s1++, ch2 = *s2++; in strcasecmp() local 60 if (isupper (ch2)) in strcasecmp() 61 ch2 = tolower (ch2); in strcasecmp() 62 if (ch1 != ch2) in strcasecmp() 63 return ch1 - ch2; in strcasecmp()
|
/external/unicode/ |
D | ConvertUTF.c | 116 UTF32 ch, ch2; in ConvertUTF16toUTF32() local 124 ch2 = *source; in ConvertUTF16toUTF32() 126 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32() 128 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32() 158 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32() 231 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local 233 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8() 235 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
|
/external/google-breakpad/src/common/ |
D | convert_UTF.cc | 136 UTF32 ch, ch2; in ConvertUTF16toUTF32() local 144 ch2 = *source; in ConvertUTF16toUTF32() 146 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32() 148 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32() 178 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32() 254 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local 256 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8() 258 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
|
/external/llvm/lib/Support/ |
D | ConvertUTF.c | 173 UTF32 ch, ch2; in ConvertUTF16toUTF32() local 181 ch2 = *source; in ConvertUTF16toUTF32() 183 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32() 185 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32() 215 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32() 238 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local 240 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8() 242 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | ConvertUTF.cpp | 173 UTF32 ch, ch2; in ConvertUTF16toUTF32() local 181 ch2 = *source; in ConvertUTF16toUTF32() 183 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32() 185 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32() 215 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32() 238 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local 240 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8() 242 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ConvertUTF.cpp | 199 UTF32 ch, ch2; in ConvertUTF16toUTF32() local 207 ch2 = *source; in ConvertUTF16toUTF32() 209 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32() 211 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32() 241 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32() 264 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local 266 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8() 268 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
|
/external/llvm-project/llvm/lib/Support/ |
D | ConvertUTF.cpp | 199 UTF32 ch, ch2; in ConvertUTF16toUTF32() local 207 ch2 = *source; in ConvertUTF16toUTF32() 209 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32() 211 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32() 241 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32() 264 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local 266 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8() 268 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
|
/external/llvm-project/libc/fuzzing/string/ |
D | strcmp_fuzz.cpp | 63 const unsigned char ch2 = static_cast<unsigned char>(s2[k]); in LLVMFuzzerTestOneInput() local 67 if (__llvm_libc::strcmp(s1, s2) != ch1 - ch2) in LLVMFuzzerTestOneInput() 72 if (__llvm_libc::strcmp(s2, s1) != ch2 - ch1) in LLVMFuzzerTestOneInput()
|
/external/python/cffi/c/ |
D | wchar_helper_3.h | 45 cffi_char32_t ch2 = w[i + 1]; in _my_PyUnicode_FromChar16() local 46 if (0xDC00 <= ch2 && ch2 <= 0xDFFF) { in _my_PyUnicode_FromChar16() 47 ch = (((ch & 0x3FF)<<10) | (ch2 & 0x3FF)) + 0x10000; in _my_PyUnicode_FromChar16()
|