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.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/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/icu4c/source/common/
Dutrie2.cpp247 int32_t dataMove; /* >0 if the data is moved to the end of the index array */ in utrie2_openDummy() local
286 dataMove=indexLength; in utrie2_openDummy()
288 dataMove=0; in utrie2_openDummy()
294 trie->dataNullOffset=(uint16_t)dataMove; in utrie2_openDummy()
298 trie->highValueIndex=dataMove+UTRIE2_DATA_START_OFFSET; in utrie2_openDummy()
312 header->dataNullOffset=(uint16_t)dataMove; in utrie2_openDummy()
321 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy()
326 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_openDummy()
329 *dest16++=(uint16_t)dataMove; in utrie2_openDummy()
Dutrie2_builder.cpp1311 int32_t dataMove; /* >0 if the data is moved to the end of the index array */ in utrie2_freeze() local
1350 dataMove=allIndexesLength; in utrie2_freeze()
1352 dataMove=0; in utrie2_freeze()
1359 (dataMove+newTrie->dataNullOffset)>0xffff || in utrie2_freeze()
1361 (dataMove+UNEWTRIE2_DATA_0800_OFFSET)>0xffff || in utrie2_freeze()
1363 (dataMove+newTrie->dataLength)>UTRIE2_MAX_DATA_LENGTH in utrie2_freeze()
1392 trie->dataNullOffset=(uint16_t)(dataMove+newTrie->dataNullOffset); in utrie2_freeze()
1393 trie->highValueIndex=dataMove+trie->dataLength-UTRIE2_DATA_GRANULARITY; in utrie2_freeze()
1414 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1419 *dest16++=(uint16_t)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in utrie2_freeze()
[all …]