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

1 2 3 4 5

  /bionic/libc/bionic/
mbrtoc16.cpp 43 char16_t trail = (c32 & 0x3ff) | 0xdc00; local
45 mbstate_set_byte(state, 0, trail & 0x00ff);
46 mbstate_set_byte(state, 1, (trail & 0xff00) >> 8);
55 char16_t trail = mbstate_get_byte(state, 1) << 8 | local
57 *pc16 = trail;
  /external/icu/icu4c/source/i18n/
uitercollationiterator.cpp 55 UChar32 trail = iter.next(&iter); local
56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); }
57 return (UChar)trail;
146 UChar32 trail = iter.next(&iter); local
147 if(U16_IS_TRAIL(trail)) {
149 } else if(trail >= 0) {
152 return (UChar)trail;
155 UChar trail;
156 if(U16_IS_TRAIL(trail = normalized[pos])) { ++pos;
    [all...]
utf16collationiterator.cpp 72 UChar trail; local
73 if(U16_IS_TRAIL(trail = *pos)) { ++pos; }
74 return trail;
98 UChar trail; local
99 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) {
101 return U16_GET_SUPPLEMENTARY(c, trail);
280 UChar trail; local
281 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) {
283 return U16_GET_SUPPLEMENTARY(c, trail);
  /external/libchrome/base/third_party/icu/
icu_utf.cc 140 uint8_t trail, illegal = 0; local
143 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
148 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
152 trail=s[(i)++];
153 (c)=((c)<<6)|(trail&0x3f);
155 illegal|=(trail&0xc0)^0x80;
162 trail=s[(i)++];
163 (c)=((c)<<6)|(trail&0x3f);
164 illegal|=(trail&0xc0)^0x80;
166 trail=s[(i)++]
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CharacterIteration.java 36 // If the current position is at a surrogate pair, move to the trail surrogate
49 // If we might have a lead surrogate, we need to peak ahead to get the trail
93 char trail = ci.previous(); local
94 int retVal = trail;
95 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) {
99 ((int)trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
115 int trail = (int)ci.next(); local
117 if (UTF16.isTrailSurrogate((char)trail)) {
119 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
BMPSet.java 38 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead)
138 * sufficient length for trail unit for each surrogate pair. Handle single surrogates as surrogate code points
333 int trail = start & 0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. local
338 table[trail] |= bits;
347 while (trail < limitTrail) {
348 table[trail++] |= bits;
354 if (trail > 0) {
356 table[trail++] |= bits
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
IterCollationIterator.java 63 int trail = iter.next(); local
64 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); }
65 return (char)trail;
UTF16CollationIterator.java 78 char trail; local
80 Character.isLowSurrogate(trail = seq.charAt(pos))) {
82 return Character.toCodePoint(c, trail);
116 char trail; local
117 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; }
118 return trail;
CollationWeights.java 197 private static long setWeightTrail(long weight, int length, int trail) {
199 return (weight&(0xffffff00L<<length))|((long)trail<<length);
336 int trail=getWeightTrail(weight, length); local
337 if(trail<maxBytes[length]) {
342 lower[length].count=maxBytes[length]-trail;
356 int trail=getWeightTrail(weight, length); local
357 if(trail>minBytes[length]) {
362 upper[length].count=trail-minBytes[length];
  /external/icu/icu4c/source/common/
ustrtrns.cpp 269 * *ps points to after the lead byte and will be moved to after the last trail byte.
276 uint8_t trail, illegal=0; local
280 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
285 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
289 trail=(uint8_t)(*s++ - 0x80);
290 c=(c<<6)|trail;
291 if(trail>0x3f || c>=0x110) {
292 /* not a trail byte, or code point>0x10ffff (outside Unicode) */
298 trail=(uint8_t)(*s++ - 0x80);
299 if(trail>0x3f)
    [all...]
utf_impl.c 132 uint8_t trail; local
135 /* support NUL-terminated strings: do not read beyond the first non-trail byte */
139 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
142 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
145 trail=s[i++]-0x80;
146 c=(c<<6)|trail;
148 if(c>=0x110 || trail>0x3f) { break; }
150 trail=s[i++]-0x80;
151 c=(c<<6)|trail;
156 if(((c&0xffe0)==0x360 && strict!=-2) || trail>0x3f) { break;
    [all...]
ucnvlat1.c 275 UChar trail=*source; local
276 if(U16_IS_TRAIL(trail)) {
278 cp=U16_GET_SUPPLEMENTARY(cp, trail);
291 /* this is an unmatched trail code unit (2nd surrogate) */
365 * For Latin-1, adjust sourceLimit only for 1 trail byte because
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CharacterIteration.java 32 // If the current position is at a surrogate pair, move to the trail surrogate
45 // If we might have a lead surrogate, we need to peak ahead to get the trail
89 char trail = ci.previous(); local
90 int retVal = trail;
91 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) {
95 ((int)trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
111 int trail = (int)ci.next(); local
113 if (UTF16.isTrailSurrogate((char)trail)) {
115 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
BMPSet.java 36 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead)
136 * sufficient length for trail unit for each surrogate pair. Handle single surrogates as surrogate code points
331 int trail = start & 0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. local
336 table[trail] |= bits;
345 while (trail < limitTrail) {
346 table[trail++] |= bits;
352 if (trail > 0) {
354 table[trail++] |= bits
    [all...]
  /external/icu/icu4c/source/samples/uciter8/
uit_len8.c 417 UChar trail=U16_TRAIL(iter->reservedField); local
422 return trail;
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
IterCollationIterator.java 61 int trail = iter.next(); local
62 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); }
63 return (char)trail;
UTF16CollationIterator.java 76 char trail; local
78 Character.isLowSurrogate(trail = seq.charAt(pos))) {
80 return Character.toCodePoint(c, trail);
114 char trail; local
115 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; }
116 return trail;
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
utils.c 16 uint32_t bytes_left=n,trail = 0; local
22 trail = ((uint32_t)ptr8_frm) & 0x3;
23 if((trail == (((uint32_t)ptr8_to) & 0x3)) && (n > 4))
26 bytes_left -= trail;
29 trail--;
32 trail = bytes_left & 0x3;
44 while(trail > 0){
46 trail--;
77 uint32_t trail=0; local
78 trail = 4 - (((uint32_t)ptr8) & 0x3)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/lang/
CharSequences.java 159 char trail = (char)((offset & 0x3ff) + Character.MIN_LOW_SURROGATE); local
160 result = string.charAt(1) - trail;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
UTF16Util.java 180 hadLeadSurrogate = false; // count valid trail as zero
208 hadLeadSurrogate = false; // count valid trail as zero
250 * Trail surrogate minimum value
255 * Trail surrogate maximum value
272 * Determines whether the character is a trail surrogate.
274 * @return true iff the input character is a trail surrogate.
336 char trail = source[offset16]; local
337 if (isTrailSurrogate(trail)) {
338 return getRawSupplementary(single, trail);
372 * @param trail trailing surrogate characte
    [all...]
  /external/icu/icu4c/source/test/cintltst/
sprpdata.c 213 UChar trail = U16_TRAIL(mapping[i]); local
215 mappingData[idx+i+1] != trail){
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]);
247 // get the real data from the folded lead/trail units
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
CharSequences.java 157 char trail = (char)((offset & 0x3ff) + Character.MIN_LOW_SURROGATE); local
158 result = string.charAt(1) - trail;
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
UTF16Util.java 179 hadLeadSurrogate = false; // count valid trail as zero
207 hadLeadSurrogate = false; // count valid trail as zero
249 * Trail surrogate minimum value
254 * Trail surrogate maximum value
271 * Determines whether the character is a trail surrogate.
273 * @return true iff the input character is a trail surrogate.
335 char trail = source[offset16]; local
336 if (isTrailSurrogate(trail)) {
337 return getRawSupplementary(single, trail);
371 * @param trail trailing surrogate characte
    [all...]
  /bionic/libc/tzcode/
strftime.c 691 register int trail; local
694 trail = a % DIVISOR + b % DIVISOR;
695 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
696 trail %= DIVISOR;
697 if (trail < 0 && lead > 0) {
698 trail += DIVISOR;
700 } else if (lead < 0 && trail > 0) {
701 trail -= DIVISOR;
705 if (lead == 0 && trail < 0)
710 pt = _conv(((trail < 0) ? -trail : trail), getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim)
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/time/
wcsftime.c 528 int trail; local
531 trail = a % DIVISOR + b % DIVISOR;
532 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
533 trail %= DIVISOR;
534 if (trail < 0 && lead > 0) {
535 trail += DIVISOR;
537 } else if (lead < 0 && trail > 0) {
538 trail -= DIVISOR;
542 if (lead == 0 && trail < 0)
547 pt = _conv(((trail < 0) ? -trail : trail), L"%02d", pt, ptlim)
    [all...]

Completed in 1304 milliseconds

1 2 3 4 5