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

1 2 3

  /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/chromium_org/base/third_party/icu/
icu_utf.cc 141 uint8 trail, illegal=0; local
144 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
149 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
153 trail=s[(i)++];
154 (c)=((c)<<6)|(trail&0x3f);
156 illegal|=(trail&0xc0)^0x80;
163 trail=s[(i)++];
164 (c)=((c)<<6)|(trail&0x3f);
165 illegal|=(trail&0xc0)^0x80;
167 trail=s[(i)++]
    [all...]
  /external/icu/icu4c/source/i18n/
uitercollationiterator.cpp 53 UChar32 trail = iter.next(&iter); local
54 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); }
55 return (UChar)trail;
144 UChar32 trail = iter.next(&iter); local
145 if(U16_IS_TRAIL(trail)) {
147 } else if(trail >= 0) {
150 return (UChar)trail;
153 UChar trail;
154 if(U16_IS_TRAIL(trail = normalized[pos])) { ++pos;
    [all...]
utf16collationiterator.cpp 70 UChar trail; local
71 if(U16_IS_TRAIL(trail = *pos)) { ++pos; }
72 return trail;
96 UChar trail; local
97 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) {
99 return U16_GET_SUPPLEMENTARY(c, trail);
278 UChar trail; local
279 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) {
281 return U16_GET_SUPPLEMENTARY(c, trail);
collationweights.cpp 47 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) {
49 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length));
263 uint32_t trail=getWeightTrail(weight, length); local
264 if(trail<maxBytes[length]) {
268 lower[length].count=maxBytes[length]-trail;
282 uint32_t trail=getWeightTrail(weight, length); local
283 if(trail>minBytes[length]) {
287 upper[length].count=trail-minBytes[length];
  /external/chromium_org/third_party/icu/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) */
297 trail=(uint8_t)(*s++ - 0x80);
298 if(trail>0x3f)
    [all...]
utf_impl.c 130 uint8_t trail; local
133 /* support NUL-terminated strings: do not read beyond the first non-trail byte */
137 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
140 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
143 trail=s[i++]-0x80;
144 c=(c<<6)|trail;
146 if(c>=0x110 || trail>0x3f) { break; }
148 trail=s[i++]-0x80;
149 c=(c<<6)|trail;
154 if(((c&0xffe0)==0x360 && strict!=-2) || trail>0x3f) { break;
    [all...]
ucnvlat1.c 273 UChar trail=*source; local
274 if(U16_IS_TRAIL(trail)) {
276 cp=U16_GET_SUPPLEMENTARY(cp, trail);
289 /* this is an unmatched trail code unit (2nd surrogate) */
363 * For Latin-1, adjust sourceLimit only for 1 trail byte because
ucnv_u16.c 56 UChar c, trail; local
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
97 target[2]=(uint8_t)(trail>>8);
98 target[3]=(uint8_t)trail;
129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
134 target[2]=(uint8_t)(trail>>8);
135 target[3]=(uint8_t)trail;
151 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
156 target[2]=(uint8_t)(trail>>8);
157 target[3]=(uint8_t)trail;
260 UChar c, trail; local
524 UChar trail; local
655 UChar c, trail; local
859 UChar c, trail; local
1123 UChar trail; local
    [all...]
ucnvhz.c 209 /* if the first byte is equal to TILDE and the trail byte
250 /* trail byte */
381 /* we can only use lead bytes 21..7D and trail bytes 21..7E */
453 /*look ahead to find the trail surrogate*/
456 UChar trail=(UChar) args->source[mySourceIndex]; local
457 if(U16_IS_TRAIL(trail)) {
459 mySourceChar=U16_GET_SUPPLEMENTARY(args->converter->fromUChar32, trail);
474 /* this is an unmatched trail code unit (2nd surrogate) */
  /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) */
297 trail=(uint8_t)(*s++ - 0x80);
298 if(trail>0x3f)
    [all...]
utf_impl.c 130 uint8_t trail; local
133 /* support NUL-terminated strings: do not read beyond the first non-trail byte */
137 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
140 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
143 trail=s[i++]-0x80;
144 c=(c<<6)|trail;
146 if(c>=0x110 || trail>0x3f) { break; }
148 trail=s[i++]-0x80;
149 c=(c<<6)|trail;
154 if(((c&0xffe0)==0x360 && strict!=-2) || trail>0x3f) { break;
    [all...]
ucnvlat1.c 273 UChar trail=*source; local
274 if(U16_IS_TRAIL(trail)) {
276 cp=U16_GET_SUPPLEMENTARY(cp, trail);
289 /* this is an unmatched trail code unit (2nd surrogate) */
363 * For Latin-1, adjust sourceLimit only for 1 trail byte because
ucnv_u16.c 56 UChar c, trail; local
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
97 target[2]=(uint8_t)(trail>>8);
98 target[3]=(uint8_t)trail;
129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
134 target[2]=(uint8_t)(trail>>8);
135 target[3]=(uint8_t)trail;
151 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
156 target[2]=(uint8_t)(trail>>8);
157 target[3]=(uint8_t)trail;
260 UChar c, trail; local
524 UChar trail; local
655 UChar c, trail; local
859 UChar c, trail; local
1123 UChar trail; local
    [all...]
ucnvhz.c 209 /* if the first byte is equal to TILDE and the trail byte
250 /* trail byte */
381 /* we can only use lead bytes 21..7D and trail bytes 21..7E */
453 /*look ahead to find the trail surrogate*/
456 UChar trail=(UChar) args->source[mySourceIndex]; local
457 if(U16_IS_TRAIL(trail)) {
459 mySourceChar=U16_GET_SUPPLEMENTARY(args->converter->fromUChar32, trail);
474 /* this is an unmatched trail code unit (2nd surrogate) */
  /external/chromium_org/third_party/icu/source/samples/uciter8/
uit_len8.c 411 UChar trail=U16_TRAIL(iter->reservedField); local
416 return trail;
  /external/icu/icu4c/source/samples/uciter8/
uit_len8.c 411 UChar trail=U16_TRAIL(iter->reservedField); local
416 return trail;
  /external/chromium_org/third_party/icu/source/test/cintltst/
sprpdata.c 211 UChar trail = U16_TRAIL(mapping[i]); local
213 mappingData[idx+i+1] != trail){
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]);
245 // get the real data from the folded lead/trail units
  /external/icu/icu4c/source/test/cintltst/
sprpdata.c 211 UChar trail = U16_TRAIL(mapping[i]); local
213 mappingData[idx+i+1] != trail){
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]);
245 // get the real data from the folded lead/trail units
  /bionic/libc/tzcode/
strftime.c 706 register int trail; local
709 trail = a % DIVISOR + b % DIVISOR;
710 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
711 trail %= DIVISOR;
712 if (trail < 0 && lead > 0) {
713 trail += DIVISOR;
715 } else if (lead < 0 && trail > 0) {
716 trail -= DIVISOR;
720 if (lead == 0 && trail < 0)
725 pt = _conv(((trail < 0) ? -trail : trail), getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim)
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/time/
wcsftime.c 533 register int trail; local
536 trail = a % DIVISOR + b % DIVISOR;
537 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
538 trail %= DIVISOR;
539 if (trail < 0 && lead > 0) {
540 trail += DIVISOR;
542 } else if (lead < 0 && trail > 0) {
543 trail -= DIVISOR;
547 if (lead == 0 && trail < 0)
552 pt = _conv(((trail < 0) ? -trail : trail), L"%02d", pt, ptlim)
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
ucol_wgt.cpp 57 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) {
59 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length));
160 uint32_t weight, trail; local
213 trail=getWeightTrail(weight, length);
214 if(trail<maxByte) {
218 lower[length].count=maxByte-trail;
226 trail=getWeightTrail(weight, length);
227 if(trail>UCOL_BYTE_FIRST_TAILORED) {
231 upper[length].count=trail-UCOL_BYTE_FIRST_TAILORED;
  /external/chromium_org/third_party/icu/source/test/intltest/
testidn.cpp 387 UChar trail = U16_TRAIL(mapping[i]); local
389 mappingData[index+i+1] != trail){
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]);
419 // get the real data from the folded lead/trail units
  /external/icu/icu4c/source/test/intltest/
testidn.cpp 387 UChar trail = U16_TRAIL(mapping[i]); local
389 mappingData[index+i+1] != trail){
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]);
419 // get the real data from the folded lead/trail units
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureTrailsDrawingPreview.java 46 private final Rect mGestureTrailBoundsRect = new Rect(); // per trail
109 final GestureTrailDrawingPoints trail = mGestureTrails.valueAt(index); local
110 needsUpdatingGestureTrail |= trail.drawGestureTrail(offscreenCanvas, paint,
112 // {@link #mGestureTrailBoundsRect} has bounding box of the trail.
161 GestureTrailDrawingPoints trail; local
163 trail = mGestureTrails.get(tracker.mPointerId);
164 if (trail == null) {
165 trail = new GestureTrailDrawingPoints();
166 mGestureTrails.put(tracker.mPointerId, trail);
169 trail.addStroke(tracker.getGestureStrokeDrawingPoints(), tracker.getDownTime())
    [all...]

Completed in 438 milliseconds

1 2 3