Lines Matching refs:visualLimit
329 logicalLimit=logicalFirst+iRun.visualLimit-visualStart;
334 visualStart = iRun.visualLimit;
383 *pLength=pBiDi->runs[runIndex].visualLimit-
384 pBiDi->runs[runIndex-1].visualLimit;
386 *pLength=pBiDi->runs[0].visualLimit;
401 pBiDi->runs[0].visualLimit=pBiDi->length;
527 length=runs[i].visualLimit-visualStart;
626 /* search for the run limits and initialize visualLimit values with the run lengths */
644 runs[runIndex].visualLimit=i-start;
652 runs[runIndex].visualLimit=length-limit;
666 /* now add the direction flags and adjust the visualLimit's to be just that */
671 limit+=runs[i].visualLimit;
672 runs[i].visualLimit=limit;
903 length=runs[i].visualLimit-visualStart;
929 length=runs[i].visualLimit-visualStart;
935 if(visualIndex<runs[i].visualLimit) {
955 length=runs[i].visualLimit-visualStart;
958 if(visualIndex>=runs[i].visualLimit) {
1018 length=runs[i].visualLimit-visualStart;
1027 if(visualIndex<(runs[i].visualLimit+markFound)) {
1047 length=runs[i].visualLimit-visualStart;
1050 if(visualIndex>=(runs[i].visualLimit-controlFound+insertRemove)) {
1081 for(i=0; visualIndex>=runs[i].visualLimit; ++i) {}
1089 if(visualIndex>=runs[i].visualLimit) {
1091 } else if(i==0 || visualIndex>=runs[i-1].visualLimit) {
1102 /* the offset in runs[i] is visualIndex-runs[i-1].visualLimit */
1104 visualIndex-=runs[i-1].visualLimit;
1109 return GET_INDEX(start)+runs[i].visualLimit-visualIndex-1;
1124 int32_t visualStart, visualLimit, i, j, k;
1137 visualLimit=runs[j].visualLimit;
1141 } while(visualStart<visualLimit);
1143 logicalStart+=visualLimit-visualStart; /* logicalLimit */
1146 } while(visualStart<visualLimit);
1148 /* visualStart==visualLimit; */
1157 length=runs[i].visualLimit-visualStart;
1182 length=runs[i].visualLimit-visualStart;
1226 int32_t logicalStart, visualStart, visualLimit, *pi=indexMap;
1234 visualLimit=runs->visualLimit;
1238 } while(++visualStart<visualLimit);
1241 logicalStart+=visualLimit-visualStart; /* logicalLimit */
1244 } while(++visualStart<visualLimit);
1246 /* visualStart==visualLimit; */
1271 visualStart= i>0 ? runs[i-1].visualLimit : 0;
1272 for(j=runs[i].visualLimit-1; j>=visualStart && markFound>0; j--) {
1291 length=runs[i].visualLimit-visualStart;
1300 visualLimit=runs[i].visualLimit;
1301 for(j=visualStart; j<visualLimit; j++) {