Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dubidiln.c326 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.c357 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.c2354 int32_t visualLength, i, j, visualStart, logicalStart, in setParaRunsOnly() local
2434 logicalStart=GET_INDEX(runs[i].logicalStart); in setParaRunsOnly()
2435 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2459 logicalStart=runs[i].logicalStart; in setParaRunsOnly()
2460 indexOddBit=GET_ODD_BIT(logicalStart); in setParaRunsOnly()
2461 logicalStart=GET_INDEX(logicalStart); in setParaRunsOnly()
2466 logicalPos=visualMap[logicalStart]; in setParaRunsOnly()
2467 runs[i+addedRuns].logicalStart=MAKE_INDEX_ODD_PAIR(logicalPos, in setParaRunsOnly()
2472 start=logicalStart; in setParaRunsOnly()
2473 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/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.java3654 int i, j, visualStart, logicalStart, in setParaRunsOnly() local
3707 logicalStart = runs[i].start; in setParaRunsOnly()
3708 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly()
3738 logicalStart = runs[i].start; in setParaRunsOnly()
3744 logicalPos = visualMap[logicalStart]; in setParaRunsOnly()
3750 start = logicalStart; in setParaRunsOnly()
3751 limit = logicalStart + runLength - 1; in setParaRunsOnly()
3754 start = logicalStart + runLength - 1; in setParaRunsOnly()
3755 limit = logicalStart; in setParaRunsOnly()
/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/tests/android/icu/dev/test/bidi/
DTestBidi.java211 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
264 logicalStart = run.getStart(); in _testReordering()
270 visualMap4[visualIndex++] = logicalStart++; in _testReordering()
273 logicalStart += runLength; /* logicalLimit */ in _testReordering()
275 visualMap4[visualIndex++] = --logicalStart; in _testReordering()
/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/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.c1151 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1195 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1196 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1199 visualMap4[visualIndex++]=logicalStart++; in _testReordering()
1202 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1204 visualMap4[visualIndex++]=--logicalStart; in _testReordering()