Home
last modified time | relevance | path

Searched refs:dataMove (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java1021 int dataMove; /* >0 if the data is moved to the end of the index array */ in freeze() local
1035 dataMove=allIndexesLength; in freeze()
1037 dataMove=0; in freeze()
1044 (dataMove+dataNullOffset)>0xffff || in freeze()
1046 (dataMove+UNEWTRIE2_DATA_0800_OFFSET)>0xffff || in freeze()
1048 (dataMove+dataLength)>UTRIE2_MAX_DATA_LENGTH) { in freeze()
1071 dest.highValueIndex = dataMove + dataLength - UTRIE2_DATA_GRANULARITY; in freeze()
1072 dest.dataNullOffset = (dataMove+dataNullOffset); in freeze()
1091 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze()
1099 dest.index[destIdx++] = (char)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in freeze()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java1023 int dataMove; /* >0 if the data is moved to the end of the index array */ in freeze() local
1037 dataMove=allIndexesLength; in freeze()
1039 dataMove=0; in freeze()
1046 (dataMove+dataNullOffset)>0xffff || in freeze()
1048 (dataMove+UNEWTRIE2_DATA_0800_OFFSET)>0xffff || in freeze()
1050 (dataMove+dataLength)>UTRIE2_MAX_DATA_LENGTH) { in freeze()
1073 dest.highValueIndex = dataMove + dataLength - UTRIE2_DATA_GRANULARITY; in freeze()
1074 dest.dataNullOffset = (dataMove+dataNullOffset); in freeze()
1093 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze()
1101 dest.index[destIdx++] = (char)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in freeze()
[all …]
/external/icu/icu4c/source/common/
Dutrie2.cpp245 int32_t dataMove; /* >0 if the data is moved to the end of the index array */ in utrie2_openDummy() local
284 dataMove=indexLength; in utrie2_openDummy()
286 dataMove=0; in utrie2_openDummy()
292 trie->dataNullOffset=(uint16_t)dataMove; in utrie2_openDummy()
296 trie->highValueIndex=dataMove+UTRIE2_DATA_START_OFFSET; in utrie2_openDummy()
307 header->dataNullOffset=(uint16_t)dataMove; in utrie2_openDummy()
316 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy()
321 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_openDummy()
324 *dest16++=(uint16_t)dataMove; in utrie2_openDummy()
Dutrie2_builder.cpp1258 int32_t dataMove; /* >0 if the data is moved to the end of the index array */ in utrie2_freeze() local
1297 dataMove=allIndexesLength; in utrie2_freeze()
1299 dataMove=0; in utrie2_freeze()
1306 (dataMove+newTrie->dataNullOffset)>0xffff || in utrie2_freeze()
1308 (dataMove+UNEWTRIE2_DATA_0800_OFFSET)>0xffff || in utrie2_freeze()
1310 (dataMove+newTrie->dataLength)>UTRIE2_MAX_DATA_LENGTH in utrie2_freeze()
1339 trie->dataNullOffset=(uint16_t)(dataMove+newTrie->dataNullOffset); in utrie2_freeze()
1340 trie->highValueIndex=dataMove+trie->dataLength-UTRIE2_DATA_GRANULARITY; in utrie2_freeze()
1361 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1366 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze()
[all …]