/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | GlyphPageTreeNodeHaiku.cpp | 51 UChar trail = characterBuffer[i * 2 + 1]; local 52 character = U16_GET_SUPPLEMENTARY(lead, trail);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | GlyphMapWx.cpp | 47 UChar trail = buffer[i * 2 + 1]; local 48 character = U16_GET_SUPPLEMENTARY(lead, trail);
|
/external/chromium/base/third_party/icu/ |
H A D | icu_utf.cc | 141 uint8 trail, illegal=0; local 144 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */ 149 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */ 153 trail=s[(i)++]; 154 (c)=((c)<<6)|(trail&0x3f); 156 illegal|=(trail&0xc0)^0x80; 163 trail=s[(i)++]; 164 (c)=((c)<<6)|(trail&0x3f); 165 illegal|=(trail&0xc0)^0x80; 167 trail [all...] |
/external/icu4c/common/ |
H A D | utf_impl.c | 112 uint8_t trail, illegal=0; local 115 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */ 120 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */ 124 trail=s[(i)++]; 125 (c)=((c)<<6)|(trail&0x3f); 127 illegal|=(trail&0xc0)^0x80; 134 trail=s[(i)++]; 135 (c)=((c)<<6)|(trail&0x3f); 136 illegal|=(trail&0xc0)^0x80; 138 trail [all...] |
H A D | bmpset.cpp | 65 int32_t trail=start&0x3f; local 70 table[trail]|=bits; 79 while(trail<limitTrail) { 80 table[trail++]|=bits; 86 if(trail>0) { 88 table[trail++]|=bits; 89 } while(trail<64); 97 for(trail=0; trail<64; ++trail) { [all...] |
H A D | ucnv_u16.c | 56 UChar c, trail; local 91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { 97 target[2]=(uint8_t)(trail>>8); 98 target[3]=(uint8_t)trail; 129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { 134 target[2]=(uint8_t)(trail>>8); 135 target[3]=(uint8_t)trail; 151 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { 156 target[2]=(uint8_t)(trail>>8); 157 target[3]=(uint8_t)trail; 260 UChar c, trail; local 524 UChar trail; local 655 UChar c, trail; local 859 UChar c, trail; local 1123 UChar trail; local [all...] |
H A D | ucnvlat1.c | 272 UChar trail=*source; local 273 if(U16_IS_TRAIL(trail)) { 275 cp=U16_GET_SUPPLEMENTARY(cp, trail); 288 /* this is an unmatched trail code unit (2nd surrogate) */ 362 * For Latin-1, adjust sourceLimit only for 1 trail byte because
|
H A D | ustrtrns.c | 263 * *ps points to after the lead byte and will be moved to after the last trail byte. 270 uint8_t trail, illegal=0; local 273 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */ 278 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */ 282 trail=(uint8_t)(*s++ - 0x80); 283 c=(c<<6)|trail; 284 if(trail>0x3f || c>=0x110) { 285 /* not a trail byte, or code point>0x10ffff (outside Unicode) */ 290 trail=(uint8_t)(*s++ - 0x80); 291 if(trail> 338 uint8_t trail, illegal=0; local [all...] |
H A D | ucnvbocu.c | 63 /* adjust trail byte counts for the use of some C0 control byte values */ 67 /* number of trail bytes */ 141 * but are also used as trail bytes in difference encoding 149 * to trail byte values 0..19 (0..0x13) as used in the difference calculation. 150 * External byte values that are illegal as trail bytes are mapped to -1. 172 * from trail byte values 0..19 (0..0x13) as used in the difference calculation 483 UChar trail=*source; local 484 if(UTF_IS_SECOND_SURROGATE(trail)) { 487 c=UTF16_GET_PAIR_VALUE(c, trail); 718 UChar trail local [all...] |
H A D | ucnvhz.c | 209 /* if the first byte is equal to TILDE and the trail byte 250 /* trail byte */ 381 /* we can only use lead bytes 21..7D and trail bytes 21..7E */ 453 /*look ahead to find the trail surrogate*/ 456 UChar trail=(UChar) args->source[mySourceIndex]; local 457 if(UTF_IS_SECOND_SURROGATE(trail)) { 459 mySourceChar=UTF16_GET_PAIR_VALUE(args->converter->fromUChar32, trail); 474 /* this is an unmatched trail code unit (2nd surrogate) */
|
H A D | uiter.cpp | 885 UChar trail=U16_TRAIL(iter->reservedField); local 890 return trail;
|
H A D | ucnv_ct.c | 362 /*look ahead to find the trail surrogate*/ 365 UChar trail=(UChar) *source; local 366 if(UTF_IS_SECOND_SURROGATE(trail)) { 368 sourceChar=UTF16_GET_PAIR_VALUE(sourceChar, trail); 385 /* this is an unmatched trail code unit (2nd surrogate) */
|
H A D | ucnvscsu.c | 1029 UChar lead, trail; local 1107 trail=*source; 1108 if(UTF_IS_SECOND_SURROGATE(trail)) { 1111 c=UTF16_GET_PAIR_VALUE(c, trail); 1125 /* this is an unmatched trail code unit (2nd surrogate) */ 1158 /* change to Unicode mode and output this (lead, trail) pair */ 1165 c=((uint32_t)lead<<16)|trail; 1304 trail=*source; 1305 if(UTF_IS_SECOND_SURROGATE(trail)) { 1308 c=UTF16_GET_PAIR_VALUE(c, trail); 1519 UChar lead, trail; local [all...] |
H A D | ucnvisci.c | 1059 /*look ahead to find the trail surrogate*/ 1062 UChar trail= (*source); local 1063 if (UTF_IS_SECOND_SURROGATE(trail)) { 1065 sourceChar=UTF16_GET_PAIR_VALUE(sourceChar, trail); 1079 /* this is an unmatched trail code unit (2nd surrogate) */
|
/external/icu4c/samples/uciter8/ |
H A D | uit_len8.c | 411 UChar trail=U16_TRAIL(iter->reservedField); local 416 return trail;
|
/external/webkit/Source/WebCore/platform/android/ |
H A D | KeyEventAndroid.cpp | 205 UChar trail = U16_TRAIL(c); local 206 UChar utf16[2] = {lead, trail};
|
/external/skia/third_party/glu/libtess/ |
H A D | mesh.h | 140 GLUface *trail; /* "stack" for conversion to strips */ member in struct:GLUface 189 * f->trail, e->winding) is set to zero.
|
H A D | render.c | 151 #define AddToTrail(f,t) ((f)->trail = (t), (t) = (f), (f)->marked = TRUE) 155 (t)->marked = FALSE; t = (t)->trail; \ 168 GLUface *trail = NULL; local 172 AddToTrail( e->Lface, trail ); 176 AddToTrail( e->Rface, trail ); 181 FreeTrail( trail ); 202 GLUface *trail = NULL; local 206 AddToTrail( e->Lface, trail ); 210 AddToTrail( e->Lface, trail ); 215 AddToTrail( e->Rface, trail ); [all...] |
/external/webkit/Source/WebKit/android/nav/ |
H A D | SelectText.cpp | 132 UChar trail = *start++; local 133 if (!U16_IS_SURROGATE(trail)) 136 *start++ = trail;
|
/external/icu4c/i18n/ |
H A D | ucol_wgt.cpp | 57 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { argument 59 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length)); 160 uint32_t weight, trail; local 213 trail=getWeightTrail(weight, length); 214 if(trail<maxByte) { 218 lower[length].count=maxByte-trail; 226 trail=getWeightTrail(weight, length); 227 if(trail>UCOL_BYTE_FIRST_TAILORED) { 231 upper[length].count=trail-UCOL_BYTE_FIRST_TAILORED;
|
/external/icu4c/test/cintltst/ |
H A D | sprpdata.c | 210 UChar trail = UTF16_TRAIL(mapping[i]); local 212 mappingData[index+i+1] != trail){ 213 log_err( "Did not get the expected result. Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X\n", lead, trail, mappingData[index+i], mappingData[index+i+1]); 244 // get the real data from the folded lead/trail units
|
/external/icu4c/test/intltest/ |
H A D | testidn.cpp | 385 UChar trail = UTF16_TRAIL(mapping[i]); local 387 mappingData[index+i+1] != trail){ 388 pTestIDNA->errln( "Did not get the expected result. Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X", lead, trail, mappingData[index+i], mappingData[index+i+1]); 417 // get the real data from the folded lead/trail units
|
/external/linux-tools-perf/util/ |
H A D | color.c | 170 const char *fmt, va_list args, const char *trail) 189 if (trail) 190 r += snprintf(bf + r, size - r, "%s", trail); 195 va_list args, const char *trail) 214 if (trail) 215 r += fprintf(fp, "%s", trail); 169 __color_vsnprintf(char *bf, size_t size, const char *color, const char *fmt, va_list args, const char *trail) argument 194 __color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args, const char *trail) argument
|
/external/v8/src/ |
H A D | unicode.h | 129 static inline int CombineSurrogatePair(uchar lead, uchar trail) { argument 130 return 0x10000 + ((lead & 0x3ff) << 10) + (trail & 0x3ff); 136 // trail produces 1 byte net, because the encoding of the pair is
|
/external/icu4c/layout/ |
H A D | HangulLayoutEngine.cpp | 111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) argument 115 le_int32 tIndex = trail - TJMO_FIRST; 132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument 142 trail = TJMO_FIRST + (sIndex % TJMO_COUNT); 144 if (trail == TJMO_FIRST) { 151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument 155 trail = TJMO_FIRST; 168 trail = ch; 172 le_int32 c = decompose(ch, lead, vowel, trail); 182 trail 250 LEUnicode trail = 0; local 310 LEUnicode trail = outLength == 3? outChars[outStart + 2] : TJMO_FIRST; local [all...] |