/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | BidiLine.java | 661 int[] indexMap = new int[levels.length]; in prepareReorder() local 664 indexMap[start] = start; in prepareReorder() 667 return indexMap; in prepareReorder() 676 int[] indexMap = prepareReorder(levels, aMinLevel, aMaxLevel); in reorderLogical() local 677 if (indexMap == null) { in reorderLogical() 686 return indexMap; in reorderLogical() 725 indexMap[start] = sumOfSosEos - indexMap[start]; in reorderLogical() 736 return indexMap; in reorderLogical() 746 int[] indexMap = prepareReorder(levels, aMinLevel, aMaxLevel); in reorderVisual() local 747 if (indexMap == null) { in reorderVisual() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | BidiLine.java | 662 int[] indexMap = new int[levels.length]; in prepareReorder() local 665 indexMap[start] = start; in prepareReorder() 668 return indexMap; in prepareReorder() 677 int[] indexMap = prepareReorder(levels, aMinLevel, aMaxLevel); in reorderLogical() local 678 if (indexMap == null) { in reorderLogical() 687 return indexMap; in reorderLogical() 726 indexMap[start] = sumOfSosEos - indexMap[start]; in reorderLogical() 737 return indexMap; in reorderLogical() 747 int[] indexMap = prepareReorder(levels, aMinLevel, aMaxLevel); in reorderVisual() local 748 if (indexMap == null) { in reorderVisual() [all …]
|
/external/cronet/third_party/icu/source/common/ |
D | ubidiln.cpp | 711 int32_t *indexMap, in prepareReorder() argument 741 indexMap[start]=start; in prepareReorder() 750 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderLogical() argument 754 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderLogical() 799 indexMap[start]=sumOfSosEos-indexMap[start]; in ubidi_reorderLogical() 813 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderVisual() argument 817 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderVisual() 855 temp=indexMap[start]; in ubidi_reorderVisual() 856 indexMap[start]=indexMap[end]; in ubidi_reorderVisual() 857 indexMap[end]=temp; in ubidi_reorderVisual() [all …]
|
/external/icu/icu4c/source/common/ |
D | ubidiln.cpp | 711 int32_t *indexMap, in prepareReorder() argument 741 indexMap[start]=start; in prepareReorder() 750 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderLogical() argument 754 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderLogical() 799 indexMap[start]=sumOfSosEos-indexMap[start]; in ubidi_reorderLogical() 813 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderVisual() argument 817 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderVisual() 855 temp=indexMap[start]; in ubidi_reorderVisual() 856 indexMap[start]=indexMap[end]; in ubidi_reorderVisual() 857 indexMap[end]=temp; in ubidi_reorderVisual() [all …]
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | Indexer.java | 28 private final Map<T, Integer> indexMap = new LinkedHashMap<>(); field in Indexer 38 indexMap.putIfAbsent(checkNotNull(value), indexMap.size()); in apply() 39 return convertIndexFn.apply(indexMap.get(value)); in apply() 44 return Collections.unmodifiableSet(indexMap.keySet()); in getValues()
|
/external/skia/tests/ |
D | PolyUtilsTest.cpp | 21 uint16_t indexMap[1024]; in DEF_TEST() local 23 indexMap[i] = i; in DEF_TEST() 34 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() 43 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() 53 REPORTER_ASSERT(reporter, !SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() 64 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() 76 REPORTER_ASSERT(reporter, !SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() 87 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() 117 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() 129 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in DEF_TEST() [all …]
|
/external/skia/fuzz/ |
D | FuzzPolyUtils.cpp | 57 AutoSTMalloc<64, uint16_t> indexMap(count); in DEF_FUZZ() local 59 fuzz->next(&indexMap[index]); in DEF_FUZZ() 62 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
|
/external/openthread/src/core/thread/ |
D | router_table.cpp | 124 uint8_t indexMap[Mle::kMaxRouterId + 1]; in UpdateAllocation() local 133 indexMap[routerId] = mActiveRouterCount++; in UpdateAllocation() 137 indexMap[routerId] = Mle::kInvalidRouterId; in UpdateAllocation() 147 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation() 152 newIndex = indexMap[routerId]; in UpdateAllocation() 166 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation() 171 newIndex = indexMap[routerId]; in UpdateAllocation() 182 uint8_t index = indexMap[routerId]; in UpdateAllocation()
|
/external/angle/util/ |
D | shader_utils.cpp | 403 CounterNameToIndexMap indexMap; in BuildCounterNameToIndexMap() local 415 indexMap[buffer] = counterIndex; in BuildCounterNameToIndexMap() 418 return indexMap; in BuildCounterNameToIndexMap() 445 angle::VulkanPerfCounters GetPerfCounters(const CounterNameToIndexMap &indexMap) in GetPerfCounters() argument 452 GetPerfCounterValue(indexMap, perfResults, #COUNTER, &counters.COUNTER); in GetPerfCounters() 463 CounterNameToIndexMap indexMap = BuildCounterNameToIndexMap(); in BuildCounterNameToValueMap() local 468 for (const auto &iter : indexMap) in BuildCounterNameToValueMap()
|
/external/icu/icu4c/source/common/unicode/ |
D | ubidi.h | 1726 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1762 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1785 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap); 1808 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
|
/external/cronet/third_party/icu/source/common/unicode/ |
D | ubidi.h | 1726 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1762 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1785 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap); 1808 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
|
/external/icu/libandroidicu/include/unicode/ |
D | ubidi.h | 1726 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1762 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1785 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap); 1808 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
|
/external/icu/libicu/cts_headers/unicode/ |
D | ubidi.h | 1726 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1762 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1785 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap); 1808 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
|
/external/icu/libicu/ndk_headers/unicode/ |
D | ubidi.h | 1783 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) __INTRODUCED_IN(31); 1821 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) __INTRODUCED_IN(31); 1846 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) __INTRODUCED_IN(3… 1871 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) __INTRODUCED_IN(31…
|
/external/antlr/runtime/Python/unittests/ |
D | testtreewizard.py | 337 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)
|
/external/antlr/runtime/Python3/unittests/ |
D | testtreewizard.py | 336 def __simplifyIndexMap(self, indexMap): argument 339 for ttype, nodes in indexMap.items() 345 indexMap = wiz.index(tree) 346 found = self.__simplifyIndexMap(indexMap) 354 indexMap = wiz.index(tree) 355 found = self.__simplifyIndexMap(indexMap) 363 indexMap = wiz.index(tree) 364 found = self.__simplifyIndexMap(indexMap)
|
/external/skia/bench/ |
D | PolyUtilsBench.cpp | 93 AutoSTMalloc<64, uint16_t> indexMap(poly.size()); in onDraw() local 95 indexMap[i] = i; in onDraw() 99 SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.size(), in onDraw()
|
/external/guava/guava/src/com/google/common/collect/ |
D | SparseImmutableTable.java | 50 Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); in SparseImmutableTable() 134 Map<C, Integer> columnKeyToIndex = Maps.indexMap(columnKeySet()); in createSerializedForm()
|
D | ExplicitOrdering.java | 31 this(Maps.indexMap(valuesInOrder)); in ExplicitOrdering()
|
D | DenseImmutableTable.java | 62 this.rowKeyToIndex = Maps.indexMap(rowSpace); in DenseImmutableTable() 63 this.columnKeyToIndex = Maps.indexMap(columnSpace); in DenseImmutableTable()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | SparseImmutableTable.java | 50 Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); in SparseImmutableTable() 134 Map<C, Integer> columnKeyToIndex = Maps.indexMap(columnKeySet()); in createSerializedForm()
|
D | ExplicitOrdering.java | 31 this(Maps.indexMap(valuesInOrder)); in ExplicitOrdering()
|
D | DenseImmutableTable.java | 62 this.rowKeyToIndex = Maps.indexMap(rowSpace); in DenseImmutableTable() 63 this.columnKeyToIndex = Maps.indexMap(columnSpace); in DenseImmutableTable()
|
/external/skia/src/utils/ |
D | SkPolyUtils.h | 111 bool SkTriangulateSimplePolygon(const SkPoint* polygonVerts, uint16_t* indexMap, int polygonSize,
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | VerifyCompactNumbers.java | 92 Map<String, String> indexMap = new TreeMap<>(CLDR_CONFIG.getCollator()); in main() local 122 indexMap.put(english.getName(locale), locale + ".html"); in main() 126 DateTimeFormats.writeIndexMap(indexMap, index); in main()
|