Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_Unicode.java69 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match()
70 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match()
71 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
105 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match()
106 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match()
107 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
DBidi.java4644 public BidiRun getParagraph(int charIndex) in getParagraph() argument
4648 verifyRange(charIndex, 0, bidi.length); in getParagraph()
4650 for (paraIndex = 0; charIndex >= bidi.paras_limit[paraIndex]; paraIndex++) { in getParagraph()
4672 public int getParagraphIndex(int charIndex) in getParagraphIndex() argument
4676 verifyRange(charIndex, 0, bidi.length); in getParagraphIndex()
4678 for (paraIndex = 0; charIndex >= bidi.paras_limit[paraIndex]; paraIndex++) { in getParagraphIndex()
4801 public byte getLevelAt(int charIndex) in getLevelAt() argument
4804 verifyRange(charIndex, 0, length); in getLevelAt()
4805 return BidiLine.getLevelAt(this, charIndex); in getLevelAt()
DBidiLine.java239 static byte getLevelAt(Bidi bidi, int charIndex) in getLevelAt() argument
242 if (bidi.direction != Bidi.MIXED || charIndex >= bidi.trailingWSStart) { in getLevelAt()
243 return bidi.GetParaLevelAt(charIndex); in getLevelAt()
245 return bidi.levels[charIndex]; in getLevelAt()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_Unicode.java70 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match()
71 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match()
72 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
106 for (int charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match()
107 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match()
108 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
DBidi.java4593 public BidiRun getParagraph(int charIndex) in getParagraph() argument
4597 verifyRange(charIndex, 0, bidi.length); in getParagraph()
4599 for (paraIndex = 0; charIndex >= bidi.paras_limit[paraIndex]; paraIndex++) { in getParagraph()
4620 public int getParagraphIndex(int charIndex) in getParagraphIndex() argument
4624 verifyRange(charIndex, 0, bidi.length); in getParagraphIndex()
4626 for (paraIndex = 0; charIndex >= bidi.paras_limit[paraIndex]; paraIndex++) { in getParagraphIndex()
4744 public byte getLevelAt(int charIndex) in getLevelAt() argument
4747 verifyRange(charIndex, 0, length); in getLevelAt()
4748 return BidiLine.getLevelAt(this, charIndex); in getLevelAt()
DBidiLine.java240 static byte getLevelAt(Bidi bidi, int charIndex) in getLevelAt() argument
243 if (bidi.direction != Bidi.MIXED || charIndex >= bidi.trailingWSStart) { in getLevelAt()
244 return bidi.GetParaLevelAt(charIndex); in getLevelAt()
246 return bidi.levels[charIndex]; in getLevelAt()
/external/icu/icu4c/source/i18n/
Dcsrucode.cpp62 for (int32_t charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match() local
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match()
64 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
97 for (int32_t charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match() local
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match()
99 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.c641 le_int32 charIndex = 0, lineNumber = 1; in GlyphToCharTest() local
683 if (ix != charIndex) { in GlyphToCharTest()
684 if (ix != charIndex - 1) { in GlyphToCharTest()
686 i, lineNumber, charIndex, ix); in GlyphToCharTest()
690 charIndex += 1; in GlyphToCharTest()
715 if (minIndex != charIndex) { in GlyphToCharTest()
717 run, lineNumber, charIndex, minIndex); in GlyphToCharTest()
721 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp877 le_int32 charIndex = 0, lineNumber = 1; in GlyphToCharTest() local
913 if (ix != charIndex) { in GlyphToCharTest()
914 if (ix != charIndex - 1) { in GlyphToCharTest()
916 i, lineNumber, charIndex, ix); in GlyphToCharTest()
920 charIndex += 1; in GlyphToCharTest()
945 if (minIndex != charIndex) { in GlyphToCharTest()
947 run, lineNumber, charIndex, minIndex); in GlyphToCharTest()
951 charIndex = maxIndex + 1; in GlyphToCharTest()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp984 le_int32 ParagraphLayout::previousBreak(le_int32 charIndex) in previousBreak() argument
988 while (charIndex < fCharCount && in previousBreak()
989 (u_isWhitespace(fChars[charIndex]) || in previousBreak()
990 u_iscntrl(fChars[charIndex]))) { in previousBreak()
991 charIndex += 1; in previousBreak()
1008 return fBreakIterator->preceding(charIndex + 1); in previousBreak()
1137 le_int32 ParagraphLayout::getCharRun(le_int32 charIndex) in getCharRun() argument
1139 if (charIndex < 0 || charIndex > fCharCount) { in getCharRun()
1149 while (charIndex >= fStyleRunLimits[run]) { in getCharRun()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DBidi.java1732 public byte getLevelAt(int charIndex) in getLevelAt() argument
1734 return (byte)bidi.getLevelAt(charIndex); in getLevelAt()
/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/conscrypt/openjdk/src/test/java/org/conscrypt/
DSSLUtilsTest.java217 int charIndex = i % VALID_CHARACTERS.length; in newValidProtocol() local
218 chars[i] = VALID_CHARACTERS[charIndex]; in newValidProtocol()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DSSLUtilsTest.java221 int charIndex = i % VALID_CHARACTERS.length; in newValidProtocol() local
222 chars[i] = VALID_CHARACTERS[charIndex]; in newValidProtocol()
/external/guava/guava/src/com/google/common/io/
DBaseEncoding.java605 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar))
607 out.write(alphabet.encode(charIndex));
621 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength))
623 out.write(alphabet.encode(charIndex));
/external/icu/libandroidicu/include/unicode/
Dubidi.h1425 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1477 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
Duset.h826 uset_charAt(const USet* set, int32_t charIndex);
/external/icu/icu4c/source/common/unicode/
Dubidi.h1425 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1477 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
Duset.h826 uset_charAt(const USet* set, int32_t charIndex);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattServerFacade.java470 @RpcParameter(name = "charIndex") Integer charIndex) in gattServerGetCharacteristicUuid()
472 BluetoothGattCharacteristic gattChar = mCharacteristicList.get(charIndex); in gattServerGetCharacteristicUuid()
474 throw new Exception("Invalid index input: " + charIndex); in gattServerGetCharacteristicUuid()
488 @RpcParameter(name = "charIndex") Integer charIndex) in gattServerGetCharacteristicInstanceId()
490 BluetoothGattCharacteristic gattChar = mCharacteristicList.get(charIndex); in gattServerGetCharacteristicInstanceId()
492 throw new Exception("Invalid index input: " + charIndex); in gattServerGetCharacteristicInstanceId()
/external/icu/icu4c/source/common/
Dubidiln.cpp251 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) { in ubidi_getLevelAt() argument
253 if(!IS_VALID_PARA_OR_LINE(pBiDi) || charIndex<0 || pBiDi->length<=charIndex) { in ubidi_getLevelAt()
255 } else if(pBiDi->direction!=UBIDI_MIXED || charIndex>=pBiDi->trailingWSStart) { in ubidi_getLevelAt()
256 return GET_PARALEVEL(pBiDi, charIndex); in ubidi_getLevelAt()
258 return pBiDi->levels[charIndex]; in ubidi_getLevelAt()
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h598 le_int32 getCharRun(le_int32 charIndex);
602 le_int32 previousBreak(le_int32 charIndex);
/external/antlr/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/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg706 var <label>Start:int = charIndex;
710 …put, TokenConstants.INVALID_TOKEN_TYPE, TokenConstants.DEFAULT_CHANNEL, <label>Start, charIndex-1);
774 var <label>Start<elementIndex>:int = charIndex;
778 …tants.INVALID_TOKEN_TYPE, TokenConstants.DEFAULT_CHANNEL, <label>Start<elementIndex>, charIndex-1);
795 var <label>Start<elementIndex>:int = charIndex;
799 …ateFromStream(input, EOF, TokenConstants.DEFAULT_CHANNEL, <label>Start<elementIndex>, charIndex-1);
1286 lexerRulePropertyRef_stop(scope,attr) ::= "(charIndex-1)"

12