Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidi.java103 int i, len = bidi.getLength(), logicalIndex = -1, runCount = 0; in doTest() local
155 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() local
352 logicalIndex = bidi.getLogicalIndex(i); in _testReordering()
[all …]
DBiDiConformanceTest.java542 int logicalIndex=ubidi.getLogicalIndex(i); in checkOrdering() local
543 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() local
569 if(levels[logicalIndex]<Bidi.LEVEL_DEFAULT_LTR) { in checkOrdering()
570 aord.append(' ').append((char)('0'+logicalIndex)); in checkOrdering()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidi.java102 int i, len = bidi.getLength(), logicalIndex = -1, runCount = 0; in doTest() local
154 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() local
351 logicalIndex = bidi.getLogicalIndex(i); in _testReordering()
[all …]
DBiDiConformanceTest.java541 int logicalIndex=ubidi.getLogicalIndex(i); in checkOrdering() local
542 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() local
568 if(levels[logicalIndex]<Bidi.LEVEL_DEFAULT_LTR) { in checkOrdering()
569 aord.append(' ').append((char)('0'+logicalIndex)); in checkOrdering()
/external/icu/icu4c/source/test/intltest/
Dbidiconf.cpp635 int32_t logicalIndex=ubidi_getLogicalIndex(ubidi, i, errorCode); in checkOrdering() local
640 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() local
667 if(levels[logicalIndex]<UBIDI_DEFAULT_LTR) { in checkOrdering()
668 aord.append((UChar)0x20).append((UChar)(0x30+logicalIndex)); in checkOrdering()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java449 static int getRunFromLogicalIndex(Bidi bidi, int logicalIndex) { in getRunFromLogicalIndex() argument
456 if ((logicalIndex >= logicalStart) && (logicalIndex < (logicalStart+length))) { in getRunFromLogicalIndex()
807 static int getVisualIndex(Bidi bidi, int logicalIndex) in getVisualIndex() argument
814 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()
DBidi.java4968 public int getVisualIndex(int logicalIndex) in getVisualIndex() argument
4971 verifyRange(logicalIndex, 0, length); in getVisualIndex()
4972 return BidiLine.getVisualIndex(this, logicalIndex); in getVisualIndex()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java450 static int getRunFromLogicalIndex(Bidi bidi, int logicalIndex) { in getRunFromLogicalIndex() argument
457 if ((logicalIndex >= logicalStart) && (logicalIndex < (logicalStart+length))) { in getRunFromLogicalIndex()
808 static int getVisualIndex(Bidi bidi, int logicalIndex) in getVisualIndex() argument
815 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()
DBidi.java4904 public int getVisualIndex(int logicalIndex) in getVisualIndex() argument
4907 verifyRange(logicalIndex, 0, length); in getVisualIndex()
4908 return BidiLine.getVisualIndex(this, logicalIndex); in getVisualIndex()
/external/icu/icu4c/source/common/
Dubidiln.c520 static int32_t getRunFromLogicalIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) { in getRunFromLogicalIndex() argument
527 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex()
877 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) { in ubidi_getVisualIndex() argument
881 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()
/external/icu/icu4c/source/common/unicode/
Dubidi.h1635 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode);
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1039 int32_t i, len=ubidi_getLength(pBiDi), logicalIndex, runCount = 0; in doTest() local
1098 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()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...