Searched defs:lead (Results 1 - 25 of 30) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DGlyphPageTreeNodeHaiku.cpp50 UChar lead = characterBuffer[i * 2]; local
52 character = U16_GET_SUPPLEMENTARY(lead, trail);
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGlyphMapWx.cpp46 UChar lead = buffer[i * 2]; local
48 character = U16_GET_SUPPLEMENTARY(lead, trail);
/external/icu4c/samples/uciter8/
H A Duit_len8.c448 UChar lead=U16_LEAD(iter->reservedField); local
454 return lead;
/external/webkit/Source/WebCore/platform/android/
H A DKeyEventAndroid.cpp204 UChar lead = U16_LEAD(c); local
206 UChar utf16[2] = {lead, trail};
/external/icu4c/common/
H A Dbmpset.cpp64 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);
274 int lead=c>>12; local
275 uint32_t twoBits=(bmpBlockBits[(c>>6)&0x3f]>>lead)&0x10001;
282 return containsSlow(c, list4kStarts[lead], list4kStarts[lead
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...]
H A Duiter.cpp922 UChar lead=U16_LEAD(iter->reservedField); local
928 return lead;
H A Dutrie2.cpp568 * Enumerate values for lead surrogate code points, not code units:
694 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, argument
697 if(!U16_IS_LEAD(lead)) {
700 lead=(lead-0xd7c0)<<10; /* start code point */
701 enumEitherTrie(trie, lead, lead+0x400, enumValue, enumRange, context);
H A Ducnvscsu.c1029 UChar lead, trail; local
1104 lead=(UChar)c;
1115 /* this is an unmatched lead code unit (1st surrogate) */
1158 /* change to Unicode mode and output this (lead, trail) pair */
1165 c=((uint32_t)lead<<16)|trail;
1301 lead=(UChar)c;
1312 /* this is an unmatched lead code unit (1st surrogate) */
1344 } else if(source<sourceLimit && lead==*source && /* too lazy to check trail in same window as source[1] */
1358 c=((uint32_t)lead<<16)|trail;
1519 UChar lead, trai local
[all...]
H A Dustring.c222 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 */
1279 /* If an escape sequence specifies a lead surrogat
[all...]
H A Dutrie2_builder.c46 * 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, valu
412 UChar lead; local
[all...]
H A Dutext.cpp126 UChar lead = ut->chunkContents[ut->chunkOffset-1]; local
127 if (UTF16_IS_LEAD(lead)) {
212 // the original position before the unpaired lead still needs to be restored.
281 // c is an unpaired lead surrogate at the end of the text.
288 // c was an unpaired lead surrogate, not at the end of the text.
314 // (A lead surrogate seen here is just returned as is, as a surrogate value.
327 UChar32 lead = ut->chunkContents[ut->chunkOffset-1]; local
328 if (U16_IS_LEAD(lead) == FALSE) {
334 UChar32 supplementary = U16_GET_SUPPLEMENTARY(lead, c);
335 ut->chunkOffset--; // move iteration position over the lead surrogat
[all...]
/external/icu4c/test/cintltst/
H A Dsprpdata.c209 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
H A Dbocu1tst.c74 /* 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)
287 int32_t result, m, lead, count, shift; local
[all...]
H A Dtrie2test.c207 /* 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 */
1059 static const char *const testName="enum-for-lead";
1182 /* set some values for lead surrogate code units */
1240 /* set some values for lead surrogate code units */
1334 UChar lead; local
1377 for(lead=0xd800; lead<
[all...]
H A Dcnormtst.c1358 UChar32 c, lead, trail; local
1410 U16_GET(nfd, 0, length-length, length, lead);
1414 lccc2=u_getCombiningClass(lead);
1419 log_err("u_getIntPropertyValue(lccc)=%d != %d=u_getCombiningClass(lead) for U+%04x\n",
H A Dcustrtst.c715 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,
[all...]
/external/icu4c/test/intltest/
H A Dtestidn.cpp384 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/webkit/Source/WebCore/rendering/
H A DRenderQuote.cpp273 void RenderQuote::computePreferredLogicalWidths(float lead) argument
276 RenderText::computePreferredLogicalWidths(lead);
H A DRenderCounter.cpp510 void RenderCounter::computePreferredLogicalWidths(float lead) argument
513 RenderText::computePreferredLogicalWidths(lead);
/external/v8/src/
H A Dunicode.h129 static inline int CombineSurrogatePair(uchar lead, uchar trail) { argument
130 return 0x10000 + ((lead & 0x3ff) << 10) + (trail & 0x3ff);
137 // 4 bytes and the 3 bytes that were used to encode the lead surrogate
/external/icu4c/layout/
H A DHangulLayoutEngine.cpp111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) argument
113 le_int32 lIndex = lead - LJMO_FIRST;
132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
140 lead = LJMO_FIRST + (sIndex / HSYL_LVCNT);
151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
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, vowe
308 LEUnicode lead = outChars[outStart]; local
[all...]
/external/icu4c/tools/gennorm2/
H A Dn2builder.cpp340 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);
997 // corresponding to a lead surrogate, and set it as that surrogate's value.
1006 for(UChar lead=0xd800; lead<0xdc00; ++lead) {
[all...]
/external/icu4c/tools/tzcode/
H A Dzdump.c828 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
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1660 const char *lead; local
1664 lead = "0f";
1669 lead = "0d";
1677 O << lead; local
/external/icu4c/i18n/
H A Ducol.cpp1901 UChar lead; local
1902 if(U16_IS_TRAIL(c) && U16_IS_LEAD(lead = *(p - 1))) {
1903 c = U16_GET_SUPPLEMENTARY(lead, c);
3254 // is ON, the Hangul that lead us here is going to be in that
3455 UChar lead; local
3456 if(!U16_IS_SURROGATE_LEAD(schar) && U16_IS_LEAD(lead = getPrevNormalizedChar(source, status))) {
3457 isZeroCE = UTRIE_GET32_FROM_LEAD(&coll->mapping, lead);
3786 UChar lead = getPrevNormalizedChar(source, status); local
3787 if(U16_IS_LEAD(lead)) {
3788 char32 = U16_GET_SUPPLEMENTARY(lead,c
3868 UChar lead = getPrevNormalizedChar(source, status); local
[all...]

Completed in 749 milliseconds

12