Searched refs:logicalIndex (Results 1 – 13 of 13) sorted by relevance
103 int i, len = bidi.getLength(), logicalIndex = -1, runCount = 0; in doTest() local155 logicalIndex = bidi.getVisualIndex(i); in doTest()160 if(visualMap[i] != logicalIndex) { in doTest()163 visualMap[i], logicalIndex); in doTest()177 for (logicalIndex = 0; logicalIndex < len; ) { in doTest()178 level = bidi.getLevelAt(logicalIndex); in doTest()179 run = bidi.getLogicalRun(logicalIndex); in doTest()180 logicalIndex = run.getLimit(); in doTest()211 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local352 logicalIndex = bidi.getLogicalIndex(i); in _testReordering()[all …]
542 int logicalIndex=ubidi.getLogicalIndex(i); in checkOrdering() local543 if(levels[logicalIndex]<0) { in checkOrdering()546 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()548 ordering[visualIndex]+" actual "+logicalIndex); in checkOrdering()568 int logicalIndex=ubidi.getLogicalIndex(i); in checkOrdering() local569 if(levels[logicalIndex]<Bidi.LEVEL_DEFAULT_LTR) { in checkOrdering()570 aord.append(' ').append((char)('0'+logicalIndex)); in checkOrdering()
102 int i, len = bidi.getLength(), logicalIndex = -1, runCount = 0; in doTest() local154 logicalIndex = bidi.getVisualIndex(i); in doTest()159 if(visualMap[i] != logicalIndex) { in doTest()162 visualMap[i], logicalIndex); in doTest()176 for (logicalIndex = 0; logicalIndex < len; ) { in doTest()177 level = bidi.getLevelAt(logicalIndex); in doTest()178 run = bidi.getLogicalRun(logicalIndex); in doTest()179 logicalIndex = run.getLimit(); in doTest()210 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local351 logicalIndex = bidi.getLogicalIndex(i); in _testReordering()[all …]
541 int logicalIndex=ubidi.getLogicalIndex(i); in checkOrdering() local542 if(levels[logicalIndex]<0) { in checkOrdering()545 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()547 ordering[visualIndex]+" actual "+logicalIndex); in checkOrdering()567 int logicalIndex=ubidi.getLogicalIndex(i); in checkOrdering() local568 if(levels[logicalIndex]<Bidi.LEVEL_DEFAULT_LTR) { in checkOrdering()569 aord.append(' ').append((char)('0'+logicalIndex)); in checkOrdering()
635 int32_t logicalIndex=ubidi_getLogicalIndex(ubidi, i, errorCode); in checkOrdering() local640 if(levels[logicalIndex]>=UBIDI_DEFAULT_LTR) { in checkOrdering()643 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()645 (int)lineNumber, (int)visualIndex, ordering[visualIndex], logicalIndex); in checkOrdering()666 int32_t logicalIndex=ubidi_getLogicalIndex(ubidi, i, errorCode); in checkOrdering() local667 if(levels[logicalIndex]<UBIDI_DEFAULT_LTR) { in checkOrdering()668 aord.append((UChar)0x20).append((UChar)(0x30+logicalIndex)); in checkOrdering()
449 static int getRunFromLogicalIndex(Bidi bidi, int logicalIndex) { in getRunFromLogicalIndex() argument456 if ((logicalIndex >= logicalStart) && (logicalIndex < (logicalStart+length))) { in getRunFromLogicalIndex()807 static int getVisualIndex(Bidi bidi, int logicalIndex) in getVisualIndex() argument814 visualIndex = logicalIndex; in getVisualIndex()817 visualIndex = bidi.length - logicalIndex - 1; in getVisualIndex()827 offset = logicalIndex - runs[i].start; in getVisualIndex()870 char uchar = bidi.text[logicalIndex]; in getVisualIndex()891 limit = logicalIndex; in getVisualIndex()894 start = logicalIndex + 1; in getVisualIndex()
4968 public int getVisualIndex(int logicalIndex) in getVisualIndex() argument4971 verifyRange(logicalIndex, 0, length); in getVisualIndex()4972 return BidiLine.getVisualIndex(this, logicalIndex); in getVisualIndex()
450 static int getRunFromLogicalIndex(Bidi bidi, int logicalIndex) { in getRunFromLogicalIndex() argument457 if ((logicalIndex >= logicalStart) && (logicalIndex < (logicalStart+length))) { in getRunFromLogicalIndex()808 static int getVisualIndex(Bidi bidi, int logicalIndex) in getVisualIndex() argument815 visualIndex = logicalIndex; in getVisualIndex()818 visualIndex = bidi.length - logicalIndex - 1; in getVisualIndex()828 offset = logicalIndex - runs[i].start; in getVisualIndex()871 char uchar = bidi.text[logicalIndex]; in getVisualIndex()892 limit = logicalIndex; in getVisualIndex()895 start = logicalIndex + 1; in getVisualIndex()
4904 public int getVisualIndex(int logicalIndex) in getVisualIndex() argument4907 verifyRange(logicalIndex, 0, length); in getVisualIndex()4908 return BidiLine.getVisualIndex(this, logicalIndex); in getVisualIndex()
520 static int32_t getRunFromLogicalIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) { in getRunFromLogicalIndex() argument527 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex()877 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) { in ubidi_getVisualIndex() argument881 RETURN_IF_BAD_RANGE(logicalIndex, 0, pBiDi->length, *pErrorCode, -1); in ubidi_getVisualIndex()886 visualIndex=logicalIndex; in ubidi_getVisualIndex()889 visualIndex=pBiDi->length-logicalIndex-1; in ubidi_getVisualIndex()902 offset=logicalIndex-GET_INDEX(runs[i].logicalStart); in ubidi_getVisualIndex()946 UChar uchar=pBiDi->text[logicalIndex]; in ubidi_getVisualIndex()967 limit=logicalIndex; in ubidi_getVisualIndex()970 start=logicalIndex+1; in ubidi_getVisualIndex()
1635 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode);
1039 int32_t i, len=ubidi_getLength(pBiDi), logicalIndex, runCount = 0; in doTest() local1098 logicalIndex=ubidi_getVisualIndex(pBiDi, i, &errorCode); in doTest()1103 if(visualMap[i]!=logicalIndex) { in doTest()1104 … log_err("ubidi_getVisualIndex(tests[%d], %d): wrong index %d\n", testNumber, i, logicalIndex); in doTest()1117 for(logicalIndex=0; logicalIndex<len;) { in doTest()1118 level=ubidi_getLevelAt(pBiDi, logicalIndex); in doTest()1119 ubidi_getLogicalRun(pBiDi, logicalIndex, &logicalIndex, &level2); in doTest()1123 testNumber, logicalIndex, level, level2); in doTest()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...