Home | History | Annotate | Download | only in common

Lines Matching refs:prevBoundary

496     const UChar *prevBoundary=src;
535 prevBoundary=src;
554 prevBoundary=src;
559 return prevBoundary; // "no" or cc out of order
1084 * prevBoundary points to the last character before the current one
1086 * Keeping track of prevBoundary saves us looking for a composition boundary
1089 * When we back out from prevSrc back to prevBoundary,
1092 * Therefore, at all times, the [prevBoundary..prevSrc[ source units
1095 const UChar *prevBoundary=src;
1104 if(prevBoundary<src) {
1105 // Set prevBoundary to the last character in the prefix.
1106 prevBoundary=src-1;
1158 // Set prevBoundary to the last character in the quick check loop.
1159 prevBoundary=src-1;
1160 if( U16_IS_TRAIL(*prevBoundary) && prevSrc<prevBoundary &&
1161 U16_IS_LEAD(*(prevBoundary-1))
1163 --prevBoundary;
1179 if(isJamoVT(norm16) && prevBoundary!=prevSrc) {
1197 prevBoundary=src;
1208 // would violate the invariant that [prevBoundary..prevSrc[ has the same
1209 // length as what we appended to the buffer since prevBoundary.
1219 prevBoundary=src;
1243 * orig. src prevBoundary prevSrc src limit
1260 prevBoundary<prevSrc &&
1261 // buffer.getLastCC()==0 && prevBoundary<prevSrc tell us that
1262 // [prevBoundary..prevSrc[ (which is exactly one character under these conditions)
1268 getTrailCCFromCompYesAndZeroCC(prevBoundary, prevSrc)>cc
1300 * Find the last composition boundary in [prevBoundary..src[.
1302 * or prevBoundary.
1305 prevBoundary=prevSrc;
1307 buffer.removeSuffix((int32_t)(prevSrc-prevBoundary));
1314 // Decompose [prevBoundary..src[ into the buffer and then recompose that part of it.
1316 if(!decomposeShort(prevBoundary, src, buffer, errorCode)) {
1321 if(!buffer.equals(prevBoundary, src)) {
1329 prevBoundary=src;
1342 * prevBoundary points to the last character before the current one
1345 const UChar *prevBoundary=src;
1350 if(prevBoundary<src) {
1351 // Set prevBoundary to the last character in the prefix.
1352 prevBoundary=src-1;
1394 // Set prevBoundary to the last character in the quick check loop.
1395 prevBoundary=src-1;
1396 if( U16_IS_TRAIL(*prevBoundary) && prevSrc<prevBoundary &&
1397 U16_IS_LEAD(*(prevBoundary-1))
1399 --prevBoundary;
1417 prevBoundary<prevSrc &&
1418 // prevCC==0 && prevBoundary<prevSrc tell us that
1419 // [prevBoundary..prevSrc[ (which is exactly one character under these conditions)
1425 getTrailCCFromCompYesAndZeroCC(prevBoundary, prevSrc)>cc
1434 return prevBoundary;
1443 return prevBoundary;
1621 // Similar to the prevBoundary in the compose() implementation.
1622 const UChar *prevBoundary=src;
1629 if(prevBoundary<src) {
1630 prevBoundary=src;
1635 --prevBoundary;
1690 prevBoundary=src;
1697 --prevBoundary;
1709 prevBoundary=p;
1724 prevBoundary=src;
1732 return prevBoundary; // quick check "no"
1739 buffer->removeSuffix((int32_t)(prevSrc-prevBoundary));
1749 if(!decomposeShort(prevBoundary, src, *buffer, errorCode)) {
1752 prevBoundary=src;