Searched refs:ch2 (Results 1 - 25 of 62) sorted by relevance

123

/external/chromium_org/chrome/browser/history/
H A Durl_utils.cc37 const std::string::value_type* ch2 = s2.c_str(); local
38 while (*ch1 && *ch2 && *ch1 == *ch2) {
40 ++ch2;
42 int pri_diff = GetURLCharPriority(*ch1) - GetURLCharPriority(*ch2);
44 return (pri_diff != 0) ? pri_diff < 0 : *ch1 < *ch2;
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
H A DXML11Char.java301 char ch2 = name.charAt(1);
302 if ( !XMLChar.isLowSurrogate(ch2) ||
303 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
316 char ch2 = name.charAt(i);
317 if ( !XMLChar.isLowSurrogate(ch2) ||
318 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) {
351 char ch2 = ncName.charAt(1);
352 if ( !XMLChar.isLowSurrogate(ch2) ||
353 !isXML11NCNameStart(XMLChar.supplemental(ch, ch2)) ) {
366 char ch2
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXML11Char.java296 char ch2 = name.charAt(1);
297 if ( !XMLChar.isLowSurrogate(ch2) ||
298 !isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
311 char ch2 = name.charAt(i);
312 if ( !XMLChar.isLowSurrogate(ch2) ||
313 !isXML11Name(XMLChar.supplemental(ch, ch2)) ) {
346 char ch2 = ncName.charAt(1);
347 if ( !XMLChar.isLowSurrogate(ch2) ||
348 !isXML11NCNameStart(XMLChar.supplemental(ch, ch2)) ) {
361 char ch2
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3inputstream.c782 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)
932 ch2 = *(nextChar-1);
933 if (ch2 >
1064 UTF32 ch2; local
1141 UTF32 ch2; local
1283 UTF32 ch2; local
1362 UTF32 ch2; local
[all...]
H A Dantlr3convertutf.c107 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
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeTypes.h66 #define OT_MAKE_TAG(ch1, ch2, ch3, ch4) ((((uint32_t)(ch4)) << 24) | (((uint32_t)(ch3)) << 16) | (((uint32_t)(ch2)) << 8) | ((uint32_t)(ch1)))
/external/e2fsprogs/misc/
H A Dutil.c40 int ch1 = *s1++, ch2 = *s2++; local
43 if (isupper (ch2))
44 ch2 = tolower (ch2);
45 if (ch1 != ch2)
46 return ch1 - ch2;
/external/llvm/lib/Support/
H A DConvertUTF.c173 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
[all...]
/external/ceres-solver/examples/
H A Dpgm_image.h237 char ch1, ch2;
238 inputfile >> ch1 >> ch2;
239 if (!inputfile || ch1 != 'P' || (ch2 != '2' && ch2 != '5')) {
258 if (ch2 == '2') {
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoTypeReader.java26 long ch2 = readUInt8(bb);
29 return ((ch4 << 24) + (ch3 << 16) + (ch2 << 8) + (ch1 << 0));
/external/srec/srec/include/
H A Dsample.h71 #define MAKEFOURCC(ch0, ch1, ch2, ch3) ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
/external/chromium_org/third_party/icu/source/common/
H A Ducnv_u32.c218 UChar32 ch, ch2; local
254 ch2 = *mySource;
255 if (U_IS_TRAIL(ch2)) {
256 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE;
320 UChar32 ch, ch2; local
358 ch2 = *mySource;
359 if (U_IS_TRAIL(ch2)) {
360 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE;
696 UChar32 ch, ch2; local
736 ch2
806 UChar32 ch, ch2; local
[all...]
H A Dustrtrns.cpp163 UChar ch2; local
214 } else if(U16_IS_SURROGATE_LEAD(ch) && src < srcLimit && U16_IS_TRAIL(ch2 = *src)) {
216 ch = U16_GET_SUPPLEMENTARY(ch, ch2);
987 uint32_t ch=0,ch2=0;
1041 if(U16_IS_SURROGATE_LEAD(ch) && U16_IS_TRAIL(ch2=*pSrc)) {
1043 ch=U16_GET_SUPPLEMENTARY(ch, ch2);
1070 } else if(U16_IS_SURROGATE_LEAD(ch) && U16_IS_TRAIL(ch2=*pSrc)) {
1128 if(U16_IS_SURROGATE_LEAD(ch) && U16_IS_TRAIL(ch2=*pSrc)) {
1130 ch=U16_GET_SUPPLEMENTARY(ch, ch2);
1183 if(U16_IS_SURROGATE_LEAD(ch) && pSrc<pSrcLimit && U16_IS_TRAIL(ch2
[all...]
/external/chromium_org/third_party/libjpeg_turbo/
H A Drdswitch.c398 char ch1, ch2; local
402 ch2 = ','; /* if not set by sscanf, will be ',' */
403 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3)
405 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',') /* syntax check */
/external/icu/icu4c/source/common/
H A Ducnv_u32.c218 UChar32 ch, ch2; local
254 ch2 = *mySource;
255 if (U_IS_TRAIL(ch2)) {
256 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE;
320 UChar32 ch, ch2; local
358 ch2 = *mySource;
359 if (U_IS_TRAIL(ch2)) {
360 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE;
696 UChar32 ch, ch2; local
736 ch2
806 UChar32 ch, ch2; local
[all...]
/external/jpeg/
H A Drdswitch.c308 char ch1, ch2; local
312 ch2 = ','; /* if not set by sscanf, will be ',' */
313 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3)
315 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',') /* syntax check */
/external/qemu/distrib/jpeg-6b/
H A Drdswitch.c308 char ch1, ch2; local
312 ch2 = ','; /* if not set by sscanf, will be ',' */
313 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3)
315 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',') /* syntax check */
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dport_unittest.cc549 void ConnectAndDisconnectChannels(TestChannel* ch1, TestChannel* ch2);
640 TestChannel ch2(port2, port1);
642 EXPECT_EQ(0, ch2.complete_count());
646 ch2.Start();
648 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout);
655 WAIT(!ch2.remote_address().IsNil(), kTimeout);
661 EXPECT_EQ(ch2.remote_fragment(), port1->username_fragment());
665 if (same_addr1) EXPECT_EQ(ch2.remote_address(), GetAddress(port1));
669 ch2.AcceptConnection();
670 ASSERT_TRUE(ch2
761 ConnectAndDisconnectChannels(TestChannel* ch1, TestChannel* ch2) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/
H A DUTF8.cpp188 UChar32 ch2 = static_cast<unsigned short>(*source); local
190 if (ch2 >= 0xDC00 && ch2 <= 0xDFFF) {
191 ch = ((ch - 0xD800) << 10) + (ch2 - 0xDC00) + 0x0010000;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1InputStream.java407 int ch2 = defIn.read();
408 if (ch2 < 0)
412 buf[totalRead++] = (char)((ch1 << 8) | (ch2 & 0xff));
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DHtmlEntities.java102 char ch2 = html.charAt(offset + 2);
106 if ('x' == ch2 || 'X' == ch2) {
/external/chromium_org/third_party/blanketjs/src/
H A Dblanket.js552 ch2,
583 ch2 = source[index + 1];
584 if (ch1 === '.' && !isDecimalDigit(ch2)) {
601 if (ch1 === '>' && ch2 === '>' && ch3 === '>') {
616 if (ch1 === '=' && ch2 === '=' && ch3 === '=') {
627 if (ch1 === '!' && ch2 === '=' && ch3 === '=') {
638 if (ch1 === '>' && ch2 === '>' && ch3 === '>') {
649 if (ch1 === '<' && ch2 === '<' && ch3 === '=') {
660 if (ch1 === '>' && ch2 === '>' && ch3 === '=') {
674 if (ch2
[all...]
/external/libvorbis/lib/
H A Dsmallft.c272 float *c2,float *ch,float *ch2,float *wa){
293 for(ik=0;ik<idl1;ik++)ch2[ik]=c2[ik];
391 for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik];
425 ch2[t4++]=c2[ik]+ar1*c2[t7++];
426 ch2[t5++]=ai1*c2[t6++];
449 ch2[t6++]+=ar2*c2[t8++];
450 ch2[t7++]+=ai2*c2[t9++];
459 for(ik=0;ik<idl1;ik++)ch2[ik]+=c2[t2++];
841 float *c2,float *ch,float *ch2,float *wa){
997 c2[t4++]=ch2[t
271 dradfg(int ido,int ip,int l1,int idl1,float *cc,float *c1, float *c2,float *ch,float *ch2,float *wa) argument
840 dradbg(int ido,int ip,int l1,int idl1,float *cc,float *c1, float *c2,float *ch,float *ch2,float *wa) argument
[all...]
/external/speex/libspeex/
H A Dsmallft.c274 float *c2,float *ch,float *ch2,float *wa){
295 for(ik=0;ik<idl1;ik++)ch2[ik]=c2[ik];
393 for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik];
427 ch2[t4++]=c2[ik]+ar1*c2[t7++];
428 ch2[t5++]=ai1*c2[t6++];
451 ch2[t6++]+=ar2*c2[t8++];
452 ch2[t7++]+=ai2*c2[t9++];
461 for(ik=0;ik<idl1;ik++)ch2[ik]+=c2[t2++];
843 float *c2,float *ch,float *ch2,float *wa){
999 c2[t4++]=ch2[t
273 dradfg(int ido,int ip,int l1,int idl1,float *cc,float *c1, float *c2,float *ch,float *ch2,float *wa) argument
842 dradbg(int ido,int ip,int l1,int idl1,float *cc,float *c1, float *c2,float *ch,float *ch2,float *wa) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
H A DDOM3TreeWalker.java1174 char ch2 = dataarray[i++];
1175 if (XMLChar.isLowSurrogate(ch2)
1177 XMLChar.supplemental(ch, ch2))) {
1195 char ch2 = dataarray[i++];
1196 if (XMLChar.isLowSurrogate(ch2)
1198 XMLChar.supplemental(ch, ch2))) {
1237 char ch2 = dataarray[i++];
1238 if (XMLChar.isLowSurrogate(ch2)
1240 XMLChar.supplemental(ch, ch2))) {
1258 char ch2
[all...]

Completed in 2128 milliseconds

123