Searched refs:logicalIndex (Results 1 – 4 of 4) sorted by relevance
/external/icu4c/test/intltest/ |
D | bidiconf.cpp | 441 int32_t logicalIndex=ubidi_getLogicalIndex(ubidi, i, errorCode); in checkOrdering() local 446 if(levels[logicalIndex]>=UBIDI_DEFAULT_LTR) { in checkOrdering() 449 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering() 451 (int)visualIndex, ordering[visualIndex], logicalIndex); in checkOrdering() 472 int32_t logicalIndex=ubidi_getLogicalIndex(ubidi, i, errorCode); in checkOrdering() local 473 if(levels[logicalIndex]<UBIDI_DEFAULT_LTR) { in checkOrdering() 474 aord.append((UChar)0x20).append((UChar)(0x30+logicalIndex)); in checkOrdering()
|
/external/icu4c/common/ |
D | ubidiln.c | 518 static int32_t getRunFromLogicalIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) { in getRunFromLogicalIndex() argument 525 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex() 875 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) { in ubidi_getVisualIndex() argument 879 RETURN_IF_BAD_RANGE(logicalIndex, 0, pBiDi->length, *pErrorCode, -1); in ubidi_getVisualIndex() 884 visualIndex=logicalIndex; in ubidi_getVisualIndex() 887 visualIndex=pBiDi->length-logicalIndex-1; in ubidi_getVisualIndex() 900 offset=logicalIndex-GET_INDEX(runs[i].logicalStart); in ubidi_getVisualIndex() 944 UChar uchar=pBiDi->text[logicalIndex]; in ubidi_getVisualIndex() 965 limit=logicalIndex; in ubidi_getVisualIndex() 968 start=logicalIndex+1; in ubidi_getVisualIndex()
|
/external/icu4c/common/unicode/ |
D | ubidi.h | 1629 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode);
|
/external/icu4c/test/cintltst/ |
D | cbiditst.c | 893 int32_t i, len=ubidi_getLength(pBiDi), logicalIndex, runCount = 0; in doTest() local 952 logicalIndex=ubidi_getVisualIndex(pBiDi, i, &errorCode); in doTest() 957 if(visualMap[i]!=logicalIndex) { in doTest() 958 … log_err("ubidi_getVisualIndex(tests[%d], %d): wrong index %d\n", testNumber, i, logicalIndex); in doTest() 971 for(logicalIndex=0; logicalIndex<len;) { in doTest() 972 level=ubidi_getLevelAt(pBiDi, logicalIndex); in doTest() 973 ubidi_getLogicalRun(pBiDi, logicalIndex, &logicalIndex, &level2); in doTest() 977 testNumber, logicalIndex, level, level2); in doTest()
|