Lines Matching refs:visualStart

308     int32_t runCount, visualStart, logicalLimit, logicalFirst, i;  in ubidi_getLogicalRun()  local
321 visualStart=logicalLimit=0; in ubidi_getLogicalRun()
327 logicalLimit=logicalFirst+iRun.visualLimit-visualStart; in ubidi_getLogicalRun()
332 visualStart = iRun.visualLimit; in ubidi_getLogicalRun()
522 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; in getRunFromLogicalIndex() local
525 length=runs[i].visualLimit-visualStart; in getRunFromLogicalIndex()
530 visualStart+=length; in getRunFromLogicalIndex()
897 int32_t i, visualStart=0, offset, length; in ubidi_getVisualIndex() local
901 length=runs[i].visualLimit-visualStart; in ubidi_getVisualIndex()
906 visualIndex=visualStart+offset; in ubidi_getVisualIndex()
909 visualIndex=visualStart+length-offset-1; in ubidi_getVisualIndex()
913 visualStart+=length; in ubidi_getVisualIndex()
925 int32_t visualStart=0, markFound=0; in ubidi_getVisualIndex() local
926 for(i=0; ; i++, visualStart+=length) { in ubidi_getVisualIndex()
927 length=runs[i].visualLimit-visualStart; in ubidi_getVisualIndex()
945 int32_t visualStart=0, controlFound=0; in ubidi_getVisualIndex() local
952 for(i=0; ; i++, visualStart+=length) { in ubidi_getVisualIndex()
953 length=runs[i].visualLimit-visualStart; in ubidi_getVisualIndex()
1012 int32_t visualStart=0, length; in ubidi_getLogicalIndex() local
1015 for(i=0; ; i++, visualStart+=length) { in ubidi_getLogicalIndex()
1016 length=runs[i].visualLimit-visualStart; in ubidi_getLogicalIndex()
1019 if(visualIndex<=(visualStart+markFound)) { in ubidi_getLogicalIndex()
1030 if(visualIndex==(visualStart+length+markFound)) { in ubidi_getLogicalIndex()
1040 int32_t logicalStart, logicalEnd, visualStart=0, j, k; in ubidi_getLogicalIndex() local
1044 for(i=0; ; i++, visualStart+=length) { in ubidi_getLogicalIndex()
1045 length=runs[i].visualLimit-visualStart; in ubidi_getLogicalIndex()
1068 if((visualIndex+controlFound)==(visualStart+j)) { in ubidi_getLogicalIndex()
1122 int32_t visualStart, visualLimit, i, j, k; in ubidi_getLogicalMap() local
1132 visualStart=0; in ubidi_getLogicalMap()
1138 indexMap[logicalStart++]=visualStart++; in ubidi_getLogicalMap()
1139 } while(visualStart<visualLimit); in ubidi_getLogicalMap()
1141 logicalStart+=visualLimit-visualStart; /* logicalLimit */ in ubidi_getLogicalMap()
1143 indexMap[--logicalStart]=visualStart++; in ubidi_getLogicalMap()
1144 } while(visualStart<visualLimit); in ubidi_getLogicalMap()
1152 visualStart=0; in ubidi_getLogicalMap()
1154 for(i=0; i<runCount; i++, visualStart+=length) { in ubidi_getLogicalMap()
1155 length=runs[i].visualLimit-visualStart; in ubidi_getLogicalMap()
1177 visualStart=0; in ubidi_getLogicalMap()
1179 for(i=0; i<runCount; i++, visualStart+=length) { in ubidi_getLogicalMap()
1180 length=runs[i].visualLimit-visualStart; in ubidi_getLogicalMap()
1224 int32_t logicalStart, visualStart, visualLimit, *pi=indexMap; in ubidi_getVisualMap() local
1229 visualStart=0; in ubidi_getVisualMap()
1236 } while(++visualStart<visualLimit); in ubidi_getVisualMap()
1239 logicalStart+=visualLimit-visualStart; /* logicalLimit */ in ubidi_getVisualMap()
1242 } while(++visualStart<visualLimit); in ubidi_getVisualMap()
1269 visualStart= i>0 ? runs[i-1].visualLimit : 0; in ubidi_getVisualMap()
1270 for(j=runs[i].visualLimit-1; j>=visualStart && markFound>0; j--) { in ubidi_getVisualMap()
1285 visualStart=0; in ubidi_getVisualMap()
1288 for(i=0; i<runCount; i++, visualStart+=length) { in ubidi_getVisualMap()
1289 length=runs[i].visualLimit-visualStart; in ubidi_getVisualMap()
1292 if((insertRemove==0)&&(k==visualStart)) { in ubidi_getVisualMap()
1299 for(j=visualStart; j<visualLimit; j++) { in ubidi_getVisualMap()