HomeSort by relevance Sort by last modified time
    Searched defs:lead (Results 1 - 25 of 45) sorted by null

1 2

  /bionic/libc/bionic/
c32rtomb.cpp 67 uint8_t lead; local
70 lead = 0;
73 lead = 0xc0;
76 lead = 0xe0;
79 lead = 0xf0;
94 *s = (c32 & 0xff) | lead;
  /external/chromium_org/third_party/icu/source/samples/uciter8/
uit_len8.c 448 UChar lead=U16_LEAD(iter->reservedField); local
454 return lead;
  /external/icu/icu4c/source/i18n/
utf16collationiterator.cpp 111 UChar lead; local
112 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) {
114 return U16_GET_SUPPLEMENTARY(lead, c);
314 UChar lead; local
315 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) {
317 return U16_GET_SUPPLEMENTARY(lead, c);
  /external/icu/icu4c/source/samples/uciter8/
uit_len8.c 448 UChar lead=U16_LEAD(iter->reservedField); local
454 return lead;
  /external/chromium_org/third_party/icu/source/test/cintltst/
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
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...]
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...]
  /external/icu/icu4c/source/test/cintltst/
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
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...]
custrtst.c 711 static const UChar a=0x61, b=0x62, lead=0xd801, trail=0xdc02, nul=0; local
811 first!=u_strchr(s+1, lead) ||
812 first!=u_strchr32(s+1, lead) ||
813 first!=u_memchr(s+1, lead, 9) ||
814 first!=u_memchr32(s+1, lead, 9) ||
817 first!=u_strFindFirst(s+1, -1, &lead, 1) ||
819 first!=u_strFindFirst(s+1, 9, &lead, 1) ||
820 first!=u_strrchr(s+1, lead) ||
821 first!=u_strrchr32(s+1, lead) ||
822 first!=u_memrchr(s+1, lead, 9) |
    [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...]
  /bionic/libc/tzcode/
strftime.c 705 register int lead; local
710 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
712 if (trail < 0 && lead > 0) {
714 --lead;
715 } else if (lead < 0 && trail > 0) {
717 ++lead;
720 if (lead == 0 && trail < 0)
722 else pt = _conv(lead, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim);
  /bionic/libc/upstream-openbsd/lib/libc/time/
wcsftime.c 532 register int lead; local
537 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
539 if (trail < 0 && lead > 0) {
541 --lead;
542 } else if (lead < 0 && trail > 0) {
544 ++lead;
547 if (lead == 0 && trail < 0)
549 else pt = _conv(lead, L"%02d", pt, ptlim);
  /external/chromium_org/third_party/icu/source/test/intltest/
testidn.cpp 386 UChar lead = U16_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/icu/icu4c/source/test/intltest/
testidn.cpp 386 UChar lead = U16_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/chromium_org/third_party/icu/source/common/
uiter.cpp 909 UChar lead=U16_LEAD(iter->reservedField); local
915 return lead;
ucnvscsu.c 1030 UChar lead, trail; local
1520 UChar lead, trail; local
    [all...]
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...]
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...]
  /external/icu/icu4c/source/common/
uiter.cpp 909 UChar lead=U16_LEAD(iter->reservedField); local
915 return lead;
ucnvscsu.c 1030 UChar lead, trail; local
1520 UChar lead, trail; local
    [all...]
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...]
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...]
  /external/icu/icu4c/source/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...]
  /frameworks/base/core/java/android/text/format/
TimeFormatter.java 418 int lead; local
423 lead = value / DIVISOR + trail / DIVISOR;
425 if (trail < 0 && lead > 0) {
427 --lead;
428 } else if (lead < 0 && trail > 0) {
430 ++lead;
433 if (lead == 0 && trail < 0) {
436 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), lead); local

Completed in 632 milliseconds

1 2