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

1 2 3 4 5 6 7

  /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/libweave/third_party/chromium/base/third_party/icu/
icu_utf.cc 145 uint8_t trail, illegal=0; local
148 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
153 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
157 trail=s[(i)++];
158 (c)=((c)<<6)|(trail&0x3f);
160 illegal|=(trail&0xc0)^0x80;
167 trail=s[(i)++];
168 (c)=((c)<<6)|(trail&0x3f);
169 illegal|=(trail&0xc0)^0x80;
171 trail=s[(i)++]
    [all...]
  /external/icu/android_icu4j/src/main/java/android/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;
FCDIterCollationIterator.java 71 int trail = iter.next(); local
72 if(isTrailSurrogate(trail)) {
73 return Character.toCodePoint((char)c, (char)trail);
74 } else if(trail >= 0) {
119 // hasLccc(trail)=true for all trail surrogates
188 int trail = iter.next(); local
189 if(isTrailSurrogate(trail)) {
191 } else if(trail >= 0) {
194 return (char)trail;
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
IterCollationIterator.java 59 int trail = iter.next(); local
60 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); }
61 return (char)trail;
UTF16CollationIterator.java 74 char trail; local
76 Character.isLowSurrogate(trail = seq.charAt(pos))) {
78 return Character.toCodePoint(c, trail);
112 char trail; local
113 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; }
114 return trail;
FCDIterCollationIterator.java 69 int trail = iter.next(); local
70 if(isTrailSurrogate(trail)) {
71 return Character.toCodePoint((char)c, (char)trail);
72 } else if(trail >= 0) {
117 // hasLccc(trail)=true for all trail surrogates
186 int trail = iter.next(); local
187 if(isTrailSurrogate(trail)) {
189 } else if(trail >= 0) {
192 return (char)trail;
    [all...]
  /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/impl/
CharacterIteration.java 34 // If the current position is at a surrogate pair, move to the trail surrogate
47 // If we might have a lead surrogate, we need to peak ahead to get the trail
91 char trail = ci.previous(); local
92 int retVal = trail;
93 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) {
97 ((int)trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
113 int trail = (int)ci.next(); local
115 if (UTF16.isTrailSurrogate((char)trail)) {
117 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
CharTrie.java 138 * This method does not guarantee correct results for trail surrogates.
162 * @param trail a trail surrogate
164 public final char getSurrogateValue(char lead, char trail)
166 int offset = getSurrogateOffset(lead, trail);
175 * and a trail surrogate.</p>
179 * @param trail surrogate
180 * @return trie data value associated with the trail character
182 public final char getTrailValue(int leadvalue, char trail)
191 (char)(trail & SURROGATE_MASK_))]
    [all...]
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...]
IntTrie.java 139 * This method does not guarantee correct results for trail surrogates.
163 * @param trail a trail surrogate
165 public final int getSurrogateValue(char lead, char trail)
167 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) {
171 // get fold position for the next trail surrogate
172 int offset = getSurrogateOffset(lead, trail);
174 // get the real data from the folded lead/trail units
185 * and a trail surrogate.
188 * @param trail surrogat
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CharacterIteration.java 30 // If the current position is at a surrogate pair, move to the trail surrogate
43 // If we might have a lead surrogate, we need to peak ahead to get the trail
87 char trail = ci.previous(); local
88 int retVal = trail;
89 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) {
93 ((int)trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
109 int trail = (int)ci.next(); local
111 if (UTF16.isTrailSurrogate((char)trail)) {
113 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) +
CharTrie.java 137 * This method does not guarantee correct results for trail surrogates.
161 * @param trail a trail surrogate
163 public final char getSurrogateValue(char lead, char trail)
165 int offset = getSurrogateOffset(lead, trail);
174 * and a trail surrogate.</p>
178 * @param trail surrogate
179 * @return trie data value associated with the trail character
181 public final char getTrailValue(int leadvalue, char trail)
190 (char)(trail & SURROGATE_MASK_))]
    [all...]
BMPSet.java 34 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead)
134 * sufficient length for trail unit for each surrogate pair. Handle single surrogates as surrogate code points
329 int trail = start & 0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. local
334 table[trail] |= bits;
343 while (trail < limitTrail) {
344 table[trail++] |= bits;
350 if (trail > 0) {
352 table[trail++] |= bits
    [all...]
IntTrie.java 138 * This method does not guarantee correct results for trail surrogates.
162 * @param trail a trail surrogate
164 public final int getSurrogateValue(char lead, char trail)
166 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) {
170 // get fold position for the next trail surrogate
171 int offset = getSurrogateOffset(lead, trail);
173 // get the real data from the folded lead/trail units
184 * and a trail surrogate.
187 * @param trail surrogat
    [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/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
652 UChar c, trail; local
856 UChar c, trail; local
1120 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...]
  /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...]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/
rgn-at4.t 12 .trail : { LONG(5) } >ram
  /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...]
  /bionic/libc/tzcode/
strftime.c 669 register int trail; local
672 trail = a % DIVISOR + b % DIVISOR;
673 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
674 trail %= DIVISOR;
675 if (trail < 0 && lead > 0) {
676 trail += DIVISOR;
678 } else if (lead < 0 && trail > 0) {
679 trail -= DIVISOR;
683 if (lead == 0 && trail < 0)
688 pt = _conv(((trail < 0) ? -trail : trail), getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim)
    [all...]

Completed in 1061 milliseconds

1 2 3 4 5 6 7