• Home
  • Raw
  • Download

Lines Matching refs:prevSrc

538     const UChar *prevSrc=src;  in copyLowPrefixFromNulTerminated()  local
543 if(--src!=prevSrc) { in copyLowPrefixFromNulTerminated()
545 buffer->appendZeroCC(prevSrc, src, errorCode); in copyLowPrefixFromNulTerminated()
599 const UChar *prevSrc; in decompose() local
609 for(prevSrc=src; src!=limit;) { in decompose()
632 if(src!=prevSrc) { in decompose()
634 if(!buffer->appendZeroCC(prevSrc, src, errorCode)) { in decompose()
684 const UChar *prevSrc = src; in decomposeShort() local
689 return prevSrc; in decomposeShort()
743 const uint8_t *prevSrc = src; in decomposeShort() local
751 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
759 return prevSrc; in decomposeShort()
761 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
765 return prevSrc; in decomposeShort()
775 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
784 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
1333 const UChar *prevSrc; in compose() local
1348 prevSrc = src++; in compose()
1382 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1395 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1411 hasCompBoundaryAfter(prevBoundary, prevSrc, onlyContiguous)) { in compose()
1412 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1421 } else if (isJamoVT(norm16) && prevBoundary != prevSrc) { in compose()
1422 UChar prev=*(prevSrc-1); in compose()
1447 --prevSrc; // Replace the Jamo L as well. in compose()
1448 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1472 --prevSrc; // Replace the Hangul LV as well. in compose()
1473 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1489 if (onlyContiguous /* FCC */ && getPreviousTrailCC(prevBoundary, prevSrc) > cc) { in compose()
1536 if (prevBoundary != prevSrc && !norm16HasCompBoundaryBefore(norm16)) { in compose()
1537 const UChar *p = prevSrc; in compose()
1540 prevSrc = p; in compose()
1543 …if (doCompose && prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)… in compose()
1548 decomposeShort(prevSrc, src, FALSE /* !stopAtCompBoundary */, onlyContiguous, in compose()
1556 if ((src - prevSrc) > INT32_MAX) { // guard before buffer.equals() in compose()
1562 if(!buffer.equals(prevSrc, src)) { in compose()
1597 const UChar *prevSrc; in composeQuickCheck() local
1609 prevSrc = src++; in composeQuickCheck()
1632 if (prevBoundary != prevSrc) { in composeQuickCheck()
1634 prevBoundary = prevSrc; in composeQuickCheck()
1636 const UChar *p = prevSrc; in composeQuickCheck()
1640 prevBoundary = prevSrc; in composeQuickCheck()
1745 const uint8_t *prevSrc; in composeUTF8() local
1758 prevSrc = src; in composeUTF8()
1783 if (prevBoundary != prevSrc && in composeUTF8()
1784 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1788 appendCodePointDelta(prevSrc, src, getAlgorithmicDelta(norm16), *sink, edits); in composeUTF8()
1796 if (prevBoundary != prevSrc && in composeUTF8()
1797 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1803 if (!ByteSinkUtil::appendChange(prevSrc, src, (const UChar *)mapping, length, in composeUTF8()
1815 hasCompBoundaryAfter(prevBoundary, prevSrc, onlyContiguous)) { in composeUTF8()
1816 if (prevBoundary != prevSrc && in composeUTF8()
1817 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1822 edits->addReplace((int32_t)(src - prevSrc), 0); in composeUTF8()
1834 U_ASSERT((src - prevSrc) == 3 && *prevSrc == 0xe1); in composeUTF8()
1835 UChar32 prev = previousHangulOrJamo(prevBoundary, prevSrc); in composeUTF8()
1836 if (prevSrc[1] == 0x85) { in composeUTF8()
1854 (l*Hangul::JAMO_V_COUNT + (prevSrc[2]-0xa1)) * in composeUTF8()
1856 prevSrc -= 3; // Replace the Jamo L as well. in composeUTF8()
1857 if (prevBoundary != prevSrc && in composeUTF8()
1858 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1862 ByteSinkUtil::appendCodePoint(prevSrc, src, syllable, *sink, edits); in composeUTF8()
1880 UChar32 syllable = prev + getJamoTMinusBase(prevSrc, src); in composeUTF8()
1881 prevSrc -= 3; // Replace the Hangul LV as well. in composeUTF8()
1882 if (prevBoundary != prevSrc && in composeUTF8()
1883 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1887 ByteSinkUtil::appendCodePoint(prevSrc, src, syllable, *sink, edits); in composeUTF8()
1898 if (onlyContiguous /* FCC */ && getPreviousTrailCC(prevBoundary, prevSrc) > cc) { in composeUTF8()
1946 if (prevBoundary != prevSrc && !norm16HasCompBoundaryBefore(norm16)) { in composeUTF8()
1947 const uint8_t *p = prevSrc; in composeUTF8()
1950 prevSrc = p; in composeUTF8()
1958 decomposeShort(prevSrc, src, FALSE /* !stopAtCompBoundary */, onlyContiguous, in composeUTF8()
1966 if ((src - prevSrc) > INT32_MAX) { // guard before buffer.equals() in composeUTF8()
1971 if (!buffer.equals(prevSrc, src)) { in composeUTF8()
1975 if (prevBoundary != prevSrc && in composeUTF8()
1976 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1980 if (!ByteSinkUtil::appendChange(prevSrc, src, buffer.getStart(), buffer.length(), in composeUTF8()
2160 const UChar *prevSrc; in makeFCD() local
2166 for(prevSrc=src; src!=limit;) { in makeFCD()
2189 if(src!=prevSrc) { in makeFCD()
2190 if(buffer!=NULL && !buffer->appendZeroCC(prevSrc, src, errorCode)) { in makeFCD()
2211 if(U16_IS_TRAIL(*p) && prevSrc<p && U16_IS_LEAD(*(p-1))) { in makeFCD()
2223 prevSrc=src; in makeFCD()
2249 buffer->removeSuffix((int32_t)(prevSrc-prevBoundary)); in makeFCD()