Home | History | Annotate | Download | only in common

Lines Matching refs:dataLength

158     newTrie->dataLength=UNEWTRIE2_DATA_START_OFFSET;
255 uprv_memcpy(trie->data, other->data, other->dataLength*4);
257 trie->dataLength=other->dataLength;
263 uprv_memcpy(trie->map, other->map, (other->dataLength>>UTRIE2_SHIFT_2)*4);
347 long dataLength=(long)trie->dataLength;
348 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
350 indexLength, dataLength, totalLength);
356 long dataLength=(long)trie->dataLength;
357 long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
359 which, indexLength, dataLength, totalLength);
520 newBlock=trie->dataLength;
543 uprv_memcpy(data, trie->data, trie->dataLength*4);
548 trie->dataLength=newTop;
878 findSameDataBlock(const uint32_t *data, int32_t dataLength, int32_t otherBlock, int32_t blockLength) {
881 /* ensure that we do not even partially get past dataLength */
882 dataLength-=blockLength;
884 for(block=0; block<=dataLength; block+=UTRIE2_DATA_GRANULARITY) {
1000 for(start=newStart; start<trie->dataLength;) {
1075 /* ensure dataLength alignment */
1083 (long)trie->dataLength, (long)newStart);
1086 trie->dataLength=newStart;
1218 * Store the highValue in the data array and round up the dataLength.
1219 * Must be done after compactData() because that assumes that dataLength
1222 newTrie->data[newTrie->dataLength++]=highValue;
1223 while((newTrie->dataLength&(UTRIE2_DATA_GRANULARITY-1))!=0) {
1224 newTrie->data[newTrie->dataLength++]=trie->initialValue;
1300 /* are indexLength and dataLength within limits? */
1308 (dataMove+newTrie->dataLength)>UTRIE2_MAX_DATA_LENGTH
1317 length+=newTrie->dataLength*2;
1319 length+=newTrie->dataLength*4;
1331 trie->dataLength=newTrie->dataLength;
1338 trie->highValueIndex=dataMove+trie->dataLength-UTRIE2_DATA_GRANULARITY;
1347 header->shiftedDataLength=(uint16_t)(trie->dataLength>>UTRIE2_INDEX_SHIFT);
1397 for(i=newTrie->dataLength; i>0; --i) {
1405 uprv_memcpy(dest16, newTrie->data, newTrie->dataLength*4);