HomeSort by relevance Sort by last modified time
    Searched refs:UTF16 (Results 26 - 50 of 293) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/text/
UCharacterIterator.java 145 if (UTF16.isLeadSurrogate((char) ch)) {
157 if (UTF16.isTrailSurrogate((char) ch2)) {
181 * Returns the UTF16 code unit at index, and increments to the next code unit (post-increment semantics). If index
184 * @return the next UTF16 code unit, or DONE if the index is at the limit of the text.
199 if (UTF16.isLeadSurrogate((char) ch1)) {
201 if (UTF16.isTrailSurrogate((char) ch2)) {
229 if (UTF16.isTrailSurrogate((char) ch1)) {
231 if (UTF16.isLeadSurrogate((char) ch2)) {
BidiWriter.java 58 c = UTF16.charAt(src, i);
59 i += UTF16.getCharCount(c);
60 UTF16.append(dest, UCharacter.getMirror(c));
85 c = UTF16.charAt(src, i);
86 i += UTF16.getCharCount(c);
88 UTF16.append(dest, UCharacter.getMirror(c));
136 * XXX: or dest = UTF16.reverse(new StringBuffer(src));
148 srcLength -= UTF16.getCharCount(UTF16.charAt(src,
176 c = UTF16.charAt(src, srcLength - 1)
    [all...]
StringReplacer.java 159 int len = UTF16.getCharCount(text.char32At(start-1));
179 int c = UTF16.charAt(output, oOutput);
185 int nextIndex = oOutput + UTF16.getCharCount(c);
187 tempExtra = UTF16.getCharCount(text.char32At(limit));
194 UTF16.append(buf, c);
241 newStart -= UTF16.getCharCount(text.char32At(newStart-1));
250 newStart += UTF16.getCharCount(text.char32At(newStart));
327 for (int i=0; i<output.length(); i+=UTF16.getCharCount(ch)) {
328 ch = UTF16.charAt(output, i);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UCharacterIterator.java 156 if (UTF16.isLeadSurrogate((char) ch)) {
168 if (UTF16.isTrailSurrogate((char) ch2)) {
194 * Returns the UTF16 code unit at index, and increments to the next code unit (post-increment semantics). If index
197 * @return the next UTF16 code unit, or DONE if the index is at the limit of the text.
214 if (UTF16.isLeadSurrogate((char) ch1)) {
216 if (UTF16.isTrailSurrogate((char) ch2)) {
246 if (UTF16.isTrailSurrogate((char) ch1)) {
248 if (UTF16.isLeadSurrogate((char) ch2)) {
BidiWriter.java 57 c = UTF16.charAt(src, i);
58 i += UTF16.getCharCount(c);
59 UTF16.append(dest, UCharacter.getMirror(c));
84 c = UTF16.charAt(src, i);
85 i += UTF16.getCharCount(c);
87 UTF16.append(dest, UCharacter.getMirror(c));
135 * XXX: or dest = UTF16.reverse(new StringBuffer(src));
147 srcLength -= UTF16.getCharCount(UTF16.charAt(src,
175 c = UTF16.charAt(src, srcLength - 1)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
PatternTokenizer.java 12 import android.icu.text.UTF16;
170 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) {
171 cp = UTF16.charAt(string, i);
185 UTF16.append(result, cp);
194 UTF16.append(result, cp);
204 UTF16.append(result, cp);
218 UTF16.append(result, cp);
268 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) {
269 cp = UTF16.charAt(pattern, i);
286 UTF16.append(buffer, cp)
    [all...]
Trie.java 17 import android.icu.text.UTF16;
240 * Index or UTF16 characters
312 return (ch >= UTF16.LEAD_SURROGATE_MIN_VALUE
313 && ch <= UTF16.LEAD_SURROGATE_MAX_VALUE)
345 } else if (ch < UTF16.LEAD_SURROGATE_MIN_VALUE) {
348 } else if (ch < UTF16.SUPPLEMENTARY_MIN_VALUE) {
354 return getSurrogateOffset(UTF16.getLeadSurrogate(ch),
ReplaceableUCharacterIterator.java 15 import android.icu.text.UTF16;
85 * Returns the current UTF16 character.
86 * @return current UTF16 character
107 if(UTF16.isLeadSurrogate((char)ch)){
116 if(UTF16.isTrailSurrogate((char)ch2)){
143 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
147 * @return next UTF16 character in text or DONE if the new currentIndex is off the
160 * Returns previous UTF16 character and decrements the iterator's currentIndex by
164 * @return next UTF16 character in text or DONE if the new currentIndex is off the
177 * single UTF16 character at currentIndex
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
PatternTokenizer.java 11 import com.ibm.icu.text.UTF16;
168 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) {
169 cp = UTF16.charAt(string, i);
183 UTF16.append(result, cp);
192 UTF16.append(result, cp);
202 UTF16.append(result, cp);
216 UTF16.append(result, cp);
266 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) {
267 cp = UTF16.charAt(pattern, i);
284 UTF16.append(buffer, cp)
    [all...]
Trie.java 16 import com.ibm.icu.text.UTF16;
239 * Index or UTF16 characters
311 return (ch >= UTF16.LEAD_SURROGATE_MIN_VALUE
312 && ch <= UTF16.LEAD_SURROGATE_MAX_VALUE)
344 } else if (ch < UTF16.LEAD_SURROGATE_MIN_VALUE) {
347 } else if (ch < UTF16.SUPPLEMENTARY_MIN_VALUE) {
353 return getSurrogateOffset(UTF16.getLeadSurrogate(ch),
ReplaceableUCharacterIterator.java 14 import com.ibm.icu.text.UTF16;
83 * Returns the current UTF16 character.
84 * @return current UTF16 character
105 if(UTF16.isLeadSurrogate((char)ch)){
114 if(UTF16.isTrailSurrogate((char)ch2)){
141 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
145 * @return next UTF16 character in text or DONE if the new currentIndex is off the
158 * Returns previous UTF16 character and decrements the iterator's currentIndex by
162 * @return next UTF16 character in text or DONE if the new currentIndex is off the
175 * single UTF16 character at currentIndex
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
WriteIndicCharts.java 18 import com.ibm.icu.text.UTF16;
86 arr[0]=UTF16.valueOf(i+ 0xE000);
87 table.put(UTF16.valueOf(i),arr);
105 String[] temp = (String[])table.get(UTF16.valueOf(i));
108 if(UCharacter.getExtendedName(UTF16.charAt(temp[k],0)).indexOf("unassigned")<0 ||
146 nameBuf.append(UCharacter.getExtendedName(UTF16.charAt(str,f)));
151 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){
159 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){
165 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){
210 arr[0]=UTF16.valueOf((i&0xFF) + 0xE000)
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
TestUtility.java 12 import android.icu.text.UTF16;
58 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) {
59 cp = UTF16.charAt(source,i);
63 UTF16.append(results, cp);
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
TestUtility.java 11 import com.ibm.icu.text.UTF16;
57 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) {
58 cp = UTF16.charAt(source,i);
62 UTF16.append(results, cp);
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3convertutf.c 54 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) {
57 UTF16* target = *targetStart;
75 *target++ = (UTF16)ch; /* normal case */
90 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
91 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);
102 const UTF16** sourceStart, const UTF16* sourceEnd,
105 const UTF16* source = *sourceStart;
109 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. *
    [all...]
  /external/google-breakpad/src/common/
convert_UTF.c 83 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) {
86 UTF16* target = *targetStart;
104 *target++ = (UTF16)ch; /* normal case */
119 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
120 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);
130 ConversionResult ConvertUTF16toUTF32 (const UTF16** sourceStart, const UTF16* sourceEnd,
133 const UTF16* source = *sourceStart;
137 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. *
    [all...]
  /external/icu/icu4c/source/common/
unisetspan.h 42 UTF16 = 8,
49 FWD_UTF16_CONTAINED = FWD | UTF16 | CONTAINED,
50 FWD_UTF16_NOT_CONTAINED = FWD | UTF16 | NOT_CONTAINED,
53 BACK_UTF16_CONTAINED = BACK | UTF16 | CONTAINED,
54 BACK_UTF16_NOT_CONTAINED= BACK | UTF16 | NOT_CONTAINED,
  /external/llvm/lib/Support/
ConvertUTF.c 120 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) {
123 UTF16* target = *targetStart;
141 *target++ = (UTF16)ch; /* normal case */
156 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
157 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);
168 const UTF16** sourceStart, const UTF16* sourceEnd,
171 const UTF16* source = *sourceStart;
175 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. *
    [all...]
  /external/swiftshader/third_party/llvm-subzero/lib/Support/
ConvertUTF.cpp 120 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) {
123 UTF16* target = *targetStart;
141 *target++ = (UTF16)ch; /* normal case */
156 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
157 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);
168 const UTF16** sourceStart, const UTF16* sourceEnd,
171 const UTF16* source = *sourceStart;
175 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. *
    [all...]
  /external/unicode/
ConvertUTF.c 63 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) {
66 UTF16* target = *targetStart;
84 *target++ = (UTF16)ch; /* normal case */
99 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
100 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);
111 const UTF16** sourceStart, const UTF16* sourceEnd,
114 const UTF16* source = *sourceStart;
118 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. *
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
CanonicalCharacterData.java 18 import com.ibm.icu.text.UTF16;
27 // TODO: might want to save arrays of Char32's rather than UTF16 strings...
39 if (UTF16.countCodePoint(equiv) > 1) {
97 int codePoints = UTF16.countCodePoint(equiv);
104 System.out.print(Utility.hex(UTF16.charAt(equiv, c), 6));
184 int result = UTF16.countCodePoint(a) - UTF16.countCodePoint(b);
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
StringReplacer.java 158 int len = UTF16.getCharCount(text.char32At(start-1));
178 int c = UTF16.charAt(output, oOutput);
184 int nextIndex = oOutput + UTF16.getCharCount(c);
186 tempExtra = UTF16.getCharCount(text.char32At(limit));
193 UTF16.append(buf, c);
240 newStart -= UTF16.getCharCount(text.char32At(newStart-1));
249 newStart += UTF16.getCharCount(text.char32At(newStart));
326 for (int i=0; i<output.length(); i+=UTF16.getCharCount(ch)) {
327 ch = UTF16.charAt(output, i);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
StringTokenizer.java 16 import android.icu.text.UTF16;
315 int c = UTF16.charAt(m_source_, m_nextOffset_);
323 tokenlimit = m_nextOffset_ + UTF16.getCharCount(c);
487 int c = UTF16.charAt(m_source_, m_nextOffset_);
603 c = UTF16.charAt(m_source_, result);
611 c = UTF16.charAt(m_source_, result);
639 c = UTF16.charAt(m_source_, result);
647 c = UTF16.charAt(m_source_, result);
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UConverterSharedData.java 383 static final int UTF16 = BOCU1 + 1; // 29
384 static final int UTF32 = UTF16 + 1; // 30
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
StringTokenizer.java 15 import com.ibm.icu.text.UTF16;
321 int c = UTF16.charAt(m_source_, m_nextOffset_);
329 tokenlimit = m_nextOffset_ + UTF16.getCharCount(c);
498 int c = UTF16.charAt(m_source_, m_nextOffset_);
614 c = UTF16.charAt(m_source_, result);
622 c = UTF16.charAt(m_source_, result);
650 c = UTF16.charAt(m_source_, result);
658 c = UTF16.charAt(m_source_, result);

Completed in 998 milliseconds

12 3 4 5 6 7 8 91011>>