Lines Matching refs:prevSrc
537 const UChar *prevSrc=src; in copyLowPrefixFromNulTerminated() local
542 if(--src!=prevSrc) { in copyLowPrefixFromNulTerminated()
544 buffer->appendZeroCC(prevSrc, src, errorCode); in copyLowPrefixFromNulTerminated()
598 const UChar *prevSrc; in decompose() local
608 for(prevSrc=src; src!=limit;) { in decompose()
631 if(src!=prevSrc) { in decompose()
633 if(!buffer->appendZeroCC(prevSrc, src, errorCode)) { in decompose()
683 const UChar *prevSrc = src; in decomposeShort() local
688 return prevSrc; in decomposeShort()
742 const uint8_t *prevSrc = src; in decomposeShort() local
750 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
758 return prevSrc; in decomposeShort()
760 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
764 return prevSrc; in decomposeShort()
774 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
783 c = codePointFromValidUTF8(prevSrc, src); in decomposeShort()
1332 const UChar *prevSrc; in compose() local
1347 prevSrc = src++; in compose()
1381 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1394 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1410 hasCompBoundaryAfter(prevBoundary, prevSrc, onlyContiguous)) { in compose()
1411 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1420 } else if (isJamoVT(norm16) && prevBoundary != prevSrc) { in compose()
1421 UChar prev=*(prevSrc-1); in compose()
1446 --prevSrc; // Replace the Jamo L as well. in compose()
1447 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1471 --prevSrc; // Replace the Hangul LV as well. in compose()
1472 … if (prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)) { in compose()
1488 if (onlyContiguous /* FCC */ && getPreviousTrailCC(prevBoundary, prevSrc) > cc) { in compose()
1535 if (prevBoundary != prevSrc && !norm16HasCompBoundaryBefore(norm16)) { in compose()
1536 const UChar *p = prevSrc; in compose()
1539 prevSrc = p; in compose()
1542 …if (doCompose && prevBoundary != prevSrc && !buffer.appendZeroCC(prevBoundary, prevSrc, errorCode)… in compose()
1547 decomposeShort(prevSrc, src, FALSE /* !stopAtCompBoundary */, onlyContiguous, in compose()
1555 if ((src - prevSrc) > INT32_MAX) { // guard before buffer.equals() in compose()
1561 if(!buffer.equals(prevSrc, src)) { in compose()
1596 const UChar *prevSrc; in composeQuickCheck() local
1608 prevSrc = src++; in composeQuickCheck()
1631 if (prevBoundary != prevSrc) { in composeQuickCheck()
1633 prevBoundary = prevSrc; in composeQuickCheck()
1635 const UChar *p = prevSrc; in composeQuickCheck()
1639 prevBoundary = prevSrc; in composeQuickCheck()
1744 const uint8_t *prevSrc; in composeUTF8() local
1757 prevSrc = src; in composeUTF8()
1782 if (prevBoundary != prevSrc && in composeUTF8()
1783 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1787 appendCodePointDelta(prevSrc, src, getAlgorithmicDelta(norm16), *sink, edits); in composeUTF8()
1795 if (prevBoundary != prevSrc && in composeUTF8()
1796 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1802 if (!ByteSinkUtil::appendChange(prevSrc, src, (const UChar *)mapping, length, in composeUTF8()
1814 hasCompBoundaryAfter(prevBoundary, prevSrc, onlyContiguous)) { in composeUTF8()
1815 if (prevBoundary != prevSrc && in composeUTF8()
1816 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1821 edits->addReplace((int32_t)(src - prevSrc), 0); in composeUTF8()
1833 U_ASSERT((src - prevSrc) == 3 && *prevSrc == 0xe1); in composeUTF8()
1834 UChar32 prev = previousHangulOrJamo(prevBoundary, prevSrc); in composeUTF8()
1835 if (prevSrc[1] == 0x85) { in composeUTF8()
1853 (l*Hangul::JAMO_V_COUNT + (prevSrc[2]-0xa1)) * in composeUTF8()
1855 prevSrc -= 3; // Replace the Jamo L as well. in composeUTF8()
1856 if (prevBoundary != prevSrc && in composeUTF8()
1857 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1861 ByteSinkUtil::appendCodePoint(prevSrc, src, syllable, *sink, edits); in composeUTF8()
1879 UChar32 syllable = prev + getJamoTMinusBase(prevSrc, src); in composeUTF8()
1880 prevSrc -= 3; // Replace the Hangul LV as well. in composeUTF8()
1881 if (prevBoundary != prevSrc && in composeUTF8()
1882 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1886 ByteSinkUtil::appendCodePoint(prevSrc, src, syllable, *sink, edits); in composeUTF8()
1897 if (onlyContiguous /* FCC */ && getPreviousTrailCC(prevBoundary, prevSrc) > cc) { in composeUTF8()
1945 if (prevBoundary != prevSrc && !norm16HasCompBoundaryBefore(norm16)) { in composeUTF8()
1946 const uint8_t *p = prevSrc; in composeUTF8()
1949 prevSrc = p; in composeUTF8()
1957 decomposeShort(prevSrc, src, FALSE /* !stopAtCompBoundary */, onlyContiguous, in composeUTF8()
1965 if ((src - prevSrc) > INT32_MAX) { // guard before buffer.equals() in composeUTF8()
1970 if (!buffer.equals(prevSrc, src)) { in composeUTF8()
1974 if (prevBoundary != prevSrc && in composeUTF8()
1975 !ByteSinkUtil::appendUnchanged(prevBoundary, prevSrc, in composeUTF8()
1979 if (!ByteSinkUtil::appendChange(prevSrc, src, buffer.getStart(), buffer.length(), in composeUTF8()
2169 const UChar *prevSrc; in makeFCD() local
2175 for(prevSrc=src; src!=limit;) { in makeFCD()
2198 if(src!=prevSrc) { in makeFCD()
2199 if(buffer!=NULL && !buffer->appendZeroCC(prevSrc, src, errorCode)) { in makeFCD()
2220 if(U16_IS_TRAIL(*p) && prevSrc<p && U16_IS_LEAD(*(p-1))) { in makeFCD()
2232 prevSrc=src; in makeFCD()
2258 buffer->removeSuffix((int32_t)(prevSrc-prevBoundary)); in makeFCD()