Home
last modified time | relevance | path

Searched refs:mapIndex (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/modules/skshaper/src/
DSkShaper_coretext.cpp182 size_t mapIndex(size_t index) const { in mapIndex() function in __anon7dc970e70111::UTF16ToUTF8IndicesMap
188 auto utf8Start = mapIndex(start); in mapRange()
189 return {utf8Start, mapIndex(start + size) - utf8Start}; in mapRange()
305 buffer.clusters[k] = utf8IndicesMap.mapIndex(indices[k]); in shape()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java742 int i, mapIndex, blockCount; in compactData() local
780 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
781 map[mapIndex++]=movedStart; in compactData()
801 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
802 map[mapIndex++]=movedStart; in compactData()
812 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
813 map[mapIndex++]=start; in compactData()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTrie2Writable.java744 int i, mapIndex, blockCount; in compactData() local
782 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
783 map[mapIndex++]=movedStart; in compactData()
803 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
804 map[mapIndex++]=movedStart; in compactData()
814 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
815 map[mapIndex++]=start; in compactData()
/third_party/icu/icu4c/source/common/
Dutrie2_builder.cpp1037 int32_t i, mapIndex, blockCount; in compactData() local
1079 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1080 trie->map[mapIndex++]=movedStart; in compactData()
1103 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1104 trie->map[mapIndex++]=movedStart; in compactData()
1114 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1115 trie->map[mapIndex++]=start; in compactData()
Dutext.cpp947 int32_t mapIndex = 0; in utf8TextAccess() local
1038 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1039 U_ASSERT(mapIndex < (int32_t)sizeof(UTF8Buf::mapToUChars)); in utf8TextAccess()
1040 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1103 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1104 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1137 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1138 U_ASSERT(mapIndex>=0); in utf8TextAccess()
1139 U_ASSERT(mapIndex<(int32_t)sizeof(u8b->mapToUChars)); in utf8TextAccess()
1140 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
[all …]
/third_party/node/deps/icu-small/source/common/
Dutrie2_builder.cpp1037 int32_t i, mapIndex, blockCount; in compactData() local
1079 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1080 trie->map[mapIndex++]=movedStart; in compactData()
1103 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1104 trie->map[mapIndex++]=movedStart; in compactData()
1114 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1115 trie->map[mapIndex++]=start; in compactData()
Dutext.cpp947 int32_t mapIndex = 0; in utf8TextAccess() local
1038 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1039 U_ASSERT(mapIndex < (int32_t)sizeof(UTF8Buf::mapToUChars)); in utf8TextAccess()
1040 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1103 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1104 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1137 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1138 U_ASSERT(mapIndex>=0); in utf8TextAccess()
1139 U_ASSERT(mapIndex<(int32_t)sizeof(u8b->mapToUChars)); in utf8TextAccess()
1140 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dutrie2_builder.cpp1035 int32_t i, mapIndex, blockCount; in compactData() local
1077 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1078 trie->map[mapIndex++]=movedStart; in compactData()
1101 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1102 trie->map[mapIndex++]=movedStart; in compactData()
1112 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1113 trie->map[mapIndex++]=start; in compactData()
Dutext.cpp945 int32_t mapIndex = 0; in utf8TextAccess() local
1036 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1037 U_ASSERT(mapIndex < (int32_t)sizeof(UTF8Buf::mapToUChars)); in utf8TextAccess()
1038 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1101 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1102 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1135 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1136 U_ASSERT(mapIndex>=0); in utf8TextAccess()
1137 U_ASSERT(mapIndex<(int32_t)sizeof(u8b->mapToUChars)); in utf8TextAccess()
1138 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dutrie2_builder.cpp1037 int32_t i, mapIndex, blockCount; in compactData() local
1079 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1080 trie->map[mapIndex++]=movedStart; in compactData()
1103 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1104 trie->map[mapIndex++]=movedStart; in compactData()
1114 for(i=blockCount, mapIndex=start>>UTRIE2_SHIFT_2; i>0; --i) { in compactData()
1115 trie->map[mapIndex++]=start; in compactData()
Dutext.cpp947 int32_t mapIndex = 0; in utf8TextAccess() local
1038 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1039 U_ASSERT(mapIndex < (int32_t)sizeof(UTF8Buf::mapToUChars)); in utf8TextAccess()
1040 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1103 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1104 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
1137 mapIndex = ix - u8b->toUCharsMapStart; in utf8TextAccess()
1138 U_ASSERT(mapIndex>=0); in utf8TextAccess()
1139 U_ASSERT(mapIndex<(int32_t)sizeof(u8b->mapToUChars)); in utf8TextAccess()
1140 ut->chunkOffset = u8b->mapToUChars[mapIndex] - u8b->bufStartIdx; in utf8TextAccess()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp1488 for (deUint32 mapIndex = 0; mapIndex < densitiMapCount; ++mapIndex) in FragmentDensityMapTestInstance() local
1527 for (deUint32 mapIndex = 0; mapIndex < densitiMapCount; ++mapIndex) in FragmentDensityMapTestInstance() local
1537 densityMapImageSize, densityMapImageLayers, **m_densityMapImages[mapIndex] in FragmentDensityMapTestInstance()