/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/chromium/third_party/icu/source/test/cintltst/ |
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...] |
/external/icu4c/test/cintltst/ |
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...] |
/external/chromium/third_party/icu/source/common/ |
utrie2.c | 564 * Enumerate values for lead surrogate code points, not code units: 690 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, 693 if(!U16_IS_LEAD(lead)) { 696 lead=(lead-0xd7c0)<<10; /* start code point */ 697 enumEitherTrie(trie, lead, lead+0x400, enumValue, enumRange, context);
|
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...] |
ucnvbocu.c | 60 /* number of lead bytes */ 76 /* number of lead bytes for positive and negative 2/3/4-byte sequences */ 95 /* The lead byte start values. */ 106 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */ 107 #define BOCU1_LENGTH_FROM_LEAD(lead) \ 108 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \ 109 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \ 110 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4 [all...] |
ucnvscsu.c | 1029 UChar lead, trail; local 1519 UChar lead, trail; local [all...] |
/external/icu4c/common/ |
utrie2.cpp | 564 * Enumerate values for lead surrogate code points, not code units: 690 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, 693 if(!U16_IS_LEAD(lead)) { 696 lead=(lead-0xd7c0)<<10; /* start code point */ 697 enumEitherTrie(trie, lead, lead+0x400, enumValue, enumRange, context);
|
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...] |
ucnvbocu.c | 60 /* number of lead bytes */ 76 /* number of lead bytes for positive and negative 2/3/4-byte sequences */ 95 /* The lead byte start values. */ 106 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */ 107 #define BOCU1_LENGTH_FROM_LEAD(lead) \ 108 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \ 109 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \ 110 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4 [all...] |
ucnvscsu.c | 1029 UChar lead, trail; local 1519 UChar lead, trail; local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
testidn.cpp | 386 UChar lead = UTF16_LEAD(mapping[i]); local 388 if(mappingData[index+i] != lead || 390 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]); 415 // get data for lead surrogate 419 // get the real data from the folded lead/trail units
|
/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
|
/external/icu4c/tools/gennorm2/ |
n2builder.cpp | 330 UChar32 lead=m.char32At(0); local 332 if(getCC(lead)!=0) { 337 (long)start, (long)lead); 342 // Insert (trail, composite) pair into compositions list for the lead character. 344 Norm *leadNorm=createNorm(lead); 357 (long)start, (long)lead, (long)trail); [all...] |
/external/chromium/third_party/icu/public/common/unicode/ |
utf16.h | 53 * Is this code unit a lead surrogate (U+d800..U+dbff)? 78 * is it a lead surrogate? 102 * from its lead and trail surrogates. 104 * lead and trail surrogates. 106 * @param lead lead surrogate (U+d800..U+dbff) 111 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 116 * Get the lead surrogate (0xd800..0xdbff) for a 119 * @return lead surrogate (U+d800..U+dbff) for supplementar [all...] |
/external/icu4c/common/unicode/ |
utf16.h | 53 * Is this code unit a lead surrogate (U+d800..U+dbff)? 78 * is it a lead surrogate? 102 * from its lead and trail surrogates. 104 * lead and trail surrogates. 106 * @param lead lead surrogate (U+d800..U+dbff) 111 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET) 116 * Get the lead surrogate (0xd800..0xdbff) for a 119 * @return lead surrogate (U+d800..U+dbff) for supplementar [all...] |
/external/webkit/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/JavaScriptCore/wtf/unicode/wince/ |
UnicodeWince.h | 36 #define U16_GET_SUPPLEMENTARY(lead, trail) \ 37 (((UChar32)(lead) << 10UL) + (UChar32)(trail) - U16_SURROGATE_OFFSET)
|
/external/webkit/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/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/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...] |
/external/chromium/third_party/icu/source/tools/genprops/ |
props2.c | 744 /* delete lead surrogate code unit values */ 745 UChar lead; local 747 for(lead=0xd800; lead<0xdc00; ++lead) { 748 utrie2_set32ForLeadSurrogateCodeUnit(trie2, lead, trie2->initialValue, &errorCode); 754 "genbidi error: deleting lead surrogate code unit values failed - %s\n",
|
/external/icu4c/tools/genprops/ |
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",
|