Home
last modified time | relevance | path

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

1234

/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DUTF16Util.java32 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/
DUTF16Util.java33 int ch2 = s.charAt(i); in nextCodePoint() local
34 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint()
35 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint()
51 int ch2 = s.charAt(i); in prevCodePoint() local
52 if (0xd800 <= ch2 && ch2 <= 0xdbff) { in prevCodePoint()
53 ch = (ch2 << 10) + ch - suppOffset; in prevCodePoint()
69 int ch2 = s.charAt(i); in nextCodePoint() local
70 if (0xdc00 <= ch2 && ch2 <= 0xdfff) { in nextCodePoint()
71 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint()
87 int ch2 = s.charAt(i); in prevCodePoint() local
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUCharacterIterator.java152 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/
DUCharacterIterator.java163 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/
DXML11Char.java301 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/
DXML11Char.java296 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/antlr/antlr-3.4/runtime/C/src/
Dantlr3inputstream.c782 UTF32 ch2; in antlr3UTF16Consume() local
824 ch2 = *((UTF16*)input->nextChar); in antlr3UTF16Consume()
828 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) in antlr3UTF16Consume()
861 UTF32 ch2; in antlr3UTF16LA() local
893 ch2 = *nextChar; in antlr3UTF16LA()
897 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) in antlr3UTF16LA()
932 ch2 = *(nextChar-1); in antlr3UTF16LA()
933 if (ch2 >= UNI_SUR_HIGH_START && ch2 <= UNI_SUR_HIGH_END) in antlr3UTF16LA()
968 ch2 = *nextChar; in antlr3UTF16LA()
972 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) in antlr3UTF16LA()
[all …]
Dantlr3convertutf.c107 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/llvm/test/CodeGen/X86/
Dragreedy-hoist-spill.ll76 %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/webrtc/p2p/base/
Dport_unittest.cc574 void ConnectStartedChannels(TestChannel* ch1, TestChannel* ch2) { in ConnectStartedChannels() argument
578 WAIT(!ch2->remote_address().IsNil(), kTimeout); in ConnectStartedChannels()
581 ch2->AcceptConnection(GetCandidate(ch1->port())); in ConnectStartedChannels()
582 ch2->Ping(); in ConnectStartedChannels()
583 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2->conn()->write_state(), in ConnectStartedChannels()
590 void StartConnectAndStopChannels(TestChannel* ch1, TestChannel* ch2) { in StartConnectAndStopChannels() argument
593 ch2->Start(); in StartConnectAndStopChannels()
595 ch1->CreateConnection(GetCandidate(ch2->port())); in StartConnectAndStopChannels()
596 ConnectStartedChannels(ch1, ch2); in StartConnectAndStopChannels()
600 ch2->Stop(); in StartConnectAndStopChannels()
[all …]
/external/google-breakpad/src/common/
Dconvert_UTF.c135 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
143 ch2 = *source; in ConvertUTF16toUTF32()
145 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF32()
147 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF32()
177 fprintf(stderr, "ConvertUTF16toUTF32 illegal seq 0x%04x,%04x\n", ch, ch2); in ConvertUTF16toUTF32()
249 UTF32 ch2 = *source; in ConvertUTF16toUTF8() local
251 if (ch2 >= UNI_SUR_LOW_START && ch2 <= UNI_SUR_LOW_END) { in ConvertUTF16toUTF8()
253 + (ch2 - UNI_SUR_LOW_START) + halfBase; in ConvertUTF16toUTF8()
/external/e2fsprogs/misc/
Dutil.c57 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/
DConvertUTF.c116 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/llvm/lib/Support/
DConvertUTF.c173 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/icu/icu4c/source/common/
Ducnv_u32.c220 UChar32 ch, ch2; in T_UConverter_fromUnicode_UTF32_BE() local
256 ch2 = *mySource; in T_UConverter_fromUnicode_UTF32_BE()
257 if (U_IS_TRAIL(ch2)) { in T_UConverter_fromUnicode_UTF32_BE()
258 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE()
322 UChar32 ch, ch2; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
360 ch2 = *mySource; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
361 if (U_IS_TRAIL(ch2)) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
362 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
698 UChar32 ch, ch2; in T_UConverter_fromUnicode_UTF32_LE() local
738 ch2 = *mySource; in T_UConverter_fromUnicode_UTF32_LE()
[all …]
Ducnv_u8.c111 uint32_t ch, ch2 = 0; in ucnv_toUnicode_UTF8() local
146 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8()
147 if (!U8_IS_TRAIL(ch2)) in ucnv_toUnicode_UTF8()
151 ch = (ch << 6) + ch2; in ucnv_toUnicode_UTF8()
241 uint32_t ch, ch2 = 0; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
275 toUBytes[i] = (char) (ch2 = *mySource); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
276 if (!U8_IS_TRAIL(ch2)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
280 ch = (ch << 6) + ch2; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
Dustrtrns.cpp163 UChar ch2; in u_strToUTF32WithSub() local
214 } else if(U16_IS_SURROGATE_LEAD(ch) && src < srcLimit && U16_IS_TRAIL(ch2 = *src)) { in u_strToUTF32WithSub()
216 ch = U16_GET_SUPPLEMENTARY(ch, ch2); in u_strToUTF32WithSub()
991 uint32_t ch=0,ch2=0; in u_strToUTF8WithSub() local
1045 if(U16_IS_SURROGATE_LEAD(ch) && U16_IS_TRAIL(ch2=*pSrc)) { in u_strToUTF8WithSub()
1047 ch=U16_GET_SUPPLEMENTARY(ch, ch2); in u_strToUTF8WithSub()
1074 } else if(U16_IS_SURROGATE_LEAD(ch) && U16_IS_TRAIL(ch2=*pSrc)) { in u_strToUTF8WithSub()
1132 if(U16_IS_SURROGATE_LEAD(ch) && U16_IS_TRAIL(ch2=*pSrc)) { in u_strToUTF8WithSub()
1134 ch=U16_GET_SUPPLEMENTARY(ch, ch2); in u_strToUTF8WithSub()
1187 if(U16_IS_SURROGATE_LEAD(ch) && pSrc<pSrcLimit && U16_IS_TRAIL(ch2=*pSrc)) { in u_strToUTF8WithSub()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUnicodeNormalizer.java121 int ch2; in internalDecompose() local
122 for (; k > 0; k -= UTF16Util.codePointLength(ch2)) { in internalDecompose()
123 ch2 = UTF16Util.prevCodePoint(target, k); in internalDecompose()
124 if (data.getCanonicalClass(ch2) <= chClass) break; in internalDecompose()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUnicodeNormalizer.java122 int ch2; in internalDecompose() local
123 for (; k > 0; k -= UTF16Util.codePointLength(ch2)) { in internalDecompose()
124 ch2 = UTF16Util.prevCodePoint(target, k); in internalDecompose()
125 if (data.getCanonicalClass(ch2) <= chClass) break; in internalDecompose()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DReplaceableUCharacterIterator.java112 int ch2 = current(); in currentCodePoint() local
116 if(UTF16.isTrailSurrogate((char)ch2)){ in currentCodePoint()
118 return Character.toCodePoint((char)ch, (char)ch2); in currentCodePoint()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DReplaceableUCharacterIterator.java110 int ch2 = current(); in currentCodePoint() local
114 if(UTF16.isTrailSurrogate((char)ch2)){ in currentCodePoint()
116 return Character.toCodePoint((char)ch, (char)ch2); in currentCodePoint()
/external/clang/test/CodeGenObjCXX/
Dblock-var-layout.mm30 char ch2 = 'c';
44 byref_int = sh + ch+ch1+ch2 ;
57 byref_int = sh + ch+ch1+ch2 ;
72 byref_int = sh + ch+ch1+ch2 ;
/external/libvorbis/lib/
Dsmallft.c272 float *c2,float *ch,float *ch2,float *wa){ in dradfg() argument
293 for(ik=0;ik<idl1;ik++)ch2[ik]=c2[ik]; in dradfg()
391 for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik]; in dradfg()
425 ch2[t4++]=c2[ik]+ar1*c2[t7++]; in dradfg()
426 ch2[t5++]=ai1*c2[t6++]; in dradfg()
449 ch2[t6++]+=ar2*c2[t8++]; in dradfg()
450 ch2[t7++]+=ai2*c2[t9++]; in dradfg()
459 for(ik=0;ik<idl1;ik++)ch2[ik]+=c2[t2++]; in dradfg()
841 float *c2,float *ch,float *ch2,float *wa){ in dradbg() argument
997 c2[t4++]=ch2[t6++]+ar1*ch2[t7++]; in dradbg()
[all …]
/external/speex/libspeex/
Dsmallft.c274 float *c2,float *ch,float *ch2,float *wa){ in dradfg() argument
295 for(ik=0;ik<idl1;ik++)ch2[ik]=c2[ik]; in dradfg()
393 for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik]; in dradfg()
427 ch2[t4++]=c2[ik]+ar1*c2[t7++]; in dradfg()
428 ch2[t5++]=ai1*c2[t6++]; in dradfg()
451 ch2[t6++]+=ar2*c2[t8++]; in dradfg()
452 ch2[t7++]+=ai2*c2[t9++]; in dradfg()
461 for(ik=0;ik<idl1;ik++)ch2[ik]+=c2[t2++]; in dradfg()
843 float *c2,float *ch,float *ch2,float *wa){ in dradbg() argument
999 c2[t4++]=ch2[t6++]+ar1*ch2[t7++]; in dradbg()
[all …]
/external/libjpeg-turbo/
Drdswitch.c400 char ch1, ch2; in set_sample_factors() local
404 ch2 = ','; /* if not set by sscanf, will be ',' */ in set_sample_factors()
405 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3) in set_sample_factors()
407 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',') /* syntax check */ in set_sample_factors()

1234