Home
last modified time | relevance | path

Searched refs:charIndex (Results 1 – 23 of 23) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_Unicode.java63 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match()
64 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match()
65 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
97 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match()
98 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match()
99 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
DBidiLine.java237 static byte getLevelAt(Bidi bidi, int charIndex) in getLevelAt() argument
240 if (bidi.direction != Bidi.MIXED || charIndex >= bidi.trailingWSStart) { in getLevelAt()
241 return bidi.GetParaLevelAt(charIndex); in getLevelAt()
243 return bidi.levels[charIndex]; in getLevelAt()
DBidi.java4615 public BidiRun getParagraph(int charIndex) in getParagraph() argument
4619 verifyRange(charIndex, 0, bidi.length); in getParagraph()
4621 for (paraIndex = 0; charIndex >= bidi.paras_limit[paraIndex]; paraIndex++) { in getParagraph()
4643 public int getParagraphIndex(int charIndex) in getParagraphIndex() argument
4647 verifyRange(charIndex, 0, bidi.length); in getParagraphIndex()
4649 for (paraIndex = 0; charIndex >= bidi.paras_limit[paraIndex]; paraIndex++) { in getParagraphIndex()
4772 public byte getLevelAt(int charIndex) in getLevelAt() argument
4775 verifyRange(charIndex, 0, length); in getLevelAt()
4776 return BidiLine.getLevelAt(this, charIndex); in getLevelAt()
/external/icu/icu4c/source/i18n/
Dcsrucode.cpp60 for (int32_t charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match() local
61 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match()
62 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
95 for (int32_t charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match() local
96 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match()
97 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
/external/proguard/src/proguard/classfile/constant/
DUtf8Constant.java254 int charIndex = 0; in getStringRepresentation() local
267 chars[charIndex++] = in getStringRepresentation()
279 …fter initial byte [0x"+Integer.toHexString(b)+"] in string ["+new String(chars, 0, charIndex)+"]"); in getStringRepresentation()
283 return new String(chars, 0, charIndex); in getStringRepresentation()
/external/icu/icu4c/source/test/letest/
Dcletest.c639 le_int32 charIndex = 0, lineNumber = 1; in GlyphToCharTest() local
681 if (ix != charIndex) { in GlyphToCharTest()
682 if (ix != charIndex - 1) { in GlyphToCharTest()
684 i, lineNumber, charIndex, ix); in GlyphToCharTest()
688 charIndex += 1; in GlyphToCharTest()
713 if (minIndex != charIndex) { in GlyphToCharTest()
715 run, lineNumber, charIndex, minIndex); in GlyphToCharTest()
719 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp875 le_int32 charIndex = 0, lineNumber = 1; in GlyphToCharTest() local
911 if (ix != charIndex) { in GlyphToCharTest()
912 if (ix != charIndex - 1) { in GlyphToCharTest()
914 i, lineNumber, charIndex, ix); in GlyphToCharTest()
918 charIndex += 1; in GlyphToCharTest()
943 if (minIndex != charIndex) { in GlyphToCharTest()
945 run, lineNumber, charIndex, minIndex); in GlyphToCharTest()
949 charIndex = maxIndex + 1; in GlyphToCharTest()
/external/icu/icu4c/source/layout/
DMPreFixups.cpp89 le_int32 charIndex = glyphStorage.getCharIndex(mpreLimit + i, success); in apply() local
92 glyphStorage.setCharIndex(mpreIndex + i, charIndex, success); in apply()
DIndicReordering.cpp206 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask charFeatures) in writeChar() argument
212 fGlyphStorage.setCharIndex(fOutIndex, charIndex, success); in writeChar()
218 void setFeatures ( le_uint32 charIndex, FeatureMask charFeatures) in setFeatures() argument
222 fGlyphStorage.setAuxData( charIndex, charFeatures, success ); in setFeatures()
226 FeatureMask getFeatures ( le_uint32 charIndex ) in getFeatures() argument
229 return fGlyphStorage.getAuxData(charIndex,success); in getFeatures()
292 void insertCharacter( LEUnicode ch, le_int32 toPosition, le_int32 charIndex, le_uint32 auxData ) { in insertCharacter() argument
304 fGlyphStorage.setCharIndex(toPosition,charIndex,success); in insertCharacter()
DLEGlyphStorage.h403 void setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success);
DKhmerReordering.cpp153 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask charFeatures) in writeChar() argument
159 fGlyphStorage.setCharIndex(fOutIndex, charIndex, success); in writeChar()
DTibetanReordering.cpp155 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask featureMask) in writeChar() argument
161 fGlyphStorage.setCharIndex(fOutIndex, charIndex, success); in writeChar()
DLEGlyphStorage.cpp311 void LEGlyphStorage::setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success) in setCharIndex() argument
327 fCharIndices[glyphIndex] = charIndex; in setCharIndex()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp982 le_int32 ParagraphLayout::previousBreak(le_int32 charIndex) in previousBreak() argument
986 while (charIndex < fCharCount && in previousBreak()
987 (u_isWhitespace(fChars[charIndex]) || in previousBreak()
988 u_iscntrl(fChars[charIndex]))) { in previousBreak()
989 charIndex += 1; in previousBreak()
1006 return fBreakIterator->preceding(charIndex + 1); in previousBreak()
1135 le_int32 ParagraphLayout::getCharRun(le_int32 charIndex) in getCharRun() argument
1137 if (charIndex < 0 || charIndex > fCharCount) { in getCharRun()
1147 while (charIndex >= fStyleRunLimits[run]) { in getCharRun()
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
DBaseEncoding.java548 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar)) in encodingStream() local
550 out.write(alphabet.encode(charIndex)); in encodingStream()
564 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) in encodingStream() local
566 out.write(alphabet.encode(charIndex)); in encodingStream()
/external/guava/guava/src/com/google/common/io/
DBaseEncoding.java645 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/icu/icu4c/source/common/unicode/
Dubidi.h1410 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1462 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
Duset.h818 uset_charAt(const USet* set, int32_t charIndex);
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h598 le_int32 getCharRun(le_int32 charIndex);
602 le_int32 previousBreak(le_int32 charIndex);
/external/icu/icu4c/source/common/
Dubidiln.c253 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) { in ubidi_getLevelAt() argument
255 if(!IS_VALID_PARA_OR_LINE(pBiDi) || charIndex<0 || pBiDi->length<=charIndex) { in ubidi_getLevelAt()
257 } else if(pBiDi->direction!=UBIDI_MIXED || charIndex>=pBiDi->trailingWSStart) { in ubidi_getLevelAt()
258 return GET_PARALEVEL(pBiDi, charIndex); in ubidi_getLevelAt()
260 return pBiDi->levels[charIndex]; in ubidi_getLevelAt()
Dubidi.c2944 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, in ubidi_getParagraph() argument
2954 RETURN_IF_BAD_RANGE(charIndex, 0, pBiDi->length, *pErrorCode, -1); in ubidi_getParagraph()
2956 for(paraIndex=0; charIndex>=pBiDi->paras[paraIndex].limit; paraIndex++); in ubidi_getParagraph()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DLexer.as146 …Token.createFromStream(input, state.type, state.channel, state.tokenStartCharIndex, charIndex - 1);
217 public function get charIndex():int { property in org.antlr.runtime.Lexer
228 return input.substring(state.tokenStartCharIndex, charIndex-1);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg699 var <label>Start:int = charIndex;
701 …put, TokenConstants.INVALID_TOKEN_TYPE, TokenConstants.DEFAULT_CHANNEL, <label>Start, charIndex-1);
763 var <label>Start<elementIndex>:int = charIndex;
765 …tants.INVALID_TOKEN_TYPE, TokenConstants.DEFAULT_CHANNEL, <label>Start<elementIndex>, charIndex-1);
780 var <label>Start<elementIndex>:int = charIndex;
782 …ateFromStream(input, EOF, TokenConstants.DEFAULT_CHANNEL, <label>Start<elementIndex>, charIndex-1);
1258 lexerRulePropertyRef_stop(scope,attr) ::= "(charIndex-1)"