/frameworks/base/core/java/android/text/ |
BidiFormatter.java | 545 private int charIndex; 580 charIndex = 0; 584 while (charIndex < length && firstNonEmptyEmbeddingLevel == 0) { 640 while (charIndex > 0) { 678 charIndex = length; 681 while (charIndex > 0) { [all...] |
/frameworks/support/v4/java/android/support/v4/text/ |
BidiFormatter.java | 535 private int charIndex; 570 charIndex = 0; 574 while (charIndex < length && firstNonEmptyEmbeddingLevel == 0) { 630 while (charIndex > 0) { 668 charIndex = length; 671 while (charIndex > 0) { [all...] |
/external/icu/icu4c/source/i18n/ |
csrucode.cpp | 60 for (int32_t charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { 61 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; 62 if (charIndex == 0 && codeUnit == 0xFEFF) { 95 for (int32_t charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { 96 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CharsetRecog_Unicode.java | 63 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { 64 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); 65 if (charIndex == 0 && codeUnit == 0xFEFF) { 97 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { 98 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]) [all...] |
BidiLine.java | 237 static byte getLevelAt(Bidi bidi, int charIndex) 240 if (bidi.direction != Bidi.MIXED || charIndex >= bidi.trailingWSStart) { 241 return bidi.GetParaLevelAt(charIndex); 243 return bidi.levels[charIndex]; [all...] |
Bidi.java | [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
XmlEditor.java | 132 return Integer.compare(start2.charIndex, start1.charIndex); 141 String newLine = line.substring(0, endTagPosition.charIndex) + " " + tag + 142 line.substring(endTagPosition.charIndex); 210 if (endTag.charIndex <= 0) { 213 endTag.charIndex -= 2; 218 if (position.charIndex <= 0) { 221 position.charIndex--; 240 String newStartLine = startLine.substring(0, start.charIndex) + text; 247 String newEndLine = replaceWithSpaces(endLine, 0, end.charIndex - 1) [all...] |
/external/proguard/src/proguard/classfile/constant/ |
Utf8Constant.java | 254 int charIndex = 0; 267 chars[charIndex++] = 279 throw new UnsupportedEncodingException("Missing UTF-8 bytes after initial byte [0x"+Integer.toHexString(b)+"] in string ["+new String(chars, 0, charIndex)+"]"); 283 return new String(chars, 0, charIndex);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | 342 int charIndex = 0; 346 int nodeIndex = findIndexOfChar(mRootNodeArray, word[charIndex]); 349 differentCharIndex = compareCharArrays(currentPtNode.mChars, word, charIndex); 353 charIndex += currentPtNode.mChars.length; 354 if (charIndex >= word.length) break; 356 nodeIndex = findIndexOfChar(currentNodeArray, word[charIndex]); 361 final int insertionIndex = findInsertionIndex(currentNodeArray, word[charIndex]); 362 final PtNode newPtNode = new PtNode(Arrays.copyOfRange(word, charIndex, word.length), 370 if (charIndex + differentCharIndex >= word.length) { 380 Arrays.copyOfRange(word, charIndex + differentCharIndex, word.length) [all...] |
/external/icu/icu4c/source/layout/ |
MPreFixups.cpp | 89 le_int32 charIndex = glyphStorage.getCharIndex(mpreLimit + i, success); 92 glyphStorage.setCharIndex(mpreIndex + i, charIndex, success);
|
LEGlyphStorage.h | 398 * @param charIndex the new char index 403 void setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success);
|
IndicReordering.cpp | 206 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask charFeatures) 212 fGlyphStorage.setCharIndex(fOutIndex, charIndex, success); 218 void setFeatures ( le_uint32 charIndex, FeatureMask charFeatures) 222 fGlyphStorage.setAuxData( charIndex, charFeatures, success ); 226 FeatureMask getFeatures ( le_uint32 charIndex ) 229 return fGlyphStorage.getAuxData(charIndex,success); 292 void insertCharacter( LEUnicode ch, le_int32 toPosition, le_int32 charIndex, le_uint32 auxData ) { 304 fGlyphStorage.setCharIndex(toPosition,charIndex,success); [all...] |
KhmerReordering.cpp | 153 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask charFeatures) 159 fGlyphStorage.setCharIndex(fOutIndex, charIndex, success);
|
LEGlyphStorage.cpp | 311 void LEGlyphStorage::setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success) 327 fCharIndices[glyphIndex] = charIndex;
|
TibetanReordering.cpp | 155 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask featureMask) 161 fGlyphStorage.setCharIndex(fOutIndex, charIndex, success);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
Lexer.as | 146 var t:Token = CommonToken.createFromStream(input, state.type, state.channel, state.tokenStartCharIndex, charIndex - 1); 217 public function get charIndex():int { 228 return input.substring(state.tokenStartCharIndex, charIndex-1);
|
/external/icu/icu4c/source/layoutex/ |
ParagraphLayout.cpp | 982 le_int32 ParagraphLayout::previousBreak(le_int32 charIndex) 986 while (charIndex < fCharCount && 987 (u_isWhitespace(fChars[charIndex]) || 988 u_iscntrl(fChars[charIndex]))) { 989 charIndex += 1; 1006 return fBreakIterator->preceding(charIndex + 1); [all...] |
/external/icu/icu4c/source/common/unicode/ |
ubidi.h | [all...] |
/external/icu/icu4c/source/layoutex/layout/ |
ParagraphLayout.h | 598 le_int32 getCharRun(le_int32 charIndex); 602 le_int32 previousBreak(le_int32 charIndex);
|
/external/icu/icu4c/source/test/letest/ |
cletest.c | 639 le_int32 charIndex = 0, lineNumber = 1; 681 if (ix != charIndex) { 682 if (ix != charIndex - 1) { 684 i, lineNumber, charIndex, ix); 688 charIndex += 1; 697 * is equal to charIndex and then advance charIndex to the maximum. 713 if (minIndex != charIndex) { 715 run, lineNumber, charIndex, minIndex); 719 charIndex = maxIndex + 1 [all...] |
letest.cpp | [all...] |
/external/guava/guava/src/com/google/common/io/ |
BaseEncoding.java | 645 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar)) 647 out.write(alphabet.encode(charIndex)); 661 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) 663 out.write(alphabet.encode(charIndex));
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
BaseEncoding.java | 548 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar)) 550 out.write(alphabet.encode(charIndex)); 564 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) 566 out.write(alphabet.encode(charIndex));
|
/external/icu/icu4c/source/common/ |
ubidiln.c | 253 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) { 255 if(!IS_VALID_PARA_OR_LINE(pBiDi) || charIndex<0 || pBiDi->length<=charIndex) { 257 } else if(pBiDi->direction!=UBIDI_MIXED || charIndex>=pBiDi->trailingWSStart) { 258 return GET_PARALEVEL(pBiDi, charIndex); 260 return pBiDi->levels[charIndex]; [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ActionScript.stg | 699 var <label>Start:int = charIndex; 701 <label> = CommonToken.createFromStream(input, TokenConstants.INVALID_TOKEN_TYPE, TokenConstants.DEFAULT_CHANNEL, <label>Start, charIndex-1); 763 var <label>Start<elementIndex>:int = charIndex; 765 <label> = CommonToken.createFromStream(input, TokenConstants.INVALID_TOKEN_TYPE, TokenConstants.DEFAULT_CHANNEL, <label>Start<elementIndex>, charIndex-1); 780 var <label>Start<elementIndex>:int = charIndex; 782 var <label>:<labelType> = CommonToken.createFromStream(input, EOF, TokenConstants.DEFAULT_CHANNEL, <label>Start<elementIndex>, charIndex-1); [all...] |