Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/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/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java1019 int dataMove; /* >0 if the data is moved to the end of the index array */ in freeze() local
1033 dataMove=allIndexesLength; in freeze()
1035 dataMove=0; in freeze()
1042 (dataMove+dataNullOffset)>0xffff || in freeze()
1044 (dataMove+UNEWTRIE2_DATA_0800_OFFSET)>0xffff || in freeze()
1046 (dataMove+dataLength)>UTRIE2_MAX_DATA_LENGTH) { in freeze()
1069 dest.highValueIndex = dataMove + dataLength - UTRIE2_DATA_GRANULARITY; in freeze()
1070 dest.dataNullOffset = (dataMove+dataNullOffset); in freeze()
1089 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze()
1097 dest.index[destIdx++] = (char)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in freeze()
[all …]
/external/icu/icu4c/source/common/
Dutrie2.cpp243 int32_t dataMove; /* >0 if the data is moved to the end of the index array */ in utrie2_openDummy() local
282 dataMove=indexLength; in utrie2_openDummy()
284 dataMove=0; in utrie2_openDummy()
290 trie->dataNullOffset=(uint16_t)dataMove; in utrie2_openDummy()
294 trie->highValueIndex=dataMove+UTRIE2_DATA_START_OFFSET; in utrie2_openDummy()
305 header->dataNullOffset=(uint16_t)dataMove; in utrie2_openDummy()
314 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy()
319 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_openDummy()
322 *dest16++=(uint16_t)dataMove; in utrie2_openDummy()
Dutrie2_builder.cpp1256 int32_t dataMove; /* >0 if the data is moved to the end of the index array */ in utrie2_freeze() local
1295 dataMove=allIndexesLength; in utrie2_freeze()
1297 dataMove=0; in utrie2_freeze()
1304 (dataMove+newTrie->dataNullOffset)>0xffff || in utrie2_freeze()
1306 (dataMove+UNEWTRIE2_DATA_0800_OFFSET)>0xffff || in utrie2_freeze()
1308 (dataMove+newTrie->dataLength)>UTRIE2_MAX_DATA_LENGTH in utrie2_freeze()
1337 trie->dataNullOffset=(uint16_t)(dataMove+newTrie->dataNullOffset); in utrie2_freeze()
1338 trie->highValueIndex=dataMove+trie->dataLength-UTRIE2_DATA_GRANULARITY; in utrie2_freeze()
1359 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1364 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze()
[all …]