/external/webkit/Source/WebCore/platform/graphics/haiku/ |
GlyphPageTreeNodeHaiku.cpp | 50 UChar lead = characterBuffer[i * 2]; local 52 character = U16_GET_SUPPLEMENTARY(lead, trail);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
GlyphMapWx.cpp | 46 UChar lead = buffer[i * 2]; local 48 character = U16_GET_SUPPLEMENTARY(lead, trail);
|
/external/webkit/Source/WebCore/platform/android/ |
KeyEventAndroid.cpp | 204 UChar lead = U16_LEAD(c); local 206 UChar utf16[2] = {lead, trail};
|
/external/icu4c/samples/uciter8/ |
uit_len8.c | 448 UChar lead=U16_LEAD(iter->reservedField); local 454 return lead;
|
/external/icu4c/common/ |
bmpset.cpp | 64 int32_t lead=start>>6; local 68 uint32_t bits=(uint32_t)1<<lead; 77 if(lead==limitLead) { 90 ++lead; 92 if(lead<limitLead) { 93 bits=~((1<<lead)-1); 209 bits=3; // Lead bytes 0xC0 and 0xC1. 214 bits=1; // Lead byte 0xE0. 219 mask=~(0x10001<<0xd); // Lead byte 0xED. 226 mask=~(0x10001<<0xd); // Lead byte 0xED 274 int lead=c>>12; local 315 int lead=c>>12; local 355 int lead=c>>12; local 404 int lead=c>>12; local 447 int lead=c>>12; local 700 int lead=c>>12; local [all...] |
uiter.cpp | 922 UChar lead=U16_LEAD(iter->reservedField); local 928 return lead;
|
ucnvscsu.c | 1029 UChar lead, trail; local 1519 UChar lead, trail; local [all...] |
ustring.c | 222 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); local 225 if(cs==lead && *s==trail) { 266 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); local 269 if(*s==lead && *(s+1)==trail) { 397 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); local 400 if(cs==lead && *s==trail) { 441 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); local 444 if(*limit==trail && *(limit-1)==lead) { 901 /* lead surrogate code point - make <d800 */ [all...] |
utrie2_builder.c | 46 * Exception: Support for separate values for lead surrogate code _units_ 59 * corresponding to one lead surrogate. 174 * Plus as many as needed for lead surrogate code points. 368 UChar lead; local 390 for(lead=0xd800; lead<0xdc00; ++lead) { 393 value=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(other, lead); 395 value=UTRIE2_GET32_FROM_U16_SINGLE_LEAD(other, lead); 398 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, value, pErrorCode) 412 UChar lead; local [all...] |
/external/icu4c/test/cintltst/ |
sprpdata.c | 209 UChar lead = UTF16_LEAD(mapping[i]); local 211 if(mappingData[index+i] != lead || 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]); 240 // get data for lead surrogate 244 // get the real data from the folded lead/trail units
|
bocu1tst.c | 74 /* number of lead bytes */ 90 /* number of lead bytes for positive and negative 2/3/4-byte sequences */ 109 /* The lead byte start values. */ 120 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */ 121 #define BOCU1_LENGTH_FROM_LEAD(lead) \ 122 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \ 123 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \ 124 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4 287 int32_t result, m, lead, count, shift; local [all...] |
trie2test.c | 207 /* test values for lead surrogate code units */ 358 0xed, 0xa0, 0x80, /* lead surrogate U+d800 */ 386 /* first a couple of trail bytes in lead position */ 842 /* set some values for lead surrogate code units */ 1334 UChar lead; local [all...] |
cnormtst.c | 1355 UChar32 c, lead, trail; local [all...] |
custrtst.c | 715 static const UChar a=0x61, b=0x62, lead=0xd801, trail=0xdc02, nul=0; local 815 first!=u_strchr(s+1, lead) || 816 first!=u_strchr32(s+1, lead) || 817 first!=u_memchr(s+1, lead, 9) || 818 first!=u_memchr32(s+1, lead, 9) || 821 first!=u_strFindFirst(s+1, -1, &lead, 1) || 823 first!=u_strFindFirst(s+1, 9, &lead, 1) || 824 first!=u_strrchr(s+1, lead) || 825 first!=u_strrchr32(s+1, lead) || 826 first!=u_memrchr(s+1, lead, 9) | [all...] |
/external/icu4c/tools/genbidi/ |
store.c | 407 /* delete lead surrogate code unit values */ 408 UChar lead; local 410 for(lead=0xd800; lead<0xdc00; ++lead) { 411 utrie2_set32ForLeadSurrogateCodeUnit(trie2, lead, trie2->initialValue, &errorCode); 417 "genbidi error: deleting lead surrogate code unit values failed - %s\n",
|
/external/icu4c/tools/genprops/ |
store.c | 417 /* delete lead surrogate code unit values */ 418 UChar lead; local 420 for(lead=0xd800; lead<0xdc00; ++lead) { 421 utrie2_set32ForLeadSurrogateCodeUnit(trie2, lead, trie2->initialValue, &errorCode); 427 "genprops error: deleting lead surrogate code unit values failed - %s\n",
|
props2.c | 749 /* delete lead surrogate code unit values */ 750 UChar lead; local 752 for(lead=0xd800; lead<0xdc00; ++lead) { 753 utrie2_set32ForLeadSurrogateCodeUnit(trie2, lead, trie2->initialValue, &errorCode); 759 "genbidi error: deleting lead surrogate code unit values failed - %s\n",
|
/bionic/libc/tzcode/ |
strftime.c | 744 register int lead; local 749 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; 751 if (trail < 0 && lead > 0) { 753 --lead; 754 } else if (lead < 0 && trail > 0) { 756 ++lead; 759 if (lead == 0 && trail < 0) 761 else pt = _conv(lead, getformat(modifier, "%02d",
|
/external/icu4c/test/intltest/ |
testidn.cpp | 384 UChar lead = UTF16_LEAD(mapping[i]); local 386 if(mappingData[index+i] != lead || 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]); 413 // get data for lead surrogate 417 // get the real data from the folded lead/trail units
|
/system/core/libcutils/ |
tzstrftime.c | 694 register int lead; local 699 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; 701 if (trail < 0 && lead > 0) { 703 --lead; 704 } else if (lead < 0 && trail > 0) { 706 ++lead; 709 if (lead == 0 && trail < 0) 711 else pt = _conv(lead, getformat(modifier, "%02d",
|
/external/icu4c/layout/ |
HangulLayoutEngine.cpp | 111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) 113 le_int32 lIndex = lead - LJMO_FIRST; 132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) 140 lead = LJMO_FIRST + (sIndex / HSYL_LVCNT); 151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) 153 lead = LJMO_FILL; 158 lead = ch; 172 le_int32 c = decompose(ch, lead, vowel, trail); 248 LEUnicode lead = 0; local 251 int32_t chClass = getCharClass(chars[i], lead, vowel, trail) 308 LEUnicode lead = outChars[outStart]; local [all...] |
/external/icu4c/tools/gencase/ |
store.c | 1143 UChar lead; local [all...] |
/external/icu4c/tools/gennorm/ |
store.c | 132 * The lead and trail code points combine into the the combined one, 133 * i.e., there is a canonical decomposition of combined-> <lead, trail>. 136 * After processCombining(), they contain the indexes of the lead and trail 143 uint32_t lead, trail, combined; member in struct:CombiningTriple 414 addCombiningTriple(uint32_t lead, uint32_t trail, uint32_t combined) { 426 createNorm(lead)->combiningFlags|=1; /* combines forward */ 429 addCombiningCP(lead, 1); 433 triple->lead=lead; 459 /* add lead and trail indexes to the triples for sorting * [all...] |
/external/icu4c/tools/gennorm2/ |
n2builder.cpp | 340 UChar32 lead=m.char32At(0); local 342 if(getCC(lead)!=0) { 347 (long)start, (long)lead); 352 // Insert (trail, composite) pair into compositions list for the lead character. 354 Norm *leadNorm=createNorm(lead); 369 (long)start, (long)lead, (long)trail); [all...] |
/external/icu4c/tools/tzcode/ |
zdump.c | 828 register int lead; local 854 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + 857 if (trail < 0 && lead > 0) { 859 --lead; 860 } else if (lead < 0 && trail > 0) { 862 ++lead; 864 if (lead == 0) 866 else (void) printf("%d%d", lead, ((trail < 0) ? -trail : trail)); 931 register int lead; local 939 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR [all...] |