Home
last modified time | relevance | path

Searched refs:codeUnitIndex (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/icu/source/common/
Dpunycode.cpp529 int32_t codeUnitIndex; in u_strFromPunycode() local
542 codeUnitIndex=i; in u_strFromPunycode()
544 firstSupplementaryIndex=codeUnitIndex; in u_strFromPunycode()
549 codeUnitIndex=firstSupplementaryIndex; in u_strFromPunycode()
550 U16_FWD_N(dest, codeUnitIndex, destLength, i-codeUnitIndex); in u_strFromPunycode()
554 if(codeUnitIndex<destLength) { in u_strFromPunycode()
555 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
556 dest+codeUnitIndex, in u_strFromPunycode()
557 (destLength-codeUnitIndex)*U_SIZEOF_UCHAR); in u_strFromPunycode()
559 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
[all …]
/third_party/node/deps/icu-small/source/common/
Dpunycode.cpp529 int32_t codeUnitIndex; in u_strFromPunycode() local
542 codeUnitIndex=i; in u_strFromPunycode()
544 firstSupplementaryIndex=codeUnitIndex; in u_strFromPunycode()
549 codeUnitIndex=firstSupplementaryIndex; in u_strFromPunycode()
550 U16_FWD_N(dest, codeUnitIndex, destLength, i-codeUnitIndex); in u_strFromPunycode()
554 if(codeUnitIndex<destLength) { in u_strFromPunycode()
555 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
556 dest+codeUnitIndex, in u_strFromPunycode()
557 (destLength-codeUnitIndex)*U_SIZEOF_UCHAR); in u_strFromPunycode()
559 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
[all …]
/third_party/icu/icu4c/source/common/
Dpunycode.cpp529 int32_t codeUnitIndex; in u_strFromPunycode() local
542 codeUnitIndex=i; in u_strFromPunycode()
544 firstSupplementaryIndex=codeUnitIndex; in u_strFromPunycode()
549 codeUnitIndex=firstSupplementaryIndex; in u_strFromPunycode()
550 U16_FWD_N(dest, codeUnitIndex, destLength, i-codeUnitIndex); in u_strFromPunycode()
554 if(codeUnitIndex<destLength) { in u_strFromPunycode()
555 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
556 dest+codeUnitIndex, in u_strFromPunycode()
557 (destLength-codeUnitIndex)*U_SIZEOF_UCHAR); in u_strFromPunycode()
559 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPunycode.java394 int codeUnitIndex; in decode() local
407 codeUnitIndex=i; in decode()
409 firstSupplementaryIndex=codeUnitIndex; in decode()
414codeUnitIndex=dest.offsetByCodePoints(firstSupplementaryIndex, i-firstSupplementaryIndex); in decode()
419 if(codeUnitIndex<dest.length()) { in decode()
420 System.arraycopy(caseFlags, codeUnitIndex, in decode()
421 caseFlags, codeUnitIndex+cpLength, in decode()
422 dest.length()-codeUnitIndex); in decode()
425 caseFlags[codeUnitIndex]=isBasicUpperCase(src.charAt(in-1)); in decode()
427 caseFlags[codeUnitIndex+1]=false; in decode()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DPunycode.java391 int codeUnitIndex; in decode() local
404 codeUnitIndex=i; in decode()
406 firstSupplementaryIndex=codeUnitIndex; in decode()
411codeUnitIndex=dest.offsetByCodePoints(firstSupplementaryIndex, i-firstSupplementaryIndex); in decode()
416 if(codeUnitIndex<dest.length()) { in decode()
417 System.arraycopy(caseFlags, codeUnitIndex, in decode()
418 caseFlags, codeUnitIndex+cpLength, in decode()
419 dest.length()-codeUnitIndex); in decode()
422 caseFlags[codeUnitIndex]=isBasicUpperCase(src.charAt(in-1)); in decode()
424 caseFlags[codeUnitIndex+1]=false; in decode()
[all …]
/third_party/skia/modules/skparagraph/include/
DParagraph.h109 virtual int getLineNumberAt(TextIndex codeUnitIndex) const = 0;
139 virtual bool getGlyphClusterAt(TextIndex codeUnitIndex, GlyphClusterInfo* glyphInfo) = 0;
172 virtual SkFont getFontAt(TextIndex codeUnitIndex) const = 0;
/third_party/skia/modules/skparagraph/src/
DParagraphImpl.cpp1398 int ParagraphImpl::getLineNumberAt(TextIndex codeUnitIndex) const { in getLineNumberAt()
1401 if (line.text().contains({codeUnitIndex, codeUnitIndex + 1})) { in getLineNumberAt()
1427 bool ParagraphImpl::getGlyphClusterAt(TextIndex codeUnitIndex, GlyphClusterInfo* glyphInfo) { in getGlyphClusterAt() argument
1430 if (!line.text().contains({codeUnitIndex, codeUnitIndex})) { in getGlyphClusterAt()
1435 if (cluster.contains(codeUnitIndex)) { in getGlyphClusterAt()
1467 SkFont ParagraphImpl::getFontAt(TextIndex codeUnitIndex) const { in getFontAt()
1469 if (run.textRange().contains({codeUnitIndex, codeUnitIndex})) { in getFontAt()
DParagraphImpl.h221 int getLineNumberAt(TextIndex codeUnitIndex) const override;
224 bool getGlyphClusterAt(TextIndex codeUnitIndex, GlyphClusterInfo* glyphInfo) override;
228 SkFont getFontAt(TextIndex codeUnitIndex) const override;
/third_party/typescript/lib/
Dlib.es2022.intl.d.ts58 containing(codeUnitIndex?: number): SegmentData;
/third_party/typescript/src/lib/
Des2022.intl.d.ts38 containing(codeUnitIndex?: number): SegmentData;