/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | utrie_swap.cpp | 51 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap() 57 trie.indexLength<UTRIE_BMP_INDEX_LENGTH || in utrie_swap() 58 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 || in utrie_swap() 68 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap() 85 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap() 86 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap() 87 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); in utrie_swap() 89 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap() 122 trie.indexLength=ds->readUInt16(inTrie->indexLength); in utrie2_swap() 130 trie.indexLength<UTRIE2_INDEX_1_OFFSET || in utrie2_swap() [all …]
|
D | utrie.cpp | 108 trie->indexLength=UTRIE_MAX_INDEX_LENGTH; in utrie_open() 377 _findSameIndexBlock(const int32_t *idx, int32_t indexLength, in _findSameIndexBlock() argument 381 for(block=UTRIE_BMP_INDEX_LENGTH; block<indexLength; block+=UTRIE_SURROGATE_BLOCK_COUNT) { in _findSameIndexBlock() 391 return indexLength; in _findSameIndexBlock() 410 int32_t indexLength, block; in utrie_fold() local 454 indexLength=UTRIE_BMP_INDEX_LENGTH; in utrie_fold() 468 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT); in utrie_fold() 484 if(block==indexLength) { in utrie_fold() 486 uprv_memmove(idx+indexLength, in utrie_fold() 489 indexLength+=UTRIE_SURROGATE_BLOCK_COUNT; in utrie_fold() [all …]
|
D | umutablecptrie.cpp | 1321 int32_t indexLength = index3Start; in compactIndex() local 1339 if (indexLength == index3Start) { in compactIndex() 1343 n = getOverlap(index16, indexLength, in compactIndex() 1346 i3 = indexLength - n; in compactIndex() 1347 int32_t prevIndexLength = indexLength; in compactIndex() 1349 index16[indexLength++] = index[i + n++]; in compactIndex() 1351 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1353 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1362 int32_t k = indexLength; in compactIndex() 1391 int32_t n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex() [all …]
|
D | utrie2.cpp | 92 trie->data32==NULL ? trie->indexLength : 0, in u8Index() 171 tempTrie.indexLength=header->indexLength; in utrie2_openFromSerialized() 179 tempTrie.highValueIndex+=tempTrie.indexLength; in utrie2_openFromSerialized() 183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized() 211 p16+=trie->indexLength; in utrie2_openFromSerialized() 246 int32_t indexLength, dataLength, length, i; in utrie2_openDummy() local 259 indexLength=UTRIE2_INDEX_1_OFFSET; in utrie2_openDummy() 261 length=(int32_t)sizeof(UTrie2Header)+indexLength*2; in utrie2_openDummy() 286 dataMove=indexLength; in utrie2_openDummy() 291 trie->indexLength=indexLength; in utrie2_openDummy() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | utrie_swap.cpp | 51 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap() 57 trie.indexLength<UTRIE_BMP_INDEX_LENGTH || in utrie_swap() 58 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 || in utrie_swap() 68 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap() 85 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap() 86 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap() 87 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); in utrie_swap() 89 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap() 122 trie.indexLength=ds->readUInt16(inTrie->indexLength); in utrie2_swap() 130 trie.indexLength<UTRIE2_INDEX_1_OFFSET || in utrie2_swap() [all …]
|
D | utrie.cpp | 108 trie->indexLength=UTRIE_MAX_INDEX_LENGTH; in utrie_open() 377 _findSameIndexBlock(const int32_t *idx, int32_t indexLength, in _findSameIndexBlock() argument 381 for(block=UTRIE_BMP_INDEX_LENGTH; block<indexLength; block+=UTRIE_SURROGATE_BLOCK_COUNT) { in _findSameIndexBlock() 391 return indexLength; in _findSameIndexBlock() 410 int32_t indexLength, block; in utrie_fold() local 454 indexLength=UTRIE_BMP_INDEX_LENGTH; in utrie_fold() 468 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT); in utrie_fold() 484 if(block==indexLength) { in utrie_fold() 486 uprv_memmove(idx+indexLength, in utrie_fold() 489 indexLength+=UTRIE_SURROGATE_BLOCK_COUNT; in utrie_fold() [all …]
|
D | umutablecptrie.cpp | 1326 int32_t indexLength = index3Start; in compactIndex() local 1344 if (indexLength == index3Start) { in compactIndex() 1348 n = getOverlap(index16, indexLength, in compactIndex() 1351 i3 = indexLength - n; in compactIndex() 1352 int32_t prevIndexLength = indexLength; in compactIndex() 1354 index16[indexLength++] = index[i + n++]; in compactIndex() 1356 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1358 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1367 int32_t k = indexLength; in compactIndex() 1396 int32_t n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex() [all …]
|
D | utrie2.cpp | 92 trie->data32==NULL ? trie->indexLength : 0, in u8Index() 171 tempTrie.indexLength=header->indexLength; in utrie2_openFromSerialized() 179 tempTrie.highValueIndex+=tempTrie.indexLength; in utrie2_openFromSerialized() 183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized() 211 p16+=trie->indexLength; in utrie2_openFromSerialized() 246 int32_t indexLength, dataLength, length, i; in utrie2_openDummy() local 259 indexLength=UTRIE2_INDEX_1_OFFSET; in utrie2_openDummy() 261 length=(int32_t)sizeof(UTrie2Header)+indexLength*2; in utrie2_openDummy() 286 dataMove=indexLength; in utrie2_openDummy() 291 trie->indexLength=indexLength; in utrie2_openDummy() [all …]
|
D | ucptrie.cpp | 73 tempTrie.indexLength = header->indexLength; in ucptrie_openFromBinary() 86 int32_t actualLength = (int32_t)sizeof(UCPTrieHeader) + tempTrie.indexLength * 2; in ucptrie_openFromBinary() 113 p16 += trie->indexLength; in ucptrie_openFromBinary() 487 int32_t length = (int32_t)sizeof(UCPTrieHeader) + trie->indexLength * 2; in ucptrie_toBinary() 515 header->indexLength = (uint16_t)trie->indexLength; in ucptrie_toBinary() 522 uprv_memcpy(bytes, trie->index, trie->indexLength * 2); in ucptrie_toBinary() 523 bytes += trie->indexLength * 2; in ucptrie_toBinary() 574 long indexLength=trie->indexLength; in ucptrie_printLengths() local 576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() 580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | utrie_swap.cpp | 51 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap() 57 trie.indexLength<UTRIE_BMP_INDEX_LENGTH || in utrie_swap() 58 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 || in utrie_swap() 68 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap() 85 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap() 86 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap() 87 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); in utrie_swap() 89 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap() 122 trie.indexLength=ds->readUInt16(inTrie->indexLength); in utrie2_swap() 130 trie.indexLength<UTRIE2_INDEX_1_OFFSET || in utrie2_swap() [all …]
|
D | utrie.cpp | 108 trie->indexLength=UTRIE_MAX_INDEX_LENGTH; in utrie_open() 377 _findSameIndexBlock(const int32_t *idx, int32_t indexLength, in _findSameIndexBlock() argument 381 for(block=UTRIE_BMP_INDEX_LENGTH; block<indexLength; block+=UTRIE_SURROGATE_BLOCK_COUNT) { in _findSameIndexBlock() 391 return indexLength; in _findSameIndexBlock() 410 int32_t indexLength, block; in utrie_fold() local 454 indexLength=UTRIE_BMP_INDEX_LENGTH; in utrie_fold() 468 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT); in utrie_fold() 484 if(block==indexLength) { in utrie_fold() 486 uprv_memmove(idx+indexLength, in utrie_fold() 489 indexLength+=UTRIE_SURROGATE_BLOCK_COUNT; in utrie_fold() [all …]
|
D | umutablecptrie.cpp | 1326 int32_t indexLength = index3Start; in compactIndex() local 1344 if (indexLength == index3Start) { in compactIndex() 1348 n = getOverlap(index16, indexLength, in compactIndex() 1351 i3 = indexLength - n; in compactIndex() 1352 int32_t prevIndexLength = indexLength; in compactIndex() 1354 index16[indexLength++] = index[i + n++]; in compactIndex() 1356 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1358 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1367 int32_t k = indexLength; in compactIndex() 1396 int32_t n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex() [all …]
|
D | utrie2.cpp | 92 trie->data32==NULL ? trie->indexLength : 0, in u8Index() 171 tempTrie.indexLength=header->indexLength; in utrie2_openFromSerialized() 179 tempTrie.highValueIndex+=tempTrie.indexLength; in utrie2_openFromSerialized() 183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized() 211 p16+=trie->indexLength; in utrie2_openFromSerialized() 246 int32_t indexLength, dataLength, length, i; in utrie2_openDummy() local 259 indexLength=UTRIE2_INDEX_1_OFFSET; in utrie2_openDummy() 261 length=(int32_t)sizeof(UTrie2Header)+indexLength*2; in utrie2_openDummy() 286 dataMove=indexLength; in utrie2_openDummy() 291 trie->indexLength=indexLength; in utrie2_openDummy() [all …]
|
D | ucptrie.cpp | 73 tempTrie.indexLength = header->indexLength; in ucptrie_openFromBinary() 86 int32_t actualLength = (int32_t)sizeof(UCPTrieHeader) + tempTrie.indexLength * 2; in ucptrie_openFromBinary() 113 p16 += trie->indexLength; in ucptrie_openFromBinary() 487 int32_t length = (int32_t)sizeof(UCPTrieHeader) + trie->indexLength * 2; in ucptrie_toBinary() 515 header->indexLength = (uint16_t)trie->indexLength; in ucptrie_toBinary() 522 uprv_memcpy(bytes, trie->index, trie->indexLength * 2); in ucptrie_toBinary() 523 bytes += trie->indexLength * 2; in ucptrie_toBinary() 574 long indexLength=trie->indexLength; in ucptrie_printLengths() local 576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() 580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
|
/third_party/node/deps/icu-small/source/common/ |
D | utrie_swap.cpp | 51 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap() 57 trie.indexLength<UTRIE_BMP_INDEX_LENGTH || in utrie_swap() 58 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 || in utrie_swap() 68 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap() 85 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap() 86 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap() 87 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); in utrie_swap() 89 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap() 122 trie.indexLength=ds->readUInt16(inTrie->indexLength); in utrie2_swap() 130 trie.indexLength<UTRIE2_INDEX_1_OFFSET || in utrie2_swap() [all …]
|
D | utrie.cpp | 108 trie->indexLength=UTRIE_MAX_INDEX_LENGTH; in utrie_open() 377 _findSameIndexBlock(const int32_t *idx, int32_t indexLength, in _findSameIndexBlock() argument 381 for(block=UTRIE_BMP_INDEX_LENGTH; block<indexLength; block+=UTRIE_SURROGATE_BLOCK_COUNT) { in _findSameIndexBlock() 391 return indexLength; in _findSameIndexBlock() 410 int32_t indexLength, block; in utrie_fold() local 454 indexLength=UTRIE_BMP_INDEX_LENGTH; in utrie_fold() 468 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT); in utrie_fold() 484 if(block==indexLength) { in utrie_fold() 486 uprv_memmove(idx+indexLength, in utrie_fold() 489 indexLength+=UTRIE_SURROGATE_BLOCK_COUNT; in utrie_fold() [all …]
|
D | umutablecptrie.cpp | 1326 int32_t indexLength = index3Start; in compactIndex() local 1344 if (indexLength == index3Start) { in compactIndex() 1348 n = getOverlap(index16, indexLength, in compactIndex() 1351 i3 = indexLength - n; in compactIndex() 1352 int32_t prevIndexLength = indexLength; in compactIndex() 1354 index16[indexLength++] = index[i + n++]; in compactIndex() 1356 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1358 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1367 int32_t k = indexLength; in compactIndex() 1396 int32_t n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex() [all …]
|
D | utrie2.cpp | 92 trie->data32==NULL ? trie->indexLength : 0, in u8Index() 171 tempTrie.indexLength=header->indexLength; in utrie2_openFromSerialized() 179 tempTrie.highValueIndex+=tempTrie.indexLength; in utrie2_openFromSerialized() 183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized() 211 p16+=trie->indexLength; in utrie2_openFromSerialized() 246 int32_t indexLength, dataLength, length, i; in utrie2_openDummy() local 259 indexLength=UTRIE2_INDEX_1_OFFSET; in utrie2_openDummy() 261 length=(int32_t)sizeof(UTrie2Header)+indexLength*2; in utrie2_openDummy() 286 dataMove=indexLength; in utrie2_openDummy() 291 trie->indexLength=indexLength; in utrie2_openDummy() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | MutableCodePointTrie.java | 1206 int indexLength = index3Start; in compactIndex() local 1224 if (indexLength == index3Start) { in compactIndex() 1228 n = getOverlap(index16, indexLength, in compactIndex() 1231 i3 = indexLength - n; in compactIndex() 1232 int prevIndexLength = indexLength; in compactIndex() 1234 index16[indexLength++] = (char)index[i + n++]; in compactIndex() 1236 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1238 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1247 int k = indexLength; in compactIndex() 1276 int n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | MutableCodePointTrie.java | 1214 int indexLength = index3Start; in compactIndex() local 1232 if (indexLength == index3Start) { in compactIndex() 1236 n = getOverlap(index16, indexLength, in compactIndex() 1239 i3 = indexLength - n; in compactIndex() 1240 int prevIndexLength = indexLength; in compactIndex() 1242 index16[indexLength++] = (char)index[i + n++]; in compactIndex() 1244 mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1246 longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); in compactIndex() 1255 int k = indexLength; in compactIndex() 1284 int n = longI3Blocks.findBlock(index16, index16, indexLength); in compactIndex() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/patches/ |
D | uniset_perf.patch | 472 - int32_t n = findSameBlock(index16, index3Start, indexLength, 481 i3 = indexLength - n; 482 + int32_t prevIndexLength = indexLength; 484 index16[indexLength++] = index[i + n++]; 486 + mixedBlocks.extend(index16, index3Start, prevIndexLength, indexLength); 488 + longI3Blocks.extend(index16, index3Start, prevIndexLength, indexLength); 501 - int32_t n = findSameBlock(index16, index3Start, indexLength, 502 - index16, indexLength, INDEX_3_18BIT_BLOCK_LENGTH); 503 + int32_t n = longI3Blocks.findBlock(index16, index16, indexLength); 508 index16, indexLength, INDEX_3_18BIT_BLOCK_LENGTH); [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Trie2.java | 118 header.indexLength = bytes.getChar(); in createFromSerialized() 141 This.indexLength = header.indexLength; in createFromSerialized() 148 This.highValueIndex += This.indexLength; in createFromSerialized() 154 int indexArraySize = This.indexLength; in createFromSerialized() 166 This.data16 = This.indexLength; in createFromSerialized() 479 dos.writeShort(header.indexLength); in serializeHeader() 488 for (i=0; i< header.indexLength; i++) { in serializeHeader() 491 bytesWritten += header.indexLength; in serializeHeader() 654 int indexLength; field in Trie2.UTrie2Header 678 int indexLength; field in Trie2
|
D | IntTrieBuilder.java | 714 int indexLength = BMP_INDEX_LENGTH_; in fold() local 721 block = findSameIndexBlock(index, indexLength, c >> SHIFT_); in fold() 736 if (block == indexLength) { in fold() 739 System.arraycopy(index, c >> SHIFT_, index, indexLength, in fold() 741 indexLength += SURROGATE_BLOCK_COUNT_; in fold() 759 if (indexLength >= MAX_INDEX_LENGTH_) { in fold() 766 indexLength - BMP_INDEX_LENGTH_); in fold() 769 indexLength += SURROGATE_BLOCK_COUNT_; in fold() 770 m_indexLength_ = indexLength; in fold()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2.java | 116 header.indexLength = bytes.getChar(); in createFromSerialized() 139 This.indexLength = header.indexLength; in createFromSerialized() 146 This.highValueIndex += This.indexLength; in createFromSerialized() 152 int indexArraySize = This.indexLength; in createFromSerialized() 164 This.data16 = This.indexLength; in createFromSerialized() 475 dos.writeShort(header.indexLength); in serializeHeader() 484 for (i=0; i< header.indexLength; i++) { in serializeHeader() 487 bytesWritten += header.indexLength; in serializeHeader() 648 int indexLength; field in Trie2.UTrie2Header 672 int indexLength; field in Trie2
|
D | IntTrieBuilder.java | 712 int indexLength = BMP_INDEX_LENGTH_; in fold() local 719 block = findSameIndexBlock(index, indexLength, c >> SHIFT_); in fold() 734 if (block == indexLength) { in fold() 737 System.arraycopy(index, c >> SHIFT_, index, indexLength, in fold() 739 indexLength += SURROGATE_BLOCK_COUNT_; in fold() 757 if (indexLength >= MAX_INDEX_LENGTH_) { in fold() 764 indexLength - BMP_INDEX_LENGTH_); in fold() 767 indexLength += SURROGATE_BLOCK_COUNT_; in fold() 768 m_indexLength_ = indexLength; in fold()
|