Home
last modified time | relevance | path

Searched refs:visualIndex (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java809 int visualIndex = Bidi.MAP_NOWHERE; in getVisualIndex() local
814 visualIndex = logicalIndex; in getVisualIndex()
817 visualIndex = bidi.length - logicalIndex - 1; in getVisualIndex()
831 visualIndex = visualStart + offset; in getVisualIndex()
834 visualIndex = visualStart + length - offset - 1; in getVisualIndex()
857 if (visualIndex < runs[i].limit) { in getVisualIndex()
858 return visualIndex + markFound; in getVisualIndex()
880 if (visualIndex >= runs[i].limit) { in getVisualIndex()
886 return visualIndex - controlFound; in getVisualIndex()
903 return visualIndex - controlFound; in getVisualIndex()
[all …]
DBidi.java5013 public int getLogicalIndex(int visualIndex) in getLogicalIndex() argument
5016 verifyRange(visualIndex, 0, resultLength); in getLogicalIndex()
5020 return visualIndex; in getLogicalIndex()
5023 return length - visualIndex - 1; in getLogicalIndex()
5027 return BidiLine.getLogicalIndex(this, visualIndex); in getLogicalIndex()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java810 int visualIndex = Bidi.MAP_NOWHERE; in getVisualIndex() local
815 visualIndex = logicalIndex; in getVisualIndex()
818 visualIndex = bidi.length - logicalIndex - 1; in getVisualIndex()
832 visualIndex = visualStart + offset; in getVisualIndex()
835 visualIndex = visualStart + length - offset - 1; in getVisualIndex()
858 if (visualIndex < runs[i].limit) { in getVisualIndex()
859 return visualIndex + markFound; in getVisualIndex()
881 if (visualIndex >= runs[i].limit) { in getVisualIndex()
887 return visualIndex - controlFound; in getVisualIndex()
904 return visualIndex - controlFound; in getVisualIndex()
[all …]
DBidi.java4948 public int getLogicalIndex(int visualIndex) in getLogicalIndex() argument
4951 verifyRange(visualIndex, 0, resultLength); in getLogicalIndex()
4955 return visualIndex; in getLogicalIndex()
4958 return length - visualIndex - 1; in getLogicalIndex()
4962 return BidiLine.getLogicalIndex(this, visualIndex); in getLogicalIndex()
/external/icu/icu4c/source/common/
Dubidiln.c878 int32_t visualIndex=UBIDI_MAP_NOWHERE; in ubidi_getVisualIndex() local
886 visualIndex=logicalIndex; in ubidi_getVisualIndex()
889 visualIndex=pBiDi->length-logicalIndex-1; in ubidi_getVisualIndex()
906 visualIndex=visualStart+offset; in ubidi_getVisualIndex()
909 visualIndex=visualStart+length-offset-1; in ubidi_getVisualIndex()
933 if(visualIndex<runs[i].visualLimit) { in ubidi_getVisualIndex()
934 return visualIndex+markFound; in ubidi_getVisualIndex()
956 if(visualIndex>=runs[i].visualLimit) { in ubidi_getVisualIndex()
962 return visualIndex-controlFound; in ubidi_getVisualIndex()
979 return visualIndex-controlFound; in ubidi_getVisualIndex()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DBiDiConformanceTest.java537 int i, visualIndex; in checkOrdering() local
540 for(i=visualIndex=0; i<resultLength; ++i) { in checkOrdering()
545 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()
546 … errln(" ------------ Wrong ordering value at visual index "+visualIndex+"; expected "+ in checkOrdering()
547 ordering[visualIndex]+" actual "+logicalIndex); in checkOrdering()
551 ++visualIndex; in checkOrdering()
555 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
556 …n(" ------------ Wrong number of ordering values; expected "+orderingCount+" actual "+visualIndex); in checkOrdering()
DTestBidi.java210 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
253 visualIndex = 0; in _testReordering()
269 visualMap4[visualIndex++] = logicalStart++; in _testReordering()
274 visualMap4[visualIndex++] = --logicalStart; in _testReordering()
340 visualIndex = bidi.getVisualIndex(i); in _testReordering()
345 if (logicalMap1[i] != visualIndex) { in _testReordering()
348 ") == " + visualIndex + ")"); in _testReordering()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DBiDiConformanceTest.java538 int i, visualIndex; in checkOrdering() local
541 for(i=visualIndex=0; i<resultLength; ++i) { in checkOrdering()
546 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()
547 … errln(" ------------ Wrong ordering value at visual index "+visualIndex+"; expected "+ in checkOrdering()
548 ordering[visualIndex]+" actual "+logicalIndex); in checkOrdering()
552 ++visualIndex; in checkOrdering()
556 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
557 …n(" ------------ Wrong number of ordering values; expected "+orderingCount+" actual "+visualIndex); in checkOrdering()
DTestBidi.java211 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
254 visualIndex = 0; in _testReordering()
270 visualMap4[visualIndex++] = logicalStart++; in _testReordering()
275 visualMap4[visualIndex++] = --logicalStart; in _testReordering()
341 visualIndex = bidi.getVisualIndex(i); in _testReordering()
346 if (logicalMap1[i] != visualIndex) { in _testReordering()
349 ") == " + visualIndex + ")"); in _testReordering()
/external/icu/icu4c/source/test/intltest/
Dbidiconf.cpp631 int32_t i, visualIndex; in checkOrdering() local
634 for(i=visualIndex=0; i<resultLength; ++i) { in checkOrdering()
643 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering()
645 (int)lineNumber, (int)visualIndex, ordering[visualIndex], logicalIndex); in checkOrdering()
649 ++visualIndex; in checkOrdering()
653 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
655 (int)lineNumber, (int)orderingCount, (int)visualIndex); in checkOrdering()
/external/icu/icu4c/source/common/unicode/
Dubidi.h1670 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode);
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1151 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1193 visualIndex=0; in _testReordering()
1199 visualMap4[visualIndex++]=logicalStart++; in _testReordering()
1204 visualMap4[visualIndex++]=--logicalStart; in _testReordering()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...