/external/icu4c/common/ |
D | ubidiln.c | 328 logicalFirst=GET_INDEX(iRun.logicalStart); in ubidi_getLogicalRun() 341 *pLevel=(UBiDiLevel)GET_ODD_BIT(iRun.logicalStart); in ubidi_getLogicalRun() 377 start=pBiDi->runs[runIndex].logicalStart; in ubidi_getVisualRun() 400 pBiDi->runs[0].logicalStart=MAKE_INDEX_ODD_PAIR(0, level); in getSingleRun() 472 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine() 480 … for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {} in reorderLine() 524 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; in getRunFromLogicalIndex() local 528 logicalStart=GET_INDEX(runs[i].logicalStart); in getRunFromLogicalIndex() 529 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex() 643 runs[runIndex].logicalStart=start; in ubidi_getRuns() [all …]
|
D | ubidiwrt.c | 360 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local 441 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered() 442 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered() 446 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered() 464 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); in ubidi_writeReordered() 465 src=text+logicalStart; in ubidi_writeReordered() 474 (/*run>0 &&*/ dirProps[logicalStart]!=L)) { in ubidi_writeReordered() 500 (/*run<runCount-1 &&*/ dirProps[logicalStart+runLength-1]!=L)) { in ubidi_writeReordered() 518 … (/*run>0 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart+runLength-1])))) { in ubidi_writeReordered() 544 (/*run<runCount-1 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart])))) { in ubidi_writeReordered() [all …]
|
D | ubidi.c | 1715 int32_t visualLength, i, j, visualStart, logicalStart, in setParaRunsOnly() local 1795 logicalStart=GET_INDEX(runs[i].logicalStart); in setParaRunsOnly() 1796 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly() 1820 logicalStart=runs[i].logicalStart; in setParaRunsOnly() 1821 indexOddBit=GET_ODD_BIT(logicalStart); in setParaRunsOnly() 1822 logicalStart=GET_INDEX(logicalStart); in setParaRunsOnly() 1827 logicalPos=visualMap[logicalStart]; in setParaRunsOnly() 1828 runs[i+addedRuns].logicalStart=MAKE_INDEX_ODD_PAIR(logicalPos, in setParaRunsOnly() 1833 start=logicalStart; in setParaRunsOnly() 1834 limit=logicalStart+runLength-1; in setParaRunsOnly() [all …]
|
D | ubidiimp.h | 138 int32_t logicalStart, /* first character of the run; b31 indicates even/odd level */ member
|
/external/chromium_org/third_party/icu/source/common/ |
D | ubidiln.c | 324 logicalFirst=GET_INDEX(iRun.logicalStart); in ubidi_getLogicalRun() 337 *pLevel=(UBiDiLevel)GET_ODD_BIT(iRun.logicalStart); in ubidi_getLogicalRun() 373 start=pBiDi->runs[runIndex].logicalStart; in ubidi_getVisualRun() 396 pBiDi->runs[0].logicalStart=MAKE_INDEX_ODD_PAIR(0, level); in getSingleRun() 468 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine() 476 … for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {} in reorderLine() 520 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; in getRunFromLogicalIndex() local 524 logicalStart=GET_INDEX(runs[i].logicalStart); in getRunFromLogicalIndex() 525 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex() 639 runs[runIndex].logicalStart=start; in ubidi_getRuns() [all …]
|
D | ubidiwrt.c | 359 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local 440 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered() 441 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered() 445 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() 495 (/*run<runCount-1 &&*/ dirProps[logicalStart+runLength-1]!=L)) { in ubidi_writeReordered() 513 … (/*run>0 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart+runLength-1])))) { in ubidi_writeReordered() 537 (/*run<runCount-1 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart])))) { in ubidi_writeReordered() [all …]
|
D | ubidi.c | 1583 int32_t visualLength, i, j, visualStart, logicalStart, in setParaRunsOnly() local 1663 logicalStart=GET_INDEX(runs[i].logicalStart); in setParaRunsOnly() 1664 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly() 1688 logicalStart=runs[i].logicalStart; in setParaRunsOnly() 1689 indexOddBit=GET_ODD_BIT(logicalStart); in setParaRunsOnly() 1690 logicalStart=GET_INDEX(logicalStart); in setParaRunsOnly() 1695 logicalPos=visualMap[logicalStart]; in setParaRunsOnly() 1696 runs[i+addedRuns].logicalStart=MAKE_INDEX_ODD_PAIR(logicalPos, in setParaRunsOnly() 1701 start=logicalStart; in setParaRunsOnly() 1702 limit=logicalStart+runLength-1; in setParaRunsOnly() [all …]
|
D | ubidiimp.h | 138 int32_t logicalStart, /* first character of the run; b31 indicates even/odd level */ member
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | VisiblePosition.cpp | 192 InlineBox* logicalStart = 0; in leftVisuallyDistinctCandidate() local 193 … ? box->root()->getLogicalStartBoxWithNode(logicalStart) : box->root()->getLogicalEndBoxWithNode(l… in leftVisuallyDistinctCandidate() 194 box = logicalStart; in leftVisuallyDistinctCandidate()
|
/external/icu4c/layoutex/ |
D | ParagraphLayout.cpp | 731 le_int32 logicalStart = 0; in computeLevels() local 737 ubidi_getLogicalRun(fParaBidi, logicalStart, &limit, &level); in computeLevels() 739 logicalStart = limit; in computeLevels()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | InlineTextBox.cpp | 480 … LayoutUnit logicalStart = logicalLeftSide + (isHorizontal() ? paintOffset.x() : paintOffset.y()); in paint() local 488 if (logicalStart >= paintEnd || logicalStart + logicalExtent <= paintStart) in paint()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cbiditst.c | 998 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local 1042 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering() 1043 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering() 1046 visualMap4[visualIndex++]=logicalStart++; in _testReordering() 1049 logicalStart+=runLength; /* logicalLimit */ in _testReordering() 1051 visualMap4[visualIndex++]=--logicalStart; in _testReordering()
|
/external/icu4c/test/cintltst/ |
D | cbiditst.c | 1142 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local 1186 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering() 1187 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering() 1190 visualMap4[visualIndex++]=logicalStart++; in _testReordering() 1193 logicalStart+=runLength; /* logicalLimit */ in _testReordering() 1195 visualMap4[visualIndex++]=--logicalStart; in _testReordering()
|