Home
last modified time | relevance | path

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

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/source/i18n/
Dcsrucode.cpp62 for (int32_t charIndex=0; charIndex<bytesToCheck-1; charIndex+=2) { in match() local
63 char16_t 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 char16_t codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match()
99 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
/third_party/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()
/third_party/skia/third_party/externals/angle2/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
/third_party/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()
/third_party/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()
/third_party/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()
DSkSVGTextPriv.h91 PosAttrs resolve(size_t charIndex) const;
/third_party/icu/icu4c/source/common/unicode/
Dubidi.h1429 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1481 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
Duset.h924 uset_charAt(const USet* set, int32_t charIndex);
/third_party/node/deps/icu-small/source/common/unicode/
Dubidi.h1429 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1481 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
Duset.h956 uset_charAt(const USet* set, int32_t charIndex);
/third_party/skia/third_party/externals/icu/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);
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/node/deps/icu-small/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()
/third_party/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h598 le_int32 getCharRun(le_int32 charIndex);
602 le_int32 previousBreak(le_int32 charIndex);
/third_party/skia/third_party/externals/angle2/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;

12