/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/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/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/skia/tests/ |
D | PolyUtilsTest.cpp | 14 uint16_t indexMap[1024]; in DEF_TEST() local 16 indexMap[i] = i; in DEF_TEST() 27 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 36 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 46 REPORTER_ASSERT(reporter, !SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 57 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 69 REPORTER_ASSERT(reporter, !SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 80 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 110 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 122 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | PolyUtilsTest.cpp | 14 uint16_t indexMap[1024]; in DEF_TEST() local 16 indexMap[i] = i; in DEF_TEST() 27 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 36 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 46 REPORTER_ASSERT(reporter, !SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 57 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 69 REPORTER_ASSERT(reporter, !SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 80 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 110 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() 122 REPORTER_ASSERT(reporter, SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in DEF_TEST() [all …]
|
/external/skqp/fuzz/ |
D | FuzzPolyUtils.cpp | 34 SkAutoSTMalloc<64, uint16_t> indexMap(count); in DEF_FUZZ() local 36 fuzz->next(&indexMap[index]); in DEF_FUZZ() 39 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
|
/external/skia/fuzz/ |
D | FuzzPolyUtils.cpp | 38 SkAutoSTMalloc<64, uint16_t> indexMap(count); in DEF_FUZZ() local 40 fuzz->next(&indexMap[index]); in DEF_FUZZ() 43 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
|
/external/icu/icu4c/source/common/unicode/ |
D | ubidi.h | 1725 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1761 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1784 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap); 1807 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
|
/external/icu/libicu/cts_headers/unicode/ |
D | ubidi.h | 1725 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1761 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1784 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap); 1807 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
|
/external/icu/libandroidicu/include/unicode/ |
D | ubidi.h | 1725 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1761 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode); 1784 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap); 1807 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap);
|
/external/icu/libicu/ndk_headers/unicode/ |
D | ubidi.h | 1781 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) __INTRODUCED_IN(31); 1819 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) __INTRODUCED_IN(31); 1844 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) __INTRODUCED_IN(3… 1869 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) __INTRODUCED_IN(31…
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | DropUnitDims.cpp | 232 AffineMap indexMap; member 247 static UnitExtentReplacementInfo replaceUnitExtents(AffineMap indexMap, in replaceUnitExtents() argument 251 ArrayRef<AffineExpr> exprs = indexMap.getResults(); in replaceUnitExtents() 283 AffineMap::get(indexMap.getNumDims(), indexMap.getNumSymbols(), in replaceUnitExtents() 314 newIndexingMaps.push_back(replacementInfo.indexMap); in matchAndRewrite()
|
/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/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorTransforms.cpp | 176 static void getMappedElements(const DenseMap<int64_t, int64_t> &indexMap, in getMappedElements() argument 179 assert(indexMap.size() == resultElements.size()); in getMappedElements() 182 auto it = indexMap.find(i); in getMappedElements() 183 if (it != indexMap.end()) in getMappedElements() 234 const DenseMap<int64_t, int64_t> &indexMap, in initUnrolledVectorState() argument 240 getMappedElements(indexMap, targetShape, state.unrolledShape); in initUnrolledVectorState() 266 DenseMap<int64_t, int64_t> &indexMap) { in getUnrolledVectorLinearIndex() argument 269 getMappedElements(indexMap, vectorOffsets, sliceOffsets); in getUnrolledVectorLinearIndex() 279 ArrayRef<int64_t> offsets, DenseMap<int64_t, int64_t> &indexMap, in getOrCreateUnrolledVectorSlice() argument 283 getMappedElements(indexMap, offsets, sliceOffsets); in getOrCreateUnrolledVectorSlice() [all …]
|
/external/skia/bench/ |
D | PolyUtilsBench.cpp | 87 SkAutoSTMalloc<64, uint16_t> indexMap(poly.count()); in onDraw() local 89 indexMap[i] = i; in onDraw() 93 SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in onDraw()
|
/external/skqp/bench/ |
D | PolyUtilsBench.cpp | 81 SkAutoSTMalloc<64, uint16_t> indexMap(poly.count()); in onDraw() local 83 indexMap[i] = i; in onDraw() 87 SkTriangulateSimplePolygon(poly.begin(), indexMap, poly.count(), in onDraw()
|
/external/skqp/src/utils/ |
D | SkPolyUtils.h | 103 bool SkTriangulateSimplePolygon(const SkPoint* polygonVerts, uint16_t* indexMap, int polygonSize,
|
/external/skia/src/utils/ |
D | SkPolyUtils.h | 106 bool SkTriangulateSimplePolygon(const SkPoint* polygonVerts, uint16_t* indexMap, int polygonSize,
|
/external/guava/guava/src/com/google/common/collect/ |
D | SparseImmutableTable.java | 47 Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); in SparseImmutableTable() 127 Map<C, Integer> columnKeyToIndex = Maps.indexMap(columnKeySet()); in createSerializedForm()
|
D | ExplicitOrdering.java | 30 this(Maps.indexMap(valuesInOrder)); in ExplicitOrdering()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | SparseImmutableTable.java | 47 Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); in SparseImmutableTable() 127 Map<C, Integer> columnKeyToIndex = Maps.indexMap(columnKeySet()); in createSerializedForm()
|
D | ExplicitOrdering.java | 30 this(Maps.indexMap(valuesInOrder)); in ExplicitOrdering()
|
/external/cldr/tools/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()
|