/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/strace/ |
strace-graph | 279 my ($pid, $lead) = @_; 303 print "$lead [$elapsed] @$argv\n"; 306 print "$lead @$argv\n"; 310 if ($lead =~ /-$/) { 311 display_pid_trace($$elem[1], "$lead--+--"); 313 display_pid_trace($$elem[1], "$lead +--"); 316 display_pid_trace($$elem[1], "$lead `--"); 318 display_pid_trace($$elem[1], "$lead +--"); 322 $lead =~ s/\`--/ /g; 323 $lead =~ s/-/ /g [all...] |
/external/icu4c/common/ |
bmpset.cpp | 70 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits. 74 uint32_t bits=(uint32_t)1<<lead; 83 if(lead==limitLead) { 96 ++lead; 98 if(lead<limitLead) { 99 bits=~((1<<lead)-1); 218 bits=3; // Lead bytes 0xC0 and 0xC1. 223 bits=1; // Lead byte 0xE0. 228 mask=~(0x10001<<0xd); // Lead byte 0xED [all...] |
utrie2_builder.cpp | 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...] |
utrie2.cpp | 574 * Enumerate values for lead surrogate code points, not code units: 700 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, 703 if(!U16_IS_LEAD(lead)) { 706 lead=(lead-0xd7c0)<<10; /* start code point */ 707 enumEitherTrie(trie, lead, lead+0x400, enumValue, enumRange, context);
|
ustring.cpp | 223 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); local 226 if(cs==lead && *s==trail) { 267 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); local 270 if(*s==lead && *(s+1)==trail) { 398 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); local 401 if(cs==lead && *s==trail) { 442 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); local 445 if(*limit==trail && *(limit-1)==lead) { 902 /* lead surrogate code point - make <d800 */ [all...] |
/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/test/cintltst/ |
bocu1tst.c | 75 /* number of lead bytes */ 91 /* number of lead bytes for positive and negative 2/3/4-byte sequences */ 110 /* The lead byte start values. */ 121 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */ 122 #define BOCU1_LENGTH_FROM_LEAD(lead) \ 123 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \ 124 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \ 125 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4 288 int32_t result, m, lead, count, shift; local [all...] |
sprpdata.c | 210 UChar lead = U16_LEAD(mapping[i]); local 212 if(mappingData[idx+i] != lead || 214 log_err( "Did not get the expected result. Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X\n", lead, trail, mappingData[idx+i], mappingData[idx+i+1]); 241 // get data for lead surrogate 245 // get the real data from the folded lead/trail units
|
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...] |
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...] |
/bionic/libc/tzcode/ |
strftime.c | 745 register int lead; local 750 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; 752 if (trail < 0 && lead > 0) { 754 --lead; 755 } else if (lead < 0 && trail > 0) { 757 ++lead; 760 if (lead == 0 && trail < 0) 762 else pt = _conv(lead, getformat(modifier, "%02d",
|
/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...] |
/external/icu4c/tools/gennorm2/ |
n2builder.cpp | 365 UChar32 lead=m.char32At(0); local 367 if(getCC(lead)!=0) { 372 (long)start, (long)lead); 377 // Insert (trail, composite) pair into compositions list for the lead character. 379 Norm *leadNorm=createNorm(lead); 394 (long)start, (long)lead, (long)trail); 702 UChar32 lead= c<=0xffff ? c : U16_LEAD(c); local 703 smallFCD[lead>>8]|=(uint8_t)1<<((lead>>5)&7); 844 UChar32 lead= c<=0xffff ? c : U16_LEAD(c) local [all...] |
/external/chromium/base/third_party/icu/ |
icu_utf.h | 94 * is it a lead surrogate? 108 * Count the trail bytes for a UTF-8 lead byte. 114 * Mask a UTF-8 lead byte, leave only the lower bits that form part of the code point value. 128 * Is this code unit (byte) a UTF-8 lead byte? 180 * The offset may point to the lead byte of a multi-byte sequence, 247 * Is this code unit a lead surrogate (U+d800..U+dbff)? 272 * is it a lead surrogate? 287 * from its lead and trail surrogates. 289 * lead and trail surrogates. 291 * @param lead lead surrogate (U+d800..U+dbff [all...] |
/external/webkit/Source/JavaScriptCore/wtf/unicode/ |
UnicodeMacrosFromICU.h | 15 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 16 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
|
/external/webkit/Source/WebCore/platform/android/ |
KeyEventAndroid.cpp | 204 UChar lead = U16_LEAD(c); local 206 UChar utf16[2] = {lead, trail};
|
/external/icu4c/test/intltest/ |
testidn.cpp | 385 UChar lead = U16_LEAD(mapping[i]); local 387 if(mappingData[index+i] != lead || 389 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]); 414 // get data for lead surrogate 418 // get the real data from the folded lead/trail units
|
/external/icu4c/common/unicode/ |
utf16.h | 51 * Is this code unit a lead surrogate (U+d800..U+dbff)? 76 * is it a lead surrogate? 100 * from its lead and trail surrogates. 102 * lead and trail surrogates. 104 * @param lead lead surrogate (U+d800..U+dbff) 109 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 110 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 114 * Get the lead surrogate (0xd800..0xdbff) for a 117 * @return lead surrogate (U+d800..U+dbff) for supplementar [all...] |
/external/v8/src/ |
unicode.h | 129 static inline int CombineSurrogatePair(uchar lead, uchar trail) { 130 return 0x10000 + ((lead & 0x3ff) << 10) + (trail & 0x3ff); 137 // 4 bytes and the 3 bytes that were used to encode the lead surrogate
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
utf16.h | 53 * Is this code unit a lead surrogate (U+d800..U+dbff)? 78 * is it a lead surrogate? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 97 * @param lead lead surrogate (U+d800..U+dbff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 107 * Get the lead surrogate (0xd800..0xdbff) for a 110 * @return lead surrogate (U+d800..U+dbff) for supplementar [all...] |
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
utf16.h | 53 * Is this code unit a lead surrogate (U+d800..U+dbff)? 78 * is it a lead surrogate? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 97 * @param lead lead surrogate (U+d800..U+dbff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 107 * Get the lead surrogate (0xd800..0xdbff) for a 110 * @return lead surrogate (U+d800..U+dbff) for supplementar [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
utf16.h | 53 * Is this code unit a lead surrogate (U+d800..U+dbff)? 78 * is it a lead surrogate? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 97 * @param lead lead surrogate (U+d800..U+dbff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 107 * Get the lead surrogate (0xd800..0xdbff) for a 110 * @return lead surrogate (U+d800..U+dbff) for supplementar [all...] |
/external/webkit/Source/WebKit/mac/icu/unicode/ |
utf16.h | 53 * Is this code unit a lead surrogate (U+d800..U+dbff)? 78 * is it a lead surrogate? 93 * from its lead and trail surrogates. 95 * lead and trail surrogates. 97 * @param lead lead surrogate (U+d800..U+dbff) 102 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 103 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 107 * Get the lead surrogate (0xd800..0xdbff) for a 110 * @return lead surrogate (U+d800..U+dbff) for supplementar [all...] |