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

1 2 3 4

  /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/icu/android_icu4j/src/main/java/android/icu/impl/
CharacterIteration.java 31 * For Supplementary chars, the iterator is left positioned at the lead surrogate.
49 // If we might have a lead surrogate, we need to peak ahead to get the trail
57 // of the lead surrogate.
71 public static int nextTrail32(CharacterIterator ci, int lead) {
72 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) {
75 int retVal = lead;
76 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) {
79 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
96 char lead = ci.previous(); local
97 if (UTF16.isLeadSurrogate(lead)) {
109 char lead = ci.current(); local
    [all...]
BMPSet.java 37 * correspond to the same bit positions in consecutive table words. With code point parts lead=c{10..6}
38 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead)
47 * correspond to the same bit position in consecutive table words. With code point parts lead=c{15..12}
48 * t1=c{11..6} test bits (lead+16) and lead in bmpBlockBits[t1]. If the upper bit is 0, then the lower bit
109 int lead = c >> 12; local
110 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001;
117 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]);
161 int lead = c >> 12 local
200 int lead = c >> 12; local
257 int lead = c >> 12; local
297 int lead = c >> 12; local
332 int lead = start >> 6; \/\/ Named for UTF-8 2-byte lead byte with upper 5 bits. local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CharacterIteration.java 27 * For Supplementary chars, the iterator is left positioned at the lead surrogate.
45 // If we might have a lead surrogate, we need to peak ahead to get the trail
53 // of the lead surrogate.
67 public static int nextTrail32(CharacterIterator ci, int lead) {
68 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) {
71 int retVal = lead;
72 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) {
75 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
92 char lead = ci.previous(); local
93 if (UTF16.isLeadSurrogate(lead)) {
105 char lead = ci.current(); local
    [all...]
BMPSet.java 35 * correspond to the same bit positions in consecutive table words. With code point parts lead=c{10..6}
36 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead)
45 * correspond to the same bit position in consecutive table words. With code point parts lead=c{15..12}
46 * t1=c{11..6} test bits (lead+16) and lead in bmpBlockBits[t1]. If the upper bit is 0, then the lower bit
107 int lead = c >> 12; local
108 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001;
115 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]);
159 int lead = c >> 12 local
198 int lead = c >> 12; local
255 int lead = c >> 12; local
295 int lead = c >> 12; local
330 int lead = start >> 6; \/\/ Named for UTF-8 2-byte lead byte with upper 5 bits. local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
UTF16CollationIterator.java 94 char lead; local
96 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
98 return Character.toCodePoint(lead, c);
FCDUTF16CollationIterator.java 162 char lead; local
164 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
166 return Character.toCodePoint(lead, c);
  /external/icu/icu4c/source/i18n/
utf16collationiterator.cpp 113 UChar lead; local
114 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) {
116 return U16_GET_SUPPLEMENTARY(lead, c);
316 UChar lead; local
317 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) {
319 return U16_GET_SUPPLEMENTARY(lead, c);
  /external/icu/icu4c/source/samples/uciter8/
uit_len8.c 454 UChar lead=U16_LEAD(iter->reservedField); local
460 return lead;
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
UTF16CollationIterator.java 92 char lead; local
94 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
96 return Character.toCodePoint(lead, c);
FCDUTF16CollationIterator.java 160 char lead; local
162 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
164 return Character.toCodePoint(lead, c);
  /external/icu/android_icu4j/src/main/java/android/icu/lang/
CharSequences.java 153 char lead = (char)((offset >>> 10) + Character.MIN_HIGH_SURROGATE); local
154 int result = firstChar - lead;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
UTF16Util.java 239 * Lead surrogate maximum value
244 * Lead surrogate minimum value
284 * Determines whether the character is a lead surrogate.
286 * @return true iff the input character is a lead surrogate
346 char lead = source[offset16]; local
347 if (isLeadSurrogate(lead))
348 return getRawSupplementary(lead, single);
353 * Shift value for lead surrogate to form a supplementary character.
371 * @param lead lead surrogate characte
    [all...]
  /external/icu/icu4c/source/test/cintltst/
sprpdata.c 212 UChar lead = U16_LEAD(mapping[i]); local
214 if(mappingData[idx+i] != lead ||
216 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]);
243 // get data for lead surrogate
247 // get the real data from the folded lead/trail units
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
CharSequences.java 151 char lead = (char)((offset >>> 10) + Character.MIN_HIGH_SURROGATE); local
152 int result = firstChar - lead;
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
UTF16Util.java 238 * Lead surrogate maximum value
243 * Lead surrogate minimum value
283 * Determines whether the character is a lead surrogate.
285 * @return true iff the input character is a lead surrogate
345 char lead = source[offset16]; local
346 if (isLeadSurrogate(lead))
347 return getRawSupplementary(lead, single);
352 * Shift value for lead surrogate to form a supplementary character.
370 * @param lead lead surrogate characte
    [all...]
  /frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
MainActivity.java 40 final View lead = findViewById(R.id.lead); local
45 lead.getTranslationX());
47 lead.getTranslationY());
69 ((View) lead.getParent()).setOnTouchListener(new View.OnTouchListener() {
77 if (motionEvent.getX() < lead.getX()
78 || motionEvent.getX() > lead.getX() + lead.getWidth()
79 || motionEvent.getY() < lead.getY()
80 || motionEvent.getY() > lead.getY() + lead.getHeight())
    [all...]
  /bionic/libc/tzcode/
strftime.c 690 register int lead; local
695 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
697 if (trail < 0 && lead > 0) {
699 --lead;
700 } else if (lead < 0 && trail > 0) {
702 ++lead;
705 if (lead == 0 && trail < 0)
707 else pt = _conv(lead, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim);
  /bionic/libc/upstream-openbsd/lib/libc/time/
wcsftime.c 527 int lead; local
532 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
534 if (trail < 0 && lead > 0) {
536 --lead;
537 } else if (lead < 0 && trail > 0) {
539 ++lead;
542 if (lead == 0 && trail < 0)
544 else pt = _conv(lead, L"%02d", pt, ptlim);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieTest.java 163 // unlike the c version lead is 0 if c is non-supplementary
164 char lead = UTF16.getLeadSurrogate(c); local
166 if (lead == 0
168 : !UTF16.isLeadSurrogate(lead)
169 || !UTF16.isTrailSurrogate(trail) || lead != s.charAt(p - 2)
171 errln("wrong (lead, trail) from UTRIE_NEXT(U+"
175 if (lead != 0) {
176 value = trie.getLeadValue(lead);
178 if (value != trie.getSurrogateValue(lead, trail)
495 /* test that the lead surrogate code units have leadUnitValue *
    [all...]
  /external/icu/icu4c/source/test/intltest/
testidn.cpp 388 UChar lead = U16_LEAD(mapping[i]); local
390 if(mappingData[index+i] != lead ||
392 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]);
417 // get data for lead surrogate
421 // get the real data from the folded lead/trail units
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieTest.java 162 // unlike the c version lead is 0 if c is non-supplementary
163 char lead = UTF16.getLeadSurrogate(c); local
165 if (lead == 0
167 : !UTF16.isLeadSurrogate(lead)
168 || !UTF16.isTrailSurrogate(trail) || lead != s.charAt(p - 2)
170 errln("wrong (lead, trail) from UTRIE_NEXT(U+"
174 if (lead != 0) {
175 value = trie.getLeadValue(lead);
177 if (value != trie.getSurrogateValue(lead, trail)
494 /* test that the lead surrogate code units have leadUnitValue *
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
writer.h 279 unsigned lead = (s >> 10) + 0xD800; local
281 os_->Put(hexDigits[(lead >> 12) & 15]);
282 os_->Put(hexDigits[(lead >> 8) & 15]);
283 os_->Put(hexDigits[(lead >> 4) & 15]);
284 os_->Put(hexDigits[(lead ) & 15]);
  /external/icu/icu4c/source/common/
uiter.cpp 911 UChar lead=U16_LEAD(iter->reservedField); local
917 return lead;
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
pa_avx.cpp 482 simdvector& lead = pa.leadingVertex.attrib[slot]; local
483 verts[0] = swizzleLane0(lead);
    [all...]

Completed in 673 milliseconds

1 2 3 4