Home
last modified time | relevance | path

Searched refs:logicalStart (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/common/
Dubidiln.cpp326 logicalFirst=GET_INDEX(iRun.logicalStart); in ubidi_getLogicalRun()
339 *pLevel=(UBiDiLevel)GET_ODD_BIT(iRun.logicalStart); in ubidi_getLogicalRun()
375 start=pBiDi->runs[runIndex].logicalStart; in ubidi_getVisualRun()
398 pBiDi->runs[0].logicalStart=MAKE_INDEX_ODD_PAIR(0, level); in getSingleRun()
470 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine()
478 … for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {} in reorderLine()
522 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; in getRunFromLogicalIndex() local
526 logicalStart=GET_INDEX(runs[i].logicalStart); in getRunFromLogicalIndex()
527 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex()
641 runs[runIndex].logicalStart=start; in ubidi_getRuns()
[all …]
Dubidiwrt.cpp357 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local
438 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered()
439 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered()
443 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered()
461 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); in ubidi_writeReordered()
462 src=text+logicalStart; in ubidi_writeReordered()
471 (/*run>0 &&*/ dirProps[logicalStart]!=L)) { in ubidi_writeReordered()
497 (/*run<runCount-1 &&*/ dirProps[logicalStart+runLength-1]!=L)) { in ubidi_writeReordered()
515 … (/*run>0 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart+runLength-1])))) { in ubidi_writeReordered()
541 (/*run<runCount-1 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart])))) { in ubidi_writeReordered()
[all …]
Dubidi.cpp2381 int32_t visualLength, i, j, visualStart, logicalStart, in setParaRunsOnly() local
2461 logicalStart=GET_INDEX(runs[i].logicalStart); in setParaRunsOnly()
2462 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2486 logicalStart=runs[i].logicalStart; in setParaRunsOnly()
2487 indexOddBit=GET_ODD_BIT(logicalStart); in setParaRunsOnly()
2488 logicalStart=GET_INDEX(logicalStart); in setParaRunsOnly()
2493 logicalPos=visualMap[logicalStart]; in setParaRunsOnly()
2494 runs[i+addedRuns].logicalStart=MAKE_INDEX_ODD_PAIR(logicalPos, in setParaRunsOnly()
2499 start=logicalStart; in setParaRunsOnly()
2500 limit=logicalStart+runLength-1; in setParaRunsOnly()
[all …]
Dubidiimp.h192 int32_t logicalStart, /* first character of the run; b31 indicates even/odd level */ member
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java451 int runCount = bidi.runCount, visualStart = 0, i, length, logicalStart; in getRunFromLogicalIndex() local
455 logicalStart = runs[i].start; in getRunFromLogicalIndex()
456 if ((logicalIndex >= logicalStart) && (logicalIndex < (logicalStart+length))) { in getRunFromLogicalIndex()
947 int logicalStart, logicalEnd, visualStart = 0, j, k; in getLogicalIndex() local
965 logicalStart = runs[i].start; in getLogicalIndex()
967 logicalEnd = logicalStart + length - 1; in getLogicalIndex()
969 k= evenRun ? logicalStart+j : logicalEnd-j; in getLogicalIndex()
1021 int logicalStart, visualStart, logicalLimit, visualLimit; in getLogicalMap() local
1029 logicalStart = runs[j].start; in getLogicalMap()
1033 indexMap[logicalStart++] = visualStart++; in getLogicalMap()
[all …]
DBidi.java3690 int i, j, visualStart, logicalStart, in setParaRunsOnly() local
3743 logicalStart = runs[i].start; in setParaRunsOnly()
3744 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly()
3774 logicalStart = runs[i].start; in setParaRunsOnly()
3780 logicalPos = visualMap[logicalStart]; in setParaRunsOnly()
3786 start = logicalStart; in setParaRunsOnly()
3787 limit = logicalStart + runLength - 1; in setParaRunsOnly()
3790 start = logicalStart + runLength - 1; in setParaRunsOnly()
3791 limit = logicalStart; in setParaRunsOnly()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java452 int runCount = bidi.runCount, visualStart = 0, i, length, logicalStart; in getRunFromLogicalIndex() local
456 logicalStart = runs[i].start; in getRunFromLogicalIndex()
457 if ((logicalIndex >= logicalStart) && (logicalIndex < (logicalStart+length))) { in getRunFromLogicalIndex()
948 int logicalStart, logicalEnd, visualStart = 0, j, k; in getLogicalIndex() local
966 logicalStart = runs[i].start; in getLogicalIndex()
968 logicalEnd = logicalStart + length - 1; in getLogicalIndex()
970 k= evenRun ? logicalStart+j : logicalEnd-j; in getLogicalIndex()
1022 int logicalStart, visualStart, logicalLimit, visualLimit; in getLogicalMap() local
1030 logicalStart = runs[j].start; in getLogicalMap()
1034 indexMap[logicalStart++] = visualStart++; in getLogicalMap()
[all …]
DBidi.java3655 int i, j, visualStart, logicalStart, in setParaRunsOnly() local
3708 logicalStart = runs[i].start; in setParaRunsOnly()
3709 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly()
3739 logicalStart = runs[i].start; in setParaRunsOnly()
3745 logicalPos = visualMap[logicalStart]; in setParaRunsOnly()
3751 start = logicalStart; in setParaRunsOnly()
3752 limit = logicalStart + runLength - 1; in setParaRunsOnly()
3755 start = logicalStart + runLength - 1; in setParaRunsOnly()
3756 limit = logicalStart; in setParaRunsOnly()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidi.java210 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
263 logicalStart = run.getStart(); in _testReordering()
269 visualMap4[visualIndex++] = logicalStart++; in _testReordering()
272 logicalStart += runLength; /* logicalLimit */ in _testReordering()
274 visualMap4[visualIndex++] = --logicalStart; in _testReordering()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidi.java213 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
266 logicalStart = run.getStart(); in _testReordering()
272 visualMap4[visualIndex++] = logicalStart++; in _testReordering()
275 logicalStart += runLength; /* logicalLimit */ in _testReordering()
277 visualMap4[visualIndex++] = --logicalStart; in _testReordering()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp736 le_int32 logicalStart = 0; in computeLevels() local
742 ubidi_getLogicalRun(fParaBidi, logicalStart, &limit, &level); in computeLevels()
744 logicalStart = limit; in computeLevels()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1153 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1197 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1198 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1201 visualMap4[visualIndex++]=logicalStart++; in _testReordering()
1204 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1206 visualMap4[visualIndex++]=--logicalStart; in _testReordering()