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

1 2 3 4 5 6

  /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...]
  /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/third_party/icu/source/common/
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...]
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...]
bmpset.cpp 71 int32_t trail=start&0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits.
76 table[trail]|=bits;
85 while(trail<limitTrail) {
86 table[trail++]|=bits;
92 if(trail>0) {
94 table[trail++]|=bits;
95 } while(trail<64);
103 for(trail=0; trail<64; ++trail)
    [all...]
  /external/icu/icu4c/source/common/
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...]
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...]
bmpset.cpp 71 int32_t trail=start&0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits.
76 table[trail]|=bits;
85 while(trail<limitTrail) {
86 table[trail++]|=bits;
92 if(trail>0) {
94 table[trail++]|=bits;
95 } while(trail<64);
103 for(trail=0; trail<64; ++trail)
    [all...]
  /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...]
  /external/icu/icu4c/source/layout/
HangulLayoutEngine.cpp 111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable)
115 le_int32 tIndex = trail - TJMO_FIRST;
132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail)
142 trail = TJMO_FIRST + (sIndex % TJMO_COUNT);
144 if (trail == TJMO_FIRST) {
151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail)
155 trail = TJMO_FIRST;
168 trail = ch;
172 le_int32 c = decompose(ch, lead, vowel, trail);
182 trail = ch
250 LEUnicode trail = 0; local
310 LEUnicode trail = outLength == 3? outChars[outStart + 2] : TJMO_FIRST; local
    [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];
  /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...]
  /frameworks/base/core/java/android/text/format/
TimeFormatter.java 419 int trail; local
422 trail = value % DIVISOR;
423 lead = value / DIVISOR + trail / DIVISOR;
424 trail %= DIVISOR;
425 if (trail < 0 && lead > 0) {
426 trail += DIVISOR;
428 } else if (lead < 0 && trail > 0) {
429 trail -= DIVISOR;
433 if (lead == 0 && trail < 0) {
440 int n = ((trail < 0) ? -trail : trail)
    [all...]
  /external/chromium_org/v8/src/
unicode.h 82 static inline bool IsSurrogatePair(int lead, int trail) {
83 return IsLeadSurrogate(lead) && IsTrailSurrogate(trail);
94 static inline int CombineSurrogatePair(uchar lead, uchar trail) {
95 return 0x10000 + ((lead & 0x3ff) << 10) + (trail & 0x3ff);
101 // trail produces 1 byte net, because the encoding of the pair is
  /libcore/luni/src/main/java/java/util/concurrent/
LinkedBlockingQueue.java 489 * Unlinks interior Node p with predecessor trail.
491 void unlink(Node<E> p, Node<E> trail) {
496 trail.next = p.next;
498 last = trail;
518 for (Node<E> trail = head, p = trail.next;
520 trail = p, p = p.next) {
522 unlink(p, trail);
816 for (Node<E> trail = head, p = trail.next
    [all...]
  /external/chromium_org/tools/cr/cr/base/
host.py 14 # Controls what verbosity level turns on command trail logging
17 def PrintTrail(trail):
19 for key, value in trail:
78 trail = cr.context.trail
85 PrintTrail(trail)
99 # Don't log the trail if we already have
101 PrintTrail(trail)
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
color.c 171 const char *fmt, va_list args, const char *trail)
190 if (trail)
191 r += scnprintf(bf + r, size - r, "%s", trail);
196 va_list args, const char *trail)
215 if (trail)
216 r += fprintf(fp, "%s", trail);
  /external/chromium_org/third_party/icu/source/tools/tzcode/
zdump.c 829 register int trail; local
853 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
855 trail / DIVISOR;
856 trail %= DIVISOR;
857 if (trail < 0 && lead > 0) {
858 trail += DIVISOR;
860 } else if (lead < 0 && trail > 0) {
861 trail -= DIVISOR;
865 (void) printf("%d", trail);
866 else (void) printf("%d%d", lead, ((trail < 0) ? -trail : trail))
932 register int trail; local
    [all...]
  /external/icu/icu4c/source/tools/tzcode/
zdump.c 829 register int trail; local
853 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
855 trail / DIVISOR;
856 trail %= DIVISOR;
857 if (trail < 0 && lead > 0) {
858 trail += DIVISOR;
860 } else if (lead < 0 && trail > 0) {
861 trail -= DIVISOR;
865 (void) printf("%d", trail);
866 else (void) printf("%d%d", lead, ((trail < 0) ? -trail : trail))
932 register int trail; local
    [all...]
  /external/chromium_org/tools/cr/cr/
config.py 46 lookups that happen and add them to a trail. When done, it removes the hook
53 self.trail = []
61 self.config.trail = self.trail
65 self.trail.append((key, value))
131 self.trail = []
  /external/chromium_org/third_party/icu/source/tools/gennorm2/
n2builder.cpp 94 CompositionPair(UChar32 t, UChar32 c) : trail(t), composite(c) {}
95 UChar32 trail, composite; member in struct:CompositionPair
129 UVector32 *compositions; // (trail, composite) pairs
366 UChar32 trail=m.char32At(m.length()-1); local
376 createNorm(trail)->combinesBack=TRUE;
377 // Insert (trail, composite) pair into compositions list for the lead character.
386 // Insertion sort, and check for duplicate trail characters.
390 if(trail==pairs[i].trail) {
394 (long)start, (long)lead, (long)trail);
    [all...]
  /external/icu/icu4c/source/tools/gennorm2/
n2builder.cpp 94 CompositionPair(UChar32 t, UChar32 c) : trail(t), composite(c) {}
95 UChar32 trail, composite; member in struct:CompositionPair
129 UVector32 *compositions; // (trail, composite) pairs
366 UChar32 trail=m.char32At(m.length()-1); local
376 createNorm(trail)->combinesBack=TRUE;
377 // Insert (trail, composite) pair into compositions list for the lead character.
386 // Insertion sort, and check for duplicate trail characters.
390 if(trail==pairs[i].trail) {
394 (long)start, (long)lead, (long)trail);
    [all...]

Completed in 1139 milliseconds

1 2 3 4 5 6