Home
last modified time | relevance | path

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

12

/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()
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/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()
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/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/angle/third_party/vulkan_memory_allocator/src/VmaReplay/
DCommon.cpp83 size_t charIndex = 0; in Set() local
84 while(charIndex < strLen && rangeIndex < maxCount) in Set()
86 m_Ranges[rangeIndex * 2] = charIndex; in Set()
87 while(charIndex < strLen && (rangeIndex + 1 == maxCount || m_Line.beg[charIndex] != ',')) in Set()
88 ++charIndex; in Set()
89 m_Ranges[rangeIndex * 2 + 1] = charIndex; in Set()
91 ++charIndex; // Past ',' in Set()
/external/angle/src/libANGLE/
Dgen_overlay_fonts.py193 for charIndex in range(len(chars)):
194 char = chars[charIndex]
195 base_x = (charIndex % output_cols) * glyph_width
196 base_y = (charIndex // output_cols) * glyph_height
/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/skia/modules/svg/src/
DSkSVGText.cpp141 SkSVGTextContext::PosAttrs SkSVGTextContext::ScopedPosResolver::resolve(size_t charIndex) const { in resolve()
144 if (charIndex < fLastPosIndex) { in resolve()
145 SkASSERT(charIndex >= fCharIndexOffset); in resolve()
146 const auto localCharIndex = charIndex - fCharIndexOffset; in resolve()
154 attrs = fParent->resolve(charIndex); in resolve()
199 fLastPosIndex = charIndex; in resolve()
/external/icu/icu4c/source/common/unicode/
Dubidi.h1428 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1480 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
/external/icu/libicu/cts_headers/unicode/
Dubidi.h1428 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1480 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
/external/icu/libandroidicu/include/unicode/
Dubidi.h1428 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1480 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DSSLUtilsTest.java244 int charIndex = i % VALID_CHARACTERS.length; in newValidProtocol() local
245 chars[i] = VALID_CHARACTERS[charIndex]; in newValidProtocol()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DSSLUtilsTest.java240 int charIndex = i % VALID_CHARACTERS.length; in newValidProtocol() local
241 chars[i] = VALID_CHARACTERS[charIndex]; in newValidProtocol()
/external/guava/guava/src/com/google/common/io/
DBaseEncoding.java605 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar)) & alphabet.mask;
606 out.write(alphabet.encode(charIndex));
620 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) & alphabet.mask;
621 out.write(alphabet.encode(charIndex));
657 int charIndex = (int) (bitBuffer >>> (bitOffset - bitsProcessed)) & alphabet.mask;
658 target.append(alphabet.encode(charIndex));
/external/guava/android/guava/src/com/google/common/io/
DBaseEncoding.java605 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar)) & alphabet.mask;
606 out.write(alphabet.encode(charIndex));
620 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) & alphabet.mask;
621 out.write(alphabet.encode(charIndex));
657 int charIndex = (int) (bitBuffer >>> (bitOffset - bitsProcessed)) & alphabet.mask;
658 target.append(alphabet.encode(charIndex));
/external/icu/libicu/ndk_headers/unicode/
Dubidi.h1466 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1522 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) __INTRODUCED_IN(31);
/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/layoutex/layout/
DParagraphLayout.h598 le_int32 getCharRun(le_int32 charIndex);
602 le_int32 previousBreak(le_int32 charIndex);
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/
DOverlayDraw.comp84 const uint charIndex = coordInWidget.x / fontGlyphWidth;
85 const uint packIndex = charIndex / 4;
107 const uint shift = (charIndex % 4) * 8;
/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/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);

12