Home
last modified time | relevance | path

Searched refs:indexMap (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java659 int[] indexMap = new int[levels.length]; in prepareReorder() local
662 indexMap[start] = start; in prepareReorder()
665 return indexMap; in prepareReorder()
674 int[] indexMap = prepareReorder(levels, aMinLevel, aMaxLevel); in reorderLogical() local
675 if (indexMap == null) { in reorderLogical()
684 return indexMap; in reorderLogical()
723 indexMap[start] = sumOfSosEos - indexMap[start]; in reorderLogical()
734 return indexMap; in reorderLogical()
744 int[] indexMap = prepareReorder(levels, aMinLevel, aMaxLevel); in reorderVisual() local
745 if (indexMap == null) { in reorderVisual()
[all …]
DBidi.java5651 int[] indexMap = reorderVisual(reorderLevels); in reorderVisually() local
5655 objects[objectStart + i] = temp[indexMap[i]]; in reorderVisually()
/external/icu/icu4c/source/common/
Dubidiln.c715 int32_t *indexMap, in prepareReorder() argument
745 indexMap[start]=start; in prepareReorder()
754 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderLogical() argument
758 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderLogical()
803 indexMap[start]=sumOfSosEos-indexMap[start]; in ubidi_reorderLogical()
817 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderVisual() argument
821 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderVisual()
859 temp=indexMap[start]; in ubidi_reorderVisual()
860 indexMap[start]=indexMap[end]; in ubidi_reorderVisual()
861 indexMap[end]=temp; in ubidi_reorderVisual()
[all …]
/external/icu/icu4c/source/common/unicode/
Dubidi.h1707 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode);
1743 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode);
1766 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
1789 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttreewizard.py337 def __simplifyIndexMap(self, indexMap): argument
340 for ttype, nodes in indexMap.items()
346 indexMap = wiz.index(tree)
347 found = self.__simplifyIndexMap(indexMap)
355 indexMap = wiz.index(tree)
356 found = self.__simplifyIndexMap(indexMap)
364 indexMap = wiz.index(tree)
365 found = self.__simplifyIndexMap(indexMap)