Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dubidiln.c328 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 …]
Dubidiwrt.c360 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 …]
Dubidi.c2349 int32_t visualLength, i, j, visualStart, logicalStart, in setParaRunsOnly() local
2429 logicalStart=GET_INDEX(runs[i].logicalStart); in setParaRunsOnly()
2430 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2454 logicalStart=runs[i].logicalStart; in setParaRunsOnly()
2455 indexOddBit=GET_ODD_BIT(logicalStart); in setParaRunsOnly()
2456 logicalStart=GET_INDEX(logicalStart); in setParaRunsOnly()
2461 logicalPos=visualMap[logicalStart]; in setParaRunsOnly()
2462 runs[i+addedRuns].logicalStart=MAKE_INDEX_ODD_PAIR(logicalPos, in setParaRunsOnly()
2467 start=logicalStart; in setParaRunsOnly()
2468 limit=logicalStart+runLength-1; in setParaRunsOnly()
[all …]
Dubidiimp.h192 int32_t logicalStart, /* first character of the run; b31 indicates even/odd level */ member
/external/chromium_org/third_party/icu/source/common/
Dubidiln.c328 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 …]
Dubidiwrt.c360 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 …]
Dubidi.c2255 int32_t visualLength, i, j, visualStart, logicalStart, in setParaRunsOnly() local
2335 logicalStart=GET_INDEX(runs[i].logicalStart); in setParaRunsOnly()
2336 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2360 logicalStart=runs[i].logicalStart; in setParaRunsOnly()
2361 indexOddBit=GET_ODD_BIT(logicalStart); in setParaRunsOnly()
2362 logicalStart=GET_INDEX(logicalStart); in setParaRunsOnly()
2367 logicalPos=visualMap[logicalStart]; in setParaRunsOnly()
2368 runs[i+addedRuns].logicalStart=MAKE_INDEX_ODD_PAIR(logicalPos, in setParaRunsOnly()
2373 start=logicalStart; in setParaRunsOnly()
2374 limit=logicalStart+runLength-1; in setParaRunsOnly()
[all …]
Dubidiimp.h201 int32_t logicalStart, /* first character of the run; b31 indicates even/odd level */ member
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp191 InlineBox* logicalStart = 0; in leftVisuallyDistinctCandidate() local
192 …TR ? box->root().getLogicalStartBoxWithNode(logicalStart) : box->root().getLogicalEndBoxWithNode(l… in leftVisuallyDistinctCandidate()
193 box = logicalStart; in leftVisuallyDistinctCandidate()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp734 le_int32 logicalStart = 0; in computeLevels() local
740 ubidi_getLogicalRun(fParaBidi, logicalStart, &limit, &level); in computeLevels()
742 logicalStart = limit; in computeLevels()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp388 …LayoutUnit logicalStart = logicalVisualOverflow.x() + (isHorizontal() ? paintOffset.x() : paintOff… in paint() local
402 if (logicalStart >= paintEnd || logicalStart + logicalExtent <= paintStart) in paint()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcbiditst.c1145 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1189 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1190 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1193 visualMap4[visualIndex++]=logicalStart++; in _testReordering()
1196 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1198 visualMap4[visualIndex++]=--logicalStart; in _testReordering()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1147 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1191 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1192 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1195 visualMap4[visualIndex++]=logicalStart++; in _testReordering()
1198 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1200 visualMap4[visualIndex++]=--logicalStart; in _testReordering()