Home
last modified time | relevance | path

Searched refs:logicalStart (Results 1 – 15 of 15) 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()
639 runs[runIndex].logicalStart=start; in ubidi_getRuns()
[all …]
Dubidiwrt.cpp364 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local
445 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered()
446 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered()
450 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered()
468 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); in ubidi_writeReordered()
469 src=text+logicalStart; in ubidi_writeReordered()
478 (/*run>0 &&*/ dirProps[logicalStart]!=L)) { in ubidi_writeReordered()
504 (/*run<runCount-1 &&*/ dirProps[logicalStart+runLength-1]!=L)) { in ubidi_writeReordered()
522 … (/*run>0 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart+runLength-1])))) { in ubidi_writeReordered()
548 (/*run<runCount-1 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart])))) { in ubidi_writeReordered()
[all …]
Dubidi.cpp2376 int32_t visualLength, i, j, visualStart, logicalStart, in setParaRunsOnly() local
2456 logicalStart=GET_INDEX(runs[i].logicalStart); in setParaRunsOnly()
2457 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2481 logicalStart=runs[i].logicalStart; in setParaRunsOnly()
2482 indexOddBit=GET_ODD_BIT(logicalStart); in setParaRunsOnly()
2483 logicalStart=GET_INDEX(logicalStart); in setParaRunsOnly()
2488 logicalPos=visualMap[logicalStart]; in setParaRunsOnly()
2489 runs[i+addedRuns].logicalStart=MAKE_INDEX_ODD_PAIR(logicalPos, in setParaRunsOnly()
2494 start=logicalStart; in setParaRunsOnly()
2495 limit=logicalStart+runLength-1; in setParaRunsOnly()
[all …]
Dubidiimp.h200 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.java3661 int i, j, visualStart, logicalStart, in setParaRunsOnly() local
3714 logicalStart = runs[i].start; in setParaRunsOnly()
3715 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly()
3745 logicalStart = runs[i].start; in setParaRunsOnly()
3751 logicalPos = visualMap[logicalStart]; in setParaRunsOnly()
3757 start = logicalStart; in setParaRunsOnly()
3758 limit = logicalStart + runLength - 1; in setParaRunsOnly()
3761 start = logicalStart + runLength - 1; in setParaRunsOnly()
3762 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.java3696 int i, j, visualStart, logicalStart, in setParaRunsOnly() local
3749 logicalStart = runs[i].start; in setParaRunsOnly()
3750 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly()
3780 logicalStart = runs[i].start; in setParaRunsOnly()
3786 logicalPos = visualMap[logicalStart]; in setParaRunsOnly()
3792 start = logicalStart; in setParaRunsOnly()
3793 limit = logicalStart + runLength - 1; in setParaRunsOnly()
3796 start = logicalStart + runLength - 1; in setParaRunsOnly()
3797 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/oss-fuzz/projects/dlplibs/
Dicu4c-ubsan.patch58 /* in a Run, logicalStart will get this bit set if the run level is odd */
/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/libicu/cts_headers/
Dubidiimp.h200 int32_t logicalStart, /* first character of the run; b31 indicates even/odd level */ member
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1156 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1200 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1201 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1204 visualMap4[visualIndex++]=logicalStart++; in _testReordering()
1207 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1209 visualMap4[visualIndex++]=--logicalStart; in _testReordering()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...