/external/icu4c/layout/ |
HangulLayoutEngine.cpp | 111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) 115 le_int32 tIndex = trail - TJMO_FIRST; 132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) 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) 155 trail = TJMO_FIRST; 168 trail = ch; 172 le_int32 c = decompose(ch, lead, vowel, trail); 182 trail = ch 250 LEUnicode trail = 0; local 310 LEUnicode trail = outLength == 3? outChars[outStart + 2] : TJMO_FIRST; local [all...] |
/external/icu4c/common/ |
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 658 UChar c, trail; local 862 UChar c, trail; local 1126 UChar trail; local [all...] |
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=s[(i)++] [all...] |
ustrtrns.c | 261 * *ps points to after the lead byte and will be moved to after the last trail byte. 268 uint8_t trail, illegal=0; local 271 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */ 276 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */ 280 trail=(uint8_t)(*s++ - 0x80); 281 c=(c<<6)|trail; 282 if(trail>0x3f || c>=0x110) { 283 /* not a trail byte, or code point>0x10ffff (outside Unicode) */ 288 trail=(uint8_t)(*s++ - 0x80); 289 if(trail>0x3f) 336 uint8_t trail, illegal=0; local [all...] |
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...] |
bmpset.h | 97 * One byte per ASCII character, or trail byte in lead position. 99 * The value for trail bytes is the result of contains(FFFD) 110 * trail=c{5..0} 111 * it is set.contains(c)==(table7FF[trail] bit lead)
|
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=*source local [all...] |
punycode.h | 54 * Flags corresponding to trail surrogates are ignored. 87 * is marked, and FALSE is stored for the trail surrogate.
|
ucnv_u8.c | 156 * - use only trail bytes after a lead byte (checked above) 157 * - use the right number of trail bytes for a given lead byte 284 * - use only trail bytes after a lead byte (checked above) 285 * - use the right number of trail bytes for a given lead byte 401 /* this is an unpaired trail or lead code unit */ 528 /* this is an unpaired trail or lead code unit */ 638 /* check if all of the remaining bytes are trail bytes */ 712 * - use only trail bytes after a lead byte (checked above) 713 * - use the right number of trail bytes for a given lead byte 743 /* offsets for n-byte UTF-8 sequences that were calculated with ((lead<<6)+trail)<<6+trail... * [all...] |
/external/webkit/WebCore/platform/graphics/wx/ |
GlyphMapWx.cpp | 47 UChar trail = buffer[i * 2 + 1]; local 48 character = U16_GET_SUPPLEMENTARY(lead, trail);
|
/external/icu4c/common/unicode/ |
utf16.h | 61 * Is this code unit a trail surrogate (U+dc00..U+dfff)? 87 * is it a trail surrogate? 102 * from its lead and trail surrogates. 104 * lead and trail surrogates. 107 * @param trail trail surrogate (U+dc00..U+dfff) 111 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 125 * Get the trail surrogate (0xdc00..0xdfff) for a 128 * @return trail surrogate (U+dc00..U+dfff) for supplementar [all...] |
/external/webkit/JavaScriptCore/icu/unicode/ |
utf16.h | 61 * Is this code unit a trail surrogate (U+dc00..U+dfff)? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 98 * @param trail trail surrogate (U+dc00..U+dfff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 116 * Get the trail surrogate (0xdc00..0xdfff) for a 119 * @return trail surrogate (U+dc00..U+dfff) for supplementary 145 * The offset may point to either the lead or trail surrogate uni [all...] |
/external/webkit/JavaScriptGlue/icu/unicode/ |
utf16.h | 61 * Is this code unit a trail surrogate (U+dc00..U+dfff)? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 98 * @param trail trail surrogate (U+dc00..U+dfff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 116 * Get the trail surrogate (0xdc00..0xdfff) for a 119 * @return trail surrogate (U+dc00..U+dfff) for supplementary 145 * The offset may point to either the lead or trail surrogate uni [all...] |
/external/webkit/WebCore/icu/unicode/ |
utf16.h | 61 * Is this code unit a trail surrogate (U+dc00..U+dfff)? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 98 * @param trail trail surrogate (U+dc00..U+dfff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 116 * Get the trail surrogate (0xdc00..0xdfff) for a 119 * @return trail surrogate (U+dc00..U+dfff) for supplementary 145 * The offset may point to either the lead or trail surrogate uni [all...] |
/external/webkit/WebKit/mac/icu/unicode/ |
utf16.h | 61 * Is this code unit a trail surrogate (U+dc00..U+dfff)? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 98 * @param trail trail surrogate (U+dc00..U+dfff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 116 * Get the trail surrogate (0xdc00..0xdfff) for a 119 * @return trail surrogate (U+dc00..U+dfff) for supplementary 145 * The offset may point to either the lead or trail surrogate uni [all...] |
/external/icu4c/tools/tzcode/ |
zdump.c | 829 register int trail; local 853 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; 855 trail / DIVISOR; 856 trail %= DIVISOR; 857 if (trail < 0 && lead > 0) { 858 trail += DIVISOR; 860 } else if (lead < 0 && trail > 0) { 861 trail -= DIVISOR; 865 (void) printf("%d", trail); 866 else (void) printf("%d%d", lead, ((trail < 0) ? -trail : trail)) 932 register int trail; local [all...] |
/external/webkit/JavaScriptCore/wtf/unicode/glib/ |
UnicodeMacrosFromICU.h | 33 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 34 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
|
/external/webkit/WebCore/platform/graphics/haiku/ |
GlyphPageTreeNodeHaiku.cpp | 51 UChar trail = characterBuffer[i * 2 + 1]; local 52 character = U16_GET_SUPPLEMENTARY(lead, trail);
|
/external/icu4c/data/mappings/ |
noop-cns-11643.ucm | 26 # (1..2) middle and trail bytes for valid but unassigned sequences
|
/external/quake/quake/src/QW/client/ |
gl_model.h | 336 #define EF_ROCKET 1 // leave a trail
337 #define EF_GRENADE 2 // leave a trail
338 #define EF_GIB 4 // leave a trail
340 #define EF_TRACER 16 // green split trail
341 #define EF_ZOMGIB 32 // small blood trail
342 #define EF_TRACER2 64 // orange split trail + rotate
343 #define EF_TRACER3 128 // purple trail
|
model.h | 302 #define EF_ROCKET 1 // leave a trail 303 #define EF_GRENADE 2 // leave a trail 304 #define EF_GIB 4 // leave a trail 306 #define EF_TRACER 16 // green split trail 307 #define EF_ZOMGIB 32 // small blood trail 308 #define EF_TRACER2 64 // orange split trail + rotate 309 #define EF_TRACER3 128 // purple trail
|
/external/quake/quake/src/WinQuake/ |
gl_model.h | 333 #define EF_ROCKET 1 // leave a trail 334 #define EF_GRENADE 2 // leave a trail 335 #define EF_GIB 4 // leave a trail 337 #define EF_TRACER 16 // green split trail 338 #define EF_ZOMGIB 32 // small blood trail 339 #define EF_TRACER2 64 // orange split trail + rotate 340 #define EF_TRACER3 128 // purple trail
|
model.h | 291 #define EF_ROCKET 1 // leave a trail 292 #define EF_GRENADE 2 // leave a trail 293 #define EF_GIB 4 // leave a trail 295 #define EF_TRACER 16 // green split trail 296 #define EF_ZOMGIB 32 // small blood trail 297 #define EF_TRACER2 64 // orange split trail + rotate 298 #define EF_TRACER3 128 // purple trail
|
/external/icu4c/test/cintltst/ |
bocu1tst.c | 77 /* adjust trail byte counts for the use of some C0 control byte values */ 81 /* number of trail bytes */ 155 * but are also used as trail bytes in difference encoding 163 * to trail byte values 0..19 (0..0x13) as used in the difference calculation. 164 * External byte values that are illegal as trail bytes are mapped to -1. 186 * from trail byte values 0..19 (0..0x13) as used in the difference calculation 337 /* calculate trail bytes like digits in itoa() */ 450 /* set the state for decoding the trail byte(s) */ 457 * Function for BOCU-1 decoder; handles multi-byte trail bytes. 460 * @param b trail byt [all...] |
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
|