Lines Matching refs:prevSrc
387 const UChar *prevSrc=src;
392 if(--src!=prevSrc) {
394 buffer->appendZeroCC(prevSrc, src, errorCode);
416 const UChar *prevSrc;
426 for(prevSrc=src; src!=limit;) {
440 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) {
453 if(src!=prevSrc) {
455 if(!buffer->appendZeroCC(prevSrc, src, errorCode)) {
913 * When we back out from prevSrc back to prevBoundary,
916 * Therefore, at all times, the [prevBoundary..prevSrc[ source units
935 const UChar *prevSrc;
944 for(prevSrc=src; src!=limit;) {
958 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) {
971 if(src!=prevSrc) {
973 if(!buffer.appendZeroCC(prevSrc, src, errorCode)) {
984 if( U16_IS_TRAIL(*prevBoundary) && prevSrc<prevBoundary &&
990 prevSrc=src;
1003 if(isJamoVT(norm16) && prevBoundary!=prevSrc) {
1004 UChar prev=*(prevSrc-1);
1032 // would violate the invariant that [prevBoundary..prevSrc[ has the same
1067 * orig. src prevBoundary prevSrc src limit
1084 prevBoundary<prevSrc &&
1085 // buffer.getLastCC()==0 && prevBoundary<prevSrc tell us that
1086 // [prevBoundary..prevSrc[ (which is exactly one character under these conditions)
1092 getTrailCCFromCompYesAndZeroCC(prevBoundary, prevSrc)>cc
1125 * It is either the decomposition of the current character (at prevSrc),
1129 prevBoundary=prevSrc;
1131 buffer.removeSuffix((int32_t)(prevSrc-prevBoundary));
1181 const UChar *prevSrc;
1188 for(prevSrc=src;;) {
1205 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) {
1217 if(src!=prevSrc) {
1220 if( U16_IS_TRAIL(*prevBoundary) && prevSrc<prevBoundary &&
1227 prevSrc=src;
1241 prevBoundary<prevSrc &&
1242 // prevCC==0 && prevBoundary<prevSrc tell us that
1243 // [prevBoundary..prevSrc[ (which is exactly one character under these conditions)
1249 getTrailCCFromCompYesAndZeroCC(prevBoundary, prevSrc)>cc
1540 const UChar *prevSrc;
1546 for(prevSrc=src; src!=limit;) {
1562 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) {
1576 if(src!=prevSrc) {
1577 if(buffer!=NULL && !buffer->appendZeroCC(prevSrc, src, errorCode)) {
1593 if(U16_IS_TRAIL(*p) && prevSrc<p && U16_IS_LEAD(*(p-1))) {
1605 prevSrc=src;
1611 // The current character (c) at [prevSrc..src[ has a non-zero lead combining class.
1629 * prevSrc is set to after what was copied/appended.
1631 buffer->removeSuffix((int32_t)(prevSrc-prevBoundary));